otya128 / winevdm

16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows
GNU General Public License v2.0
2.64k stars 150 forks source link

Castle of the Winds - Interrupt OD, savefile corruption #990

Open SabinStargem opened 3 years ago

SabinStargem commented 3 years ago

While playing COTW Part 2, I tried to save my game and got this error. I had to shut down the game, and the savefile was corrupted. I have attached the corrupted savefile, alongside a earlier non-corrupted save. Hopefully, this can help with tracking down the error.

My playthrough is with Build 2098.

COTW - Interrupt OD

JANUS.zip

JANUS NON-CORRUPT.zip

cracyc commented 3 years ago

How long were you playing before this happened? Really need a way to reproduce this before it can have a chance of being fixed.

SabinStargem commented 3 years ago

How long were you playing before this happened? Really need a way to reproduce this before it can have a chance of being fixed.

That depends. Are you talking about the savefile, or just booting up a session? If the latter, about half an hour in real-time.

When it comes to the savefile, it has about 3 hours of history during COTW1, then it was imported into COTW2. The corruption happened about 1 hour into my COTW2 session.

I think that errors tend to crop up most often if the player sleeps often. In this game, every action takes up a slight bit of time, allowing monster movement, stat regeneration, and so on to happen.

cracyc commented 3 years ago

I meant the latter because based on your other report, I suspected a memory leak. Anyway, I messed around for a bit loading, saving and resting and couldn't make anything happen.

cracyc commented 2 years ago

Fixed, see https://github.com/otya128/winevdm/issues/1127