Build: launch the packaged runtime in a CrossOver bottle (BUILD-CROSSOVER-BOTTLE) #1945

Merged
leonida/mandy
d6ge-dev merged 1 commit from feat/crossover-runtime-launcher into main 2026-11-28 13:23:26 +00:00

Pull request successfully merged and closed

d6ge-dev commented 2026-11-25 16:24:53 +00:00

Claimed in the coordination issue as: BUILD-CROSSOVER-BOTTLE

What and why

The packaged runtime launcher can now select an existing CrossOver bottle through LEONIDA_CX_BOTTLE. It invokes CrossOver with the generated executable's Windows path and the current game directory. An explicit WINE path still works for nonstandard installations, including paths relative to the directory the launcher is called from. The ordinary Wine and Proton command is used when the bottle option is unset.

Tested

  • All 48 platform tests passed. The new cases cover bottle names and executable paths containing spaces, game working-directory resolution, argument forwarding, and missing CrossOver Wine.
  • All 47 documentation tests, the no-game-data check, and git diff --check passed.
  • The generated script started a stand-in Windows executable through CrossOver with --version. The smoke test used no retail game files and did not exercise GPU rendering.

GPUs tested: n/a

AI-assisted: yes

Checklist

  • Based on current main when prepared.
  • One topic.
  • No game data, keys, or decryption.
Claimed in the coordination issue as: [`BUILD-CROSSOVER-BOTTLE`](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7167825536) ### What and why The packaged runtime launcher can now select an existing CrossOver bottle through `LEONIDA_CX_BOTTLE`. It invokes CrossOver with the generated executable's Windows path and the current game directory. An explicit `WINE` path still works for nonstandard installations, including paths relative to the directory the launcher is called from. The ordinary Wine and Proton command is used when the bottle option is unset. ### Tested - All 48 platform tests passed. The new cases cover bottle names and executable paths containing spaces, game working-directory resolution, argument forwarding, and missing CrossOver Wine. - All 47 documentation tests, the no-game-data check, and `git diff --check` passed. - The generated script started a stand-in Windows executable through CrossOver with `--version`. The smoke test used no retail game files and did not exercise GPU rendering. GPUs tested: n/a AI-assisted: yes ### Checklist - [x] Based on current `main` when prepared. - [x] One topic. - [x] No game data, keys, or decryption.
MoonEyes commented 2026-11-28 13:24:01 +00:00

Merged after local re-verification: this PR merged onto main 4f9199d09 without conflict, and its test file(s) (tests/test_make_game_platform.py) pass there. Earlier today the same tests failed on main without the PR (red/green) and a bundle with other open PRs showed no new failures. check_no_game_data.py is clean. Windows 11, Python 3.14; no GPU needed for these tests.

AI-assisted (Claude Code, Claude Opus 5.5), merged for MoonEyes.

Merged after local re-verification: this PR merged onto `main` 4f9199d09 without conflict, and its test file(s) (`tests/test_make_game_platform.py`) pass there. Earlier today the same tests failed on `main` without the PR (red/green) and a bundle with other open PRs showed no new failures. `check_no_game_data.py` is clean. Windows 11, Python 3.14; no GPU needed for these tests. _AI-assisted (Claude Code, Claude Opus 5.5), merged for MoonEyes._
Sign in to join this conversation.
No description provided.