Jump to content

AutoSave gettimh bigger and bigger.


kpdavatar

Recommended Posts

While playing I noticed when autosave happens, the game stops for saving the game.
The pause while saving was getting longer and longer.
So, I looked at where the game was saved.

%username% is my username, I not telling you that. :P
Beta is the the game name I saved.
C:\Users\%username%\AppData\LocalLow\Intercept Games\Kerbal Space Program 2\Saves\SinglePlayer\Beta

I have 3 autosaves that are 14,588,699 KB.
autosave_1.json 14,588,699 KB
autosave_2.json 14,588,699 KB
autosave_3.json 1,409,380 KB

My save in Beta
docked.json 919,319 KB
takes about 5 minutes to load.

If I do anything that causes an autosave,
the auto saves are about 10-15 minutes to SAVE.

Just for fun I dragged an dropped autosave_1.json in WordPad.
I waited, and waited, and waited and walked away to see if it loads.
45min later still not loaded. May be a Windows does not like loading and saving something that big?

So, I went to a hexeditor and found
From hex 00000000 to 0003DE95A
Everything looks ok.
Setting and Crafts I have around Kerbin.
1 craft in orbit.
5 craft on Kerbin.

from hex 0003DE85B to 3776ECE7B are EventKeys.
Examples:

"EventKey": "vesselLaunched",
        "UT": 35906.955955229474,
        "FlightReportArgs": [
          "Kerbin"
        ]
      },
      {
        "TravelObjectIds": [
          "4d2575e1-462e-4a40-a7c2-974fbfa7e290"
        ],
        "EventKey": "vesselLanded",
        "UT": 35906.955955229474,
        "FlightReportArgs": [
          "Kerbin"
        ]
      },
      {
        "TravelObjectIds": [
          "4d2575e1-462e-4a40-a7c2-974fbfa7e290"
        ],
        "EventKey": "vesselLanded",
        "UT": 35907.015955228133,
        "FlightReportArgs": [
          "Kerbin"
        ]
      },

MOST of the EventKey are vesselLanded over and over again.

        "EventKey": "vesselLanded",
        "UT": 46285.2957232555,
        "FlightReportArgs": [
          "Kerbin"
        ]
      },
      {
        "TravelObjectIds": [
          "18d3ca00-2f02-4dfa-b798-db615c2179a6",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05",
          "be9934a1-c911-4021-9c6a-ee17943fce05"
        ],

is repeated over and over.
As if an object is bouncing on Kerbin.

event vesselLanded  Is making the AutoSave TOOO BIG.

Just letting you know what I found.

 

Link to comment
Share on other sites

I found out what is causing the the problem!

?imw=5000&imh=5000&ima=fit&impolicy=Lett

 

I deleted the old savegame and started over.

I started a new game.

I loaded the craft above and added landing gear.

Every time I raise and lower the gear the save gets BIGGER because of  vesselLanded is added to save.

Just an update.

 

Edited by kpdavatar
Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...