Repository navigation
Conversation
luniiya
marked this pull request as draft
November 24, 2026 22:51
luniiya
marked this pull request as ready for review
November 24, 2026 22:52
ErRusso
suggested changes
Nov 24, 2026
ErRusso
left a comment
There was a problem hiding this comment.
Reviewed at 743514c against 2119b0e.
The two switches are opt-in and reasonable:
VICTORY_LOG_FILEfalls back to stderr if the file cannot be created and disables ANSI; Windows default behavior is unchanged.VICTORY_SKIP_TITLE_INT3is gated on the environment variable, checks the faulting byte and the title image, advancesRip, and logs. It is dangerous but explicitly opt-in.
Requesting changes for the guide:
- The launch command is wrong for a standalone
victory.exe. Proton'sproton runlaunchessteam.exe; it does not run the executable you pass. Useproton runinprefix(withSTEAM_COMPAT_DATA_PATH/STEAM_COMPAT_CLIENT_INSTALL_PATH) or the Protonwinebinary directly, as the other Linux guides do. - This PR adds
docs/linux-proton.md, the same path as #41. Rename or coordinate; otherwise one will conflict.
No code issue in the two switches.
Author
|
Thanks for the review @ErRusso! Addressed both points in
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
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.