README: document the xcl.toml configuration keys #2180

Open
romeawayfromhome-rgb wants to merge 1 commit from upstream-pr/2190 into main
romeawayfromhome-rgb commented 2026-11-25 08:19:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-25T08:19:21Z.


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).
<!-- greyfinch-sync:ivall/xcl:issue:5487699295 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2190). Originally posted by [romeawayfromhome-rgb](https://github.com/romeawayfromhome-rgb) on 2026-11-25T08:19:21Z. --- 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).
DavidM1911 commented 2026-11-25 16:12:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T15:54:11Z.


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:7167414699 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2190#issuecomment-7167414699). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T15:54:11Z. --- 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!
luckyteagirl commented 2026-11-26 05:22:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T05:22:21Z.

Review: COMMENTED


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

<!-- greyfinch-sync:ivall/xcl:review:6068944195 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2190#pullrequestreview-6068944195). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-26T05:22:21Z. **Review:** COMMENTED --- 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).
upipibi commented 2026-11-26 20:28:54 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by upipibi on 2026-11-26T20:28:54Z.


@romeawayfromhome-rgb the PR description check fails on #2190 with the **Tested** section is missing or empty, same for Not tested and AI use. The body has that text, but pr_check.py needs each heading alone on its own line, then the bullets below it. Reformat the body as **What is in it**, **Tested**, **Not tested**, **AI use**, each on its own line followed by a - bullet. #2236 has no headings at all and needs the same template (.github/pull_request_template.md).

AI-assisted (Claude Code, Claude Sonnet 5.5).

<!-- greyfinch-sync:ivall/xcl:comment:7202733534 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2190#issuecomment-7202733534). Originally posted by [upipibi](https://github.com/upipibi) on 2026-11-26T20:28:54Z. --- @romeawayfromhome-rgb the PR description check fails on #2190 with `the **Tested** section is missing or empty`, same for **Not tested** and **AI use**. The body has that text, but pr_check.py needs each heading alone on its own line, then the bullets below it. Reformat the body as `**What is in it**`, `**Tested**`, `**Not tested**`, `**AI use**`, each on its own line followed by a `- ` bullet. #2236 has no headings at all and needs the same template (.github/pull_request_template.md). AI-assisted (Claude Code, Claude Sonnet 5.5).
Foniass commented 2026-12-01 07:33:52 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T07:33:52Z.


Triage (#1607) – head c0076cb

Overlaps with #1450, which adds one README bullet for title_memory_mb. This PR adds a table of every xcl.toml key with a title_memory_mb row that says the same thing. The keys and defaults in the table match Config::default and Config::resolve on main (config.rs).
No problems found in the diff.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7304210177 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2190#issuecomment-7304210177). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T07:33:52Z. --- **Triage (#1607)** – head c0076cb Overlaps with #1450, which adds one README bullet for title_memory_mb. This PR adds a table of every xcl.toml key with a title_memory_mb row that says the same thing. The keys and defaults in the table match Config::default and Config::resolve on main (config.rs). No problems found in the diff. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2190:upstream-pr/2190'
git switch 'upstream-pr/2190'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2190'
git switch 'upstream-pr/2190'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2190'
git switch 'upstream-pr/2190'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2190'
git switch 'main'
git merge --squash 'upstream-pr/2190'
git switch 'main'
git merge --ff-only 'upstream-pr/2190'
git switch 'main'
git merge 'upstream-pr/2190'
git push origin 'main'
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!2180
No description provided.