README: the switches for how a title runs #2304

Merged
gefydev merged 1 commit from upstream-pr/2314 into main 2026-11-25 18:21:22 +00:00
gefydev commented 2026-11-25 13:33:01 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by gefydev on 2026-11-25T13:33:01Z.


Five switches that change how a title runs (movies, speech, frame pacing, and the waits of D3D12.X) are explained only in code comments. Docs only.

What is in it

  • README.md: a "Switches for how a title runs" entry in the "Switches, caches, logs and the files XCL writes" block, with XCL_SKIP_BINK, XCL_MUTE_TTS, XCL_FRAME_INTERVAL_US, XCL_WAIT_TIMEOUT_MS and XCL_GPU_WAIT_TIMEOUT_MS: the accepted values and the default of each, read from hle/bink.rs, hle/xgameruntime/api.rs, hle/d3d12x/frame.rs and hle/d3d12x/list_x.rs.

Tested

  • Docs only: no code changed. Every statement was checked against the code that parses the variable, with the parse functions' own tests as a second source (parse_mode, parse_mute_tts, parse_interval_override).
  • Searched the README and docs/ for each name first: none of the five was there.

Not tested

  • The switches were read from the code, not run for this PR; cargo test and scripts/smoke.ps1 were not run, since no code changed. What a title does once a wait timeout expires is not described, because it was not checked.
  • Left out on purpose, because the code does not say enough to describe them right: XCL_SLEEP_HOLD and XCL_PRESENT_SYNC.
  • Other open README PRs (#741, #2218, #2190) touch nearby lines, so this one may need a rebase; the entry is a separate block, not an edit of theirs.

AI use

  • Claude Code, Claude Sonnet 5.5: read the code, wrote the entries and this description.
<!-- greyfinch-sync:ivall/xcl:issue:6605654806 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2314). Originally posted by [gefydev](https://github.com/gefydev) on 2026-11-25T13:33:01Z. --- Five switches that change how a title runs (movies, speech, frame pacing, and the waits of D3D12.X) are explained only in code comments. Docs only. **What is in it** - `README.md`: a "Switches for how a title runs" entry in the "Switches, caches, logs and the files XCL writes" block, with `XCL_SKIP_BINK`, `XCL_MUTE_TTS`, `XCL_FRAME_INTERVAL_US`, `XCL_WAIT_TIMEOUT_MS` and `XCL_GPU_WAIT_TIMEOUT_MS`: the accepted values and the default of each, read from `hle/bink.rs`, `hle/xgameruntime/api.rs`, `hle/d3d12x/frame.rs` and `hle/d3d12x/list_x.rs`. **Tested** - Docs only: no code changed. Every statement was checked against the code that parses the variable, with the parse functions' own tests as a second source (`parse_mode`, `parse_mute_tts`, `parse_interval_override`). - Searched the README and `docs/` for each name first: none of the five was there. **Not tested** - The switches were read from the code, not run for this PR; `cargo test` and `scripts/smoke.ps1` were not run, since no code changed. What a title does once a wait timeout expires is not described, because it was not checked. - Left out on purpose, because the code does not say enough to describe them right: `XCL_SLEEP_HOLD` and `XCL_PRESENT_SYNC`. - Other open README PRs (#741, #2218, #2190) touch nearby lines, so this one may need a rebase; the entry is a separate block, not an edit of theirs. **AI use** - Claude Code, Claude Sonnet 5.5: read the code, wrote the entries and this description.
oni-swr commented 2026-11-25 14:10:07 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by oni-swr on 2026-11-25T13:46:08Z.


Docs review of #2314 at head 6bb40a6da70a310623dd88409155b057a306e119, against origin/main afc5ee86ae3a9521c9f15d96505cd73fe72f2191 (PR based on 1a0bbe3; merges into current main cleanly; README.md on main has none of these variables yet).

Checked against the source (all match; no inaccuracy or typo found):

  • XCL_SKIP_BINK (hle/bink.rs parse_mode): unset, empty, 0, off, false, no are off, all also skips looping movies, anything else skips non-looping; movies are taken to their last frame without decoding (fast_advance); only wraps a bink2*.dll.
  • XCL_MUTE_TTS (xgameruntime/api.rs): on for any value except empty, 0, off, false (any case); the XAccessibility object has closed captions and high contrast only.
  • XCL_FRAME_INTERVAL_US (d3d12x/frame.rs): unset keeps the title's interval; 0/off/uncapped uncaps; a number is an upper bound (min(requested, n), floor 1000). Unparseable values are ignored, as the PR implies. 8333 and 4167 as examples are right.
  • XCL_WAIT_TIMEOUT_MS / XCL_GPU_WAIT_TIMEOUT_MS (d3d12x/list_x.rs): defaults 2 s and 5 s, a non-number or 0 keeps the default.

Overlap

  • #2313 edits README.md elsewhere (no conflict). #2118 mentions XCL_SKIP_BINK only in its description (it changes D3D12.X dispatch code). No open PR documents these variables.

Not tested

  • Nothing was run: this is a docs-only diff checked by reading the source on origin/main. The full workspace suite, GPU tests and scripts/smoke.ps1 / any title run were not run either.

AI use

  • Review written by Claude Code (Claude Sonnet 5.5). I read the full diff and the code each statement refers to; nothing was changed or pushed.
<!-- greyfinch-sync:ivall/xcl:comment:7164261392 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2314#issuecomment-7164261392). Originally posted by [oni-swr](https://github.com/oni-swr) on 2026-11-25T13:46:08Z. --- **Docs review of #2314** at head `6bb40a6da70a310623dd88409155b057a306e119`, against `origin/main` `afc5ee86ae3a9521c9f15d96505cd73fe72f2191` (PR based on `1a0bbe3`; merges into current `main` cleanly; `README.md` on `main` has none of these variables yet). **Checked against the source** (all match; no inaccuracy or typo found): - `XCL_SKIP_BINK` (`hle/bink.rs` `parse_mode`): unset, empty, `0`, `off`, `false`, `no` are off, `all` also skips looping movies, anything else skips non-looping; movies are taken to their last frame without decoding (`fast_advance`); only wraps a `bink2*.dll`. - `XCL_MUTE_TTS` (`xgameruntime/api.rs`): on for any value except empty, `0`, `off`, `false` (any case); the XAccessibility object has closed captions and high contrast only. - `XCL_FRAME_INTERVAL_US` (`d3d12x/frame.rs`): unset keeps the title's interval; `0`/`off`/`uncapped` uncaps; a number is an upper bound (`min(requested, n)`, floor 1000). Unparseable values are ignored, as the PR implies. 8333 and 4167 as examples are right. - `XCL_WAIT_TIMEOUT_MS` / `XCL_GPU_WAIT_TIMEOUT_MS` (`d3d12x/list_x.rs`): defaults 2 s and 5 s, a non-number or 0 keeps the default. **Overlap** - #2313 edits `README.md` elsewhere (no conflict). #2118 mentions `XCL_SKIP_BINK` only in its description (it changes D3D12.X dispatch code). No open PR documents these variables. **Not tested** - Nothing was run: this is a docs-only diff checked by reading the source on `origin/main`. The full workspace suite, GPU tests and `scripts/smoke.ps1` / any title run were not run either. **AI use** - Review written by Claude Code (Claude Sonnet 5.5). I read the full diff and the code each statement refers to; nothing was changed or pushed.
gefydev commented 2026-11-25 14:10:07 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by gefydev on 2026-11-25T13:48:11Z.


@oni-swr thank you for checking each entry of #2314 against bink.rs, xgameruntime/api.rs, d3d12x/frame.rs and d3d12x/list_x.rs: no inaccuracy found, and no other open PR documents these variables.

AI use: Claude Code (Claude Sonnet 5.5) wrote this comment for @gefydev.

<!-- greyfinch-sync:ivall/xcl:comment:7164311801 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2314#issuecomment-7164311801). Originally posted by [gefydev](https://github.com/gefydev) on 2026-11-25T13:48:11Z. --- @oni-swr thank you for checking each entry of #2314 against `bink.rs`, `xgameruntime/api.rs`, `d3d12x/frame.rs` and `d3d12x/list_x.rs`: no inaccuracy found, and no other open PR documents these variables. AI use: Claude Code (Claude Sonnet 5.5) wrote this comment for @gefydev.
DavidM1911 commented 2026-11-25 18:04:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T17:52:49Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7170128269 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2314#issuecomment-7170128269). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T17:52:49Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
upstream-sync closed this pull request 2026-11-25 19:08:09 +00:00
gefydev commented 2026-11-25 19:09:02 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by gefydev on 2026-11-25T18:21:27Z.


@DavidM1911 thank you for the verification on #2314 (RTX 3060 Ti, Windows 11, branch merged with current main, cargo test -p xcl --lib all passed, 0 failed, about 26 ignored, with the intermittent abort under parallel scheduling tracked in #1978 clean on a single-threaded rerun). Noted.

AI use: Claude Code (Claude Sonnet 5.5) wrote this comment for @gefydev.

<!-- greyfinch-sync:ivall/xcl:comment:7170796495 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2314#issuecomment-7170796495). Originally posted by [gefydev](https://github.com/gefydev) on 2026-11-25T18:21:27Z. --- @DavidM1911 thank you for the verification on #2314 (RTX 3060 Ti, Windows 11, branch merged with current `main`, `cargo test -p xcl --lib` all passed, 0 failed, about 26 ignored, with the intermittent abort under parallel scheduling tracked in #1978 clean on a single-threaded rerun). Noted. AI use: Claude Code (Claude Sonnet 5.5) wrote this comment for @gefydev.
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
xcl-dev/xcl!2304
No description provided.