It is currently 26 Aug 2025, 19:01
   
Text Size

Forge Beta: 03-27-2013 ver 1.3.11

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby Chris H. » 04 Apr 2013, 21:20

moomarc wrote:
Nim wrote:I use Forge for some time already, but I don't update it very regularly. So I had a version of Forge 1.3.4 and I wanted to update it to 1.3.11. After downloading (in a new folder) and starting the game for the first time, I started to import my old files (ingame): pictures, decks and quests. I rebooted Forge to have access to those files. It stuck for more than a half hour on "Loading card data: 100%, ETA00:00:01".
I stopped the program and restarted again: same story. I stopped again and decided to reinstall it completely (but this time with the pics etc. in a custom folder): same story.

What am I doing wrong?
Its possible that updating from that far back has an outdated layout file. Check the User/preferences folder and try deleting all the files in there (or temporarily moving somewhere else until you work out what the issue is). Those files will be recreated again as you needed. Let us know if that helped.
 
I suspect that it was one of the layout files located in the old /res/layouts/ dir that is causing the problem. I would delete the editor.xml and match.xml files from the /userDir/preferences/ dir and try again.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby Nim » 05 Apr 2013, 10:12

I deleted (or rather moved them to a non-Forge folder) editor.xml and match.xml (found in the /res/defaults/ dir; the /userDir/preferences/ dir only had forge.preferences in it) and restarted it. No difference.
I did the same but this time I deleted editor.preferences and home.xml too: no difference.

I'll try to reinstall it a couple of times, with different files (pics, decks, quests) imported to see which of those three is the troublesome one.

EDIT:
I looked at forge.log in the /userdir/profile dir. It says the following:
Code: Select all
Read cards: 12454 archived files in 27222 ms (25 parts) using thread pool
java.lang.ExceptionInInitializerError
   at forge.view.Main.main(Main.java:37)
Caused by: java.lang.IllegalArgumentException: No element named sealed in enum GameType
   at forge.deck.DeckFormat.smartValueOf(DeckFormat.java:84)
   at forge.deck.io.DeckFileHeader.<init>(DeckFileHeader.java:68)
   at forge.deck.io.DeckSerializer.readDeckMetadata(DeckSerializer.java:233)
   at forge.deck.Deck.fromSections(Deck.java:174)
   at forge.deck.io.DeckSerializer.read(DeckSerializer.java:203)
   at forge.deck.io.DeckSerializer.read(DeckSerializer.java:1)
   at forge.util.storage.StorageReaderFolder.readAll(StorageReaderFolder.java:99)
   at forge.util.storage.StorageView.<init>(StorageView.java:48)
   at forge.util.storage.StorageImmediatelySerialized.<init>(StorageImmediatelySerialized.java:43)
   at forge.deck.CardCollections.<init>(CardCollections.java:47)
   at forge.model.FModel.<init>(FModel.java:174)
   at forge.model.FModel.<clinit>(FModel.java:69)
   ... 1 more
EDIT:
The culprit is somewhere in the /userdir/profile/decks/constructed/ dir. Since there's a large amount of decks there (some of my own, but mostly deck packs I downloaded here), up to +2.500 decks, it will take some time to check which causes this problem.

Anyway, much thanks to both for looking at my problem.
Nim
 
Posts: 12
Joined: 04 Apr 2013, 17:15
Has thanked: 5 times
Been thanked: 0 time

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby Chris H. » 05 Apr 2013, 12:06

Nim wrote:EDIT:
The culprit is somewhere in the /userdir/profile/decks/constructed/ dir. Since there's a large amount of decks there (some of my own, but mostly deck packs I downloaded here), up to +2.500 decks, it will take some time to check which causes this problem.

Anyway, much thanks to both for looking at my problem.
 
Good job. :)

I seem to remember someone having a similar problem a few weeks ago.

Try launching forge with only half of the constructed decks in place and see if the bad deck was included. If it was then try dividing these decks in half again.

Yeah, it will take awhile to find it.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby Nim » 05 Apr 2013, 12:23

