Audio groups: try pack parents and bare words; report the named groups #235

Manually merged
github merged 2 commits from gh-pr/235/head into gh-pr/235/base 2026-11-26 20:20:20 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-25 02:44 UTC · original
holdmysocks:claude/audio-names-6 → master · +35 −7 · 2 files · 2 commits · merged 2026-11-25 03:14 UTC

The story pack's two largest bank-list groups had no name: bd0671a3 (59,623 entries) and d454dc2b (5,502). They are speech.scripted and cutscene. The group search tried only whole pack names (without core.), alone or with one more word, and the story pack's packs are not in the sound files.

  • find_group_names now also tries each pack's parents (speech of core.speech.ped) with every word, and every word on its own. Expected chance matches stay tiny: about 70k words × 50 prefixes × 64 groups / 2³² ≈ 0.05.
  • audio-meta now reports groups (the count) and groups_named (name → bank-list entries), and the group names join the dictionary under the bank names' source.
  • Story pack: 8 of 9 groups named (speech.scripted, cutscene, speech.player, script, streams and three small speech groups). Minigame pack: 3 of 6, with 591 of its 637 banks in speech.scripted. audio.rpf: unchanged, 48 of 64.
  • README: these group names, plus two checks with negative results for story bank names. Stems of their own stream names and the 2,824 cutscene names, under 14 to 19 likely pack names, match no more often than chance (about 20 and 1 to 2 hits per pack name).

Tests: a group case in group_pack_search (a bare word, a pack parent, and the report). cargo test --release --locked passes, and so does cargo check --release --locked --no-default-features -p sixng-cli -p sixng-gui.

**@⁠holdmysocks** on GitHub · 2026-11-25 02:44 UTC · [original](https://github.com/holdmysocks/SixNG/pull/235) `holdmysocks:claude/audio-names-6` → `master` · +35 −7 · 2 files · 2 commits · merged 2026-11-25 03:14 UTC The story pack's two largest bank-list groups had no name: `bd0671a3` (59,623 entries) and `d454dc2b` (5,502). They are `speech.scripted` and `cutscene`. The group search tried only whole pack names (without `core.`), alone or with one more word, and the story pack's packs are not in the sound files. - `find_group_names` now also tries each pack's parents (`speech` of `core.speech.ped`) with every word, and every word on its own. Expected chance matches stay tiny: about 70k words × 50 prefixes × 64 groups / 2³² ≈ 0.05. - `audio-meta` now reports `groups` (the count) and `groups_named` (name → bank-list entries), and the group names join the dictionary under the bank names' source. - Story pack: 8 of 9 groups named (`speech.scripted`, `cutscene`, `speech.player`, `script`, `streams` and three small speech groups). Minigame pack: 3 of 6, with 591 of its 637 banks in `speech.scripted`. audio.rpf: unchanged, 48 of 64. - README: these group names, plus two checks with negative results for story bank names. Stems of their own stream names and the 2,824 cutscene names, under 14 to 19 likely pack names, match no more often than chance (about 20 and 1 to 2 hits per pack name). Tests: a group case in `group_pack_search` (a bare word, a pack parent, and the report). `cargo test --release --locked` passes, and so does `cargo check --release --locked --no-default-features -p sixng-cli -p sixng-gui`.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:20:18 +00:00
github manually merged commit 0edbdc9d51 into gh-pr/235/base 2026-11-26 20:20:20 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.