Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
GapCloser
Closes the gaps other mods leave. Portals without the 8 second wait, the AzuCraftyBoxes Forge of Potential recipe bug fixed and cleaned up, other mods' errors guarded. Each fix only for the versions it was checked against.
| Date uploaded | 16 hours ago |
| Version | 1.0.0 |
| Download link | Onononoki-GapCloser-1.0.0.zip |
| Downloads | 15 |
| Dependency string | Onononoki-GapCloser-1.0.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2351README
GapCloser
Closes the gaps other mods leave. Portals without the wait, a recipe bug of AzuCraftyBoxes fixed and cleaned up, other mods' errors guarded.
Made for my own play and my own modpack, not a fix-all. Each fix turns on only for the game and mod versions it was checked against (game 1.0.20). Otherwise it stays off and the log says why, unless you turn on
ForceOnUntestedVersions.More fixes may come over time, for the gaps I find in the mods I play with.
What it does
- Fast portals. A 0.25 s fade, and you arrive as soon as the destination is loaded. The game waits at least 8 s on every portal trip.
- Forge of Potential fix (AzuCraftyBoxes 1.8.19). An upgrade there no longer teaches every recipe you have the station for.
- Recipe cleanup. Removes the recipes a character could not have learned, after a backup. Runs on world entry when AzuCraftyBoxes is installed.
- Other mods' errors guarded. ValheimPlus 0.10.3.0 breeding and tame hover, AzuCraftyBoxes 1.8.19 fermenter.
- Game fixes. No warning spam from stakes, and the recipe discovery check once a frame instead of on every inventory change.
Measured in my game
- Portals: between the floors of my castle 0.22 to 0.26 s. To far bases that were not loaded (0.4 to 5.9 km) 2.2 to 5.9 s on an SSD.
- Recipe cleanup: 130 wrongly learned recipes removed from a test character, with a backup.
- Errors: 7 to 10 errors from other mods per play session before, none after.
- A big castle (about 6,000 building pieces), together with ValheimCommunityPatch (its performance fixes on, its gameplay changes off): average frame from 20.3 to about 17 ms, stutters over 40 ms from 9 to under 3 a minute, building upkeep from 2.9 to 0.9 ms a frame. Most of that is ValheimCommunityPatch's building upkeep fix. GapCloser adds what it does not cover.
Console command
gapcloser_fixrecipes lists the recipes the character could not have learned (all of them in LogOutput.log). gapcloser_fixrecipes apply backs up the character and removes them. In chat, type /gapcloser_fixrecipes with the slash.
A Steam Cloud character gets the game's own backup, a local one a copy in BepInEx/config/GapCloser_backups. A removed recipe comes back the normal way once you know its materials.
Config
The file is BepInEx/config/onononoki.GapCloser.cfg. Every fix can be switched off on its own.
| Setting | Default | What it does |
|---|---|---|
General.ForceOnUntestedVersions |
false | Turns the fixes on also for game and mod versions they were not checked against (at your own risk) |
Fixes.AzuCraftyBoxesForgeRecipes |
true | The Forge of Potential recipe fix (AzuCraftyBoxes 1.8.19) |
Fixes.AzuCraftyBoxesFermenterError |
true | Guards the fermenter error (AzuCraftyBoxes 1.8.19) |
Fixes.ValheimPlusProcreationError |
true | Guards the breeding error (ValheimPlus 0.10.3.0) |
Fixes.ValheimPlusTameHoverError |
true | Guards the tame hover error (ValheimPlus 0.10.3.0) |
Fixes.TriggerWarningSpam |
true | Stops the trigger damage warning spam |
Fixes.RecipeChecksOncePerFrame |
true | The recipe discovery check once a frame |
Fixes.RecipeCleanupCommand |
true | The gapcloser_fixrecipes command and the cleanup |
Fixes.RecipeCleanupOnSpawn |
WithAzuCraftyBoxes | When the cleanup runs by itself on entering a world: WithAzuCraftyBoxes, Always or Off |
Fixes.FastTeleport |
true | Fast portals and teleports |
Fixes.FastTeleportFadeSeconds |
0.25 | The fade to black and back (the game uses 1) |
Debug.LogTeleports |
false | One log line per trip with its timings |
Compatibility
- Client side. Nothing to install on the server, and other players do not need it.
- AzuCraftyBoxes and ValheimPlus are not needed. Their fixes switch on only when the checked version is installed.
- Made to run next to ValheimCommunityPatch.
- After a game update the game fixes stay off until a new version of GapCloser checks them, or until you turn on
ForceOnUntestedVersions.
Feedback and suggestions
Found a bug, or a gap in another mod that GapCloser could close? Open an issue on GitHub. Suggestions are welcome.
CHANGELOG
Changelog
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.