Jump to content

Save File Version Changing: "Error Accessing this save" "Input string was not in a correct format."


Recommended Posts

Hello all,

Relatively new her on the forums; been a huge resource for the years I played KSP. Was hoping you all might be able to help me troubleshoot a problem with my save file.

 

After updating to the most recent update I encountered an issue with decouplers on my launched crafts that caused them to break when I decoupled them. Some more details can be found in this thread:

https://forum.kerbalspaceprogram.com/index.php?/topic/199104-loss-of-probes-after-decoupling-since-111/ I figured out away to fix newly launched crafts, but I had a dozen mission on the go with now broken ships that I didn't want to scrub.

 

So I decided to go back to version 1.10.1 by changing the beta settings in KSP's steam properties. I then edited the 'persistent.sfs' save file, (after backing it up of course), and changed the version number from 1.11.0 to 1.10.1 in the 4 lines referencing version.

And it worked! I was able to load the save file, my ships and their decouplers worked as expected and I was able to complete their missions.

 

The trouble is, I can't seem to get the save file to update back to 1.11.0. When I change the beta settings back to none and load KSP this is what I see:

D662A4BB6E8603AC4906DF1D87FE8D54FAA70E4C

Error Accessing this save Input string was not in a correct format.

 

As far as I can tell, the 'persistent.sfs' of my edited game has not been touched, unlike all my other saves which were automatically updated. I tried editing the 4 lines referencing version again but that didn't help.

Comparing the backup I made before editing and the edited file, there are a lot of new lines referencing things like the contents of modules or Kerbal's inventories in the backup that are not present in the edited 1.10.1 version

Obviously there's a value it doesn't like in there somewhere, but with 509077 lines in the edited version, (and 676766 in the backup), I'm at a bit of a loss as to where to start.

 

I play with KerbalEngineer and KerbalAlarmClock. I don't think they have anything to do with this but I figured I'd include that here.

Anyone have any experience messing around with save files that might be able to help me track down the issue? (or maybe even narrow down the list of candidates)

Thanks

 

John

Link to comment
Share on other sites

So after going through the save file line by line and comparing it to my earlier working save file, it appears that the issue was in the FLIGHTSTATE section of the file.  For each VESSEL, where ever the following three lines of code appeared in the original:

modMass = 0
moduleVariantName = 
moduleCargoStackableQuantity = 1

they looked like this in the edited file:

modMass = 0, UNKNOWN
moduleVariantName = , UNKNOWN
moduleCargoStackableQuantity = 1, UNKNOWN

I'm not exactly sure why that was added, when all my other save files seemed to figure out those lines fine, but it was an easy fix to find and replace/remove all instances of ", UNKNOWN".

This seems to have fixed my save file; it can now be loaded in 1.11.0

Just posting this here in case anyone else encounters this issue.

 

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...