Skip to content

Performance Log 0.1.2 — Preview 3

Pre-release
Pre-release

Choose a tag to compare

@kramsey458 kramsey458 released this 22 Sep 02:14

Adds an in-game settings page, hooked into the Mod Settings mod (which is now a required dependency, like Harmony). Still a preview, and this feature specifically has not been played at all — see docs/TESTING.md for exactly what is and isn't checked.

What's new

Open Timberborn's Mod Settings menu (from the main menu or in a running game) and you'll find Performance Log with six sliders:

  • Slow frame threshold (ms)
  • Summary window (s)
  • Profile window (s)
  • Overhead budget (% of a frame)
  • Spike contributors
  • Slow frame rows per minute, at most

Changes apply from the next game or save you load — no restart. The panel starts from whatever PerformanceLog.cfg already says; once you touch a setting in the menu, the menu remembers it from then on and the .cfg line for it stops doing anything.

Enabled, Profile, Watch and OutputFolder stay in PerformanceLog.cfg only, and still need a restart. They decide which parts of the game get patched — including whether the entity tick is patched at all when Profile = off — and that's decided before Mod Settings (or any Bindito context) exists. A note in the panel says so.

Install

  1. Close Timberborn. Extract PerformanceLog-0.1.2.zip into Documents\Timberborn\Mods, replacing your existing install.
  2. It now requires the Harmony mod (2.4.1+) and the Mod Settings mod (1.1.0.0+) from the Steam Workshop.
  3. Enable Performance Log in the mod manager and restart. Open Mod Settings to confirm the panel is there.
  4. Play with the game in front, and leave normally.

Verified before release

91 checks of the mod (up from 89: two new checks cover the settings panel's clamping and that it seeds correctly from PerformanceLog.cfg) and 44 checks of the analysis tool, all passing. What's genuinely untested: whether Mod Settings actually renders the panel and its sliders, and whether a value changed in-game reaches a real session — both need the running game (see docs/TESTING.md's five-minute checklist, which now includes changing a setting and checking it took effect).

SHA-256 of PerformanceLog-0.1.2.zip: AAAFDCD91048F60B832CDED7CFB5CEB5092118F0E060450ED67F4F58DAC2A893