foul-magics/Utils
2025-11-05 12:49:13 -05:00
..
release dev: clean up old files 2024-05-10 20:25:21 +04:00
build-and-package-console.pl dev: fixed build script for perl (related to #12140); 2024-09-03 14:10:10 +04:00
build-and-package.pl update build-and-package.pl 2024-06-01 12:42:25 +02:00
cardClass.tmpl Ready for Review: Implementing Battles (#10156) 2023-04-13 20:03:16 -04:00
cardExtendedClass.tmpl
cardExtendedLandClass.tmpl
cardInfo.tmpl Update card test generation and card info templating 2025-10-26 16:25:45 -05:00
cardSplitClass.tmpl
cardTest.tmpl add script to generate card test classes 2025-08-28 21:23:55 -05:00
CubeCobraDownloader.py CubeCobraDownloader.py Utility script for adding cubes 2023-02-02 02:40:00 +01:00
cut.pl
de-dup-cards-data.py
extract_in_wiki_format.pl
find_new_cards.pl version bump 2024-09-08 22:13:45 +04:00
gen-card-test.pl Update card test generation and card info templating 2025-10-26 16:25:45 -05:00
gen-card.pl [TMT] Implement Bebop & Rocksteady 2025-10-10 16:43:08 -04:00
gen-existing-cards-by-set-author.pl
gen-existing-cards-by-set.pl
gen-list-cards-for-set.pl
gen-list-implemented-cards-for-set.pl
gen-list-unimplemented-cards-for-set.pl update gen-list-unimplemented-cards-for-set 2025-08-29 15:48:12 -05:00
gen-simple-cards-by-set.pl
gen_all_files_in_dck.pl deck: fixed outdated names for some old sets 2025-01-25 00:49:09 +04:00
gen_list_duplicate_collector_ids.pl
gen_types_list.pl
get_spoiler_txt_ixa.bat
issue_tracker.tmpl update gen-list-unimplemented-cards-for-set to match current GitHub template 2025-08-29 14:55:56 -05:00
keywords.txt [TMT] Implement Raphael's Technique 2025-10-10 16:30:48 -04:00
known-sets.txt [TMC] add set 2025-10-10 14:11:15 -04:00
mtg-cards-data.txt [TLE] update spoiler and reprints 2025-11-05 12:49:13 -05:00
mtg-sets-data.txt [TMC] add set 2025-10-10 14:11:15 -04:00
print-card-info.pl fix card test script generator indentation 2025-08-29 08:59:31 -05:00
readme.txt
update-list-implemented-cards.pl
version-bump.pl

Usage:
gen-card.pl - enter the card name when prompted to generate the java classes
gen-existing-cards-by-set.pl - generates the java clases for the cards from the set of your choice that already have an implementation
gen-simple-cards-by-set.pl - generates the java clases for the cards from the set of your choice that can be completly generated
update-list-implemented-cards.pl
 - generates
  - oldList.txt: list of cards implemented at the time the script is ran
  - newList.txt: list of cards implemented since the last time the script was ran
gen-list-cards-for-set.pl - generates the file for cards for a set
gen-list-unimplemented-cards-for-set.pl - generates the file for unimplemented cards for a set
  
Files used:
 - author.txt - one line file that contains the author name you want to appear in the generated java files
 - keywords.txt - list of keywords that have an implementation and are automatically added to the card implementation
 - known-sets.txt - list of sets used in mage (Set name and Package name)
 - mtg-cards-data.txt - MTG cards data (generated from the Gatherer database)
 - mtg-sets-data.txt - list of sets in MTG and the 3 letters code for each of them