Yeah, I tried launching Forge every time with an extra letter of the alphabet, while deleting every deck with titles I didn't liked. I ended up with ca. 1.000 decks remaining, but with a working Forge! Happy me. (:

Now at least I won't be drowning in that deck list again.
Nim
 
Posts: 12
Joined: 04 Apr 2013, 17:15
Has thanked: 5 times
Been thanked: 0 time

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby Max mtg » 05 Apr 2013, 13:40

@Nim, you've got a hint in the error message
No element named sealed in enum GameType
So launch a find in files with that string 'sealed' and get a list of problematic decks
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby Nim » 05 Apr 2013, 14:01

Mm. How do I start such a search for strings?
Nim
 
Posts: 12
Joined: 04 Apr 2013, 17:15
Has thanked: 5 times
Been thanked: 0 time

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby Chris H. » 05 Apr 2013, 15:01

Nim wrote:Mm. How do I start such a search for strings?
 
Which OS are you using?

I know how to do this for Mac OS X and I am sure that other people can give you some tips for the other OS'.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby Nim » 05 Apr 2013, 15:19

Windows 7.
Nim
 
Posts: 12
Joined: 04 Apr 2013, 17:15
Has thanked: 5 times
Been thanked: 0 time

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby friarsol » 05 Apr 2013, 15:26

Nim wrote:Windows 7.
http://windows.microsoft.com/en-us/wind ... -or-folder

If you search for "sealed" in quotes inside your decks directory, it should be case sensitive, and shouldn't take forever.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby Nim » 05 Apr 2013, 15:37

I know how to do a simple search in Windows 7, but all you get by searching in the directory is deck titles with "sealed" in it, while I want to find strings inside the decks that include "sealed" as a value.
Nim
 
Posts: 12
Joined: 04 Apr 2013, 17:15
Has thanked: 5 times
Been thanked: 0 time

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby Chris H. » 05 Apr 2013, 16:13

Nim wrote:I know how to do a simple search in Windows 7, but all you get by searching in the directory is deck titles with "sealed" in it, while I want to find strings inside the decks that include "sealed" as a value.
 
This link may help:

http://answers.microsoft.com/en-us/windows/forum/windows_7-files/in-windows-7-i-want-to-search-for-all-files/aadfe1f1-4a33-406b-8e72-bb920efa4f30
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby Nim » 05 Apr 2013, 19:21

Cool. I didn't knew that option in Win 7.
It still didn't give me more results except that one deck with "sealed" in it's name. Nevertheless, it's not a real problem. I had to many decks laying around anyway. (:
Nim
 
Posts: 12
Joined: 04 Apr 2013, 17:15
Has thanked: 5 times
Been thanked: 0 time

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby Chris H. » 05 Apr 2013, 19:46

Nim wrote:Cool. I didn't knew that option in Win 7.
It still didn't give me more results except that one deck with "sealed" in it's name. Nevertheless, it's not a real problem. I had to many decks laying around anyway. (:
 
I did a google search on "Windows 7 find by content" and that link was the first in the listing. If you are interested you could try some of the other links that are generated in that google search.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby Max mtg » 05 Apr 2013, 20:24

if you'd share your decks folder and post your it zipped here, someone might be able to pinpoint the bad deck and add some decks to their collection ;)
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Forge Beta: 03-27-2013 ver 1.3.11

Postby Zirbert » 06 Apr 2013, 01:32

I'm not sure whether this qualifies as a bug or a feature request. Anyway -

When tapping a "Vivid" land (Vivid Crag, Vivid Marsh, etc.) to pay the generic (colourless) portion of a cost, Forge assumes that you wanted to use the "remove a counter for 1 of any colour" ability, and automatically removes a counter. It would be much better if Forge assumed you want to use the ability to tap for 1 of the land's "base" colour, or even if it asked whether you want to remove a counter.
Zirbert
 
Posts: 512
Joined: 13 Oct 2010, 16:04
Has thanked: 104 times
Been thanked: 19 times

PreviousNext

Return to Forge

Who is online

Users browsing this forum: No registered users and 49 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 49 users online :: 0 registered, 0 hidden and 49 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 49 guests

Login Form