[PR #2209] [CLOSED] make_game: resolve a relative WINE before entering the game folder #2212

Closed
opened 2026-11-26 21:20:26 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/2209
Author: @whoalin1
Created: 11/26/2026
Status: ❌ Closed

Base: main ← Head: wine-relative-launcher


📝 Commits (1)

  • 502b939 make_game: resolve a relative WINE before entering the game folder

📊 Changes

2 files changed (+14 additions, -0 deletions)

View changed files

📝 make_game.py (+5 -0)
📝 tests/test_make_game_platform.py (+9 -0)

📄 Description

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.


🔄 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/2209 **Author:** [@whoalin1](https://github.com/whoalin1) **Created:** 11/26/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `wine-relative-launcher` --- ### 📝 Commits (1) - [`502b939`](https://github.com/ubiquitarianism/leonida/commit/502b939278547ca718b40e31369677cfabdb8866) make_game: resolve a relative WINE before entering the game folder ### 📊 Changes **2 files changed** (+14 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `make_game.py` (+5 -0) 📝 `tests/test_make_game_platform.py` (+9 -0) </details> ### 📄 Description ## 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 21:20:26 +01:00
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#2212
No description provided.