Add a new/missing set to the XMage project
Posted: 20 Dec 2014, 17:12
Add the new set to the files in MAGE/Utils for the Perl utility scripts
Utils/known-sets.txt
* Add the set
Utils/mtg-sets-data.txt
* Add the set
Utils/mtg-cards-data.txt
* Add card data from Gatherer crawler file (if already available)
Project: Mage Sets
* Create the set object itself under mage.sets
* Create a new java package name: mage.sets.<set name>
Token / Images / Download
client/src/main/resources/image.url.properties
* Add ignore url to ignore download as long no pictures are provided
* Add set abbr. to token lookup order
client/src/main/resources/card-pictures-tok.txt
* Add new token images to the list
Add the set to the following classes
mage.client.util.sets.ConstructedFormats.java (2 places)
client/src/main/java/org/mage/plugins/card/dl/sources/GathererSets.java
client/src/main/java/org/mage/plugins/card/dl/sources/MagicCardsImageSource.java
client/src/main/java/org/mage/plugins/card/dl/sources/WizardCardsImageSource.java
Check if the new set will be included correctly to the format checks
Utils/known-sets.txt
* Add the set
Utils/mtg-sets-data.txt
* Add the set
Utils/mtg-cards-data.txt
* Add card data from Gatherer crawler file (if already available)
Project: Mage Sets
* Create the set object itself under mage.sets
* Create a new java package name: mage.sets.<set name>
Token / Images / Download
client/src/main/resources/image.url.properties
* Add ignore url to ignore download as long no pictures are provided
* Add set abbr. to token lookup order
client/src/main/resources/card-pictures-tok.txt
* Add new token images to the list
Add the set to the following classes
client/src/main/java/org/mage/plugins/card/dl/sources/GathererSets.java
client/src/main/java/org/mage/plugins/card/dl/sources/MagicCardsImageSource.java
client/src/main/java/org/mage/plugins/card/dl/sources/WizardCardsImageSource.java
Check if the new set will be included correctly to the format checks