Launchers keep VICTORY_HOME, VICTORY_ADAPTER and VICTORY_LOG (#751) #758

Merged
Adamit0 merged 1 commit from upstream-pr/758 into main 2026-11-29 08:16:58 +00:00
Adamit0 commented 2026-11-28 05:11:21 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Adamit0 on 2026-11-28T05:11:21Z.


scripts/play-foxhound.ps1 and scripts/play.ps1 remove every VICTORY_* variable not on their keep-list before starting victory.exe. VICTORY_HOME was not on it, so with VICTORY_HOME set, a run from the scripts (and its warm-up and preload children) wrote caches and saves to %LOCALAPPDATA%, as found by Jesper-Andersson in #751 (play-foxhound.ps1:170-171). VICTORY_ADAPTER and VICTORY_LOG were dropped the same way.

The keep-lists now hold the same names as KEPT in apps/victory/src/play.rs, which already keeps them for victory.exe (#472).

Scope: this covers the script path only. The .8 case in the original report (victory.exe launched directly, saves not following VICTORY_HOME) is a different path and the reporter says .10 already fixes it.

Testing: not run on Windows. Written on Linux without the title or a GPU, so the change was only checked by reading: the diff touches the two keep-lists and a comment. A check from someone with VICTORY_HOME set and play-foxhound.ps1 -Preload would confirm it (caches and saves should land under VICTORY_HOME).

Prepared with AI assistance (Claude Code).

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5536930139 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/758). Originally posted by [Adamit0](https://github.com/Adamit0) on 2026-11-28T05:11:21Z. --- `scripts/play-foxhound.ps1` and `scripts/play.ps1` remove every `VICTORY_*` variable not on their keep-list before starting `victory.exe`. `VICTORY_HOME` was not on it, so with `VICTORY_HOME` set, a run from the scripts (and its warm-up and preload children) wrote caches and saves to `%LOCALAPPDATA%`, as found by Jesper-Andersson in #751 (`play-foxhound.ps1:170-171`). `VICTORY_ADAPTER` and `VICTORY_LOG` were dropped the same way. The keep-lists now hold the same names as `KEPT` in `apps/victory/src/play.rs`, which already keeps them for `victory.exe` (#472). **Scope:** this covers the script path only. The `.8` case in the original report (`victory.exe` launched directly, saves not following `VICTORY_HOME`) is a different path and the reporter says `.10` already fixes it. **Testing:** not run on Windows. Written on Linux without the title or a GPU, so the change was only checked by reading: the diff touches the two keep-lists and a comment. A check from someone with `VICTORY_HOME` set and `play-foxhound.ps1 -Preload` would confirm it (caches and saves should land under `VICTORY_HOME`). Prepared with AI assistance (Claude Code).
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!758
No description provided.