make_game: resolve a relative WINE before entering the game folder #2209

Closed
github-bot wants to merge 1 commit from github-bot/gh-2209 into main AGit
Owner

@⁠whoalin1 on GitHub · 2026-11-26 06:14 UTC · original
whoalin1:wine-relative-launcher → main · +14 −0 · 2 files · 1 commits · closed without merging

Summary

  • resolve a relative WINE path against the caller's directory before the generated launcher changes into the game folder
  • keep absolute paths and plain command names unchanged
  • extend the synthetic POSIX launcher regression with a Proton-style Proton 9.0/files/bin/wine path

Item: MAKE-GAME-WINE-RELATIVE-PATH

This carries forward the still-uncarried fix in old-pr/10028, originally written by SkippySteve, reapplied and verified on current main.

Tests

Under the local machine coordination lock, in WSL Ubuntu with Python 3.14.4:

  • control: the new regression fails on the unpatched launcher with exit 127
  • fixed: python3 -I tests/test_make_game_platform.py RuntimePackagingTest.test_wine_first_boot_uses_the_packaged_game_and_shader_paths — pass
  • python -m compileall -q make_game.py tests/test_make_game_platform.py — pass
  • git diff --check — pass

No game files or GPU.

AI-assisted with Devin.

**@⁠whoalin1** on GitHub · 2026-11-26 06:14 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2209) `whoalin1:wine-relative-launcher` → `main` · +14 −0 · 2 files · 1 commits · closed without merging ## Summary - resolve a relative `WINE` path against the caller's directory before the generated launcher changes into the game folder - keep absolute paths and plain command names unchanged - extend the synthetic POSIX launcher regression with a Proton-style `Proton 9.0/files/bin/wine` path Item: MAKE-GAME-WINE-RELATIVE-PATH This carries forward the still-uncarried fix in old-pr/10028, originally written by SkippySteve, reapplied and verified on current main. ## Tests Under the local machine coordination lock, in WSL Ubuntu with Python 3.14.4: - control: the new regression fails on the unpatched launcher with exit 127 - fixed: `python3 -I tests/test_make_game_platform.py RuntimePackagingTest.test_wine_first_boot_uses_the_packaged_game_and_shader_paths` — pass - `python -m compileall -q make_game.py tests/test_make_game_platform.py` — pass - `git diff --check` — pass No game files or GPU. AI-assisted with Devin.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:22:22 +00:00
Author
Owner

@⁠real-rusher on GitHub · 2026-11-26 10:12 UTC · original

Verified on main a73a57e1 (Ubuntu 24.04 x86-64, Python 3.13, no GPU, no Wine). Merges cleanly, also together with #2217 and #2208 (all three touch make_game.py); tests/test_make_game_platform.py still passes with all three merged. With this PR alone: 46 tests OK. The PR's test file against main's make_game.py: 1 error, so the new test fails on main and passes with the fix. compileall clean.

AI-assisted: yes (Claude Code)

**@⁠real-rusher** on GitHub · 2026-11-26 10:12 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2209#issuecomment-7189050289) Verified on main a73a57e1 (Ubuntu 24.04 x86-64, Python 3.13, no GPU, no Wine). Merges cleanly, also together with #2217 and #2208 (all three touch make_game.py); tests/test_make_game_platform.py still passes with all three merged. With this PR alone: 46 tests OK. The PR's test file against main's make_game.py: 1 error, so the new test fails on main and passes with the fix. compileall clean. AI-assisted: yes (Claude Code)
github-bot closed this pull request 2026-11-26 13:26:20 +00:00
Author
Owner

@⁠whoalin1 on GitHub · 2026-11-26 13:25 UTC · original

Consolidated into #2208 as cherry-pick c3790cb77 to reduce review noise. The relative-WINE fix and regression test are preserved there.

**@⁠whoalin1** on GitHub · 2026-11-26 13:25 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2209#issuecomment-7193324065) Consolidated into #2208 as cherry-pick `c3790cb77` to reduce review noise. The relative-WINE fix and regression test are preserved there.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.