RimWorld

RimWorld

352 ratings
Savegame Shrinker
6
2
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
247.465 KB
21 May, 2023 @ 3:14am
11 Jul @ 5:53am
3 Change Notes ( view )

Subscribe to download
Savegame Shrinker

Description
Version 1.2: 2025-07-11

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.
123 Comments
.:CHG:. Hope  [author] 11 Jul @ 5:58am 
@sel I believe I fixed this issue. Can you retry?
.:CHG:. Hope  [author] 11 Jul @ 5:56am 
Changes in v1.2.0: Added support for Rimworld v1.6. Added translations for ~4 B people. Fixed the BOM bug. Fixed a crashing bug. Fixed a bug that corrupted savegames if Rimworld had the same corpse listed multiple times in the savegame (only possible via bugged mods).
.:CHG:. Hope  [author] 11 Jul @ 5:52am 
@Mastar: I fixed the BOM issue corrupting some savegames on Windows systems. It took 573 days (1 year, 6 months, 25 days) for this bug to be fixed. It was not easy to find the solution. In the end, CodeRabbit AI found the bug during the code review for v1.2.0. ChatGPT 4.1 found the solution.
.:CHG:. Hope  [author] 10 Jul @ 12:22pm 
@Scorpio. No one has ever donated a DLC to me and I don't own any, so to this very day, I only mod on Core.
Scorpio 27 Apr @ 1:22pm 
dont use this if you have anomaly dlc or biotech it will fuck your save up
Alu 24 Apr @ 3:23pm 
To shrink saves you are deleting stiff from them
So by that fact
Repeatedly deleting stuff from the save makes it more likely to break somrtbing
harrydubois 24 Apr @ 9:00am 
I wonder, could you make multile "layers" of shrinking the same savefile?
Like, shrink a 100 mb savefile to 50, then that 50 mb savefile to 25 and so on?
Is it feasible? Does it break something? Should I even try it? Does it even *work*?
JazzimoX 21 Apr @ 4:31pm 
I just used the options marked as "safe" on a year-6 game and it shrunk the file from 106 MB to 105 MB. So glad I found this!
.:CHG:. Hope  [author] 11 Mar @ 10:51pm 
@Beagle It sounds like you're using Biotech DLC. For whatever reason, I've never bought a single DLC, and I still play Rimworld v1.2 almost exclusively. Afraid I can't help with that :-/
.:CHG:. Hope  [author] 11 Mar @ 10:47pm 
@nemyrol I lost a beloved ancient colonist who had died over 32 years in the past. I didn't realize that they were removed from the sarcophus until after I had deleted the orig savegame backup :-/ I've added this as a bug ticket. https://github.com/BetterRimworlds/RimworldSavegameShrinker/issues/2