fix: keep VIctory persistent data outside the cache #322
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!322
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-322"
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 03:00 UTC · original
mauroalvare:codex/victory-data-outside-cache→main· +100 −3 · 5 files · 1 commits · openChange
Through the launcher,
-Overridecan setVICTORY_DATA_DIRat or below the cache directory selected byvictory.toml. Neptune then creates the title's persistent storage inside a directory intended for disposable caches. Clearing the cache can remove saves as well.Validate the paths in
Config::loadafter applying TOML and environment precedence. Resolve existing ancestors and compare path components, including case aliases on Windows. The diagnostic names the two paths and the setting that can move the data directory outside the cache.This ports dereoalex's change and adds native Windows verification through the AnyXboxX launcher. The source and coauthor are recorded in the commit and
THIRD_PARTY.md. Marvisak/VIctory #1789Verification
Base
c4c93bdc413191a9dc909998d2d53080a3f0c880, head824ca09. Windows PowerShell 5.1, Rust 1.98.1 MSVC and Python 3.13.15.CachÉ, override datacaché\saves, with-Warm-Warmcacheandcache-saves, with-WarmThe full pytest suite ran on the RTX 5070 Ti with driver 621.40 and also ran its explicit WARP cases. C++ runtime, Rust bridge and TomBox binaries were reused from identical source trees and submodule commit.
Oracle and test data
The end-to-end smoke used the real PowerShell launcher, a prebuilt Neptune CLI from
cargo build --locked -p victory, and a temporary Cargo stub that reused that binary. A synthetic title fromtests/pe_builder.pyreturns zero. A temporary TOML file supplies the cache and a safe default data path.-OverridesetsVICTORY_CONFIGand replacesVICTORY_DATA_DIRfor each case. The smoke checks exit status and whether the cache and title storage directories exist before cleanup.Investigation, porting and verification were assisted by OpenAI Codex.
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.