fix: apply VIctory launch overrides last #294
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!294
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-294"
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?
@mauroalvare on GitHub · 2026-11-26 01:42 UTC · original
mauroalvare:fix/launcher-env-and-flags→main· +62 −27 · 5 files · 5 commits · openChange
Apply
--override KEY=VALUEinanyxboxx runafter the profile, dedicated switches, and XG settings. An empty value removes the variable from the VIctory child environment, including a value inherited from the caller. Warm and run use the same environment. The launcher validates the XG path and game executable before starting Cargo.Release builds already honor
VICTORY_SKIP_PIPELINESthrough #384. This PR verifies that--skip-pipelinesby itself uses release. The combined warm and precompile input validation is in #296. The two branches were checked for a clean merge.Refs #299.
Verification
Rebased on
c41c224.cargo build --locked --offline -j 5 --release -p anyxboxxpassed.python -m pytest -q -rs tests/test_lanceur_victory.py tests/test_anyxboxx_run.pypassed all 31 tests with the release launcher.python -m ruff check --select W605,F,E9 PrototypeScarlett tests toolspassed.The end-to-end tests use synthetic Cargo and VIctory executables and record the environment each child receives.
AI assistance from Antigravity on the original change and OpenAI Codex on the rebase and verification.
@IxMxAMAR on GitHub · 2026-11-26 01:57 UTC · original
Avec ce changement,
-SkipPipelinesconstruit la builddiagnostics, qui exporteD3D12SDKVersion(620) et cherche.\D3D12\à côté de l'exe. Sans ce dossier, sur mon PC (Windows 11 25H2, RX 9070 XT), cette build n'a pas de périphérique hôte (0x887E0003, point 2 de #299) : la liste de saut n'y marche qu'avec une builddiagnosticssans ces deux exports.@mauroalvare on GitHub · 2026-11-26 02:09 UTC · original
Good catch, thanks @IxMxAMAR!
Updated in
4b8a5d0:-SkipPipelinesimplying-Diagintools/lancer_victory.ps1, so-SkipPipelinesstays on the default--releasebuild (avoiding thediagnosticsbuild'sD3D12SDKVersion=620/.\D3D12\0x887E0003issue from #299 and keeping release performance).VICTORY_SKIP_PIPELINESin non-diagnostics(release) builds invictory-gpu(pipeline.rsanddraw.rs), and also added the check topipeline/make.rs::left_outso listed shaders are never handed to the host driver compiler at all (early,warm,ready, ornow). WhenVICTORY_SKIP_PIPELINESis unset,hashes.is_empty()short-circuits immediately.Verified locally on Windows x64 / RTX 5070 Ti:
cargo test --locked -p victory-gpu pipeline(without--features diagnostics): 18 passed, 0 failedcargo check --locked -p victory&--features diagnostics: OKcargo xtask policy:asset policy: 200 files okpytest tests/test_lanceur_victory.py tests/test_readme_sync.py -v: 38 passed, 1 skippedruff check --select W605,F,E9 PrototypeScarlett tests tools:All checks passed!@LooperSalty on GitHub · 2026-11-26 10:37 UTC · original
Review notes (diff read, nothing run):
victory-gpuchange (VICTORY_SKIP_PIPELINESno longer gated behinddiagnostics, newskipped_shaderscheck inpipeline/make.rs) from thetools/lancer_victory.ps1changes.tools/lancer_victory.ps1(both rewrite the-Warm/-Precompileblock;git merge-treereports a content conflict). Rebase on whichever merges first and keep the single deduplicatedwarmcall of #296; the existing test expecting twovictory warmcalls in the-Warm -Precompilecase must change accordingly.The tests for the env restore and for -Override look right (they fail on base as described). CI has not run yet (no checks reported).
🤖 Generated with Claude Code
@LooperSalty on GitHub · 2026-11-26 14:01 UTC · original
This PR now conflicts with main in
tests/test_lanceur_victory.py(other launcher PRs changed the same test module). Please rebase on main, keep the tests of both sides, runpython -m pytest tests/test_lanceur_victory.pyand force-push your branch.🤖 Generated with Claude Code
fix(launcher,victory-gpu): isolate VICTORY_* env, apply -Override last, enable VICTORY_SKIP_PIPELINES in release, and fail fastto fix: apply VIctory launch overrides last4b8a5d0651to7383fa616c@mauroalvare on GitHub · 2026-11-26 18:25 UTC · original
I rebased the remaining launcher changes onto
anyxboxx run. Explicit overrides now apply after the dedicated switches, empty values remove variables from the child environment, and an invalid XG path stops the launch before Cargo starts.Release pipeline skipping is covered by #384, and the revised launcher test verifies that
--skip-pipelinesalone selects release. #296 carries the single deduplicated warm call and its up-front input checks. I verified that the branches merge cleanly and that all 31 launcher tests pass.The latest CI run passed.
7383fa616cto3a37312f843a37312f84tof228a5dbfb@mauroalvare on GitHub · 2026-11-27 00:49 UTC · original
Updated this branch after #464. Both warm paths still run Vice-Tay's argument-free
victory warm. Explicit overrides apply after the profile and launch switches, including removal of inherited values. The Rust launch tests and all 27 CLI integration tests passed locally.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.