Skip to content

README: the switches for how a title runs - #2314

Open
gefydev wants to merge 1 commit into
xcl-dev:mainfrom
gefydev:readme-run-behaviour-switches
Open

gefydev wants to merge 1 commit into
xcl-dev:mainfrom
gefydev:readme-run-behaviour-switches

Conversation

@gefydev

@gefydev gefydev commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

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

AI use

  • Claude Code, Claude Sonnet 5.5: read the code, wrote the entries and this description.

XCL_SKIP_BINK, XCL_MUTE_TTS, XCL_FRAME_INTERVAL_US, XCL_WAIT_TIMEOUT_MS and
XCL_GPU_WAIT_TIMEOUT_MS change how a title runs and were only described in code
comments. Each entry gives the values the code accepts and the default, as read
from bink.rs, xgameruntime/api.rs, d3d12x/frame.rs and d3d12x/list_x.rs.
@oni-swr

oni-swr commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

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

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

gefydev commented Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

@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.

@throny throny added the off-goal Does not bear on the current goal (world loading); waits until it is reached label Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

off-goal Does not bear on the current goal (world loading); waits until it is reached

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants