Skip to content

BlueRaja/Magic-Duels-Deck-Exporter

Repository files navigation

Magic Duels Deck Exporter

A tool to allow importing/exporting decks between Magic Duels and Magic Assistant, to ease the pain of deckbuilding

Installation Instructions

  1. Download and install Magic Assistant. Run it and let it update. Keep track of where you save the workspace.
  2. In Magic Assistant, open the card filter dialog (looks like three arrows point right). Click 'Set filter', then make sure the following sets all have icons:
  • Aether Revolt
  • Amonkhet
  • Battle for Zendikar
  • Eldritch Moon
  • Kaladesh
  • Magic Origins
  • Oath of the Gatewatch
  • Shadows over Innistrad

If any are missing (as they were for me), go to file --> Update Magic Cards Database, and download the missing sets.

  1. Download the latest Magic.Duels.Deck.Exporter.zip file and extract it somewhere.
  2. Open Settings.bat in a text editor and update the values to match your machine.

Usage instructions

  1. (Optional) Open Magic Duels and create a new deck. Decks can only be edited within Magic Assistant, not created.
  2. (Optional) Backup your Magic Duels profile before running.
  3. Run Import - Duels to Assist.bat
  4. Open Magic Assistant and edit your decks however you'd like them. The cards you have available are under the "Magic Duels collection" collection.
  5. When finished, close Magic Assistant and run Export - Assist to Duels.bat

FAQ

When I run the .bat files, I get 'java not found'

Make sure you have the latest version of Java installed.
If that doesn't fix it, make sure java.exe is in your PATH environment variable.

When I move a card from my Magic Duels collection to a deck, it disappears from my collection. What gives?

This is just how Magic Assistant works, which is unfortunate for our use-case.

To work around it, either:

  • ctrl+click to copy the card while dragging, or
  • Rerun the steps 'usage instructions' between editing decks to reimport your card list

Exporting to Magic Duels gives MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence

This is a bug some users have reported when their deck names contain non-English characters. Removing the characters seems to fix the issue.

I've been unable to reproduce this error, so I can't fix it. If you encounter this bug, I'd appreciate if you could export your decks from Magic Assistant and post them to the issues-tracker.


Thanks to spirolone for his work reverse-engineering the Magic Duels file format

About

A tool to allow importing/exporting decks between Magic Duels and Magic Assistant, to ease the pain of deckbuilding

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages