Jump to content

This Savegame file is so corrupt it breaks the whole game


twich22

Recommended Posts

I have a savegame file that somehow is 1.5 GB big and breaks the game if its in the KSP 2 folder. You cant even start the game with it present. It immediately freezes when trying to load into the main menu. Only solution is to delete it from your KSP 2 folder. 

Edited by twich22
Link to comment
Share on other sites

It's a bug for sure, but I can help you fix it if you're comfortable editing JSON. I recommend using VSCode.  Near the bottom of the of the file is a section called "TravelLogData" .  You will find multiple objects in an array there and I suspect you will find MANY duplicate entries mentioning the same "TravelObjectID".  You probably have 10s of millions of them. 

If you're comfortable editing the JSON, make a note of the duplicated GUIDs being repeated as TravelObjectIDs, then remove all of the objects from the "TravelLogData":{"Objects":[]    array. They are not necessary for the game.   This will restore your performance, and probably bring your save file down to <5MB in size.

I think Flags may be the cause, as I've noticed them disappearing in my save. The GUIDs did not appear to refer to any vessels or parts that I could identify

Edited by WingC3
Link to comment
Share on other sites

47 minutes ago, WingC3 said:

If you're comfortable editing the JSON, make a note of the duplicated GUIDs being repeated as TravelObjectIDs, then remove all of the objects from the "TravelLogData":{"Objects":[]    array. They are not necessary for the game.   This will restore your performance, and probably bring your save file down to <5MB in size.

Thanks for the info. I have a hundred other stable savefiles so I am just going to use one of those. I learned my lesson well in KSP 1. But I am sure this will come in handy in the future. 

Link to comment
Share on other sites

×
×
  • Create New...