With VICTORY_HOME set, .8 wrote saves to %LOCALAPPDATA% while logs and caches went to VICTORY_HOME - progress appeared lost after updating to .10 #751
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by lucasbnc33-boop on 2026-11-28T04:56:46Z.
Build: v2026.11.27.8 (behaviour observed), v2026.11.27.10 (behaviour differs)
OS: Windows 11, game build 1.0.2.1
setx VICTORY_HOME D:\victory was run, then the machine was rebooted. From then on, logs, shader caches and pipeline caches were correctly written under D:\victory. The saves tree was still written to %LOCALAPPDATA%\victory\data\7952987A\saves.
After updating to .10, the game read saves from VICTORY_HOME and showed the starting state, because the actual progress was on the old path. Nothing was lost on disk, but it looks like a lost save.
.10 writes saves under VICTORY_HOME correctly, so this is .8-specific rather than a current regression.
Expected: data_dir follows VICTORY_HOME like logs and caches, or the split is documented.
Attached: both save trees with timestamps and sizes.
saves-D.txt
saves-C.txt
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Jesper-Andersson on 2026-11-28T05:00:04Z.
Possibly related, via a different path: this report has caches following VICTORY_HOME and only saves not, while here the caches did not follow it, through the launcher script (
play-foxhound.ps1 -Preload), not the .8 path.On trustno1 main
8fc22547(RTX 2070 SUPER 8 GB, Ryzen 7 5800X, 32 GB, Windows 11, driver 621.40, one machine) I ranscripts\play-foxhound.ps1 -SeriesS -Dlss quality -Build diag -Preloadfrom a PowerShell with$env:VICTORY_HOMEset to a separate folder. The preload'svictory warmworkers andvictory preloadwrote warm-done.txt, slow-pipelines.txt, static-samplers.txt and shader cache files to the default%LOCALAPPDATA%\victory\cache. The VICTORY_HOME folder got nothing. Settingcache_dir/data_dirin victory.toml isolated it. I did not check saves.From reading the code (I did not dump the child processes' environment): the script's keep-list (scripts/play-foxhound.ps1:170) has no VICTORY_HOME, and line 171 removes the other VICTORY_* variables. Children would then start without it, and config.rs:154-163 falls back to
%LOCALAPPDATA%(158-163).KEPTin apps/victory/src/play.rs:124 does keep it (#472).Checked with AI assistance (Claude Code).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by lucasbnc33-boop on 2026-11-28T05:02:57Z.
Different path, and the split is the other way round here.
Setup: victory.exe launched directly from PowerShell, never through scripts/play-foxhound.ps1. VICTORY_HOME set with setx, then a reboot, so it was inherited by the launched process.
On .8: logs and caches did follow VICTORY_HOME (D:\victory\logs, D:\victory\cache) - the play logs attached above were read from that path. Saves did not follow it: they were written to %LOCALAPPDATA%\victory\data\7952987A\saves.
On .10: saves follow VICTORY_HOME, so the save side is fixed there.
So your keep-list finding explains your cache case, but data_dir looks independently wrong on .8: cache_dir honoured VICTORY_HOME while data_dir did not, in the same process, with no script involved and the variable present. That points at config.rs resolving the two directories differently rather than at the environment being dropped for children.
Driver 617.14 here, RTX 5080 Laptop, in case it matters.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by kalberts0089-hash on 2026-11-29T09:23:49Z.
@lucasbnc33-boop thanks for the save listings. It isn't config.rs.
cache_diranddata_dirboth fall back to the samedefault_dir, on .8 and on main (crates/victory-core/src/config.rs:107-112, 193). The split came fromvictory playon .8:preparereadshome()first, so the log folder and victory-settings.txt followed VICTORY_HOME.VICTORY_*variable not inKEPT, and on .8KEPThad noVICTORY_HOME(v2026.11.27.8 apps/victory/src/play.rs:116-124).runthen callsConfig::loadin the same process without it, so saves and storage went to%LOCALAPPDATA%\victory\data.ed81cb9e(#472) fixed this in .10. It isn't in .9.By the same code, .8's shader cache should also have gone to C:, so I'd guess the files in
D:\victory\cachecame from .10 or from avictory warmstarted straight from a shell. Their timestamps would tell. I haven't checked that.Your .8 progress is the C: tree (newest file 03:48:30). The D: tree's 05:37-05:43 files are from .10. To restore it, close the game and run:
robocopy exit code 1 means files were copied. This copies
storagetoo, since .8 wrote both to C:.The launcher path Jesper-Andersson found (play-foxhound.ps1 / play.ps1 dropping VICTORY_HOME) is fixed in v2026.11.29.01.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-29T23:07:56Z.
Closing this one: it was reported on v2026.11.28.02 or earlier, and a lot has changed since (crash fixes, memory, shaders, warm-up and speed).
If it still happens on v2026.11.29.05, please open a new issue with the newest play log from
%LOCALAPPDATA%\victory\logs\andcrashes.log, and we'll look at it there.