Re: Nate's Deck Builder and Rules Viewer
Posted: 30 Sep 2008, 22:10
Awesome work Snacko! I'm really really glad to hear that the codebase has been salvaged.
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=29&t=464
This is easier than making a MTGO CSV file of your inventory.Snacko wrote:You could also edit the userData.csv directly where the field order isex.
- Code: Select all
Name,Set,Pic,Qty
- Code: Select all
Abjure,wth,,2
Somehow after I updated eclipse it doesn't want to include the html into the jar.Help window is blank in Deck Builder.
I've looked it up and at the moment all the formats are cast in stone.How to add casual formats?
"Atalya, Samite Master",inv,,5
I understand how to edit the csv (thanks for the tips from you both). As I have over 27,000 cards already entered into a database program I have been using for a while, it would be much less time consuming to export the data to a csv file and then import it into Deck Builder. I just needed to know the order of the fields and which ones were used. Thanks again for the tips.Nate wrote:falconer8r, Snacko mentioned it, but maybe you missed this:This is easier than making a MTGO CSV file of your inventory.Snacko wrote:You could also edit the userData.csv directly where the field order is
- Code: Select all
Name,Set,Pic,Qty
The mtgDeckBuilder-2.9.6 version used to (and continues to) work fine for me so it's not a Java problem.java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at arcane.util.Util.classExists(Util.java:79)
at arcane.ui.ArcaneFrame.initializeToolsMenu(ArcaneFrame.java:408)
at arcane.ui.ArcaneFrame.initializeMenus(ArcaneFrame.java:56)
at arcane.deckbuilder.ui.DeckBuilderUI.initializeMenus(DeckBuilderUI.java:58)
at arcane.deckbuilder.ui.DeckBuilder$1.load(DeckBuilder.java:155)
at arcane.util.Loader.run(Loader.java:78)
at java.lang.Thread.run(Thread.java:613)
arcane.ArcaneException: Arcane Deck Builder initialization aborted.
at arcane.deckbuilder.ui.DeckBuilder.<init>(DeckBuilder.java:185)
at arcane.deckbuilder.ui.DeckBuilder.main(DeckBuilder.java:2655)
Any ideas how to fix or troubleshoot this?$ java -version
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
Okay, just figured it out. It does require Java SE 6.Teppic wrote:The Deck Builder in Arcane 0.17 rc3 doesn't run on a Mac.
Okay. While I realize it's been a while since I last posted, I've been kinda busy. I found the userData.csv file in the base directory where DeckBuilder.exe is, but I don't see how this would be simpler to edit. Unless you mean I should output my current database to a file name userData.csv and replace the existing one?Nate wrote:falconer8r, Snacko mentioned it, but maybe you missed this:This is easier than making a MTGO CSV file of your inventory.Snacko wrote:You could also edit the userData.csv directly where the field order is
- Code: Select all
Name,Set,Pic,Qty
Yes that was the idea and this format doesn't depend on the collector number so it should be easier to automatically generate a working file.Unless you mean I should output my current database to a file name userData.csv and replace the existing one?