Skip to content

taw/mtg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Magic the Gathering scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages