RimWorld

RimWorld

236 ratings
Savegame Shrinker
5
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2, 1.3, 1.4, 1.5
File Size
Posted
Updated
183.100 KB
21 May, 2023 @ 3:14am
14 Mar @ 5:34pm
2 Change Notes ( view )

Subscribe to download
Savegame Shrinker

Description
Version 1.1: 2024-03-14

This mod cleans up unnecessary data from Savegames, leading to much faster play on games after 10+ years.

It removes things from the Savegame that causes bloat. Should be savegame-compatible. Everything that is removed is toggleable in the Mod Settings.

It typically reduces file sizes to 10-20 MB, largely dependent on how many pawns and items you have in your bases.

Backups are made before each shrinking operation, so you can rest secure.

What’s Removed?

With the default settings, this mod removes the following data:

Dead Pawns

The full biological and biographical data of every killed pawn remains in the game indefinitely.

That means, if you’ve had 10 chicken explosions in the last 10 years, you could have 20,000 chickens in your savegame, making it super slow. Case in point, in the savegame I used to develop this mod, there were 21,527 chicken corpses in the savegame.

This is the main cause of data savings. It removed over 1 million lines from 20 year savegame.

Historical Archives

Letters

You know those boxes on the right side of the screen that you click to open and then close?

Well, Rimworld doesn’t actually remove them. It saves them forever. Thousands of these messages can clog up your savegame after 5 or 10 years, and each time a new event occurs, it causes lag.

This mod removes every closed Letter. There are no known downsides.

Messages

The white messages that flash for a few seconds on the top left? Yep, Rimworld saves all of those, too, in the savegame. Over 10-20 years, you can end up with tens of thousands of these mostly-worthless messages using up more than a megabyte or two of space, especially if you have a farm with lots of animals getting frostbite, heatstroke, or attacked.

This mod removes every single message that is over 24 hours old. A downside is that these useless messages won’t appear as descriptions of Legendary Art.

Archived Dialogs

Every time a colonist talks to someone, apparently those are saved in the savegame as well. Who knew?!

If you have lots of colonists, this can add up fast. In fact, it’s one of the main causes of lag for colonies with more than 50 colonists.

This mod removes every dialog recording older than 24 hours.

Play Log

Removes the logs of “chitchatting”, “playing games”, that sort of stuff.

Battle Log

Removes the play-by-play of the latest battles.

All Filth

This removes all filth from all maps. It can dramatically increase runtime after something like a huge forest fire. It usually cuts down 100-200 kb with no cost or risk.

Automatically-accepted Quests

You know those quests that get automatically accepted, like Treasure spots, refugee, etc.? This removes every one of those that you didn’t actually go to. If you visit the spot and either succeed or fail, it keeps the quest in your history.

Unaccepted Quests

Not removed by default: This will remove every unaccepted + expired quest from youur history log.

If you accepted a quest and either succeeded or failed, it keeps that quest in your history.

Tales

Not removed by default: Tales contain logs of things colonists do, like completing a crafting project, played a game, killed an animal (not via slaughter), when a pawn is Downed, and lots more.

It’s not removed by default, because I couldn’t ascertain why RimWorld keeps them around. In my experiments, I didn’t experience any ill effects with this change.

Mothballed Pawns

Not removed by default: These pawns aren’t actively “alive” but are usually nequired for side-quests and other game purposes.

Running this will quite likely not save much space (since Rimworld v1.4 adequitely keeps them under control). This option is kept for backwards-compatibility with RuntimeGC, and because it provides marginal space savings and speed increases for Rimworld v1.2 and v1.3.
99 Comments
麻奥萨玛 6 Jul @ 9:11pm 
Thank you, this saved my save. It has been reduced from 44MB to 22MB
Shayne 4 Jul @ 12:48pm 
Is it possible to separate the Dead World Pawns into 2 categories: Actual People/Colonists and Animals/Insects/etc? In case we don't want to get rid of actual people? I've also seen people having issues when removing the world pawns.
Arira 16 Jun @ 3:56pm 
Experiencing same bug with the colonist bar disappearing. Kinda sucks cause whole point of "shrinking the save file" is in clearing dead pawns.
Nihilus 12 Jun @ 5:09pm 
Though, for whatever reason, enabling "Shrink Dead World Pawns" causes the colonist bar at the top of the screen to disappear, even if you have the colonist bar at the bottom right enabled. Not sure how the two are related.
Nihilus 12 Jun @ 4:57pm 
CONFIGURE YOUR MOD SETTINGS! For whatever reason, the in-game Savegame Shrinker mod settings are all disabled. Once you enable the ones you want, it'll actually shrink the save (in my case, my save went from 70MB to 46MB)
Alu 21 May @ 7:38am 
See theres a reason rocketman and perf analyzer dont remove things from the save
its not reliable
they just optimize functions cause its safe
Phoenix C64 21 May @ 6:21am 
This mod has done for me what Rocketman and Dubs Perf couldn't: make the game playable again. I play long games and this is the only mod that fixed my lag problems.
HOWEVER I have a problem now, maybe you could help? When I use the mod now with the same settings than always, 2 things happen and I have to revert to the previous save: 1) character highlighting is turned off for some reason? 2) pawns, animals and enemies are suddenly invisible! if i pause the game and zoom in, i can see them, but otherwise no. what could be the problem?
Prqnk3r 16 May @ 1:01pm 
You need to change it in the configs to reduce to size.
[REDACTED] 13 May @ 2:49pm 
Doesn't work. Creates a smaller save file, upon loading said save file the old sizes appears ,nothing changes.

https://gist.github.com/HugsLibRecordKeeper/b7e0f3a03789119eaeed8e6e74743513
sel 13 May @ 9:08am 
I have the same issue as everyone else of this just not working anymore. used to work before the 1.5 update.
Im running all the DLC, im on windows 10, the latest game version. when I shrink the save, it does nothing. it creates the new save that *should* be shrunk, but its the exact same filesize, and the game version is red question marks, and gives you a warning when loading it that it will not work.
Id share my savefile, but it has over 150 mods and more than a few custom-made local mods I run, so it would be of no use.