Search found 6 matches

by tesserekt
Tue Jan 27, 2026 11:46 pm
Forum: Bugs
Topic: Heap Corruption and Corrupted Saves
Replies: 9
Views: 2129

Re: Heap Corruption and Corrupted Saves

I am sharing my workaround in the event it can help someone in the near-term. This prevents the game from immediately crashing when you have an issue with save files on Windows. When this code works you will need to find your save file and rename it manually from game.teag.tmp to game.teag. No guara...
by tesserekt
Thu Jan 15, 2026 1:29 am
Forum: Bugs
Topic: Heap Corruption and Corrupted Saves
Replies: 9
Views: 2129

Re: Heap Corruption and Corrupted Saves

I have ruled out the online features, part of my testing was done using the download from the forum and I did not sign in. I do not think there is any other process interfering with the save file. My AV is disabled and I am not syncing the files anywhere. In fact my first short term fix for the prob...
by tesserekt
Sat Jan 10, 2026 7:26 pm
Forum: Bugs
Topic: Heap Corruption and Corrupted Saves
Replies: 9
Views: 2129

Re: Heap Corruption and Corrupted Saves

The rename fails because Windows says `game.teag.tmp` is open in Tales of MajEyal. When the game is unable to rename the file I was also unable to rename the file manually. Closing the game allowed me to rename the file.
by tesserekt
Sat Jan 10, 2026 2:40 pm
Forum: Bugs
Topic: Heap Corruption and Corrupted Saves
Replies: 9
Views: 2129

Re: Heap Corruption and Corrupted Saves

The root cause of this is rather mundane. There is a flaw in the logic of the save process that if the rename of the temp save `game.teag.tmp` to `game.teag` in the C code it is just treated as if it succeeded. It then reports back to the LUA code that the save worked. The LUA code will then attempt...
by tesserekt
Tue Jan 06, 2026 11:32 pm
Forum: Bugs
Topic: Heap Corruption and Corrupted Saves
Replies: 9
Views: 2129

Re: Heap Corruption and Corrupted Saves

Thanks. I had browsed through that thread before. I had tried to drop the tmp from my broken save and thinking back I did see some lua errors when that file failed to load. Perhaps that save could be fixed but I was playing on Roguelike and not that concerned about fixing the save file. I am more in...
by tesserekt
Sun Jan 04, 2026 5:20 pm
Forum: Bugs
Topic: Heap Corruption and Corrupted Saves
Replies: 9
Views: 2129

Heap Corruption and Corrupted Saves

Hello Fellow TOMErs I recently got into this game and I have been running into relatively frequent crashes that are corrupting my saves. Most recently my game crashed when entering Derth for the first time. I entered the zone and the loading progress bar got to 100% and then just stayed there until ...