Repository navigation
v0.5.7-switch
Fixes and small robustness work on top of v0.5.6. No speed change in this release.
Victory animation fixed (issue #6)
Winning a race used to cut the victory sequence short: the jingle barely started before the next mission loaded, about 1.7 seconds later on v0.5.6.
The cause was in the recompiler, not in the game or the music code. The translator's function finder took a disk I/O address as a function start and split the result banner's update in two, so the banner's last step ran at once instead of waiting out its 5-second timer. Upstream fixed the function finder (no function starts by reading the flags) and we took that fix verbatim (commit ca192a0).
Verified hands-on, Nov 30: after the win jingle starts, the next mission now loads 6.72 seconds later, and the jingle (clear.adx) plays through in full, read completely with no errors.
Graffiti camera (issue #6)
The fix built for the graffiti camera's target locking failed in hands-on testing, so it was scrapped rather than shipped unproven. What landed instead is a note in the menu help text for the graffiti camera option describing the issue (commit b7ba0a7). Still open as a known problem, just not fixed by this one.
Minimaps (issue #6)
Not fixed yet. Still tracked, but low priority against the performance work right now.
Widescreen
Stretch only, as in v0.5.6. The true-wide work was stripped out of this release after the squeeze attempt failed hands-on testing and the classification pass was only partly verified, so the menu offers 4:3 and stretch and nothing else. True widescreen is abandoned for now.
Small robustness and diagnostic work
A few pieces taken from the Shadow the Hedgehog recomp, all verified on the console where stated:
- The log now prints pacing buckets every 2 seconds (frames over 18, 25 and 34 ms, plus the longest frame), so slow frames show up in the log without needing a hitch line.
- Log rotation is 5-deep instead of 2, with a named alive line about every 6 seconds and a dated build stamp on the startup line, so a submitted log can be matched to the exact build that made it.
- The stall dump now records what each waited-on object was last signalled by, and the guest call chain that led to the wait.
- The game runs a thread self-test at boot (64 host threads reaped, guest stacks handed out and refilled).
- The game checks the clocks once at startup and corrects them to stock if the boot drew the slow 307 MHz GPU clock. Verified on the console: the check ran, corrected a 307 draw to 384, and every later sample read stock. It is a dev toggle, off by default.
None of this changes how the game plays. It changes what the log can tell us when something goes wrong.
What did not change
No frame-rate gain in this release. Every performance lever tried since v0.5.6 closed unadopted: the texture-stage widening and bulk shadow path, the draw-submission batching, the dispatch memo and its V1 variant. The build is the same v0.5.6 base, rebuilt on a fresh PGO profile harvested from this release tree (9446 functions, 3200 executed in one boot; the old November 15 profile no longer fit the tree). No new patrol number is claimed for this release; it is a correctness and diagnostics release, not a speed change.
Also not in this release: the shader-pack bake (parked as marginal, it only saves one first-boot wait per release), one-core thread pinning (killed after it hung the title twice in testing), and the SaltyNX overlay writer (reverted after it wedged the title on this console).
Verification
- Victory fix: hands-on verified Nov 30 (see above).
- Pacing buckets and log rotation: verified in a full 99th Street patrol (378 pacing lines, buckets moving with load; rotation 5-deep, alive lines about every 6 seconds, build line matching the staged NRO).
- Clock check: passed. The simplified one-time check ran at startup, corrected a 307 MHz GPU draw to 384, and all 22 later clock samples read stock, with no watcher activity.
- Thread self-test: passed on 9 consecutive boots. The long-session reap behaviour is unproven (the game creates no threads after boot in any flight so far), so it is not claimed as a benefit.
- Wait monitor: not exercised (no real stall in any flight). It only adds detail to a stall dump.
- Release build: boot smoke check PASSED on the console Nov 30: version line 0.5.7-switch (commit 7205ed2), 27 clock samples all stock 1020/384/1331, title reached, one 99th Street patrol cycle played clean, CRASH 0, FROZEN 0, [ERR] 0, closeout byte-exact to resident and claim released.
Still open
- Minimaps (issue #6): the pause-menu map still shows a stale stage after a load until the area is revisited. Low priority against the performance work.
- Graffiti camera (issue #6): the target-locking problem itself is still unfixed; this release only adds the menu note describing it.
- True widescreen (issue #5): abandoned for now, stretch only. The classification and squeeze work stays on its branch, unmerged.
- Performance: patrol still runs about 28 fps on stock clocks, same as v0.5.6. No lever tried since then cleared the bar, so nothing here moves that number.
- Shader-pack bake: parked as marginal. One-core pinning: killed after it hung the title twice. SaltyNX writer: reverted after it wedged the title.
Updating
Replace the jsrf-unleashed.nro file with the new one. Nothing else needs to change; your options.txt, settings and saves carry over.
Build: commit 7205ed2, stamp 0.5.7-switch, NRO SHA-256 1c1f328f3d46117ec50852d6065946c7835f393546a4285416c44d7d1d44e6ed (39,979,205 bytes).