[PR #244] Document radio track label keys and count matches #296

Open
opened 2026-11-26 20:17:25 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/244
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: old-pr/9979


📝 Commits (1)

  • ae40c8e Document radio track label keys and count matches

📊 Changes

3 files changed (+210 additions, -0 deletions)

View changed files

📝 docs/audio_config.md (+23 -0)
➕ tests/test_track_labels.py (+99 -0)
➕ tools/track_labels.py (+88 -0)

📄 Description

Carried over from old PR 9979 by Elijah-J in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9979, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
Elijah-J: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

Claimed in the coordination issue as: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7115277335

What and why

The existing AWC documentation explains how to read track numbers from marker events. This adds the title and artist key construction and a small checker that counts matches against one local text table. The checker reports marker rows, distinct numbers, and nonempty, empty, and absent labels.

On the five long mixes from Xbox Series 1.0.2.1, the checker counted 137 marker rows and 101 distinct numbers. The selected English credits table gave 99 nonempty titles, one empty title and one absent title, plus 100 nonempty artist entries and one empty artist entry. Runtime lookup order and precedence between text tables remain unverified.

Tested

  • macOS 15.7.7, Python 3.13.13, CPU only. GPU and driver: N/A.
  • Against upstream a2c2ba878, the three checker tests and 11 marker tests passed. The text-table suite ran 33 tests with one skip. Python compilation, make_game.py --help and the game-data scan on all three PR files passed.
  • Reproduced the counts above on five local AWC banks and the selected English credits table.
  • The translator suite ran 459 files and 6,046 tests. The failures in test_exec_computed and test_image_atomics_guard reproduce on the untouched base. test_sopc_validation and test_unary_f16_validation also reproduce there because this Mac lacks SPIRV-Tools.

AI-assisted: Yes (Codex, with Astra and Fable review).

  • No game data, keys or decryption.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/244 **Author:** [@Andretuta](https://github.com/Andretuta) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `old-pr/9979` --- ### 📝 Commits (1) - [`ae40c8e`](https://github.com/ubiquitarianism/leonida/commit/ae40c8eea00a10e75b459876eadb32b92119e3bf) Document radio track label keys and count matches ### 📊 Changes **3 files changed** (+210 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/audio_config.md` (+23 -0) ➕ `tests/test_track_labels.py` (+99 -0) ➕ `tools/track_labels.py` (+88 -0) </details> ### 📄 Description > Carried over from **old PR 9979** by `Elijah-J` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9979`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `Elijah-J`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): Claimed in the coordination issue as: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7115277335 ### What and why The existing AWC documentation explains how to read track numbers from marker events. This adds the title and artist key construction and a small checker that counts matches against one local text table. The checker reports marker rows, distinct numbers, and nonempty, empty, and absent labels. On the five long mixes from Xbox Series 1.0.2.1, the checker counted 137 marker rows and 101 distinct numbers. The selected English credits table gave 99 nonempty titles, one empty title and one absent title, plus 100 nonempty artist entries and one empty artist entry. Runtime lookup order and precedence between text tables remain unverified. ### Tested - macOS 15.7.7, Python 3.13.13, CPU only. GPU and driver: N/A. - Against upstream `a2c2ba878`, the three checker tests and 11 marker tests passed. The text-table suite ran 33 tests with one skip. Python compilation, `make_game.py --help` and the game-data scan on all three PR files passed. - Reproduced the counts above on five local AWC banks and the selected English credits table. - The translator suite ran 459 files and 6,046 tests. The failures in `test_exec_computed` and `test_image_atomics_guard` reproduce on the untouched base. `test_sopc_validation` and `test_unary_f16_validation` also reproduce there because this Mac lacks SPIRV-Tools. AI-assisted: Yes (Codex, with Astra and Fable review). - [x] No game data, keys or decryption. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#296
No description provided.