README: document the xcl.toml configuration keys #2190

Open
github-bot wants to merge 1 commit from github-bot/gh-2190 into main AGit
Owner

@⁠romeawayfromhome-rgb on GitHub · 2026-11-25 08:19 UTC · original
romeawayfromhome-rgb:docs/xcl-toml-config → main · +42 −0 · 1 files · 1 commits · open

Documents the 27 xcl.toml keys the README did not cover, in a new Configuration section after Controls (defaults from Config::default(), meanings from the field docs and the code that reads them). The file is created automatically with these defaults; a partial file fills the missing keys in. keyboard_mouse and mouse_sensitivity stay documented under Controls. Overlaps #1450, which documents title_memory_mb alone (one bullet under Building and usage); this section covers that key too, so #1450 can be closed as superseded if this lands first. Does not touch the sample-file list (#870) or the ivall/xcl links (#2036). What is in it - README.md: Configuration section + nav link (~100 lines). Tested - Docs only. Every default and meaning checked against crates/xcl/src/config.rs (Config::default, resolve, field docs) and the call sites (host.rs, log.rs, hle/xgameruntime, hle/kernelx.rs, hle/d3d12x/present.rs). Not tested - Not built or run on Windows (docs-only change). Still waits for a Windows test run before merge, per repo rules. AI use - Claude via claude.ai (browser, Free tier) drafted the section from crates/xcl/src/config.rs; GPT via ChatGPT (browser, Free tier) independently reviewed it; the defaults and meanings were then verified line-by-line against the source and the call sites by Muse Spark (Clifford). Orchestrated/conducted by Alexander Lerbakken (LegendaryGodKing).

**@⁠romeawayfromhome-rgb** on GitHub · 2026-11-25 08:19 UTC · [original](https://github.com/xcl-dev/xcl/pull/2190) `romeawayfromhome-rgb:docs/xcl-toml-config` → `main` · +42 −0 · 1 files · 1 commits · open Documents the 27 xcl.toml keys the README did not cover, in a new Configuration section after Controls (defaults from Config::default(), meanings from the field docs and the code that reads them). The file is created automatically with these defaults; a partial file fills the missing keys in. keyboard_mouse and mouse_sensitivity stay documented under Controls. Overlaps #1450, which documents title_memory_mb alone (one bullet under Building and usage); this section covers that key too, so #1450 can be closed as superseded if this lands first. Does not touch the sample-file list (#870) or the ivall/xcl links (#2036). **What is in it** - README.md: Configuration section + nav link (~100 lines). **Tested** - Docs only. Every default and meaning checked against crates/xcl/src/config.rs (Config::default, resolve, field docs) and the call sites (host.rs, log.rs, hle/xgameruntime, hle/kernelx.rs, hle/d3d12x/present.rs). **Not tested** - Not built or run on Windows (docs-only change). Still waits for a Windows test run before merge, per repo rules. **AI use** - Claude via claude.ai (browser, Free tier) drafted the section from crates/xcl/src/config.rs; GPT via ChatGPT (browser, Free tier) independently reviewed it; the defaults and meanings were then verified line-by-line against the source and the call sites by Muse Spark (Clifford). Orchestrated/conducted by Alexander Lerbakken (LegendaryGodKing).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:22:32 +00:00
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 15:54 UTC · original

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!

**@⁠DavidM1911** on GitHub · 2026-11-25 15:54 UTC · [original](https://github.com/xcl-dev/xcl/pull/2190#issuecomment-7167414699) 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!
Author
Owner

@⁠luckyteagirl on GitHub · 2026-11-26 05:22 UTC · original · reviewed

Could the alternate location include the title subdirectory? With XCL_DATA_ROOT=D:\XCL, the launcher appends <title> and loads D:\XCL\<title>\xcl.toml; placing xcl.toml directly in the root will not change that title's settings. The CLI help already shows %XCL_DATA_ROOT%\<title>\. Source review only at head c0076cbf; I did not run a title. AI-assisted with Codex (GPT-6.2 Sol).

**@⁠luckyteagirl** on GitHub · 2026-11-26 05:22 UTC · [original](https://github.com/xcl-dev/xcl/pull/2190#pullrequestreview-6068944195) · **reviewed** Could the alternate location include the title subdirectory? With `XCL_DATA_ROOT=D:\XCL`, the launcher appends `<title>` and loads `D:\XCL\<title>\xcl.toml`; placing `xcl.toml` directly in the root will not change that title's settings. The CLI help already shows `%XCL_DATA_ROOT%\<title>\`. Source review only at head `c0076cbf`; I did not run a title. AI-assisted with Codex (GPT-6.2 Sol).
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2190/head:github-bot/gh-2190'
git switch 'github-bot/gh-2190'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2190'
git switch 'github-bot/gh-2190'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2190'
git switch 'github-bot/gh-2190'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2190'
git switch 'main'
git merge --squash 'github-bot/gh-2190'
git switch 'main'
git merge --ff-only 'github-bot/gh-2190'
git switch 'main'
git merge 'github-bot/gh-2190'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.