feat: anyxboxx run --victory-exe runs a prebuilt VIctory under Proton #228
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!228
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/228/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?
@Exorion1er on GitHub · 2026-11-25 19:25 UTC · original
Exorion1er:feat/proton-prebuilt-victory→rust/full· +188 −34 · 10 files · 6 commits · merged 2026-11-25 20:29 UTCChange
Option (a) from #211:
anyxboxx.exe runcan now run under Proton on Linux.There is no cargo inside Proton, so
anyxboxx runused to stop atcannot start cargo: program not found. The new option--victory-exe <path>(alias--VictoryExe) runs avictory.execross-built on the Linux side with--target x86_64-pc-windows-msvcand skips the build. The repository is then not needed. Without the option nothing changes: the repository is located and VIctory is built with cargo, as before.Victory::prebuilt(exe).Victory::build_command()now returnsOption<Command>, which isNonefor a prebuilt exe. A missing exe is an explicit error (victory.exe not found: '…') before anything runs.main.rsintorun(), so it applies only when VIctory has to be built. The message is unchanged.--victory-exeyet, so its Play and Shaders pages still need cargo, which fails under Proton. That is noted in the docs.docs/rust-full-status.mdanddocs/fr/rust-full-status.mdget a Linux (Proton) section:kernelx/d3d12_xslib.exelimit;--victory-exelaunch;anyxboxx runsets the WindowsTUNEDvalues, not thelinux-amdprofile, andVKD3D_CONFIG=descriptor_heaphas to be exported.rust/full(.github/workflows/tests.yml,pull_request: branches: [main, rust/full]). Before this, PRs intorust/fullgot no CI at all. Its first run here found theruntime/build/bincopy failure that you fixed in7bc532b. That fix is merged into this branch, so this PR doesn't touchrust_dlls.cmake.Not done:
VICTORY_DXCinlinux-amd.third_party/victoryonrust/fullnever readsVICTORY_DXC. It only exists in my old fork'svictory-gpu/src/dxc.rs, and the only DXC variable here is the test-onlyVICTORY_PC_DXC. The header ofprofiles.tomlsays every variable is read by VIctory, so adding it would be a silent no-op. If we want DXC under Wine, that's a port of the fork'sdxc.rsintothird_party/victoryfirst, in a separate PR.Verification
Fedora 44, RX 9070 XT (RADV), GE-Proton (Latest), Rust 1.98.1. Everything was cross-built with xwin +
lld-link, and the tests ran through Proton'swineas cargo's runner:NoRepo.tests/test_anyxboxx_run.py: 3 cases next to the existing ones. The fake prebuilt is namedprebuilt.exe, so the log proves which exe ran;cargo.exestays on the PATH, so any build call would show.test_anyxboxx_run.py12/12 (run45688465272).--victory-exe:cannot start cargo: program not found, exit 1 (the bug);run <game>\game_scarlett_master.exe --execute, and its exit code is passed on;victory.exe not found, exit 1.anyxboxx.exe run --no-tuned-settings --victory-exe <cross-built rust/full diag victory.exe>with thelinux-amdvalues exported by hand:--precompilewith a cold cache:shaders.rpf26,503 containers in 125 s (25,635 translated, 254 refused), then the exe and the 2 DLLs (286 refused in all). Then the menu at 30 fps (33.3 ms/frame). Measured from VIctory's log and its window title.VICTORY_KEYSEnter presses. Menu at 30 s, world reached about 3 min after launch, settling at 3.7 fps (272 ms/frame, ~4,000 draws/frame) from VIctory'shoststats line. That is close to the 266 ms median from #199. It covers only about 30 s of settled world before I closed the window, so it's not a long-run measurement.rust/fullunder RADV, not from this change. I haven't compared it with my older local build on the same scene yet.Checklist
anyxboxx runwith a prebuilt VIctory (plus the docs for it).--victory-exe/prebuilt, and the Python cases would log acargocall.45688465272: lint, VIctory policy, pytest 1260 passed, 5 skipped).Made with AI assistance (Claude Code).
🤖 Generated with Claude Code