07th-mod / umineko-question

94 stars 9 forks source link

If crash occurs immediately after saving, the last save file is lost #170

Open drojf opened 1 year ago

drojf commented 1 year ago

T: is there any reason as to why the game doesn't save when the game crashes sometime after saving? using the experimental engine


D: I tested on the unmodded game and it has the same behavior...

D: If you look at the save folder, it actually creates the save file immediately, but my guess is that it doesn't update the global.dat (the global save data file) which says how many save files there are until later? So even though the save is there, you can't access it.

D: I'm not sure if this is part of the .exe or part of the Umineko script which is causing this.

If this is part of the engine, I guess we can't fix it (except for fixing the experimental engine). But it might just be the game script isn't writing out the save file count variable, and we just need to force it to update the global.dat immediately after it saves.

Note that I simulated crashing on Windows by ending the process via task manager.