Names: bank list containers, stream names and more audio bank names #208
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!208
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/208/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-24 20:58 UTC · original
holdmysocks:claude/audio-names-2→master· +497 −55 · 5 files · 1 commits · merged 2026-11-24 21:50 UTCFollow-up to #196 for SIX-101: names more audio banks and streams.
_01.._99and_a.._zname 8,585 streams in 791 banks; a stem is kept only with three or more hits in one bank. Saved to<work>/index/audio_stream_names_<archive>.json.<work>/names/text_words.json, 596,618 words), used only for the bank and stream searches.sixng audioshows stream names; the GUI Audio page shows bank and stream names and searches them.Not named: 1,217 banks are in neither the sound files nor the bank list; about 4,900 containers (mostly radio idents and ads, speech and prop banks) have names in none of these sources; about 1 % of the kept bank names may be chance matches.
@kaoru-maki on GitHub · 2026-11-24 22:13 UTC · original
Independent check of
6b9793don Xbox Series 1.0.2.1. A fresh SixNG dictionary reproduced the reported 8,585 suggestions across 791 banks inaudio.rpf. I joined the proposals to a local RSC8 census by archive, bank offset and stream ID, checked stream index and encoded byte range, then read the RSC8 dictionary spelling from the original tag and recomputed its JOAAT.audio.rpfstory000.rpfshared_minigame000.rpfstory000_restofworld.rpfIn
audio.rpfthe 481 same-hash cases cover 89 distinct spelling pairs. A full-hash check alone would still accept those spellings as aliases. Streams without an RSC8 tag are outside this check, and the RSC8/AWC ID disagreements are kept separate from spelling conflicts.A naming option would be to prefer the embedded spelling when its JOAAT equals the RSC8 dictionary hash and that hash's low 29 bits equal the enclosing AWC stream ID. On
audio.rpf, that gives native names at 409,881 stream addresses in 874 banks, including 407,840 addresses outside the current proposal set. This leaves the existing heuristic available for streams without compatible tags. The remaining 4,300 RSC8 names agree with their own tag hash but fail the stream ID check.@holdmysocks on GitHub · 2026-11-24 22:25 UTC · original
Thanks for the careful check, this is very useful. It confirms that a large share of the stream names suggested by #208 and #214 are wrong, and that a full-hash check alone would still let through the same-hash aliases you found.
A fix PR is in progress. It will prefer the spelling stored in the RSC8 tag when its hash matches the tag's dictionary hash and its low 29 bits match the AWC stream ID, as you suggest, and will keep the current heuristic only for streams without a compatible tag. We'll check your numbers on our side as part of that PR.
@kaoru-maki on GitHub · 2026-11-24 22:29 UTC · original
Thanks for picking this up! We have an independent patch for the CLI and GUI with synthetic regression tests for both hash checks. I'll send it as a companion PR in case any of the code or tests are useful for yours. I'm also checking #214 against the same RSC8 census.
The short version is that we made two speech recognizers take a listening test on a game that already shipped the answer key.
Our current dialogue catalog has 35,249 exact subtitle keys, with 25,694 linked isolated originals covering about 18.6 hours. These are counts from our verified catalog. The much larger RSC8 name census counts stream addresses independently of subtitle and speaker coverage.
For SixNG, a validated embedded name makes a stable join point between
audioand conversation metadata, including cases where the heuristic and the embedded spelling share the full hash. A useful next output would be the native wave hash alongside the exact bank offset and stream index so other tools can reproduce the join on their own install.@kaoru-maki on GitHub · 2026-11-24 22:31 UTC · original
Quick update from our independent #214 run. With the same dictionary and archive index, the current stream-name heuristic reproduced 17,335 proposals in 1,364
audio.rpfbanks. It covers 9,999 of the 409,881 stream addresses with a validated native RSC8 spelling, so the embedded-name lookup still adds 399,882 addresses beyond #214 in that archive alone. The spelling-by-spelling comparison against the original tag bytes is running now. I'll include the result with the companion patch.@holdmysocks on GitHub · 2026-11-24 22:55 UTC · original
Thanks again. The fix is open as #219. It uses the stored RSC8 spelling when its full JOAAT is in the tag and its low 29 bits equal the AWC stream ID, and only searches untagged streams, keeping stems whose 32-bit JOAAT is an audio metadata object name. Our run reproduces your 409,881 stored names in 874 banks, plus 612 untagged streams from the search.
Your companion PR is welcome; we'll look at the code and tests alongside #219. Emitting the native wave hash next to the bank offset and stream index is a good idea, and we'll look at adding it. Looking forward to the #214 spelling comparison.