mage/Utils
2015-04-09 17:21:29 -05:00
..
picks Added pick orders for SOM, M11, ROE, WWK, ZEN. 2011-02-08 11:43:06 +03:00
release Release 2015-03-14v5 2015-03-26 19:24:53 +01:00
build-and-package.pl * Fixed that startMage.sh was not copied by build-and-package.pl to the zip archiv. 2014-10-11 01:02:56 +02:00
cardClass.tmpl fixed card templates 2014-06-02 21:26:21 +03:00
cardExtendedClass.tmpl * Conspiracy - Added Conspiracy set to XMage. Changed order of sets in deck editor set selector. 2014-06-23 15:58:07 +02:00
cardExtendedLandClass.tmpl fixed card templates 2014-06-02 21:26:21 +03:00
extract_in_wiki_format.pl Updated extract_in_wiki_format.pl (added links to cards). 2012-11-28 10:41:16 +02:00
gen-card.pl make gen card executable 2015-03-14 17:37:19 -06:00
gen-existing-cards-by-set.pl * Vintage Masters - Added set and already implemented cards. 2014-06-25 10:37:07 +02:00
gen-list-cards-for-set.pl linux fixes (dox2unix) and basic lands added from LEA to 3ED 2013-07-21 03:18:23 -05:00
gen-list-implemented-cards-for-set.pl Fixed bug in Perl script. 2014-02-19 19:48:33 +01:00
gen-list-unimplemented-cards-for-set.pl * Added some basic logging for deck format validation 2015-01-21 14:40:05 +01:00
gen-simple-cards-by-set.pl Added script to generate cards that can be completely generated. 2011-07-17 11:01:04 +03:00
init.txt - Shortcut.lnk Corrected card numbers causing incorrect art in Alpha/Beta. Added various cards. Modified existing Homeland cards to allow multiple card arts. 2015-01-04 21:28:04 -06:00
keywords.txt [DTK] Some fixes to Exploit. 2015-03-03 14:01:36 +01:00
known-sets.txt Added set Tempest Remastered and reprints. Added Pit Trap. Updated latest Game Day, FNM, Buy-a-box, WMCQ, and Release promos. 2015-03-30 22:17:43 -05:00
mtg-cards-data.txt [TPR] Removed from the image url ignore list. 2015-04-09 17:21:29 -05:00
mtg-sets-data.txt Added set Tempest Remastered and reprints. Added Pit Trap. Updated latest Game Day, FNM, Buy-a-box, WMCQ, and Release promos. 2015-03-30 22:17:43 -05:00
newList.txt Implemented (but have not tested) Chaos Warp and Caustic Wasps 2014-08-16 20:17:44 -07:00
oldList.txt Implemented (but have not tested) Chaos Warp and Caustic Wasps 2014-08-16 20:17:44 -07:00
pick-convertor.pl [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
readme.txt Add script that generates list of unimplemented cards for a set 2013-12-05 22:53:35 +04:00
update-list-implemented-cards.pl [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
version-bump.pl Bump version to 0.9.1dev 2012-08-14 15:28:06 +12:00

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