Sons Of The Forest
Install with App

Details

Latest version
0.1.3
Last Updated
First Uploaded
Downloads
44
Likes
0
Size
35KB
Dependants

Categories

[Experimental - being tested in multiplayer, may have bugs]

Inventory Freeze Fix

What it does: stops the short freeze when you open or close the inventory with DLSS on.
How to use: install it and play, nothing to press.
Multiplayer: works on your own computer only; nothing is sent, others do not need it.

With DLSS turned on, the game can freeze for about a second each time you open or close the inventory (very visible with OptiScaler on AMD or Intel cards). The inventory has its own camera, and DLSS rebuilds its working data for that camera, and for your normal view, whenever one of them has been unused for a few seconds. This mod keeps that data alive, so opening and closing the inventory no longer rebuilds it.

Nothing to press: install it and play.

Multiplayer

Rendering only, on your own computer: nothing is sent over the network. Each player who wants it installs it for themselves; it changes nothing for the others.

Cost

Nothing per frame. It keeps some extra video memory in use (the DLSS data and render buffers of the inventory camera, kept while the inventory is closed).

Settings

  • General / Enabled (default true): turns the fix on or off, from the next inventory opening.
  • Upscaler / KeepUpscalerAlive (default true): DLSS keeps its data for every camera that still exists instead of rebuilding it after a few seconds unused.
  • Upscaler / KeepCameraBuffers (default true): the inventory camera keeps its render buffers while the inventory is closed, and your normal view keeps its own while the inventory is open.
  • Upscaler / InventoryUpscalerOff (default true): the inventory view is drawn without DLSS (native resolution), so the first opening after loading a save does not freeze either. False = the inventory uses DLSS like the game.
  • Debug / HitchLogSeconds (default 0.25): any frame longer than this is written to the BepInEx log, with whether the inventory was open. 0 = never.
  • Debug / FullLogging (default false): writes every step to the BepInEx log.

Contact

X: @aznantriks · Reddit: u/aznan-triks

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.