Keevi-PerformanceTweaks icon

PerformanceTweaks

Optimization mod for Sailwind: higher FPS and better overall performance

Last updated 2 hours ago
Total downloads 9
Total rating 0 
Categories Mods
Dependency string Keevi-PerformanceTweaks-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

Performance Tweaks logo

Performance Tweaks

Performance Tweaks optimizes Sailwind and makes it run smoother, most of all in busy ports with your boats moored and shops full of goods. The game updates a lot of things every frame that haven't changed or that nobody is looking at: items lying still, ropes on a moored boat, shop goods on their stalls, cameras that draw nothing. This mod skips that work and picks it up again the moment it matters. Ropes are handled smarter too: distant ones are drawn simplified and the ones out of sight update only a few times a second.

Where you'll notice it

Measured in a capital with several boats moored and a full mod list; your numbers depend on your PC and your mods:

Tweak Saves per frame, up to Helps most
Skip redundant item updates ~2 ms Lots of cargo on your boats
Skip unmoved crate contents ~0.5 ms Many full crates
Freeze idle shop items ~2.7 ms Capitals and big markets in daytime, more with mods that add to items
Food descriptions on demand ~0.35 ms and less stutter Lots of food around
Skip unchanged ropes ~2.5 ms Several boats nearby and big ships with many ropes
Simplify distant ropes ~1.5 ms Ports full of boats and big ships with many ropes
Pause hidden ropes ~0.8 ms Most ropes out of sight
Skip sync for sail wind shadows ~0.7 ms Under sail, and with boats under sail nearby
Dirt camera on demand ~1 ms Everywhere
Outline cameras on demand ~0.8 ms Everywhere

Together that's several milliseconds in a busy port: at 30 FPS each millisecond saved gives roughly one more frame per second, at 60 FPS roughly four.

Installation

With a mod manager: grab Performance Tweaks from Thunderstore with r2modman or Thunderstore Mod Manager — BepInEx comes along automatically.

By hand:

  1. Install BepInEx 5.
  2. Extract the release zip into Sailwind/BepInEx/plugins.
  3. Set sail.

Settings

Every tweak is on by default and can be switched off on its own. Change them in BepInEx/config/com.keevi.performancetweaks.cfg, or in-game with Configuration Manager.

Section Setting Default What it does
Items Skip redundant item updates On Skips item and crate updates that would change nothing.
Items Skip unmoved crate contents On Puts the items inside a crate back into place only after the crate has moved or its contents changed.
Items Freeze idle shop items On Pauses the updates of shop goods while nobody holds or looks at them.
Items Food descriptions on demand On Updates a food's description only while you look at it or hold it.
Boats Skip unchanged ropes On Rebuilds a 3D rope only when it has moved on its boat.
Boats Simplify distant ropes Default Draws distant ropes as the game's flat ropes: Quality beyond 50 m, Default beyond 30 m, Performance beyond 15 m, or Off.
Boats Rope distance measured from Camera Where the distance for Simplify distant ropes is measured from: the camera or your character.
Boats Pause hidden ropes On Updates ropes you can't see only a few times a second.
Boats Skip sync for sail wind shadows On Checks the wind shadow between sails against positions from the last physics step.
Rendering Dirt camera on demand On Turns the hidden dirt camera on only when it is really needed.
Rendering Outline cameras on demand On Renders the highlight outline cameras only while something is highlighted.