From 6bb40a6da70a310623dd88409155b057a306e119 Mon Sep 17 00:00:00 2001 From: gefydev <71671650+gefydev@users.noreply.github.com> Date: Wed, 25 Nov 2026 09:49:42 -0300 Subject: [PATCH] README: the switches for how a title runs 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. --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index d9d151320a..2489f3cdf6 100644 --- a/README.md +++ b/README.md @@ -239,6 +239,22 @@ xcl rpf D:\data\shaders.rpf --extract NAME --out folder - XCL works on **unpacked** game files you own; it contains nothing for decrypting or circumventing DRM. - **The game folder is never modified** – writes go to the overlay. +- **Switches for how a title runs** (set them in the environment of `xcl run`): + - `XCL_SKIP_BINK`: skips the Bink 2 movies of a title that ships a `bink2*.dll` (its logos and + intros), by taking them straight to their last frame without decoding. Off when unset or `0`, + `off`, `false` or `no`; `all` also skips looping movies; any other value (`1`, `intro` …) + skips the ones that do not loop. + - `XCL_MUTE_TTS`: the title gets no Windows speech synthesis: its XAccessibility requests are + answered by XCL's own object, which has closed captions and high contrast only. Off by + default; any value except empty, `0`, `off` or `false` (in any case) turns it on. + - `XCL_FRAME_INTERVAL_US`: changes the console frame clock. Unset, the title's own frame + interval (`SetFrameIntervalX`) is kept. `0`, `off` or `uncapped` removes the cap, so + `WaitFrameEventX` returns at once with a fresh token. A number of microseconds is an upper + bound on the interval, never below 1000: `8333` for 120 Hz, `4167` for 240 Hz. + - `XCL_WAIT_TIMEOUT_MS` and `XCL_GPU_WAIT_TIMEOUT_MS`, for diagnostics: the longest XCL waits + for a `Wait32BitValueX` / `Wait64BitValueX` that nothing satisfies (2000 ms) and the + watchdog for a GPU queue wait (5000 ms). A value that is not a number above 0 keeps the + default. - Translated shaders are reused across XCL rebuilds when the translator sources and DXC toolchain are unchanged; `XCL_TRANSLATED_CACHE=0` disables that disk cache. - Huge pipelines (translated DXIL of `XCL_HUGE_PSO_BYTES` or more, default 262144) built on the