play-foxhound.ps1: victory.exe's NVIDIA and AMD files are found too #1558

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

@⁠Amar-D3V on GitHub · 2026-11-28 21:43 UTC · original
Amar-D3V:fix/script-finds-victory-exe-sdk → main · +16 −3 · 1 files · 1 commits · merged 2026-11-29 08:16 UTC

Related: #774 (follows VICTORY_HOME in the scripts; same file, no overlap in what it changes)

What it changes

scripts\play-nvidia.ps1 (play-foxhound.ps1) looked for NVIDIA's files only in this repository's nvidia-sdk\Streamline\bin\x64, where Get-NVIDIA-DLSS.cmd puts them, and for AMD's FSR 3 files only in amd-sdk\FidelityFX\bin. On a PC set up with victory.exe, they are under VICTORY_HOME, else %LOCALAPPDATA%\victory (nvidia-sdk\Streamline\bin\x64 and amd-fidelityfx, as play.rs's nvidia_home and amd_home name them). There the script started without DLSS and frame generation, and said so only in its console window, which is easy to miss behind the game.

Those two folders are now looked in after the repository's own, so a repository's files still come first, and VICTORY_STREAMLINE_DIR and VICTORY_FIDELITYFX_DIR still win over both. When neither has the files, the message and the path it names are as before.

How it was tested

  • GPU and profile: RTX 5070 Ti 16 GB, Windows 11 26300. NVIDIA's files only under %LOCALAPPDATA%\victory\nvidia-sdk (fetched by victory.exe), none in the repository. Series X, 2560x1440, -Dlss quality (the default).
  • Before: six script starts in a row ran with VICTORY_MENU_DLSS=off and no VICTORY_DLSS in the log's first line; it took a look at the log header to notice.
  • After: with this change the lookup finds %LOCALAPPDATA%\victory\nvidia-sdk\Streamline\bin\x64. With VICTORY_STREAMLINE_DIR set to that folder by hand (the same result), the start had VICTORY_DLSS=1 VICTORY_DLSS_MODE=quality, and Streamline loaded from there.
  • The script parses ([System.Management.Automation.Language.Parser]::ParseFile, no errors).
  • For shader changes: none. cargo test: not affected (a script only).

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #774, #1495 and #758 (also play-foxhound.ps1: VICTORY_HOME and other paths kept, -NoMenu), #873 (DLSS files on Linux), #617 (F1 when Streamline is not there). None of them looks in victory.exe's folders.
**@⁠Amar-D3V** on GitHub · 2026-11-28 21:43 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1558) `Amar-D3V:fix/script-finds-victory-exe-sdk` → `main` · +16 −3 · 1 files · 1 commits · merged 2026-11-29 08:16 UTC Related: #774 (follows VICTORY_HOME in the scripts; same file, no overlap in what it changes) ## What it changes `scripts\play-nvidia.ps1` (`play-foxhound.ps1`) looked for NVIDIA's files only in this repository's `nvidia-sdk\Streamline\bin\x64`, where `Get-NVIDIA-DLSS.cmd` puts them, and for AMD's FSR 3 files only in `amd-sdk\FidelityFX\bin`. On a PC set up with `victory.exe`, they are under `VICTORY_HOME`, else `%LOCALAPPDATA%\victory` (`nvidia-sdk\Streamline\bin\x64` and `amd-fidelityfx`, as `play.rs`'s `nvidia_home` and `amd_home` name them). There the script started without DLSS and frame generation, and said so only in its console window, which is easy to miss behind the game. Those two folders are now looked in after the repository's own, so a repository's files still come first, and `VICTORY_STREAMLINE_DIR` and `VICTORY_FIDELITYFX_DIR` still win over both. When neither has the files, the message and the path it names are as before. ## How it was tested - GPU and profile: RTX 5070 Ti 16 GB, Windows 11 26300. NVIDIA's files only under `%LOCALAPPDATA%\victory\nvidia-sdk` (fetched by `victory.exe`), none in the repository. Series X, 2560x1440, `-Dlss quality` (the default). - Before: six script starts in a row ran with `VICTORY_MENU_DLSS=off` and no `VICTORY_DLSS` in the log's first line; it took a look at the log header to notice. - After: with this change the lookup finds `%LOCALAPPDATA%\victory\nvidia-sdk\Streamline\bin\x64`. With `VICTORY_STREAMLINE_DIR` set to that folder by hand (the same result), the start had `VICTORY_DLSS=1 VICTORY_DLSS_MODE=quality`, and Streamline loaded from there. - The script parses (`[System.Management.Automation.Language.Parser]::ParseFile`, no errors). - For shader changes: none. `cargo test`: not affected (a script only). ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #774, #1495 and #758 (also `play-foxhound.ps1`: VICTORY_HOME and other paths kept, `-NoMenu`), #873 (DLSS files on Linux), #617 (F1 when Streamline is not there). None of them looks in victory.exe's folders.
The script looked for NVIDIA's files only in this repository's nvidia-sdk
(Get-NVIDIA-DLSS.cmd's), and for AMD's only in its amd-sdk. On a PC set up
with victory.exe they are under VICTORY_HOME, else %LOCALAPPDATA%\victory
(nvidia-sdk\Streamline\bin\x64, amd-fidelityfx), and the script ran without
DLSS, saying so only in its window: an RTX 5070 Ti had six measured runs
with the title's own upscaling instead of DLSS Quality (2026-11-28). Those
folders are now looked in after the repository's own, which keep the first
word; VICTORY_STREAMLINE_DIR and VICTORY_FIDELITYFX_DIR still win.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 21:48:36 +00:00
github manually merged commit f0b40bb026 into main 2026-11-29 08:22:00 +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!1558
No description provided.