BGforgeNet / FO2tweaks

Fallout 2 tweaks
https://forums.bgforge.net/viewforum.php?f=26
119 stars 10 forks source link

Randomly corrupted savegames #47

Closed jvs3 closed 4 years ago

jvs3 commented 4 years ago

Sometimes a saved game is corrupt and Fallout 2 is unable to load it. The error message is "Error loading game! Unable to load game." This only happens when the fo2tweaks mod is installed. I use Fallout 2 Restoration Project v2.3.3U8 and also the Party Orders mod v1.4. It occurs whether the Party Orders mod is installed or not. I am using v10 of FO2tweaks.

I have attached two sets of two savegames. The second one is a few seconds after the first one and is corrupted. This is using a default ini file (renamed to .txt to upload to Github).

fo2tweaks.ini.txt

SAVEGAME.zip

SAVEGAME2.zip

burner1024 commented 4 years ago

Try enabling debugging?

jvs3 commented 4 years ago

The games load with "Enable=1" in "[Debugging]".

I also enabled debug logging. The logs from loading are attached.

The only difference I see between the normal and corrupted saves is this line: [SFALL] ERROR reading data: data\savegame\slot08\sfallgv.sav This file is present in all savegame directories.

All sfallgv.sav files sfallgv.sav.zip

logs from savegame.zip debug.SAVEGAME.SLOT07.log debug.SAVEGAME.SLOT08.log

logs from savegame2.zip debug.SAVEGAME2.SLOT08.log debug.SAVEGAME2.SLOT09.log

burner1024 commented 4 years ago

what's your sfall version?

jvs3 commented 4 years ago

It was the one packaged with the Restoration Project v4.1.9.1. But after my first post I have updated to V4.2 to see if it would help. Both versions had the issue.

burner1024 commented 4 years ago

Anything else you can tell to narrow this down? Specific actions, quests, maps, etc? Would be really helpful to reproduce this.

jvs3 commented 4 years ago

I have a reproducible case (at least on my install). When I load the attached savegame and perform first aid on the character (press 5 and click on character) and then save the game. The saved game fails to load approximately half of the time. It seems you do need to heal at least some damage for this to occur.

With healing_revision=0 I haven't experienced any corrupted savegames yet.

SLOT20.zip fo2tweaks.ini.txt

FakelsHub commented 4 years ago

@jvs3 - if possible send me your files the game - completely folder (w/o large files such as: master.dat and critter.dat)

jvs3 commented 4 years ago

Here is the game folder

https://www.dropbox.com/s/q5phumeb4meq5o9/Fallout%202.7z?dl=0

I didn't remember to set healing_revision=1 before I uploaded. So please remember to enable this setting.

I excluded the following files ./mods/rpu_*.dat ./critter.dat ./master.dat and the ./appearance directory

The rpu files were from this release https://github.com/BGforgeNet/Fallout2_Restoration_Project/releases/download/v8/rpu_v8.zip