RimWorld

RimWorld

What the hack?!
Denne tråd er blevet låst
Trigg 19. maj 2019 kl. 17:49
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)
Sidst redigeret af Trigg; 19. maj 2019 kl. 17:50
< >
Viser 1-4 af 4 kommentarer
roolo  [udvikler] 20. maj 2019 kl. 2:24 
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  [udvikler] 20. maj 2019 kl. 3:21 
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. maj 2019 kl. 9:55 
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.
Sidst redigeret af Trigg; 20. maj 2019 kl. 15:50
roolo  [udvikler] 22. maj 2019 kl. 0:42 
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).
Sidst redigeret af roolo; 22. maj 2019 kl. 0:44
< >
Viser 1-4 af 4 kommentarer
Per side: 1530 50