Search found 4 matches

by tesserekt
Sat Jan 10, 2026 7:26 pm
Forum: Bugs
Topic: Heap Corruption and Corrupted Saves
Replies: 5
Views: 182

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: 5
Views: 182

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: 5
Views: 182

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: 5
Views: 182

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 ...