It is currently 25 Apr 2024, 02:26
   
Text Size

Deck Builder and Rules Viewer

by Nate

Moderators: Snacko, CCGHQ Admins

Re: Nate's Deck Builder and Rules Viewer

Postby Nate » 30 Sep 2008, 22:10

Awesome work Snacko! I'm really really glad to hear that the codebase has been salvaged. :)
Nate
DEVELOPER
 
Posts: 34
Joined: 26 Aug 2008, 19:13
Has thanked: 1 time
Been thanked: 1 time

Re: Nate's Deck Builder and Rules Viewer

Postby Nakapuce » 30 Sep 2008, 22:12

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)
Nakapuce
 
Posts: 13
Joined: 11 Jun 2008, 09:14
Has thanked: 0 time
Been thanked: 0 time

Re: Nate's Deck Builder and Rules Viewer

Postby Nate » 30 Sep 2008, 22:23

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.
Nate
DEVELOPER
 
Posts: 34
Joined: 26 Aug 2008, 19:13
Has thanked: 1 time
Been thanked: 1 time

Re: Nate's Deck Builder and Rules Viewer

Postby Singe » 01 Oct 2008, 00:38

How to add casual formats?
I tried to add block-construction format and rewrite data/formats.txt, but it didn't work.
Singe
 
Posts: 5
Joined: 15 Sep 2008, 08:02
Has thanked: 0 time
Been thanked: 0 time

Re: Nate's Deck Builder and Rules Viewer

Postby Snacko » 01 Oct 2008, 09:19

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.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: Nate's Deck Builder and Rules Viewer

Postby ArnoNuehm » 10 Oct 2008, 17:06

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?
ArnoNuehm
 
Posts: 6
Joined: 10 Oct 2008, 17:01
Has thanked: 0 time
Been thanked: 1 time

Re: Nate's Deck Builder and Rules Viewer

Postby Snacko » 10 Oct 2008, 17:13

Those that contain commas need to be written in quotation marks
eg
Code: Select all
"Atalya, Samite Master",inv,,5
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: Nate's Deck Builder and Rules Viewer

Postby ArnoNuehm » 12 Oct 2008, 22:26

Thanks for the quick answer! Everything else were typos, so now I got it... :)
ArnoNuehm
 
Posts: 6
Joined: 10 Oct 2008, 17:01
Has thanked: 0 time
Been thanked: 1 time

Re: Nate's Deck Builder and Rules Viewer

Postby falconer8r » 20 Oct 2008, 09:48

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
falconer8r
 
Posts: 13
Joined: 22 Sep 2008, 12:09
Has thanked: 0 time
Been thanked: 0 time

Re: Nate's Deck Builder and Rules Viewer

Postby Teppic » 25 Oct 2008, 11:13

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?
_______________________
CCGHQ Missing Promos list
User avatar
Teppic
 
Posts: 168
Joined: 31 May 2008, 05:36
Location: Xcode
Has thanked: 86 times
Been thanked: 60 times

Re: Nate's Deck Builder and Rules Viewer

Postby Teppic » 25 Oct 2008, 11:49

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.
_______________________
CCGHQ Missing Promos list
User avatar
Teppic
 
Posts: 168
Joined: 31 May 2008, 05:36
Location: Xcode
Has thanked: 86 times
Been thanked: 60 times

Re: Nate's Deck Builder and Rules Viewer

Postby Bog Wraith » 25 Oct 2008, 11:59

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!
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
User avatar
Bog Wraith
Global Mod 1 (Ret)
 
Posts: 1108
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 425 times
Been thanked: 153 times

Re: Nate's Deck Builder and Rules Viewer

Postby Snacko » 25 Oct 2008, 13:42

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
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: Nate's Deck Builder and Rules Viewer

Postby falconer8r » 08 Dec 2008, 08:07

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
falconer8r
 
Posts: 13
Joined: 22 Sep 2008, 12:09
Has thanked: 0 time
Been thanked: 0 time

Re: Nate's Deck Builder and Rules Viewer

Postby Snacko » 08 Dec 2008, 09:51

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.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

PreviousNext

Return to Deck Builder and Excellent Rules Viewer

Who is online

Users browsing this forum: No registered users and 10 guests


Who is online

In total there are 10 users online :: 0 registered, 0 hidden and 10 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 10 guests

Login Form