Describe the marker-derived keys and add a local checker that reports
title and artist coverage for a single text table. Use hand-built
fixtures to verify aggregation and path-free errors.
The translator suite reproduced two upstream baseline failures.
Co-Authored-By: Codex <codex@openai.com>
Also: #2490's committed conflict markers in fssm_crosscheck.md resolved to main's text, the SHADER-605 section
moved below the troubleshooting table it split, a header rule for the export-format table, two backticked
paths that name no Leonida file, and the BOM dropped from anim_move.py and its test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The check only knew tools/, runtime/, tests/ and scripts/, so a backticked
page, viewer file or package-manifest path that doesn't exist went
unreported. With the three folders added it finds one on main:
docs/audio_config.md:72 named a docs/music.md that was never in the
repository; that sentence now says no tool here matches a mix in the
audio and points at radio_stations.md's "not a start table" section.
third_party/ stays out (submodule files aren't in git ls-files).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main gained the 0xbd cue-record decoder in rsc8_audio.py (4cf7e3e7). The
section in docs/audio_config.md now points at docs/rsc8_audio.md for the
record layout and keeps what is specific to the music banks; a test holds
awc_markers.events() to rsc8_audio.decode_marker_records().
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
docs/audio_config.md gains the measured 16-byte event layout of AWC tag 0xBD,
whole-corpus counts and the event-type table (hashes and counts only).
tools/awc_markers.py reports those counts from an archive, a bank or a folder
of banks; tests/test_awc_markers.py covers it with hand-built banks.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
audio_config hashed the lowercased UTF-8 bytes, and world_names encoded to UTF-8
before lower-casing the bytes, so both gave a different 32-bit hash for any
non-ASCII name than hashdict.py and awc_names.py, which hash the lowercased
latin-1 bytes that tests/test_hashdict.py pins. A title with an accent then
produced a stream id no AWC bank stores. Both copies now use the dictionary
form, and a cross-tool test holds every joaat copy in tools/ to it.
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>