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

Merged
d6ge-dev merged 1 commit from upstream-pr/1945 into main 2026-11-28 13:23:26 +00:00
d6ge-dev commented 2026-11-25 16:24:53 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by d6ge-dev on 2026-11-25T16:24:53Z.


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.
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5495054296 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1945). Originally posted by [d6ge-dev](https://github.com/d6ge-dev) on 2026-11-25T16:24:53Z. --- 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 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T13:24:01Z.


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.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7239908253 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1945#issuecomment-7239908253). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-28T13:24:01Z. --- 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 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
ProjectLeonida/mandy!1945
No description provided.