Performance optimization mod for Risk of Rain 2.
ROR-O focuses on real hot paths found in Mono profiler captures instead of broad "magic FPS boost" claims. The mod reduces repeated UI work, trims heavy runtime systems when they are offscreen, and smooths out several expensive gameplay update loops.
Current optimization areas include:
TextMeshPro text updatesfont, fontSize, alignment, alpha, maxVisibleCharactersSetVerticesDirty, SetLayoutDirty, SetMaterialDirtyUISkinData.TextStyle.Apply(...)GenericIK.dll)
ChildLocator / transform lookup cachingThe mod was built by profiling real gameplay and fixing expensive paths one by one. During testing, the biggest wins came from:
It is especially aimed at:
Install with:
BepInExPackROR-OROR-O.dllBepInEx/plugins/
The config file is created here:
BepInEx/config/net.sixik.plugin.roro.cfg
Main sections currently exposed:
[Damage Numbers][Dynamic Bones][Generic IK][Damage Numbers]
Enable Load Shedding = true
Soft Particle Cap = 112
Hard Particle Cap = 176
Absolute Particle Cap = 240
Soft Spawns Per Frame = 20
Hard Spawns Per Frame = 34
Absolute Spawns Per Frame = 48
Soft Peak Damage Fraction = 0.025
Hard Peak Damage Fraction = 0.07
Absolute Peak Damage Fraction = 0.14
Soft Minimum Damage = 1
Hard Minimum Damage = 3
Absolute Minimum Damage = 6
Peak Damage Half Life Seconds = 1.75
Preserve Critical Hits = true
Preserve Important Colors = true
[Damage Numbers]
Enable Load Shedding = true
Soft Particle Cap = 80
Hard Particle Cap = 128
Absolute Particle Cap = 176
Soft Spawns Per Frame = 12
Hard Spawns Per Frame = 22
Absolute Spawns Per Frame = 32
Soft Peak Damage Fraction = 0.04
Hard Peak Damage Fraction = 0.10
Absolute Peak Damage Fraction = 0.20
Soft Minimum Damage = 2
Hard Minimum Damage = 5
Absolute Minimum Damage = 10
Peak Damage Half Life Seconds = 1.25
Preserve Critical Hits = true
Preserve Important Colors = true
[Dynamic Bones]
Enable Invisible Update Throttling = true
Invisible Update Interval = 3
Recently Visible Grace Frames = 12
Visible Mid Distance = 30
Visible Far Distance = 55
Visible Mid Update Interval = 2
Visible Far Update Interval = 3
[Generic IK]
Enable Invisible Update Throttling = true
Invisible Update Interval = 2
Recently Visible Grace Frames = 8
LookingGlassThe optimization work was added incrementally across commits such as:
This means the mod is intentionally a collection of targeted fixes rather than one giant rewrite.
AkGameObj / Wwise costsGitHub repository:
https://github.com/DeusSixik/ROR-OSee LICENSE.txt.