this post was submitted on 28 Oct 2023
6 points (100.0% liked)

Digital

260 readers
3 users here now

MTG Arena and Magic Online discussion

Discussion related to Magic's digital games, including MTG Arena and Magic Online (or MODO).

Learn more about MTG Arena and Magic Online!


founded 1 year ago
MODERATORS
 

I've been wanting to get started using XMage and thought it would be fun to play a few matches against the AI with the GRN Guild Kit decks (GK1) using the original printings. I found decklists on sites like mtg.wtf that list the card names and quantities, but they don't specify the original set name and card number for each card.

For example, this GitHub repo has decklists for various preconstructed decks, but also lacks the specific set information and card numbers.

What I'm really looking for are decklists that include the card name, quantity, set name, and card number in the set for each card, ideally formatted like this:

quantity [SETCODE:collector number] cardname

This .dck file format used by XMage would allow me to easily import the exact preconstructed deck I want to play with the original printings, without having to rebuild it.

It made me think how nice it would be to have all the preconstructed decks available as .dck files with the original printings specified, nicely organized into folders by product. That way I could easily grab the exact deck I want to play with in XMage without having to build it manually.

Does anyone know if prebuilt decklists with detailed set data like this already exist somewhere for preconstructed products like the Guild Kits? Or if not, I may try writing a script to generate them before manually creating the files myself.

Please let me know if you know of any resources where I could find complete decklists for preconstructed decks specifying the card names, quantities, set names, and card numbers! This would save me a lot of time in recreating the decks accurately in XMage.

you are viewing a single comment's thread
view the rest of the comments
[–] counterspell@mtgzone.com 1 points 1 year ago

https://github.com/taw/mtg

mtg

Magic the Gathering scripts.

scripts

  • analyze_deck_colors - reports colors of the deck according to correct algorithm [ http://t-a-w.blogspot.com/2013/03/simple-and-correct-algorithm-for.html ]
  • clean_up_decklist - clean up manually created decklist
  • cod2dck - convert Cockatrice's .cod to XMage's .dck
  • cod2txt - convert Cockatrice's .cod to .txt format
  • txt2cod - convert plaintext deck formats to Cockatrice's cod
  • txt2dck - convert plaintext deck format to XMage
  • txt2txt - convert plaintext deck format to plaintext deck format (i.e. normalize the decklist)
  • url2cod - download decklists from URL and convert to .cod (a few popular websites supported)
  • url2dck - download decklists from URL and convert to XMage .dck format
  • url2txt - download decklists from URL and convert to .txt format

data management

These are used to generate data in data/, you probably won't need to run them yourself

  • generate_colors_tsv_mtgjson - generate data/colors.tsv from mtgjson's AllSets-x.json (recommended)
  • generate_colors_tsv_cockatrice - generate data/colors.tsv from cockatrice's cards.xml (use mtgjson instead)
  • mage_card_map_generator - generate data/mage_cards.txt