Skip to content

SteelTemple Orbitals 0.1.4 (Stage 1 CPU Replay & Base FPS Optimization)

Choose a tag to compare

@STS78721 STS78721 released this 25 Nov 10:25

What's Fixed in 0.1.4

  • Major Stage 1 split-screen CPU replay optimization (base FPS fix):
    • Fixed samp_gen cache thrashing on texture registration: Previously, every vk_texture_register call (~200–330 times per frame in split-screen Stage 1) unconditionally incremented samp_gen, wiping out the entire 8,192-entry texture descriptor cache (TD) and forcing every draw's texture descriptors through full lookups. samp_gen now only advances when an actual sampler slot changes, and identical re-registrations are skipped cleanly.
    • O(1) direct descriptor-slot cache: Added a per-pool flat slot pointer cache in vk_texture.c (invalidated automatically on memory-generation changes or descriptor retirement), eliminating tens of thousands of pool_lock + pool-index binary searches + hash-table probes per frame.
    • Batched async replay & lockless vk_present_drain fast path: replay_main now drains up to 64 consecutive texture/sampler register and release items per queue lock, skips redundant condition-variable broadcasts when no thread is waiting, and checks an atomic active flag in vk_present_drain instead of taking a mutex on every texture release.
    • Hoisted texture lock & UBO snapshot lookup cache in vk_exec_draw.c: Hoisted vk_texture_lock across per-draw texture bindings (bind_resources, shader_with_int_img, feedback_scan) using a locked slot-token lookup, and added a per-(stage, slot) vk_usnap descriptor cache to avoid tens of thousands of redundant sorted-range binary searches per frame.
    • Reduced transient texture churn: Raised the released-texture retention cap from 2048 to 4096 (while keeping the 80% VRAM pressure eviction guard from 0.1.3) so multi-frame transient UE5 render targets stay warm instead of churning image destroy/recreate calls.
  • Verified with paranoid cache-check modes & clean-room build: Verified zero mismatches under TOTK_TEX_MEMO=check, TOTK_SHADER_MEMO=check, and TOTK_BIND_SKIP=check, plus full stripped-environment rebuild of orbitals.exe (525.8 MiB) and live boot (468 frames, 0 shader failures, 0 skipped draws).

How to Update from 0.1.0–0.1.3

  1. Download SteelTemple-Orbitals-0.1.4-Update.zip and extract its Orbitals/ contents over your existing install folder (overwrite when prompted — your saves, dumped exefs/romfs, and orbitals.ini are preserved).
  2. Open OrbitalsLauncher.exe and click Rebuild (or Play if prompted to relink orbitals.exe with the updated 0.1.4 runtime library).

Packages

  • SteelTemple-Orbitals-0.1.4-Full-Setup-Wizard.exe — Guided Windows installer with Start Menu / Desktop shortcuts and uninstaller.
  • SteelTemple-Orbitals-0.1.4-Portable-StandAlone.zip — Extract-and-run portable package.
  • SteelTemple-Orbitals-0.1.4-Update.zip — Drop-in update for existing installations.