mage/Utils
2013-07-21 14:13:48 -05:00
..
picks Added pick orders for SOM, M11, ROE, WWK, ZEN. 2011-02-08 11:43:06 +03:00
release Some small changes for Release 1.0.3 2013-07-21 09:45:58 +02:00
build-and-package.pl linux fixes (dox2unix) and basic lands added from LEA to 3ED 2013-07-21 03:18:23 -05:00
cardClass.tmpl updated card template (fixed imports order) 2013-06-16 15:31:21 +03:00
cardExtendedClass.tmpl fixed constant imports in templates 2013-06-16 12:39:03 +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 Added new keyword.txt parameter for gen-card.pl. 2013-05-25 15:43:41 +02:00
gen-existing-cards-by-set.pl Added script to generate cards that can be completely generated. 2011-07-17 11:01:04 +03: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-simple-cards-by-set.pl Added script to generate cards that can be completely generated. 2011-07-17 11:01:04 +03:00
keywords.txt * Added Entwine ability. 2013-06-22 23:00:39 +02:00
known-sets.txt Added Magic2014 2013-06-29 16:24:27 +02:00
mtg-cards-data.txt Fix Black Lotus ID in all places 2013-07-21 14:13:48 -05:00
mtg-sets-data.txt Added Magic2014 2013-06-29 16:24:27 +02:00
pick-convertor.pl [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
readme.txt Added cards. 2011-08-07 16:32:18 +03: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 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