Launcher: honor configured executable before auto-detection #31

Manually merged
github merged 1 commit from gh-pr/31/head into gh-pr/31/base 2026-11-26 04:05:22 +00:00
Owner

@⁠BBareth on GitHub · 2026-11-22 00:31 UTC · original
BBareth:codex/launcher-config-executable → main · +66 −8 · 2 files · 1 commits · merged 2026-11-22 12:52 UTC

Loads the title’s xcl.toml before choosing a game executable. A valid exe override can now select the game in a folder with several candidates or a stale manifest entry. The launcher still rejects XCL itself as an override and can fall back to the existing selection rules.

Validation

  • CLI regression passed on Windows GNU under Wine. It checks the boot record selects the configured executable from two candidates.
  • All seven launcher unit tests passed, including manifest selection and self-copy detection.
**@⁠BBareth** on GitHub · 2026-11-22 00:31 UTC · [original](https://github.com/xcl-dev/xcl/pull/31) `BBareth:codex/launcher-config-executable` → `main` · +66 −8 · 2 files · 1 commits · merged 2026-11-22 12:52 UTC Loads the title’s `xcl.toml` before choosing a game executable. A valid `exe` override can now select the game in a folder with several candidates or a stale manifest entry. The launcher still rejects XCL itself as an override and can fall back to the existing selection rules. ## Validation - CLI regression passed on Windows GNU under Wine. It checks the boot record selects the configured executable from two candidates. - All seven launcher unit tests passed, including manifest selection and self-copy detection.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:05:22 +00:00
github manually merged commit 74eaad0f51 into gh-pr/31/base 2026-11-26 04:05:22 +00:00
Author
Owner

@⁠oskpzme on GitHub · 2026-11-22 00:33 UTC · original

b

On Sun, Nov 22, 2026, 02:32 BBareth @.***> wrote:

Loads the title’s xcl.toml before choosing a game executable. A valid exe
override can now select the game in a folder with several candidates or a
stale manifest entry. The launcher still rejects XCL itself as an override
and can fall back to the existing selection rules.
Validation

  • CLI regression passed on Windows GNU under Wine. It checks the boot
    record selects the configured executable from two candidates.
  • All seven launcher unit tests passed, including manifest selection
    and self-copy detection.

You can view, comment on, or merge this pull request online at:

https://github.com/ivall/xcl/pull/31
Commit Summary

File Changes

(2 files https://github.com/ivall/xcl/pull/31/files)

Patch Links:

—
Reply to this email directly, view it on GitHub
https://github.com/ivall/xcl/pull/31?email_source=notifications&email_token=CVXK7WKYR6XPUJ4NA5P3ASD52IXX7A5CNFSNUABEM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UF42TIMZUGAZDKMRSHCTHEZLBONXW5KTTOVRHGY3SNFRGKZFFMV3GK3TUVRTG633UMVZF6Y3MNFRWW,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/CVXK7WLAUYMQDKD7TLHCAC352IXX7AVCNFSNUABGKJSXA33TNF2G64TZHMYTINRVHA2TEMBZHE5US43TOVSTWNRVGM3DGNJYGI2DLILWAI
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
https://github.com/notifications/mobile/ios/CVXK7WMBXYTFAYH2UYEZH7352IXX7A5CNFSNUABEM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UF42TIMZUGAZDKMRSHCTHEZLBONXW5KTTOVRHGY3SNFRGKZFFMV3GK3TUVJTG633UMVZF62LPOM
and Android
https://github.com/notifications/mobile/android/CVXK7WOF2MAJQMVUZLAQLO352IXX7A5CNFSNUABEM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UF42TIMZUGAZDKMRSHCTHEZLBONXW5KTTOVRHGY3SNFRGKZFFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE.
Download it today!
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

**@⁠oskpzme** on GitHub · 2026-11-22 00:33 UTC · [original](https://github.com/xcl-dev/xcl/pull/31#issuecomment-7071630211) b On Sun, Nov 22, 2026, 02:32 BBareth ***@***.***> wrote: > Loads the title’s xcl.toml before choosing a game executable. A valid exe > override can now select the game in a folder with several candidates or a > stale manifest entry. The launcher still rejects XCL itself as an override > and can fall back to the existing selection rules. > Validation > > - CLI regression passed on Windows GNU under Wine. It checks the boot > record selects the configured executable from two candidates. > - All seven launcher unit tests passed, including manifest selection > and self-copy detection. > > ------------------------------ > You can view, comment on, or merge this pull request online at: > > https://github.com/ivall/xcl/pull/31 > Commit Summary > > - 74eaad0 > <https://github.com/ivall/xcl/pull/31/commits/74eaad0f51b46cbcca7c7721d8dc94bdf941ea07> > Launcher: honor configured executable before auto-detection > > File Changes > > (2 files <https://github.com/ivall/xcl/pull/31/files>) > > - *M* crates/xcl/src/launcher.rs > <https://github.com/ivall/xcl/pull/31/files#diff-419afe5a78e07a7f3e5484c92ed37f4c643fecc959e05a06856edbb87a1ec377> > (38) > - *M* crates/xcl/tests/e2e.rs > <https://github.com/ivall/xcl/pull/31/files#diff-4e99630b53822cb0df57a13f7869392a0a6e7b8ade99fd6090d0eaac6d309e3b> > (36) > > Patch Links: > > - https://github.com/ivall/xcl/pull/31.patch > - https://github.com/ivall/xcl/pull/31.diff > > — > Reply to this email directly, view it on GitHub > <https://github.com/ivall/xcl/pull/31?email_source=notifications&email_token=CVXK7WKYR6XPUJ4NA5P3ASD52IXX7A5CNFSNUABEM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UF42TIMZUGAZDKMRSHCTHEZLBONXW5KTTOVRHGY3SNFRGKZFFMV3GK3TUVRTG633UMVZF6Y3MNFRWW>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/CVXK7WLAUYMQDKD7TLHCAC352IXX7AVCNFSNUABGKJSXA33TNF2G64TZHMYTINRVHA2TEMBZHE5US43TOVSTWNRVGM3DGNJYGI2DLILWAI> > . > Triage notifications, keep track of coding agent tasks and review pull > requests on the go with GitHub Mobile for iOS > <https://github.com/notifications/mobile/ios/CVXK7WMBXYTFAYH2UYEZH7352IXX7A5CNFSNUABEM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UF42TIMZUGAZDKMRSHCTHEZLBONXW5KTTOVRHGY3SNFRGKZFFMV3GK3TUVJTG633UMVZF62LPOM> > and Android > <https://github.com/notifications/mobile/android/CVXK7WOF2MAJQMVUZLAQLO352IXX7A5CNFSNUABEM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UF42TIMZUGAZDKMRSHCTHEZLBONXW5KTTOVRHGY3SNFRGKZFFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE>. > Download it today! > You are receiving this because you are subscribed to this thread.Message > ID: ***@***.***> >
Author
Owner

@⁠ivall on GitHub · 2026-11-22 12:53 UTC · original

Merged, thanks. It conflicted with a change on main: config_root, which takes the package root from the folder above an exe in <Game>/Binaries/XSX whose MicrosoftGame.config names it. I kept both. While resolving it I changed two things:

  • An exe given on the command line now wins over the one xcl.toml names. That entry is rewritten on every run, so it is only the last choice. Your case, a folder target with several candidates, still uses the configured exe first.
  • xcl.toml now stores the exe's path relative to the package root instead of only its file name, so it still resolves when the exe sits in a subfolder.
    Your e2e test passes.
**@⁠ivall** on GitHub · 2026-11-22 12:53 UTC · [original](https://github.com/xcl-dev/xcl/pull/31#issuecomment-7079418271) Merged, thanks. It conflicted with a change on main: `config_root`, which takes the package root from the folder above an exe in `<Game>/Binaries/XSX` whose MicrosoftGame.config names it. I kept both. While resolving it I changed two things: - An exe given on the command line now wins over the one `xcl.toml` names. That entry is rewritten on every run, so it is only the last choice. Your case, a folder target with several candidates, still uses the configured exe first. - `xcl.toml` now stores the exe's path relative to the package root instead of only its file name, so it still resolves when the exe sits in a subfolder. Your e2e test passes.
This discussion has been locked. Commenting is limited to contributors.
No description provided.