My save game got corrupted a few days ago using a linux curses experimental, I’m not entirely sure how it happened, but it manifests as follows: If about a dozen turns pass after I load up my game, a buggy and poorly formatted debug string is printed across the screen and the game promptly exits.
Here’s a screenshot of the message
The thing is though, the crash only seems to occur as long as my home-base (a house with a hole in the wall for my car) is within my reality bubble. If I teleport far enough away, the game doesn’t crash at all. If I teleport near my base again, the game crashes after a few turns pass.
Using the map editor, I replaced my base’s overmap tile with a crater, which (I think) destroys all items, vehicles (my car and minifridges) and other furniture (forges, kilns, fireplace) that was on the tile. Without the homebase tile, the game no longer crashes. So I can conclude that there is an item or vehicle that’s causing my game to crash.
I’ve narrowed down the cause of the crash this far, but the problem is that I don’t know how I can use the debug menu to probe the offending overmap tile any further.
I would like to be able to destroy individual vehicles and items using the debug menu, so that I can figure out what exactly is causing the crash, but there is no such option as far as I’m aware.
I am left with editing the save files by hand, which I understand is simply a collection of JSON files. But I can’t begin to understand why the files in the /save/maps/ folder are named the way they are, and don’t know which file to edit.
How can I know what map file is associated with what overmap tile in the game? Perhaps there’s a debug menu command that tells me this? Also, I’m open to other ideas that could help me fix my save game.
Some other details:
I’ve had to savescum this save before, but that was a few (in-game) days before the crash started occuring.
I’m using the linux curses experimentals
Starting a new game on the same build doesn’t lead to any apparent crashing.
The crash first occurred on an experimental a few dozen builds ago, I tried 2 different experimentals with the same save game and configs, and the crash still occurs.
Replacing the homebase tile with a river also worked in stopping the crash, presumably replacing the overmap tile with anything works.
Leveling the homebase tile with mininukes doesn’t stop the crash (perhaps I wasn’t thorough enough? vehicles never get destroyed)
The first time the crash occurred, it was around 50 turns after I loaded up the game. I’m now left with only a dozen left before crashing because I thought saving the game sometime after loading it up would fix it.