tooling: read big-endian TADA AWC banks #786
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/792"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by legacy-code-archaeologist on 2026-11-23T03:51:13Z.
Change
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