mage/Utils
2016-10-31 00:10:53 -05:00
..
picks Added pick orders for SOM, M11, ROE, WWK, ZEN. 2011-02-08 11:43:06 +03:00
release Minor change. 2016-10-29 11:36:08 +02:00
build-and-package-console.pl Added logic to build and package server console. 2016-02-04 21:09:27 +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 Merge 2016-10-17 23:45:47 -05:00
cardExtendedClass.tmpl adjusted card gen template to work with cardNumber change 2016-07-26 05:41:59 -04:00
cardExtendedLandClass.tmpl fixed card templates 2014-06-02 21:26:21 +03:00
de-dup-cards-data.py python script added to remove duplicates from mtg-cards-data.txt. backed up old version with _old. deduped file is half the size 2016-08-27 15:52:23 -04:00
extract_in_wiki_format.pl Make perl scripts executable on Unix 2015-06-19 09:41:43 +03:00
gen-card.pl spjspj - Rudimentary help for wrong card name in gen-card.pl 2016-10-29 16:14:00 +11:00
gen-existing-cards-by-set.pl spjspj - more gen-existing-cards-by-set.pl stuff 2016-10-30 16:50:54 +11: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 Make perl scripts executable on Unix 2015-06-19 09:41:43 +03:00
gen-list-unimplemented-cards-for-set.pl spjspj - Generate a 'tracking issue' similar to Fenhl's for kaladesh. Prompt if you've not typed in a correct set name 2016-09-17 12:39:40 +10:00
gen-simple-cards-by-set.pl Make perl script working on Linux. 2016-02-26 21:09:18 +03:00
gen_list_duplicate_collector_ids.pl spjspj - Update gen_list_duplicate_collector_ids.pl 2016-10-08 12:53:04 +11:00
gen_types_list.pl Merge 2016-10-17 23:45:47 -05:00
keywords.txt [C16] Added the cards with the undaunted keyword. 2016-10-30 14:11:52 +01:00
known-sets.txt Fixed generating script 2016-10-25 13:34:01 +02:00
mtg-cards-data.txt [C16] Implemented Wave of Reckoning, Duelist's Heritage, Entrapment Maneuver, and Magus of the Will. 2016-10-31 00:10:53 -05:00
mtg-cards-data_old.txt python script added to remove duplicates from mtg-cards-data.txt. backed up old version with _old. deduped file is half the size 2016-08-27 15:52:23 -04:00
mtg-sets-data.txt [KLD] Updated mtg-cards-data.txt with spoilers through 9/12. Add Masterpiece Series set and 4 known reprints so far. 2016-09-12 14:02:48 -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 Make perl scripts executable on Unix 2015-06-19 09:41:43 +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 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