You are viewing a potentially older version of this package. View all versions.
reis637-PeakOptimizer-2.1.1 icon

PeakOptimizer

A performance and stability mod for PEAK that improves frame rates, eliminates micro-stutters, and reduces CPU/GPU overhead.

Date uploaded 14 hours ago
Version 2.1.1
Download link reis637-PeakOptimizer-2.1.1.zip
Downloads 1053
Dependency string reis637-PeakOptimizer-2.1.1

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.75301 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.75301

README

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

1. General

Setting Default Description
MasterEnabled true Master toggle for all PeakOptimizer systems.
EnableTelemetryHUD false In-game developer telemetry overlay toggled with F9.

2. 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.

3. 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.

4. 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).

5. Experimental

Setting Default Description
EnableHiZOcclusionCulling false Experimental Hi-Z chunk occlusion culling (Disabled by default).

Installation

With r2modman (Recommended)

  1. Search for PeakOptimizer in the Online tab.
  2. Click Download and launch the game.

Manual

  1. Requires BepInEx 5.
  2. Drop PeakOptimizer.dll into PEAK/BepInEx/plugins/.