TheGarbageCollector
Mod that helps get rid of the random lag spikes that can occur with lots of mods installed.
模組介紹 作者原文
TheGarbageCollector
Got lots of mods? Got lots of random hitches/frame drops happening at inoppertune times? Also have lots of ram in your PC you don't know what to do with?
Then install this mod! It disables Unity's GarbageCollector. Well not entirely because I'm not that insane.:P
Instead it manually controls when GC can run. It will allow it to run during floor loads and while game is paused
or if player is afk out of combat for more then 5 minutes.
It otherwise allows for a much smoother game play experience! Do note this will cause the game to use more ram.
A machine with 8GB or more of ram is recommended. Though I won't prevent you from using it if you have less, but don't don't complain to me if you
get out of memory errors. This game will on average use about 4.5GB of ram during a normal run that reachs the Forge.
It can go to 5GB+ if you use specific items that create new rooms and such. But that probably won't happen that often.
I've stress tested this. It should be ok to use as long as you have a decent amount of ram.
Oh and definitely don't use this with the 32bit version of the game....For obvious reasons.:P
Credit to where I discovered how to do this for Enter the Gungeon.
Credit To SpecialAPI for help with making BepInEx MTG possible and for help porting mods to it.
Changelog:
1.4.3:
Delay when mod disables GC during game startup to avoid possible crash issues with large mods on startup.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: