PeakOptimizer
A performance and stability mod for PEAK that improves frame rates, eliminates micro-stutters, and reduces CPU/GPU overhead.
模組介紹 作者原文
PeakOptimizer
A performance and stability mod for PEAK that improves frame rates, eliminates micro-stutters, and reduces CPU/GPU overhead.
What is this mod?
I originally made PeakOptimizer because playing in big multiplayer lobbies was turning our games into literal slideshows.
This mod focuses almost entirely on CPU, math, and internal engine cleanup. Things like moving voice and wind physics to background threads, and fixing laggy distance checks.
Works great with graphics mods
Since this mostly touches engine logic under the hood instead of modifying textures or reducing visual quality, you can safely use it alongside graphics mods, like HDPeak.
Features
- Multithreaded Physics: Offloads heavy background raycasts (voice chat obstruction, wind shelter) to worker threads.
- Zero-GC & Anti-Stutter: Eliminates GC allocation freezes during zombie targeting, and continuous physics checks.
- Multiplayer Optimizations: Fixes lag spikes in large multiplayer lobbies with many players.
- Hazard & Particle Fixes: Eliminates lava lag in The Kiln while keeping hazards working.
- Rendering & Shadows: Optimizes Citadel torch shadows, grass rendering, and fixes shadow acne on mountain terrain.
- World Culling: Pauses distant foliage physics.
Configuration
All settings can be customized in:
BepInEx/config/com.reis.peakoptimizer.cfg
- General
| Setting | Default | Description |
|---|---|---|
| MasterEnabled | true | Master toggle for all PeakOptimizer systems. |
| EnableTelemetryHUD | false | In-game developer telemetry overlay toggled with F9. |
- CPU & Multithreading
| Setting | Default | Description |
|---|---|---|
| EnableBatchedPhysics | true | Runs voice linecasts and wind shelter checks on background worker threads. |
| EnableZeroGCBuffers | true | Eliminates GC heap allocation freezes during rockfalls and physics loops. |
| EnableMultiplayerFixes | true | Optimizes distance loops and bot searches in multiplayer lobbies. |
- World & Environment Culling
| Setting | Default | Description |
|---|---|---|
| EnableFoliageAndTrapCulling | true | Pauses physics updates for distant foliage and traps beyond 50m. |
| FoliageAndTrapCullDistance | 50.0 | Distance in meters beyond which foliage physics and traps are paused. |
| EnableSmallPropCulling | true | Culls tiny decorative ground pebbles beyond 50 meters. |
| EnableAmbientParticleCulling | true | Puts distant torches, braziers, and idle trap particles to sleep beyond 50m. |
| AmbientParticleCullDistance | 50.0 | Distance in meters beyond which distant ambient particle emitters sleep. |
- Graphics & Rendering
| Setting | Default | Description |
|---|---|---|
| EnableShadowOptimizations | true | Disables secondary Citadel torch shadows and fixes terrain shadow acne. |
| EnableGrassFrustumCulling | true | Skips procedural grass generation outside the camera view. |
| TerrainLodBias | 0.6 | Multiplier for distant terrain detail (0.6 = recommended, 1.0 = vanilla). |
- Experimental
| Setting | Default | Description |
|---|---|---|
| EnableHiZOcclusionCulling | false | Experimental Hi-Z chunk occlusion culling (Disabled by default). |
Installation
With r2modman (Recommended)
- Search for PeakOptimizer in the Online tab.
- Click Download and launch the game.
Manual
- Requires BepInEx 5.
- Drop PeakOptimizer.dll into PEAK/BepInEx/plugins.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: