A set of tools to help fix Valheim Terrain lag
Get the latest package from Releases and unpack it in the same folder as valheim.exe
If you don't already have BepInEx, grab it from Valheim Thunderstore and place the contents of 'BepInEx_Valheim_Full' in the same folder as valheim.exe
If you don't know where valheim.exe is, right click Valheim in your Steam library, go to Manage, and Browse Local Files
https://github.com/BlueAmulet/TerrainTools/releases
TerrainTools adds a new set of commands to the game:
countterrain [radius=max]
Counts nearby terrain modifications
Groups them by level, smooth, and paint modifications
resetterrain [radius=5] [type]
Remove nearby terrain modifications
Valid types are: all, level, smooth, paint
undoreset
Restore removed terrain modifications
Has up to 32 available restores, amount can be configured
debugterrain
Enables a terrain modification visualization mode
This mode can be laggy depending on how many modifiers are nearby
Can also be toggled via a hotkey (default F4)
debugstrength [new strength]
Strength of lights in visualization
debugdistance [new distance]
Distance of visible lights in visualization
TerrainTools also creates a config file at BepInEx\config\TerrainTools.cfg
LightDistance: (default: 25)
Distance of visible debug lights
LightStrength: (default: 0.5)
Strength of debug lights
Toggle: (default: F4)
Terrain debug toggle keybind
ResetRadius: (default: 5)
Default reset radius if not specified
RedoMax: (default: 32)
Maximum number of redos available
You will need Visual Studio 2019 and .NET Framework 4.7.2
All required libraries are bundled with this repository.
They have been stripped and do not contain proprietary code.