Skip to content

README: document the xcl.toml configuration keys - #2190

Open
romeawayfromhome-rgb wants to merge 1 commit into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/xcl-toml-config
Open

romeawayfromhome-rgb wants to merge 1 commit into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/xcl-toml-config

Conversation

@romeawayfromhome-rgb

@romeawayfromhome-rgb romeawayfromhome-rgb commented Nov 25, 2026 •

Copy link
Copy Markdown

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

Copy link
Copy Markdown
Contributor

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

Thanks!

@luckyteagirl luckyteagirl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

upipibi commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

@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

Foniass commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants