Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Possible sav.dat *file size* compression feature? #45

Open
JT-IT opened this issue Jan 12, 2021 · 0 comments
Open

Possible sav.dat *file size* compression feature? #45

JT-IT opened this issue Jan 12, 2021 · 0 comments

Comments

@JT-IT
Copy link

JT-IT commented Jan 12, 2021

Hey all! First off, great tool, loving it and it gives me some cool insights into how their save games are structed (I'm in devops in IT so I find it interesting regardless).

TL:DR - I crafted too much shit and dismantled it and my sav.dat is 11MB and the game takes forever to load so I was wondering if there's a way to shrink the size of a sav.dat file using your tool.

The whole story:
This is more of a feature request/question; is it possible to compress the size of a sav.dat file in general so the game loads faster? I created a quick powershell script to click, hold, release the Craft button for "bounce back mk1" stims and crafted like 10,000 of them overnight then dismantled the stack for components to sell for cash (yes, I know I could just mod the save but I was trying to play that first game thru without "cheating") and now my save file is over 11MB and it takes a good 70 seconds to load the save game. Not a huge deal but a pain in the ass.
I was looking thru the tool and it would appear that inventory items, or any item picked up really, is giving an increasing unique int/long value:
image
So I'm assuming that huge jump in the node hex is like, the thousands of stims I crafted...

So, my question is, is the game just keeping all that crap in the save file? Since it's all been dismantled is there a way to just cut out that part of the binary so my save file is not so big? Or is it just padded with zeroes or something? I couldn't really figure it out by looking thru the decompressed binary file myself (it's >40MB lol).

Thanks folks, keep up the good work!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant