RimWorld

RimWorld

2,830 ratings
Performance Optimizer
27
16
19
6
3
11
4
2
6
4
3
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2, 1.3, 1.4, 1.5
File Size
Posted
Updated
478.742 KB
26 Nov, 2021 @ 8:09am
13 Apr @ 3:00am
57 Change Notes ( view )

Subscribe to download
Performance Optimizer

Description


Performance Optimizer is a mod, which adds various performance tweaks to the game. Its goal is to boost your game performance to some degree if you are already struggling with it. With this mod, you might expect about 20-35% of performance gains, but it largely depends on your modlist and current TPS. The number of 20-35% gain is taken from about a dozen reports from different players who were playtesting the mod. In your case, it can be more or less depending on the mod list and your PC. The mod is compatible with Rocketman and Rim73 and is generally loaded bottom in mod order.


- Several UI elements will be hidden until you hover on them, which should save some FPS and TPS. Currently, resource readouts, bottom button bar, right overlay buttons, speed buttons were made hidden. Alerts are minimized (only important and medium will be shown) until hovered. These features are disabled by default in the mod settings.
- Faster GetComp replacements.
- About 20+ vanilla methods are cached or throttled and some will be recalculated only in N refresh rates.
- Possibility to disable sounds completely if you don't need them or you want to save some TPS. By default, it's off.
- The mod comes with mod settings where you can configure and disable/enable everything in the mod.


RocketMan - a great performance mod, which is must-have for everyone!
[LTO] Colony Groups - a colonist bar mod which is more performant than the vanilla colonist bar and faster if you use its grouping functionality and hide your pawns within them.
Toggleable Overlays - helps with performance by skipping drawing overlays.
Toggleable Readouts - optimizes vanilla readouts list drawing.
Dubs Performance Analyzer - a performance analyzing tool which has some performance tweaks included.


• 26/11/2021 - Initial release


At the moment, none. If you have a bug, please submit a proper bug report with a Hugslib log.


RimThreaded - reportedly incompatible, use it at your risk.
Static Quality Plus - there is an issue with preventing crafting notifications, which doesn't work. I tried to look into it and it's impossible to fix, because the mod doesn't use Harmony, but own detouring code which is destructive. Ask them to use Harmony and the issue will be gone.

The mod was written with mod compatibility in mind, so it should generally not conflict with mods, but if you know of an incompatible mod, please submit a bug report!

[ko-fi.com]


C# work - Taranchuk
Mod preview - Madman666
Harmony - Andreas Pardeike
RimWorld is owned by Tynan Sylvester.


MIT License[github.com]
Source code on Github repo[github.com]
The repo is open for collaboration, if you want to add your own performance tweaks to the mod, you can make a PR to the repo and I will merge them if they are done non-destructively and speed up the game.

Popular Discussions View All (6)
154
25 Sep @ 9:28pm
PINNED: Bug reports
Taranchuk
17
25 Sep, 2023 @ 8:33am
Stop disabling the UI by default
Quantum Book
9
19 May, 2022 @ 5:06am
Rimthreaded compatibility
Quantum Book
478 Comments
Yekaterinnani 25 Sep @ 9:32pm 
Hi, i don't know if this is caused by Performance Optimizer specifically but it appeared a quest with a bugged description, then an error code from Visual Exceptions marking Performance Optimizer:

https://gist.github.com/HugsLibRecordKeeper/f9ba9e7c8a21e6a79408584388bb01d6

at RimWorld.QuestGen.QuestNode_GetSiteTile.TryFindTile (RimWorld.QuestGen.Slate slate, System.Int32& tile) [0x00063] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- TRANSPILER PerformanceOptimizer.Main: IEnumerable`1 PerformanceOptimizer.Optimization_FasterGetCompReplacement:Transpiler(IEnumerable`1 instructions, MethodBase method)........
Dark_Crow 13 Sep @ 12:13pm 
I found that when I added and ran the module, the "Man in Black" event triggered an infinite number of times after all of the colony's miniatures died.
algi 13 Sep @ 8:15am 
hey there, would it be possible to add a 2x 3x and 4x button for the optimization where your settings are multiplied by the relevant amount?
superterryhu 8 Sep @ 1:48pm 
This mod works. That simple
xyome 7 Sep @ 12:09pm 
The problem was that I didnt have the harmony mod loading in the right order. Thanks for the answer however!
J 7 Sep @ 12:06pm 
@xyome:
>please someone how do I open the ui to change config

Unless I misunderstood your question, all mod options are in the same place, from the main menu go to “Options”, then “Mod options”.
xyome 7 Sep @ 11:49am 
please someone how do I open the ui to change config
Garwel 24 Aug @ 2:05pm 
Hey, I discovered that Performance Optimizer conflicts with the latest, multithreaded version of Celsius. Apparently, it changes the way MapComponents are initialized and run. Any way to opt out of its optimization for a specific mod/MapComponent?
Aika 22 Aug @ 11:02am 
compatible with online?
MORROGANDER 16 Aug @ 7:40pm 
is it safe to add or remove? I think this is probably a FAQ