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

Manually merged
github merged 1 commit from github-bot/gh-758 into main 2026-11-29 08:22:03 +00:00 AGit
Owner

@⁠Adamit0 on GitHub · 2026-11-28 05:11 UTC · original
Adamit0:fix/launcher-keep-victory-home → main · +4 −3 · 2 files · 1 commits · merged 2026-11-29 08:16 UTC

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).

**@⁠Adamit0** on GitHub · 2026-11-28 05:11 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/758) `Adamit0:fix/launcher-keep-victory-home` → `main` · +4 −3 · 2 files · 1 commits · merged 2026-11-29 08:16 UTC `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).
scripts/play-foxhound.ps1 and scripts/play.ps1 clear every VICTORY_*
variable not on their keep-list before starting victory.exe. VICTORY_HOME
was not on it, so a run from the scripts (and the warm-up and preload
children it starts) wrote caches and saves to %LOCALAPPDATA% with
VICTORY_HOME set, as reported in #751. VICTORY_ADAPTER (the card chosen by
name) and VICTORY_LOG (the log filter) were dropped the same way.

The keep-lists now hold the same names as KEPT in apps/victory/src/play.rs,
which already keeps these three for victory.exe (#472).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 05:13:56 +00:00
github manually merged commit 6da585516a into main 2026-11-29 08:22:03 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

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