Add a Linux launcher and smoke test for Proton #191
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!191
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/191/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ligmaSec on GitHub · 2026-11-24 01:16 UTC · original
linux-proton-launcher→main· +185 −2 · 9 files · 2 commits · closed without mergingThis adds a Linux launcher for the Windows executable. It accepts a Linux path to the title, preserves the remaining
victory runarguments, and starts VIctory in a dedicated Proton prefix through UMU. The README includes cross-build instructions and a smoke test that runs without game files.The Linux build uses Rust’s
x86_64-pc-windows-gnullvmtarget. A build with the GCC-based Windows target aborted when a title DLL called into Rust during thread startup. LLVM-MinGW provides native Windows thread-local storage, which lets the loader restore the thread state before the Rust worker starts. The unwinder is linked statically so the executable works in a fresh prefix.Verification
@DaviTostes on GitHub · 2026-11-24 01:28 UTC · original
Reviewed statically, and tested what this machine can run:
umu-runis installed here (the launcher's hard requirement), and the script'sVICTORY_EXEoverride is useful: it lets the launcher use the MSVC build produced bycargo xwin, which is what we use for the Wine test runs.tests/proton-smoke.shpath could not be run as written: this machine hasx86_64-pc-windows-msvcandcargo-xwin, but not thex86_64-pc-windows-gnullvmtarget or LLVM-MinGW, and the smoke fixture is compiled with--target x86_64-pc-windows-gnullvm -Wl,--entry=title_main. A note that the smoke test needs LLVM-MinGW (or an MSVC variant of the fixture with/ENTRY:) would keep people from hitting that.VICTORY_EXEis resolved, paths are made absolute, and both are passed to UMU onZ:.No game data used.
@ligmaSec on GitHub · 2026-11-24 01:38 UTC · original
Thanks @SkippySteve and @DaviTostes. Updated the launcher and docs in
e3757d3.cargo xwinis now picked up automatically when the gnullvm release is absent.VICTORY_EXEstill takes precedence. Both targets have native Windows TLS. The thread-startup abort I reproduced was on the GCC-based-gnutarget. My local end-to-end run uses gnullvm; the MSVC runtime result comes from your testing.GAMEID=umu-victory. The smoke test uses a dedicated prefix, checks both the launcher status and the title’s return value, and documents the LLVM-MinGW requirement for building its fixture. The fixture’s LLD flags now apply only to the LLVM ABI.VICTORY_HLE_PROBEexample are in docs/proton-launcher.md. #149 can link there for the launcher and smoke test. The separate Wine fixes from the closed #195 are being tracked in #217.Verified on Debian with UMU-Proton 11.0-2e: the smoke title returned 42, the separate gameplay prefix was never created, and both loader tests passed using the documented commands. I also checked MSVC fallback, build selection precedence, and argument forwarding with a stub launcher.
@DaviTostes on GitHub · 2026-11-24 01:44 UTC · original
Tested
e3757d3on Arch Linux x86_64 (AMD RX 9060 XT, RADV 26.3.1):CARGO_TARGET_DIRpointing at a tree withx86_64-pc-windows-msvc/release/victory.exeand no gnullvm), a stubumu-runshows the launcher picks the MSVC binary and forwards the arguments andZ:paths correctly:Z:\...\x86_64-pc-windows-msvc\release\victory.exe run Z:\...\title.exe --execute.no_std/no_mainsource,raw-dylibxgameruntime + kernel32,/ENTRY:title_main) and ran it through the builtvictory.exeunder plain Wine:title exited with 42, imports bound 1 HLE + 1 host. So the MSVC runtime path is good.PROTONPATH= Steam Proton 11.0) the run stops before the title withProton: Error: unable to use parent for game drive, path. The same happens with a directumu-run victory.exe run title.exe --execute(no launcher), so it is the UMU/Proton combination here, not the script. Your Debian run used UMU-Proton 11.0-2e; naming UMU-Proton as the supported runtime (stock Steam Proton failing under UMU with this error) would save the next person the confusion.No game data used.
@ligmaSec on GitHub · 2026-11-24 13:52 UTC · original
closing this as it’s been superseded by many other PRs
Pull request closed