Savegame vs autosave size difference
Savegame vs autosave size difference
Hi,
where comes file size difference between savegame and autosave from? In my case it's 816 vs 730 MB files, saved one by one. Restoring game from both gives same results. So why one is much bigger than other?
where comes file size difference between savegame and autosave from? In my case it's 816 vs 730 MB files, saved one by one. Restoring game from both gives same results. So why one is much bigger than other?
Re: Savegame vs autosave size difference
There is no difference in the file format between the save methods. What most likely is happening is the game is updating between the two and things in the game are changing resulting in different data being saved.
If you want to get ahold of me I'm almost always on Discord.
Re: Savegame vs autosave size difference
There is only few seconds time between both saves. How much could change in game in such liitle time span?
Re: Savegame vs autosave size difference
Technically; anything can change between any two game ticks.
You can test it simply by going into the editor and using the editor-pause feature. Let autosave run and do a manual save.
You can test it simply by going into the editor and using the editor-pause feature. Let autosave run and do a manual save.
If you want to get ahold of me I'm almost always on Discord.
Re: Savegame vs autosave size difference
This looks to me like it's probably a case of different compression settings for autosaves and manual saves.
Compare the size of the decompressed saves too, and see if the difference is closer to what you expect.
Compare the size of the decompressed saves too, and see if the difference is closer to what you expect.
Re: Savegame vs autosave size difference
Is there different setting for compression of autosaves? I thought only one setting available affects all saves, auto and manual ones.
I unpacked both files: exept descriptor files (json, preview etc) every single .dat file has different size. About 5-20% bigger are manual saves.
I unpacked both files: exept descriptor files (json, preview etc) every single .dat file has different size. About 5-20% bigger are manual saves.
Re: Savegame vs autosave size difference
The compression ratio for the game state is going to vary from tick to tick with the sheer number of entities and states within. The sea of bytes is not always going to be optimally compressed as compatibility with the algorithm waxes and wanes.
- BlueTemplar
- Smart Inserter
- Posts: 2900
- Joined: Fri Jun 08, 2018 2:16 pm
- Contact:
Re: Savegame vs autosave size difference
A hint might be that the manual (?) savegame is called «nilaus» - and since I assume you aren't Nilaus (?), there might be some difference between his Factorio (and OS ?) and yours ??
P.S.: Also, what kind of gigantic factory is this save for ?!
P.S.: Also, what kind of gigantic factory is this save for ?!
BobDiggity (mod-scenario-pack)
Re: Savegame vs autosave size difference
No, I am not Nilaus I named my save by him, because in this game I use some of his blueprints. Well, a lot. I don't know if my base is huge, now it's about 27k SPM, but a little chaotic in design. My design from begining, not savegame file from net.
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: Savegame vs autosave size difference
I think if you do as Rseding91 suggested, you'll see they're correct.
And really, a 27k SPM base is pretty big with a lot of moving parts. It's not hard to imagine tens of thousands of things changing in a single tick.
And really, a 27k SPM base is pretty big with a lot of moving parts. It's not hard to imagine tens of thousands of things changing in a single tick.
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: Savegame vs autosave size difference
You are right but... if save file size would change due tick-to-tick gamestate changes it will result with random size difference: sometimes manual save and sometimes autosave should be bigger. In my case manual save is ALWAYS bigger.
I am not familiar with editor mode - a good "howto" online?
I am not familiar with editor mode - a good "howto" online?
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: Savegame vs autosave size difference
There is also a setting specifically for auto save file compression. Check out "The rest" in the main menu by ctrl+alt+clicking the Settings button. Mine is set for "fast".
For editor, easiest is to just open the console (tilde (~) key) in your currently running game and type (without quotes) "/editor" (in freeplay mode you may have to do it a second time). Time will automatically pause, but autosaves will still happen at the regular intervals. Just wait for one of them to happen (you can change the interval for the tests if you like), then do a manual save.
For editor, easiest is to just open the console (tilde (~) key) in your currently running game and type (without quotes) "/editor" (in freeplay mode you may have to do it a second time). Time will automatically pause, but autosaves will still happen at the regular intervals. Just wait for one of them to happen (you can change the interval for the tests if you like), then do a manual save.
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: Savegame vs autosave size difference
Strange, I have only "autosave-compression-level" and "muliplayer-compression-level" Autosave level is set to maximum already, as I mentioned before, I set multiplayer level also to maximeum, let's see what will happen
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: Savegame vs autosave size difference
Yes, that's all I have, too.
Well, that may explain it, then. If manual save uses fast, then it's going to be consistently larger as your auto-save is set to compress it as much as possible.
Maybe a feature request, then, to also give us a setting for the manual (single player) save compression? Personally, I'd rather have auto-save be fast and manual be slow and compact, but that may just be me.
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics