diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-28 15:14:52 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-28 15:14:52 -0500 |
| commit | 127ffbfa3bd88dfaf77f03daab7c5c32bfacdb60 (patch) | |
| tree | 77aa12cb0644f382f922d652f954a5dc5a3af4a2 /docs | |
| parent | 95ac2e96aa6976d9095151a71aefeace6335c565 (diff) | |
| parent | 13ed298fa2d6b4eb9969a9196e4b4f38624e513c (diff) | |
Merge remote-tracking branch 'origin/main' into merge/push-m4
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/audio_config.md | 23 | ||||
| -rw-r--r-- | docs/testing.md | 4 |
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: | |||
| 195 | So the statement above stands for the config, and for the mixes without markers. For the five marked mixes a | 195 | So the statement above stands for the config, and for the mixes without markers. For the five marked mixes a |
| 196 | runtime can read the track boundaries and track numbers from the bank. | 196 | runtime can read the track boundaries and track numbers from the bank. |
| 197 | 197 | ||
| 198 | #### Title and artist label keys | ||
| 199 | |||
| 200 | For a `trackid` marker with flags zero and track number N, hash the decimal number followed by `s` for | ||
| 201 | the 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 | ||
| 203 | stream-name hash. Matching against the archive and a static trace support key construction. The runtime | ||
| 204 | lookup order and precedence between text tables remain unverified. | ||
| 205 | |||
| 206 | On Xbox Series 1.0.2.1, the five long mixes have 137 marker rows and 101 distinct track numbers. | ||
| 207 | In the English credits table (1,703 entries), 99 of those numbers have a nonempty title, one has an | ||
| 208 | empty title, and one has no title entry. There are 100 nonempty artists and one empty artist entry. | ||
| 209 | These counts describe the selected table only. | ||
| 210 | |||
| 211 | Run the counts-only checker on the five local AWC banks and a logical resource containing exactly | ||
| 212 | one text table. Join the resource's parts before passing it to `--table` if it spans multiple | ||
| 213 | carved files (see [String tables](text.md#string-tables)). The checker counts repeated marker rows | ||
| 214 | separately from distinct track numbers. Label counts are per distinct number. An invalid input | ||
| 215 | produces a fixed message without a file path. | ||
| 216 | |||
| 217 | ```sh | ||
| 218 | python -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 | ||
| 200 | The 419,223 tags outside the music banks are the ones [rsc8_audio.md](rsc8_audio.md#the-0xbd-cue-records) | 223 | The 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 | ||
| 453 | The session script initializes a dedicated prefix and stops its Wine processes at exit. On a headless host, | 453 | The 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, | ||
| 454 | put `xvfb-run -a` before `bash` so prefix initialization and the tests share one virtual display. The test runner | 456 | put `xvfb-run -a` before `bash` so prefix initialization and the tests share one virtual display. The test runner |
| 455 | maps the recorded Windows drive to the Linux checkout for shaders referenced by absolute Windows paths. It keeps one | 457 | maps the recorded Windows drive to the Linux checkout for shaders referenced by absolute Windows paths. It keeps one |
| 456 | wineserver alive for the run and stops it at the end, and adds `winedbg.exe=d;winemenubuilder.exe=d` to each test's | 458 | wineserver alive for the run and stops it at the end, and adds `winedbg.exe=d;winemenubuilder.exe=d` to each test's |