RimWorld

RimWorld

What the hack?!
This topic has been locked
Trigg 19 May, 2019 @ 5:49pm
Huge (wasteful?) save file sizes
Look, I'm running a lot of mods.
And I'm in a.. Relatively very late game save. ~450k wealth.
Anyways, rimworld takes about 10 minutes to load the game up (thanks GeneticRim) and 20 whole minutes to load the save I'm playing on. And I'm running Rimworld on an SSD and good CPU.
Ouch, that's painful.
The save file is currently friggin' 114MB large.
Well, you have a ton of mods, on a huge colony. Why are you blaming What the Hack?! for it, specifically?
Firsly off, not entirely.
Second off, I decided to take a look at the save file using notepad++.
After n++ being in pain for 10 minutes, it finally opened the file.
I took a quick read on it, and, well, I'm no modder or programmer or anything so take my findings with a grain of salt, I guess.
So, I found eventually this. [imgur.com] (Imgur link, chill.)
And it goes preeeeeeety far down. [imgur.com]
In all honesty, I think most of.. Whatever these are... They are junk. Again, grain of salt.
Here's my save file if you're insane enough to download it and figure out what went/is wrong. [www.dropbox.com] (Dropbox)
Last edited by Trigg; 19 May, 2019 @ 5:50pm
< >
Showing 1-4 of 4 comments
roolo  [developer] 20 May, 2019 @ 2:24am 
Well spotted. I already had suspicions that the way I attach data to pawns could bloat the save file a bit, but I wasn't aware it was to this extent, and I never had any problems with long loading times myself, so never looked into it.

I'm working on a fix now, that ensures any unneeded records are removed automatically when you load the game. I'll upload it soon.
roolo  [developer] 20 May, 2019 @ 3:21am 
The fix is already on the Master Branch, if you want to help out with testing, you can find it here:
https://github.com/rheirman/WhatTheHack. Click the green button to download it. Just google "rimworld manually install mods" to find out how to install that version.
Trigg 20 May, 2019 @ 9:55am 
Alright, thanks a lot mate. This should save at least 5 minutes of load time. I'll see if I can find any other issues on this test branch.


Update: Console message said it cleaned up 153563 deprecated records. Didn't even unpause the game upon loading and saved it again. File size was cut in half. Nice.

Update 2: Rebooted the game, still took standard time to load up the game. But, 2 minutes to load the save. Scrap that 5 minute reduction expectation.
Last edited by Trigg; 20 May, 2019 @ 3:50pm
roolo  [developer] 22 May, 2019 @ 12:42am 
Good to know. Sorry for the inconvenience it caused before, it's surprising how easy things like this slip in. I'll release the update soon.

I'm closing the thread now so that other threads I pinned will show up on the main page (there's no other way to do this, cmon Steam! xD).
Last edited by roolo; 22 May, 2019 @ 12:44am
< >
Showing 1-4 of 4 comments
Per page: 1530 50