Can't Load Save Games

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
LoopZoop
Posts: 24
Joined: 14 Dec 2016, 20:55

Can't Load Save Games

Post by LoopZoop » 10 Jan 2017, 05:30

This is the error

Code: Select all

Failed to load saved game: ESM Error: Previous record contains unread bytes
  File: C:\Users\zakk1_000\Documents\My Games\OpenMW/saves\Garus_Mesk\Garus_6.omwsave
  Record: 
  Subrecord: I
  Offset: 0x2400007
The other odd thing I noticed was my settings.cfg file today was full of NULL inexplicably. No clue what may have caused all the issues.

Please help, the only working save file at this point is from 3 weeks ago... *cries*
Attachments
SaveError.rar
(3.84 MiB) Downloaded 55 times

User avatar
AnyOldName3
Posts: 1552
Joined: 26 Nov 2015, 03:25

Re: Can't Load Save Games

Post by AnyOldName3 » 10 Jan 2017, 17:43

Usually that error is caused when you try to load a save created by a newer OpenMW version. Are you sure that this couldn't have happened?
AnyOldName3, Master of Shadows

LoopZoop
Posts: 24
Joined: 14 Dec 2016, 20:55

Re: Can't Load Save Games

Post by LoopZoop » 11 Jan 2017, 03:12

\
Last edited by LoopZoop on 11 Jan 2017, 03:13, edited 1 time in total.

LoopZoop
Posts: 24
Joined: 14 Dec 2016, 20:55

Re: Can't Load Save Games

Post by LoopZoop » 11 Jan 2017, 03:13

The strange thing is that I played the previous night, no issues, next day I download some mods, remove a few, start the game up and get an error saying something like "OpenMW could not play without a settings.cfg"

I opened the file and it had NULL repeated entirely filing up the file. So I go back, reconfigure the settings, start the game and can't load the hard save or quicksave. But I am able to play my other save from three weeks agp.

User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: Can't Load Save Games

Post by scrawl » 11 Jan 2017, 03:24

Sounds like a hard drive failure.

LoopZoop
Posts: 24
Joined: 14 Dec 2016, 20:55

Re: Can't Load Save Games

Post by LoopZoop » 11 Jan 2017, 03:48

scrawl wrote:Sounds like a hard drive failure.
No shit? Is there any save file cleaner for OpenMW? Or any means to do so at all?

Naugrim
Posts: 147
Joined: 08 Jan 2016, 01:32
Location: Spain

Re: Can't Load Save Games

Post by Naugrim » 11 Jan 2017, 08:01

scrawl wrote:Sounds like a hard drive failure.
mmh...Do save files contain some hash validation code?
If not, maybe it could be interesting to add.
My opinions are my own. I am just a thankful user of OpenMW with no affiliation with the dev team.

User avatar
psi29a
Posts: 4631
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Can't Load Save Games

Post by psi29a » 11 Jan 2017, 09:21

This should be something that is solved by the filesystem, not necessarily by the application. See ZFS for example that will check for file corruption (bit rot) and correct for it during scrubbing/resilvering.

Until that time where this 'feature' becomes wide spread, then perhaps some time of manifest or binary signing is not such a bad idea. I can see this getting out of hand though. ;)

LoopZoop
Posts: 24
Joined: 14 Dec 2016, 20:55

Re: Can't Load Save Games

Post by LoopZoop » 11 Jan 2017, 15:00

psi29a wrote:This should be something that is solved by the filesystem, not necessarily by the application. See ZFS for example that will check for file corruption (bit rot) and correct for it during scrubbing/resilvering.

Until that time where this 'feature' becomes wide spread, then perhaps some time of manifest or binary signing is not such a bad idea. I can see this getting out of hand though. ;)
Is ZFS packaged with windows or will I need to download it from somewhere?

Naugrim
Posts: 147
Joined: 08 Jan 2016, 01:32
Location: Spain

Re: Can't Load Save Games

Post by Naugrim » 11 Jan 2017, 15:45

Apologies, we are digressing from the topic and I feel it is my fault ^^'

LoopZoop, from your explanation could be that your drive got corrupted in some way. Once data is affected, not much can be done generally.
As a first step, you can run some check to see if it can confirm it. Honestly, I am not sure of its fiability, but on Windows, open a command window and use "sfc /verifyonly" to run some preliminary checks.
More info: https://technet.microsoft.com/en-us/lib ... 84577.aspx. Check teh scannow and scanfile options, can be useful.

If it confirms that data is corrupted it may show the file and thus confirm it is affected.
If no error is show, then we are back to square one and could be an issue. I will try to load the save file in a clean installation later and see what happens.

----
Now, digressing again, the ZFS is a filesystem not available on Windows and a perfect solution should com from the filesystem. But probably something easy could be done from OpenMW side, maybe just keeping a backup of the last saved file when overwriting, or attaching a md5 hash to the safe file in some way.
My opinions are my own. I am just a thankful user of OpenMW with no affiliation with the dev team.

Post Reply