Page 4 of 25

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 30 Sep 2008, 22:10
by Nate
Awesome work Snacko! I'm really really glad to hear that the codebase has been salvaged. :)

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 30 Sep 2008, 22:12
by Nakapuce
Yep, translation are really poorly done.
On top of cards with already given names you can add translation that change the meaning of a card.
For instance Martyr's Cause became something like Martyr of the Cause in french (but maybe i'm the only one to see the diferrence).
I've also started to translate yet untranslated cardnames from old extension, and it seems many of them should be translated with names taken by younger cards (feral thallid for instance must have the translation salvage thallid was given).
Will make a release of an updated french-oracle.csv soon (approx. up to meekstone + legends and shards)

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 30 Sep 2008, 22:23
by Nate
Help window is blank in Deck Builder.

falconer8r, Snacko mentioned it, but maybe you missed this:
Snacko wrote:You could also edit the userData.csv directly where the field order is
Code: Select all
Name,Set,Pic,Qty
ex.
Code: Select all
Abjure,wth,,2
This is easier than making a MTGO CSV file of your inventory.

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 01 Oct 2008, 00:38
by Singe
How to add casual formats?
I tried to add block-construction format and rewrite data/formats.txt, but it didn't work.

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 01 Oct 2008, 09:19
by Snacko
Help window is blank in Deck Builder.
Somehow after I updated eclipse it doesn't want to include the html into the jar.

How to add casual formats?
I've looked it up and at the moment all the formats are cast in stone.

However if you select some sets it will highlight cards outside of them in your deck.

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 10 Oct 2008, 17:06
by ArnoNuehm
Hello everybody and thanks for creating that great DeckBuilder!

After many hours I now managed to create a userData.csv containing my over 3500 different cards...
However, some of them can't be imported, like the ones that have a "," in their name (e.g. "Atalya, Samite Master"). Is there something I can do about it?

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 10 Oct 2008, 17:13
by Snacko
Those that contain commas need to be written in quotation marks
eg
Code: Select all
"Atalya, Samite Master",inv,,5

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 12 Oct 2008, 22:26
by ArnoNuehm
Thanks for the quick answer! Everything else were typos, so now I got it... :)

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 20 Oct 2008, 09:48
by falconer8r
Nate wrote:falconer8r, Snacko mentioned it, but maybe you missed this:
Snacko wrote:You could also edit the userData.csv directly where the field order is
Code: Select all
Name,Set,Pic,Qty
This is easier than making a MTGO CSV file of your inventory.
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. :D

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 25 Oct 2008, 11:13
by Teppic
The Deck Builder in Arcane 0.17 rc3 doesn't run on a Mac. Running the DeckBuilder.jar file, I get:
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)
The mtgDeckBuilder-2.9.6 version used to (and continues to) work fine for me so it's not a Java problem.

Could this be because Mac only has Java SE 5, but maybe Java SE 6 was used to compile the Arcane class files? The java version information from the latest Mac OS X 10.5.5 is below:
$ 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)
Any ideas how to fix or troubleshoot this?

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 25 Oct 2008, 11:49
by Teppic
Teppic wrote:The Deck Builder in Arcane 0.17 rc3 doesn't run on a Mac.
Okay, just figured it out. It does require Java SE 6.

64-bit Intel Macs have Java SE 6 so long as they have all their software updates installed, though this isn't the default version of Java. You need to run "/Applications/Java/Java Preferences.app" and drag Java SE 6 to the top of the list. Then the deck builder starts fine.

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 25 Oct 2008, 11:59
by Bog Wraith
As you can see, I have the same version of Java running on my Mac:

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)

I gather you updated when the latest Java version for OS X was released about a month ago.

Arcane 0.17 rc3 works perfectly on my Mac, both the Deckbuilder & the Rules modules!

I'm on a G5 PPC running 10.5.5.

I have had, in the past, a problem when Nate compiled a version with a newer Java build then what was available on OS X, so he recompiled by using the older version. However, this time this is obviously not the case as I am able to run this version of Arcane.

I know this doesn't help you much, but I just wanted to let you know that this version is running on a Mac.

-----------------------------------------------------------------

Edit

In regards to Teppic's comment, I don't have Java SE 6 on my Mac, but neither do I have an Intel Mac, so I'm not sure if this version would be necessary to run Arcane as I don't have it on mine, but Intel Mac's are a different breed!

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 25 Oct 2008, 13:42
by Snacko
Some of the jars in the source package have been compiled with 1.6 compatibility(networking , jgn, test) as I forgot to change it and it's the default value, however if you use the rc3 package then it all should work just fine with java 1.5.
If I get a bit of time to finish the UI translations I'll upload the whole source with fixed jars / eclipse projects.

From the error messages it seems you've got those jars that were compiled for 1.6

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 08 Dec 2008, 08:07
by falconer8r
Nate wrote:falconer8r, Snacko mentioned it, but maybe you missed this:
Snacko wrote:You could also edit the userData.csv directly where the field order is
Code: Select all
Name,Set,Pic,Qty
This is easier than making a MTGO CSV file of your inventory.
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?

Also, I just joined a league at my local game shop where we are going to be using a Tourney pack + 2 boosters as our initial build pool which will grow by 1 booster per week during the league. Is there any way to create a custom set (ie 'BBC') that contains duplicate entries from ALAra but only lists the cards I have drafted so far?

Thanks in advance for any advice/help! And Happy Holidays to All!!! :D

Re: Nate's Deck Builder and Rules Viewer

PostPosted: 08 Dec 2008, 09:51
by Snacko
Unless you mean I should output my current database to a file name userData.csv and replace the existing one?
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.

You can create a customs set,but that mean editing cards.csv.
You would need to find the card you want to change the set for and duplicate it's entry changing the set abbreviation.
Then you need to add the set abbreviation and name to sets.txt.

I recommend not using excel for editing cards.csv as it can damage the formatting, which leads to the file not being well read and parsed by the decbuilder. Even notepad is a better alternative here.