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

Open
opened 2026-11-26 21:19:31 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1945
Author: @d6ge-dev
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: feat/crossover-runtime-launcher


📝 Commits (1)

  • dda535e Add CrossOver bottle support to the generated runtime launcher

📊 Changes

3 files changed (+74 additions, -0 deletions)

View changed files

📝 docs/linux.md (+10 -0)
📝 make_game.py (+20 -0)
📝 tests/test_make_game_platform.py (+44 -0)

📄 Description

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.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1945 **Author:** [@d6ge-dev](https://github.com/d6ge-dev) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/crossover-runtime-launcher` --- ### 📝 Commits (1) - [`dda535e`](https://github.com/ubiquitarianism/leonida/commit/dda535e1c520f8a7821320d847c8a6fa396f60af) Add CrossOver bottle support to the generated runtime launcher ### 📊 Changes **3 files changed** (+74 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/linux.md` (+10 -0) 📝 `make_game.py` (+20 -0) 📝 `tests/test_make_game_platform.py` (+44 -0) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#1952
No description provided.