It is currently 16 May 2025, 21:35
   
Text Size

Error when starting Forge - crashed in Quest Mode

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

Error when starting Forge - crashed in Quest Mode

Postby Feather » 26 Jul 2013, 20:12

Description: I think i only tried to accept a match.

EOFException | Open
Code: Select all
Forge Version:    1.4.3-r22557
Operating System: Windows 8 6.2 x86
Java Version:     1.7.0_25 Oracle Corporation

main > Error loading Quest Data
java.io.EOFException: Unexpected end of ZLIB input stream
   at java.util.zip.InflaterInputStream.fill(Unknown Source)
   at java.util.zip.InflaterInputStream.read(Unknown Source)
   at java.util.zip.GZIPInputStream.read(Unknown Source)
   at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
   at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
   at sun.nio.cs.StreamDecoder.read(Unknown Source)
   at java.io.InputStreamReader.read(Unknown Source)
   at java.io.Reader.read(Unknown Source)
   at forge.quest.io.QuestDataIO.loadData(QuestDataIO.java:128)
   at forge.control.FControl.initialize(FControl.java:181)
   at forge.view.Main.main(Main.java:45)
Feather
 
Posts: 3
Joined: 26 Jul 2013, 20:10
Has thanked: 0 time
Been thanked: 0 time

Re: Error when starting Forge - crashed in Quest Mode

Postby timmermac » 27 Jul 2013, 00:44

Is this an old quest that you've imported from somewhere or a new quest? If it's an old one, my suspicion is that it's been corrupted somehow.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Error when starting Forge - crashed in Quest Mode

Postby Feather » 27 Jul 2013, 09:55

It was a new quest. That doesn't mean that it can't be corrupted - but earlier it was working just fine. Where are the saved quests stored? Maybe I can try to delete it and see if at least the program will start again.
Feather
 
Posts: 3
Joined: 26 Jul 2013, 20:10
Has thanked: 0 time
Been thanked: 0 time

Re: Error when starting Forge - crashed in Quest Mode

Postby Chris H. » 27 Jul 2013, 15:41

Feather wrote:It was a new quest. That doesn't mean that it can't be corrupted - but earlier it was working just fine. Where are the saved quests stored? Maybe I can try to delete it and see if at least the program will start again.
 
<userDir>/quest/saves/
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: Error when starting Forge - crashed in Quest Mode

Postby crystalkeeper » 15 Aug 2013, 15:07

Where is that located? I cant find it.
crystalkeeper
 
Posts: 4
Joined: 15 Aug 2013, 14:56
Has thanked: 0 time
Been thanked: 0 time

Re: Error when starting Forge - crashed in Quest Mode

Postby Chris H. » 15 Aug 2013, 17:51

crystalkeeper wrote:Where is that located? I cant find it.
 
Near the top of the "README.txt" file that was included in the forge archive that you downloaded:

Updating to a newer version Instructions: | Open
Updating to a newer version Instructions:
-----------------------------------------

- User data migration -
User data files, like decks, saved gauntlets, and card pictures, are now stored in new directories separate from the program data. When this version of Forge is first run, it will scan the program directory for all user data and automatically migrate the files to their new homes. There are three defined user data directores: userDir, cacheDir, and cardPicsDir, and their locations depend on the standard paths for your operating system:

Windows:
userDir=%APPDATA%/Forge/
cacheDir=%LOCALAPPDATA%/Forge/Cache/ (or %APPDATA%/Forge/Cache/ for windows versions before the local/roaming directory split)
OSX:
userDir=$HOME/Library/Application Support/Forge/
cacheDir=$HOME/Library/Caches/Forge/
Linux:
userDir=$HOME/.forge/
cacheDir=$HOME/.cache/forge/

The appdata directory is hidden by default in Win7. Open a Windows Explorer window (or double-click on My Computer] and in the address field type "%appdata%/forge/" (without the quotes). If that doesn't work, type "%appdata"/roaming/forge".

cardPicsDir is defined as <cacheDir>/pics/cards/ by default. If you wish to use a non-default directory, please see the forge.profile.preferences.example file located in the Forge installation directory root. You can use this file to, for example, share the card pics directory with another program, such as Magic Workstation.

If you are using the Mac OS X version of Forge then you will find the forge.profile.preferences.example file by right clicking or control clicking on the Forge.app icon. Select "Show Package Contents" from the contextual menu. A Finder window will open and will display a folder named Contents. Navigate to the folder:
/Contents/Resources/Java/
and you will find the file named forge.profile.preferences.example.

For reference, here is the full list of moved directories and files:

Old location New location
---------------- ----------------------
res/decks/ <userDir>/decks/
res/gauntlet/ <userDir>/gauntlet/
res/layouts/ <userDir>/preferences/
res/preferences/ <userDir>/preferences/
res/quest/data/ <userDir>/quest/saves/
res/pics/ <cacheDir>/pics/
forge.log <userDir>/forge.log

- New Import Data dialog -
The Import Pictures dialog, accessed via the Content Downloaders submenu, has received an overhaul and has been reincarnated as the Import Data dialog. You may recognize it from the automatic data migration procedure if you had any data to migrate when this version was first started. Instead of just importing pictures from a previous version of Forge, it can now import any kind of Forge data whatsoever. If you have a directory full of deck files, you can use the Import Data dialog to copy or move them to the appropriate directory. If you have just downloaded a torrent of high-quality pics for a particular set, use the Import Data dialog to get them to the proper place. The dialog give you a full listing of all file copy/move operations, so you can see what will happen before you click 'Start Import'.

An importer option was added for including pictures in set-specific card directories that don't map to any currently known card. This handles the case where people have collected complete sets of pics in anticipation of when Forge supports them.
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


Return to Forge

Who is online

Users browsing this forum: No registered users and 29 guests


Who is online

In total there are 29 users online :: 0 registered, 0 hidden and 29 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 29 guests

Login Form