Add opt-in Linux/Proton helpers and cross-compile guide (secondary, no Windows impact) #228
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!228
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-228"
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?
@luniiya on GitHub · 2026-11-24 22:49 UTC · original
luniiya:linux-proton-helpers→main· +94 −0 · 3 files · 2 commits · openSummary
Adds two strictly opt-in environment switches and a short guide (
docs/linux-proton.md) for contributors who are on Linux and want to cross-compile and testvictory.exeunder Steam Proton / vkd3d-proton.Changes
VICTORY_LOG_FILE=<path>(crates/victory-core/src/logging.rs): Optionally writes tracing logs to a file (with ANSI disabled) instead of stderr. Useful under Proton wheresteam.exeswallows console output.VICTORY_SKIP_TITLE_INT3=1(crates/victory-loader/src/crash.rs): Optionally skips non-fatalint3(0xcc) breakpoints inside title images (victory-image-*) by advancingRip += 1and logging a warning (cached in aOnceLock). Useful under Wine/Proton where non-fatal title asserts otherwise terminate via Breakpad.docs/linux-proton.md: Concise instructions for cross-compilingvictory.exeon Linux withcargo-xwin, running under Proton + vkd3d-proton (VKD3D_SHADER_CACHE_PATH,MESA_VK_WSI_PRESENT_MODE=fifo), and abwrap/dev/dribind-order note.Testing
victory.exe(--profile diag --features diagnostics --target x86_64-pc-windows-msvc) viacargo-xwinon Arch Linux with zero warnings/errors.@luniiya on GitHub · 2026-11-24 23:51 UTC · original
Thanks for the review @ErRusso! Addressed both points in
df04d39:proton runinprefix(withSTEAM_COMPAT_DATA_PATH/STEAM_COMPAT_CLIENT_INSTALL_PATH) or Proton'swine64binary directly.docs/linux-proton.mdtodocs/linux-cross-compile-proton.mdso it won't conflict with #41.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.