Files
psxrecomp/tools
Matthew Stanley 76257fcf48 tools: point interp-perf launcher at the isolated game worktree/build
Two changes to finish the interpreter-perf / AOT-investigation split:

1. Build dir switches from runtime/build-tomba2-perf-rel (configured
   against the SHARED Tomba2Recomp checkout, CMAKE_HOME_DIRECTORY=
   F:/Projects/psxrecomp/Tomba2Recomp) to the new isolated
   runtime/build-tomba2-interp-iso-rel, configured against
   _wt-tomba2-interp-perf (branch interp/game-isolated, forked from
   Tomba2Recomp's master). That build passes
   -DPSXRECOMP_GAME_EXE_NAME_OVERRIDE=Tomba2InterpPerf, so it emits
   Tomba2InterpPerf.exe natively. The old build-tomba2-perf-rel is left
   untouched on disk as evidence of the original measurement; only this
   script's target moves.

2. Drops the Copy-Item alias hack: since the isolated build already
   produces the isolated exe name directly, there is nothing left to
   alias.

3. GameRoot now defaults to the isolated game worktree instead of the
   shared Tomba2Recomp checkout, so this script no longer reads
   game.toml from a tree whose HEAD (feat/aot-overlay-spike) belongs to
   a different investigation and has already drifted from master
   (overlay_capture_history).

4. The pre-launch guard now refuses to start if EITHER Tomba2InterpPerf
   OR Tomba2Recomp is already running (previously only checked its own
   process name) — the two builds can no longer collide on disk, but
   still share the BIOS file, debug-port range, and taskkill-by-name
   cleanup surface.

State paths (memcards/captures/logs/overlay cache) were already scoped
under _wt-interpreter-perf and are unchanged.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 15:54:48 -07:00
..