foul-magics/Utils
2015-06-22 20:15:53 -05:00
..
picks
release * XMage Release 1.4.1v3 2015-06-20 13:14:06 +02:00
build-and-package.pl
cardClass.tmpl
cardExtendedClass.tmpl
cardExtendedLandClass.tmpl
extract_in_wiki_format.pl Make perl scripts executable on Unix 2015-06-19 09:41:43 +03:00
gen-card.pl make gen card executable 2015-03-14 17:37:19 -06:00
gen-existing-cards-by-set.pl Make perl scripts executable on Unix 2015-06-19 09:41:43 +03:00
gen-list-cards-for-set.pl
gen-list-implemented-cards-for-set.pl Make perl scripts executable on Unix 2015-06-19 09:41:43 +03:00
gen-list-unimplemented-cards-for-set.pl Make perl scripts executable on Unix 2015-06-19 09:41:43 +03:00
gen-simple-cards-by-set.pl Make perl scripts executable on Unix 2015-06-19 09:41:43 +03:00
init.txt - Shortcut.lnk
keywords.txt Added Menace ability. 2015-06-20 19:53:11 +02:00
known-sets.txt Added 12 Clash Pack promos, 5 judge promos, 2 upcoming FNM promos, renamed MerfolkToken to MerfolkWizardToken, added collector's number that were missing for ORI in mtg-cards-data.txt, added other various cards. 2015-06-22 18:46:01 -05:00
mtg-cards-data.txt Updated mtg-cards-data with new spoilers and cleaned up a double power/toughness/loyalty issue in the file. (maybe script problem?) Removed set color flag from a couple merfolk cards I had changed the token info in. 2015-06-22 20:15:53 -05:00
mtg-sets-data.txt Added 12 Clash Pack promos, 5 judge promos, 2 upcoming FNM promos, renamed MerfolkToken to MerfolkWizardToken, added collector's number that were missing for ORI in mtg-cards-data.txt, added other various cards. 2015-06-22 18:46:01 -05:00
newList.txt
oldList.txt
pick-convertor.pl Make perl scripts executable on Unix 2015-06-19 09:41:43 +03:00
readme.txt
update-list-implemented-cards.pl Make perl scripts executable on Unix 2015-06-19 09:41:43 +03:00
version-bump.pl Make perl scripts executable on Unix 2015-06-19 09:41:43 +03: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