- formalised/fixed some precon image names/links

- added Sol's python script for checking for missing precon images
This commit is contained in:
moomarc
2014-01-29 08:43:57 +00:00
parent c1a11dd89a
commit fccc8f129f
5 changed files with 23 additions and 6 deletions

1
.gitattributes vendored
View File

@@ -15781,6 +15781,7 @@ forge-gui/tools/deckAiCompat.py -text
forge-gui/tools/extractSetInfo.py -text forge-gui/tools/extractSetInfo.py -text
forge-gui/tools/formats.txt -text forge-gui/tools/formats.txt -text
forge-gui/tools/guilds.xlsx -text forge-gui/tools/guilds.xlsx -text
forge-gui/tools/missingPreconFiles.py -text
forge-gui/tools/mtg-data.txt svneol=native#text/plain forge-gui/tools/mtg-data.txt svneol=native#text/plain
forge-gui/tools/mtgdata-sets-to-forge.txt svneol=native#text/plain forge-gui/tools/mtgdata-sets-to-forge.txt svneol=native#text/plain
forge-gui/tools/oracleScraper.py -text forge-gui/tools/oracleScraper.py -text

View File

@@ -7,7 +7,7 @@ http://www.cardforge.org/fpics/products/precons/assassin.jpg
http://www.cardforge.org/fpics/products/precons/azorius_advance.jpg http://www.cardforge.org/fpics/products/precons/azorius_advance.jpg
http://www.cardforge.org/fpics/products/precons/azorius_ascendant.jpg http://www.cardforge.org/fpics/products/precons/azorius_ascendant.jpg
http://www.cardforge.org/fpics/products/precons/azorius_authority.jpg http://www.cardforge.org/fpics/products/precons/azorius_authority.jpg
http://www.cardforge.org/fpics/products/precons/Bait_Bludgeon.jpg http://www.cardforge.org/fpics/products/precons/Bait_and_Bludgeon.jpg
http://www.cardforge.org/fpics/products/precons/bant_exalted.jpg http://www.cardforge.org/fpics/products/precons/bant_exalted.jpg
http://www.cardforge.org/fpics/products/precons/bant_on_the_march.jpg http://www.cardforge.org/fpics/products/precons/bant_on_the_march.jpg
http://www.cardforge.org/fpics/products/precons/battle_blitz.jpg http://www.cardforge.org/fpics/products/precons/battle_blitz.jpg
@@ -16,11 +16,11 @@ http://www.cardforge.org/fpics/products/precons/Battle_Surge.jpg
http://www.cardforge.org/fpics/products/precons/blood_and_fire.jpg http://www.cardforge.org/fpics/products/precons/blood_and_fire.jpg
http://www.cardforge.org/fpics/products/precons/Boggart_Feast.jpg http://www.cardforge.org/fpics/products/precons/Boggart_Feast.jpg
http://www.cardforge.org/fpics/products/precons/Bomber.jpg http://www.cardforge.org/fpics/products/precons/Bomber.jpg
http://www.cardforge.org/fpics/products/precons/boros_batallion.jpg http://www.cardforge.org/fpics/products/precons/boros_battalion.jpg
http://www.cardforge.org/fpics/products/precons/bound_by_strength.jpg http://www.cardforge.org/fpics/products/precons/bound_by_strength.jpg
http://www.cardforge.org/fpics/products/precons/breath_of_fire.jpg http://www.cardforge.org/fpics/products/precons/breath_of_fire.jpg
http://www.cardforge.org/fpics/products/precons/carnival_of_blood.jpg http://www.cardforge.org/fpics/products/precons/carnival_of_blood.jpg
http://www.cardforge.org/fpics/products/precons/Cho_Mannos_Resolve.jpg http://www.cardforge.org/fpics/products/precons/Cho-Mannos_Resolve.jpg
http://www.cardforge.org/fpics/products/precons/Code_of_the_Orzhov.jpg http://www.cardforge.org/fpics/products/precons/Code_of_the_Orzhov.jpg
http://www.cardforge.org/fpics/products/precons/Critical_Mass.jpg http://www.cardforge.org/fpics/products/precons/Critical_Mass.jpg
http://www.cardforge.org/fpics/products/precons/Crusher.jpg http://www.cardforge.org/fpics/products/precons/Crusher.jpg

View File

@@ -8,7 +8,7 @@ Name=Bait & Bludgeon
Description=The "Bait & Bludgeon" deck shows your opponents the value of affinity, one of the new Mirrodin mechanics. Cards with affinity for artifacts cost {1} less to play for each artifact you control. Affinity doesn't affect the colored mana required, but with enough artifacts in play, you'll pay close to nothing for your affinity spells. Description=The "Bait & Bludgeon" deck shows your opponents the value of affinity, one of the new Mirrodin mechanics. Cards with affinity for artifacts cost {1} less to play for each artifact you control. Affinity doesn't affect the colored mana required, but with enough artifacts in play, you'll pay close to nothing for your affinity spells.
Deck Type=constructed Deck Type=constructed
Set=MRD Set=MRD
Image=bait_bludgeon.jpg Image=bait_and_bludgeon.jpg
[main] [main]
2 AEther Spellbomb|MRD 2 AEther Spellbomb|MRD
2 Assert Authority|MRD 2 Assert Authority|MRD

View File

@@ -4,11 +4,11 @@ Credits=1200
MinDifficulty=0 MinDifficulty=0
MaxDifficulty=5 MaxDifficulty=5
[metadata] [metadata]
Name=Cho Manno's Resolve Name=Cho-Manno's Resolve
Description=Let your enemies' aggression be their own undoing. You'll parry every strike, neutralize every creature, and roadblock every assault in your foe's arsenal, then win by a well-aimed stroke. Remember Cho-Manno's motto: "The first principle of war is to be the last to die." Description=Let your enemies' aggression be their own undoing. You'll parry every strike, neutralize every creature, and roadblock every assault in your foe's arsenal, then win by a well-aimed stroke. Remember Cho-Manno's motto: "The first principle of war is to be the last to die."
Deck Type=constructed Deck Type=constructed
Set=10E Set=10E
Image=cho_mannos_resolve.jpg Image=cho-mannos_resolve.jpg
[main] [main]
1 Ancestor's Chosen|10E 1 Ancestor's Chosen|10E
2 Angel of Mercy|10E 2 Angel of Mercy|10E

View File

@@ -0,0 +1,16 @@
from os import listdir, path
preconDecks = [ f.lower().replace("'",'').replace(',', '').replace(' ', '_')[:-4] for f in listdir('../res/quest/precons') if f.endswith('.dck') ]
with open('../res/lists/precon-images.txt') as inp:
files = inp.read().strip().split('\n')
preconIcons = [ path.basename(path.splitext(f)[0]).lower() for f in files if len(f) > 0 ]
preconDecks.sort()
preconIcons.sort()
print "Decks without Icons"
print set(preconDecks) - set(preconIcons)
print "Icons without Decks"
print set(preconIcons) - set(preconDecks)