UPDATE: I found someone else's post on the forum of
"So I change the file name to ETC\Allsets-2007-03-11.txt and ran the oracle2xml.bat file - and it worked!"
and tried that with no success. It said,
"Error opening ...\Allsets-2007-03-11.txt' : java.io.FileNotFoundException: ...bin\etc\xml\"Ach!_Hans_Run!".xml (The filename, directory name, or volume label syntax is incorrect)
Success Parsing : 0 card(s)"
I had downloaded the Allsets-2009-03-21 file from the link on the website, but it's in txt format and formatted like this:
"Ach! Hans, Run!"
2RRGG
Enchantment
At the beginning of your upkeep, you may say "Ach! Hans, run! It's the . . ." and name a creature card. If you do, search your library for the named card, put it into play, then shuffle your library. That creature has haste. Remove it from the game at end of turn."
Is this in the wrong format? If so, what can I do about that? Please help, I'm very interested in getting this up and running.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2009-11-18
I have a similar problem, but i checked out the source and compiled everything:
I used the newest File AllSets-2009-09-05.txt and i get 2895 files, but with following console output:
Error reading card 'Agyrem' : power/toughness, line=Whenever a nonwhite creature is put into a graveyard from the battlefield, return it to its owner's hand at the beginning of the next end step.
Error reading card 'Bant' : power/toughness, line=Whenever you roll {C}, put a divinity counter on target green, white, or blue creature. That creature is indestructible as long as it has a divinity counter on it.
Error reading card 'Grixis' : power/toughness, line=Whenever you roll {C}, put target creature card in a graveyard onto the battlefield under your control.
Error reading card 'Immersturm' : power/toughness, line=Whenever you roll {C}, exile target creature, then return it to the battlefield under its owner's control.
Error reading card 'Isle of Vesuva' : power/toughness, line=Whenever you roll {C}, destroy target creature and all other creatures with the same name as that creature.
Error reading card 'Krosa' : power/toughness, line=Whenever you roll {C}, you may add {W}{U}{B}{R}{G} to your mana pool.
Error reading card 'Llanowar' : power/toughness, line=Whenever you roll {C}, untap all creatures you control.
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at net.sf.firemox.xml.magic.Oracle2Xml.writeActions(Oracle2Xml.java:1991)
at net.sf.firemox.xml.magic.Oracle2Xml.serialize(Oracle2Xml.java:744)
at net.sf.firemox.xml.magic.Oracle2Xml.main(Oracle2Xml.java:1443)
For the Allsets-2008-04-18.txt file i get 3250 cards without exception.
But thanks for making this :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded Firemox and downloaded the card list, but when I run oracle2xml.bat it says:
ConfigurationUtils.locate(): base is null, name is settings.xml
Loading configuration from the path settings.xml
START-ERROR :
null
and creates the etx\xml folder, but it's empty. I'd really like to be able to add cards, does anyone know how to fix this?
Also, is there a way to load the images of more than one card at a time in Deck Builder?
UPDATE: I found someone else's post on the forum of
"So I change the file name to ETC\Allsets-2007-03-11.txt and ran the oracle2xml.bat file - and it worked!"
and tried that with no success. It said,
"Error opening ...\Allsets-2007-03-11.txt' : java.io.FileNotFoundException: ...bin\etc\xml\"Ach!_Hans_Run!".xml (The filename, directory name, or volume label syntax is incorrect)
Success Parsing : 0 card(s)"
I had downloaded the Allsets-2009-03-21 file from the link on the website, but it's in txt format and formatted like this:
"Ach! Hans, Run!"
2RRGG
Enchantment
At the beginning of your upkeep, you may say "Ach! Hans, run! It's the . . ." and name a creature card. If you do, search your library for the named card, put it into play, then shuffle your library. That creature has haste. Remove it from the game at end of turn."
Is this in the wrong format? If so, what can I do about that? Please help, I'm very interested in getting this up and running.
I have a similar problem, but i checked out the source and compiled everything:
I used the newest File AllSets-2009-09-05.txt and i get 2895 files, but with following console output:
Error reading card 'Agyrem' : power/toughness, line=Whenever a nonwhite creature is put into a graveyard from the battlefield, return it to its owner's hand at the beginning of the next end step.
Error reading card 'Bant' : power/toughness, line=Whenever you roll {C}, put a divinity counter on target green, white, or blue creature. That creature is indestructible as long as it has a divinity counter on it.
Error reading card 'Grixis' : power/toughness, line=Whenever you roll {C}, put target creature card in a graveyard onto the battlefield under your control.
Error reading card 'Immersturm' : power/toughness, line=Whenever you roll {C}, exile target creature, then return it to the battlefield under its owner's control.
Error reading card 'Isle of Vesuva' : power/toughness, line=Whenever you roll {C}, destroy target creature and all other creatures with the same name as that creature.
Error reading card 'Krosa' : power/toughness, line=Whenever you roll {C}, you may add {W}{U}{B}{R}{G} to your mana pool.
Error reading card 'Llanowar' : power/toughness, line=Whenever you roll {C}, untap all creatures you control.
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at net.sf.firemox.xml.magic.Oracle2Xml.writeActions(Oracle2Xml.java:1991)
at net.sf.firemox.xml.magic.Oracle2Xml.serialize(Oracle2Xml.java:744)
at net.sf.firemox.xml.magic.Oracle2Xml.main(Oracle2Xml.java:1443)
For the Allsets-2008-04-18.txt file i get 3250 cards without exception.
But thanks for making this :)