This mod looks for dead enemies and deactivates them when they're far enough away from the player.
I've found that it drastically reduces lag in stages with 10+ dead enemies.
If the game's developer is reading this, please feel free to steal this code and implement it in-game! (I'd like some credit though... haha)
It's pretty bog-standard bepinex Unity modding, but we'll run through the setup just in case you're new to this.
- Grab
BepInEx-Unity.Mono-win-x64-6.0.0-pre.2.zip
from the releases section of their github. (Direct download link). - Extract that into the game's root folder.
- Run the game once to generate the necessary folders.
- Download
LagFixPlugin.zip
from the releases section of this github repo. - Extract
LagFixPlugin.zip
intoSULFUR/BepInEx/Plugins
. - Done!
If you're not comfortable downloading a random .dll
from a stranger on the internet (which, I don't blame you), you can build this plugin from source.
git clone
this repo.- Retarget
PerfectRandom.Sulfur.Core.dll
inLagFixPlugin.csproj
to wherever your game exists. dotnet build
- Shoutout to ChatGPT for always being a homie
- I probably didn't get every edge case (though I got a bunch of them).
- Submit an issue if you find something wonky.
- This mod might break some things (it shouldn't though) and comes with no warranty!