Commit Graph

3 Commits

Author SHA1 Message Date
dc93ca88fd rpf9_carve: --until-adat ends the scan at the first AWC bank (audio config carve)
docs/audio_config.md carves audio.rpf's zlib-compressed audio config (the
music/radio record table) with --limit 0x129B000, the offset where the raw
AWC banks start on the measured package, and its Limits note that a
different build can put the banks elsewhere: use the first ADAT bank as
the boundary. --until-adat does that: the scan ends at the first raw
little-endian ADAT whose header parses as a bank
(rsc8_audio.parse_adat_header_bytes), not at the bytes alone, which also
occur inside METADATA and compressed data. index.json's summary records
first_adat_bank (null when the window has none, which is then scanned
whole); a --limit before the bank still wins.

Tests: a synthetic archive with two config streams, a raw METADATA decoy,
a zero-stream bank and a stream after it: --until-adat carves the two and
stops at the bank; without it, three; no bank: the whole window and null;
--limit short of the bank: the limit. docs/audio_config.md and
docs/radio_stations.md use the option.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:50:58 +00:00
63cd7b8fe6 Docs: record the measured title-keyed stream-id resolution 2026-11-21 21:51:15 +00:00
1f95634ed4 Docs: measure the audio-config station records and content ids 2026-11-21 20:19:22 +00:00