tooling: read big-endian TADA AWC banks #792
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!792
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/792/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?
@legacy-code-archaeologist on GitHub · 2026-11-23 03:51 UTC · original
legacy-code-archaeologist:audio/awc-big-endian→main· +120 −51 · 3 files · 1 commits · merged 2026-11-23 04:27 UTCChange
tools/awc_metadata.pynow accepts the big-endianTADAmagic in addition toADAT. In aTADAbank, every 16-, 32- and 64-bit header field is read big-endian, as in the public reader (vgmstreamawc.c@24ffd6ce, lines 300–318). Single bytes such as the codec ID, and all offsets, are unchanged.The rule applies to every layout: sound-effect banks with
0x76or0xFAformat tags, and music banks. Flag bits that were rejected before stay rejected in both byte orders.docs/experiments.mdnow names both magics.Follows #583 and #786 (same file).
Verification
At
6282b89on Windows 11 (build 26100), Python 3.12:out\pe-env\Scripts\python.exe -B tests\awc_metadata_check.py -v: 13 tests OK.main.main.tests/docs_links_check.pyandtests/bidi_controls_check.py: passed.Evidence and follow-up
The fixtures are synthetic bytes built in the test (MIT, this repository). No real
TADAbank was inspected.AI-assisted: written with Claude Code, precommit review by a fresh agent; checked and submitted by the account owner.
🤖 Generated with Claude Code