You are viewing a potentially older version of this package. View all versions.
ChangosOF-ValheimOptimizer-1.5.0 icon

ValheimOptimizer

Optimizes Valheim performance: dynamic GC cleanup and adaptive LOD bias to reduce stutters.

Date uploaded a year ago
Version 1.5.0
Download link ChangosOF-ValheimOptimizer-1.5.0.zip
Downloads 152
Dependency string ChangosOF-ValheimOptimizer-1.5.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202
ValheimModding-Jotunn-2.26.0 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.26.0

README

ValheimOptimizer

Version: 1.5.0

Optimizes Valheim performance by:

  • Running periodic GC and asset unloads, skipping them if frames are already slow.
  • Dynamically adjusting QualitySettings.lodBias based on recent frame times to reduce LOD-related hitches.

Installation

  1. Compile the plugin DLL (ValheimOptimizer.dll) using the provided source.
  2. Place the DLL into BepInEx/plugins/.
  3. Configure options in BepInEx/config/ValheimOptimizer.cfg.
  4. Enjoy smoother performance!

Configuration

  • MemoryCleanupInterval: Seconds between GC sweeps.
  • MaxFrameTime: Frame time threshold (sec) to skip GC and LOD adjustments.
  • LODBiasMin / LODBiasMax: Minimum/Maximum LOD bias values.
  • LODBiasStep: Increment per frame for LOD bias adjustments.