Commit Graph

14 Commits

Author SHA1 Message Date
ac55444709 Document radio track label keys and count matches
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>
2026-11-24 22:01:47 +01:00
7761680eac audio_config: read the --names pool as latin-1 bytes, the hash joaat uses (EGEN-AUDIOCONFIG-POOL-LATIN1) (#6619)
Squash-merged after diff review of PR #6619
2026-11-23 11:14:15 -06:00
77247b699a docs: clarify AWC manifest duration units (#6854)
Squash-merged after diff review of PR #6854 - docs: clarify AWC manifest duration units
2026-11-23 09:49:10 -06:00
2e52b2f1d7 Docs after round 44: one row per topic, escaped literal pipes, one copy of each repeated line and list item, one i18n row per language
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>
2026-11-22 23:24:16 -05:00
82974404b9 Merge pull request #3956 from Rafael
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/audio_config.md
2026-11-22 23:09:54 -05:00
4b4503bcae tests/test_docs_repo_paths: also check docs/, viewer/ and game/ paths (TEST-871)
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>
2026-11-22 19:41:01 -03:00
9cf2350779 Merge origin/main into asset-303-awc-chunk-bd
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>
2026-11-23 00:25:57 +02:00
4de3ef8587 docs, tools: document AWC tag 0xBD marker events, add awc_markers.py (ASSET-303)
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>
2026-11-23 00:19:16 +02:00
b3ee0ee2e8 Merge pull request #2524 from Ayinaki 2026-11-22 13:15:54 -05:00
0a8c08a564 audio_config, world_names: hash a name as the pinned latin-1 joaat does
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.
2026-11-22 17:21:26 +00:00
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
2fda452e09 Stream joined music records and report their source-file offsets 2026-11-21 22:51:22 -07:00
f70a588381 Tests: cover multi-group stereo streamed music 2026-11-21 21:39:33 +00:00
008aa3d3b0 Tools: parse the audio-config music record table 2026-11-21 19:13:50 +00:00