GapCloser
Fixes and speed-ups for Valheim, AzuCraftyBoxes, ValheimPlus, ExtraSlots: Forge of Potential break warning, faster hammer menu and inventory near chests, occlusion culling, merged buildings, fast portals, rock support view, smoke off. Code-checked.Changelog
1.3.7
- Fixed walls and other building pieces not being drawn with ValheimCommunityPatch 0.46.0 and its new
Building Render Batching. - Occlusion culling keeps working next to it and also hides its merged meshes. GapCloser's own merged distant buildings (
PieceBatching) stand down while that setting is on.
1.3.6
- New Wishbone forge warning. With the Wishbone equipped, it warns you when a Forge of Potential upgrade would destroy the item.
WishboneForgeWarningin2 - Optionsturns it off. - It stays off when the game's upgrade code changed (even with
ForceOnUntestedVersions), leaves other crafting stations alone, and catches its own errors.
1.3.5
- Works with Valheim 1.0.21. The game fixes no longer turn off with a new game version: each checks the game code it relies on at startup, like the fixes for other mods, and stays on while that code is unchanged. A changed method keeps its fix off, and the log names it.
- Works with ValheimCommunityPatch 0.40.0 and ValheimPlus 10.4.0. The ValheimPlus breeding guard is not needed with ValheimPlus 10.4.0, which checks for the creature itself, and the log says so.
1.3.4
- Fixes for other mods no longer turn off with every new version of that mod. Each checks the code it relies on at startup and stays on while that code is unchanged. A changed method keeps its fix off, and the log names it.
ForceOnUntestedVersionsstill turns them on. - Works with ValheimCommunityPatch 0.39.0 (the smoother loading inside its spawn queue).
- New startup log lines (
ConflictScan) name other mods that patch the same methods as GapCloser, at the main menu and after spawning. They only inform.
1.3.3
- Works with ValheimPlus 10.4.0 and ValheimCommunityPatch 0.38.0. The ValheimPlus chest counts and tame hover guard, and the smoother loading inside ValheimCommunityPatch's spawn queue, were checked against the new versions and turn on again. ValheimPlus 10.4.0 fixed its breeding error itself, so that guard stays for 0.10.3.0.
- Fixed ValheimPlus' workbench spawn protection range not reaching the workbench, forge and artisan table. They kept 20 m while the stonecutter got the configured range, because ValheimPlus only resizes round areas and these stations use a capsule. New
ValheimPlusSpawnAreasetting in3 - Fixes, on by default.
1.3.2
- Fixed small trees, stones, branches and other plants flickering or disappearing (occlusion culling now leaves out pieces that are not buildings, for example PlantEverything plants).
1.3.1
-
Added the tested ValheimOptimized, Balrond Core Optimizer, and ValheimCommunityPatch versions and overlap details to the compatibility section.
-
FastTeleport automatically steps aside for OdinPlus or Muindor QuickTeleport.
FastTeleportOtherModIDscan list other dedicated teleport timing mods. The saved FastTeleport value is preserved, and ValheimCommunityPatch alone does not disable it. -
Rock support view now uses the game's existing hover ray. No additional camera raycast, and interaction reach stays the same.
-
Configurable rock view range and linger time. Defaults are 25 meters and 5 seconds after looking away. Set
ShowSeconds = 0for immediate hiding. -
The rock tooltip shows the configured toggle key and whether it will show or hide the tint. The default remains Shift+O.
-
Normal support calculations refresh once a second by default. Set
RefreshSeconds = 0.5for faster updates. Hidden tint skips normal support calculations, and destroyed parts stop being drawn immediately. -
Per-hit outcome diagnostics now run only with
RockSupportLogChecksenabled. -
Benchmark reports include the worst frame alongside the median and p95.
1.3.0
- Faster hammer menu near many chests with AzuCraftyBoxes 1.8.19. At my castle the chest counting dropped from 182 to about 5 ms.
- Big bases: distant buildings are merged into fewer meshes, lights hidden behind walls go dark, loading near big bases is smoother, unchanged chests are not rebuilt, light flicker pauses out of view. Together up to 19 % more FPS at my castle (70 to 83 fps outside, 84 to 87 inside).
- New
Smokeoption, Off by default: no smoke from fires, about 5 % more FPS at my castle, no Smoked debuff.Smoke = Normalbrings the game's smoke back. - Portals: 0.5 s between trips instead of 2.
- Optional sun shadow culling, off by default.
- Tidier config: numbered sections, logs, test settings and benchmark keys in
9 - Debug. Your old settings move over. - New benchmark key Shift+End: measures every part against all off, results in
BepInEx/GapCloser_benchmarks.txt. - Hidden lights and building merging were inspired by ValheimBuildOptimization by RockBreaker (Dracoalias).
1.2.0
- New: rock support view. Every part of the mine rock you look at or hit is tinted by what breaking it does (blue holds others, green drops, red held by the ground, yellow held by other parts), worked out from the game's own support rule. In my tests 95 of 95 hits dropped exactly the predicted parts. Shift+O hides the tint,
gapcloser_rocksupportswitches it. The idea is from Ore Support by JereKuusela. - New, still being tested: occlusion culling. Building pieces fully hidden behind walls are not drawn (shadows stay), on by default on DirectX 11. At my heavy castle 0.7 to 1.4 ms faster a frame. Home switches it, Shift+Home measures it. Can be switched off in the config.
- Less garbage near chests with ValheimPlus 0.10.3.0 (crafting from chests), ExtraSlots 1.2.21 and AzuCraftyBoxes 1.8.19. With the inventory open at my castle garbage went from 12.2 to 3.9 MB a second.
1.1.0
- Faster inventory and crafting stations near many chests with AzuCraftyBoxes 1.8.19. Chest counts are kept until a chest changes, its pull rules for a few seconds, and a debug text is built only with its debug log on. At my castle the stutters with the inventory open halved.
- Fire, smoke and portal effects of building pieces pause while no camera sees them and catch up when seen again. The castle's particle work dropped by about a third.
- The teleport log (
Debug.LogTeleports) also writes how the 5 s after arrival went.
1.0.0
- First release.
- Fast portals and teleports (a 0.25 s fade, back as soon as the destination is loaded).
- The Forge of Potential no longer teaches every recipe with AzuCraftyBoxes 1.8.19.
- Recipe cleanup on entering a world (with AzuCraftyBoxes installed) and the
gapcloser_fixrecipesconsole command, with a backup of the character first. - Guards for the ValheimPlus 0.10.3.0 breeding and tame hover errors and the AzuCraftyBoxes 1.8.19 fermenter error.
- No more trigger damage warning spam from stakes, and the recipe discovery check once a frame.
ForceOnUntestedVersionsturns the fixes on also for game and mod versions they were not checked against.
