1 Commits

Author SHA1 Message Date
Claude
1f4524f9fe tools: slb_segment_phase.py — derive the .slb data offset exactly
Static, disc-only probe for why a .slb bank's XMA1 stream starts at
1392 / 1468 / 1600 / 1728 bytes in. Subcommands:

  phases  the sound.p00..p04 size table and the running sums mod 2048
  verify  predicted vs measured offset over every bank on the disc
  bank    structural dump of one entry (bank headers, waves, seek chunks)
  chain   the tiling arithmetic across consecutive entries

Reads nothing but dat/sound.pak, dat/sound.p00..p04 and tables.pak.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PMRJjbxLqZtsb5Vb7KunPE
2026-08-26 05:01:26 +00:00