upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorDominik <55330408+Dom-in@users.noreply.github.com>2026-11-22 15:50:58 +0000
committerDominik <55330408+Dom-in@users.noreply.github.com>2026-11-22 15:50:58 +0000
commitdc93ca88fdc58963e58c745876bdf569ec2df41f (patch)
tree752d88d6105e871e7cd9d5124c7d52123c91daec /runtime/src/pe_loader.cpp
parent4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff)
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>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions