Preserve VICTORY_HOME across play and preload #510
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/trustno1-coder--VIctory-NVIDIA!510
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-510"
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?
@ghptc on GitHub · 2026-11-27 23:48 UTC · original
ghptc:fix/victory-home-cache-paths→main· +100 −24 · 9 files · 2 commits · openFixes #472
Related to #491
victory playopened its log underVICTORY_HOME, then cleared the variable while resetting inherited rendering switches. The preload child and the runtime subsequently selected the default cache and data roots. The PowerShell launchers also cleared the variable, and the Pareto launcher explicitly selected a cache under LocalAppData.Preserve the home override through play and preload. Use it for Foxhound settings and logs and for the Pareto cache default. The frame-generation wrapper now backs up the data directory reported by
victory config, including TOML and per-directory overrides. Existing saves and caches stay in place.Reproduction and validation
With LocalAppData on C: and a previously nonexistent Unicode home on E:, a locally compiled synthetic title produced the following results. Both runs exited successfully.
victory configcache path and play logcache/pipelines/warm-done.txtand the translated imageAn empty executable also reproduces the cache write without game assets. Run
victory play empty.exe --series-s --dlss off --no-framegen-ready --preloadwith a fresh home. Preload writes the marker before the launcher rejects the empty image.a4d05e7, all 28 Windows CLI and integration tests passed under Proton Experimental, including the upstream restart-options test. All 26 native Linux tests passed acrossvictory-core,victory-pipelineandxtask.diagnosticsconfigurations passedcargo check --locked -p victory --all-targets --target x86_64-pc-windows-msvc.Local runtime validation used an RTX 5070, Proton Experimental
experimental-11.0-20261123band PowerShell 7.7.0 for Windows. Native Windows launcher behavior and Windows PowerShell 5.1 remain unverified locally. The fix covers VIctory-managed storage. GPU-driver and third-party SDK cache relocation was neither changed nor verified.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.