Login | Register


All times are UTC - 5 hours [ DST ]


It is currently Wed May 22, 2013 5:09 pm




Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: Save game error
PostPosted: Fri Oct 08, 2010 4:25 pm 
Major
Major
User avatar

Joined: Thu Nov 29, 2007 2:11 pm
Posts: 1677
vironica wrote:
To reproduce the problem just press the quicksave button as fast as you can. After some time, the DELDIR appears and after that nothing can be saved anymore in any slot. DANGER: this destroys your quicksave slot and none of the other saves can be loaded afterwards without manual copying.


Unable to reproduce.

I spammed my F2 key for a full two minutes (I even turned the keyboard around so I could hit it with my "gamepad thumb") and had no error. Tried this in both Book I and Book II with no problems.

It's interesting how this will happen repeatedly on systems that have that problem, and never on systems that don't.

_________________
"Apparently, getting your ass kicked is now part of this complete breakfast." - Roy Greenhilt


Top
 Offline Profile  
 
 Post subject: Re: Save game error
PostPosted: Fri Oct 08, 2010 5:53 pm 
Initiate

Joined: Fri Oct 08, 2010 7:30 am
Posts: 9
I deleted the Eschalon Save Folder completely before this test. I created a new char and immediately started saving into all slots.

Then save randomly into a few slots. Then spam F2 again.

Interesting fact: Now everytime I try to save with F2, the DELDIR message appears 2-4 times.

And the slot I try to save to disappears from the savegame folder.


Top
 Offline Profile  
 
 Post subject: Re: Save game error
PostPosted: Sat Oct 09, 2010 12:03 am 
Major
Major
User avatar

Joined: Thu Nov 29, 2007 2:11 pm
Posts: 1677
Still no luck duplicating the error. I spammed the F2 on a new char, saved in half the slots, spammed the F2, saved over some slots, spammed F2, etc, etc... and it worked beautifully every time.

Perhaps its something speed related... if something slows the savegame process (e.g. something running a scan or writing to the hard drive) enough it pukes... *shrug*

_________________
"Apparently, getting your ass kicked is now part of this complete breakfast." - Roy Greenhilt


Top
 Offline Profile  
 
 Post subject: Re: Save game error
PostPosted: Sat Oct 09, 2010 8:35 am 
Initiate

Joined: Fri Oct 08, 2010 7:30 am
Posts: 9
Well I already tried all this with the Windows Indexer and AV software disabled. Still no luck.


Top
 Offline Profile  
 
 Post subject: Re: Save game error
PostPosted: Sat Oct 09, 2010 9:18 am 
Initiate

Joined: Sat Oct 02, 2010 3:21 pm
Posts: 11
Location: Kiev, Ukraine
vironica wrote:
Well I already tried all this with the Windows Indexer and AV software disabled. Still no luck.

Do you have english version of Windows? Do you have non-latin alphabetical characters in your login?


Top
 Offline Profile  
 
 Post subject: Re: Save game error
PostPosted: Sun Oct 10, 2010 5:54 pm 
Initiate

Joined: Fri Oct 08, 2010 7:30 am
Posts: 9
German Windows and Latin Only Username.


Top
 Offline Profile  
 
 Post subject: Re: Save game error
PostPosted: Sun Oct 10, 2010 11:34 pm 
Initiate

Joined: Sat Oct 02, 2010 3:21 pm
Posts: 11
Location: Kiev, Ukraine
vironica wrote:
German Windows and Latin Only Username.

No ideas then :( There was a known issue with non-latin characters in path, but I guess this is not the case.


Top
 Offline Profile  
 
 Post subject: Re: Save game error
PostPosted: Mon Oct 11, 2010 5:41 pm 
Major
Major
User avatar

Joined: Thu Nov 29, 2007 2:11 pm
Posts: 1677
Ok. Where do you have the game installed, and where is the save folder? I'm looking for the exact paths, if you don't mind.

_________________
"Apparently, getting your ass kicked is now part of this complete breakfast." - Roy Greenhilt


Top
 Offline Profile  
 
 Post subject: Re: Save game error
PostPosted: Tue Oct 12, 2010 5:18 am 
Initiate

Joined: Fri Oct 08, 2010 7:30 am
Posts: 9
"C:\Program Files (x86)\Indie Games\Eschalon Book I\Eschalon Book I.exe"
C:\Users\vironic\Documents\Eschalon Book 1 Saved Games

Impulse Version.


Top
 Offline Profile  
 
 Post subject: Re: Save game error
PostPosted: Tue Oct 12, 2010 6:13 am 
Initiate

Joined: Fri Oct 08, 2010 7:30 am
Posts: 9
Ok I debugged the problem using Process Monitor to look at the system calls. It appears my system is too fast executing eschalon or too slow todelete a file, however you want to look at it. It looks like a race condition of some sort.

Here's what's going down:

When writing to a save slot (let's use slot 1 as example) Eschalon does the following:

- Go through all files in Slot 1 and delete them 1 by one
- Check if Slot 1 is really gone
- Write new save data to tmp
- Copy all files from tmp to slot1

The problem is at the check step. When it works, it looks like this:

http://pastebin.org/152260

In Line 4, it deletes the slot1 dir.
In Line 7, it is confirmed to be gone ("NO SUCH FILE","Filter: slot1")

Notice the NO SUCH FILE at the end. That is Eschalon getting confirmation from the System that slot1 is really gone.

Now this is what happens when the error occurs:

http://pastebin.org/152240

In Line 4, the Delete Command is issued with the success result.
In Line 7, it queries for directory - and finds it! ("SUCCESS","Filter: slot1, 1: slot1")

And that is what confuses the savegame code.

After that Eschalon tries to use slot1 dir, but it's gone, because it got delay deleted just after looking for it. I can only image this whole thing happens from multiple threads and these threads are not synchronized properly.

That is enough debugging from my end. I hope this is enough information for the dev to fix it for good this time.


Top
 Offline Profile  
 
 Post subject: Re: Save game error
PostPosted: Tue Oct 12, 2010 4:09 pm 
Major
Major
User avatar

Joined: Thu Nov 29, 2007 2:11 pm
Posts: 1677
Hmm... I was going to suggest an installation of the game in a path such as C:\Games\Eschalon Book I\ with the creation of the save folder inside that directory... but I don't know if the Impulse version will let you get away with that. That way you completely eliminate any user/protected folder interference.

_________________
"Apparently, getting your ass kicked is now part of this complete breakfast." - Roy Greenhilt


Top
 Offline Profile  
 
 Post subject: Re: Save game error
PostPosted: Fri Dec 10, 2010 8:50 am 
Initiate

Joined: Fri Oct 08, 2010 7:30 am
Posts: 9
Is this going to be fixed anytime soon? I have bought both games a few month ago and am still not able to play them.


Top
 Offline Profile  
 
 Post subject: Re: Save game error
PostPosted: Sat Mar 12, 2011 7:30 am 
Pledge

Joined: Sat Mar 12, 2011 7:21 am
Posts: 1
I've got this problem too. I use Microsoft's Live Mesh for sync my documents. I canceled the sync and everything works.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: