upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-28 15:14:52 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-28 15:14:52 -0500
commit127ffbfa3bd88dfaf77f03daab7c5c32bfacdb60 (patch)
tree77aa12cb0644f382f922d652f954a5dc5a3af4a2 /docs
parent95ac2e96aa6976d9095151a71aefeace6335c565 (diff)
parent13ed298fa2d6b4eb9969a9196e4b4f38624e513c (diff)
Merge remote-tracking branch 'origin/main' into merge/push-m4
Diffstat (limited to 'docs')
-rw-r--r--docs/audio_config.md23
-rw-r--r--docs/testing.md4
2 files changed, 26 insertions, 1 deletions
diff --git a/docs/audio_config.md b/docs/audio_config.md
index e3d6b1275..a4abcc754 100644
--- a/docs/audio_config.md
+++ b/docs/audio_config.md
@@ -195,6 +195,29 @@ Not confirmed:
195So the statement above stands for the config, and for the mixes without markers. For the five marked mixes a 195So the statement above stands for the config, and for the mixes without markers. For the five marked mixes a
196runtime can read the track boundaries and track numbers from the bank. 196runtime can read the track boundaries and track numbers from the bank.
197 197
198#### Title and artist label keys
199
200For a `trackid` marker with flags zero and track number N, hash the decimal number followed by `s` for
201the title label or `a` for the artist label. For example, track number 7 gives `joaat("7s")` and
202`joaat("7a")`, using the lowercase Jenkins one-at-a-time hash. These keys are independent of the
203stream-name hash. Matching against the archive and a static trace support key construction. The runtime
204lookup order and precedence between text tables remain unverified.
205
206On Xbox Series 1.0.2.1, the five long mixes have 137 marker rows and 101 distinct track numbers.
207In the English credits table (1,703 entries), 99 of those numbers have a nonempty title, one has an
208empty title, and one has no title entry. There are 100 nonempty artists and one empty artist entry.
209These counts describe the selected table only.
210
211Run the counts-only checker on the five local AWC banks and a logical resource containing exactly
212one text table. Join the resource's parts before passing it to `--table` if it spans multiple
213carved files (see [String tables](text.md#string-tables)). The checker counts repeated marker rows
214separately from distinct track numbers. Label counts are per distinct number. An invalid input
215produces a fixed message without a file path.
216
217```sh
218python -I tools/track_labels.py mix-1.awc mix-2.awc mix-3.awc mix-4.awc mix-5.awc --table english-credits.bin
219```
220
198### Other banks 221### Other banks
199 222
200The 419,223 tags outside the music banks are the ones [rsc8_audio.md](rsc8_audio.md#the-0xbd-cue-records) 223The 419,223 tags outside the music banks are the ones [rsc8_audio.md](rsc8_audio.md#the-0xbd-cue-records)
diff --git a/docs/testing.md b/docs/testing.md
index 9c96c7600..40ae7cb4a 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -450,7 +450,9 @@ WINE=wine WINEPREFIX="$(mktemp -d)" WINEDLLOVERRIDES="mscoree,mshtml=" WINEDEBUG
450 --require run_tiny_game --require run_tiny_game_exit_code 450 --require run_tiny_game --require run_tiny_game_exit_code
451``` 451```
452 452
453The session script initializes a dedicated prefix and stops its Wine processes at exit. On a headless host, 453The session script initializes a dedicated prefix and stops its Wine processes at exit, with the Wine named by
454`WINE` (default `wine`) and the `wineserver` next to it (or `WINESERVER`), so Proton's or UMU-Proton's
455`files/bin/wine` works without a system Wine. On a headless host,
454put `xvfb-run -a` before `bash` so prefix initialization and the tests share one virtual display. The test runner 456put `xvfb-run -a` before `bash` so prefix initialization and the tests share one virtual display. The test runner
455maps the recorded Windows drive to the Linux checkout for shaders referenced by absolute Windows paths. It keeps one 457maps the recorded Windows drive to the Linux checkout for shaders referenced by absolute Windows paths. It keeps one
456wineserver alive for the run and stops it at the end, and adds `winedbg.exe=d;winemenubuilder.exe=d` to each test's 458wineserver alive for the run and stops it at the end, and adds `winedbg.exe=d;winemenubuilder.exe=d` to each test's