launcher: default non-FG texture room to 86% of DXGI budget (#1578) #2718

Open
HailLucifer666 wants to merge 1 commit from upstream-pr/2718 into main
HailLucifer666 commented 2026-11-29 16:33:09 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by HailLucifer666 on 2026-11-29T16:33:09Z.


Fixes #1578

What it changes

scripts/play-foxhound.ps1 previously set VICTORY_TEXTURE_ROOM_PERCENT only inside the DLSS and AMD FSR 3 Frame Generation blocks (74% for >2x DLSS FG, 80% for 2x DLSS/FSR FG, 86% for FG-ready-off), leaving non-FG launches unset so the runtime defaulted to 92.8% of the OS-reported DXGI budget.

  • Extracts side-effect-free Resolve-FoxhoundSettings for unit testing.
  • Applies an 86% fallback after both DLSS and FSR FG blocks (so active 74%/80% FG caps keep precedence, without setting VICTORY_FRAMEGEN_ROOM_RESERVE) and before saved victory-settings.txt ($Menu) and -More overrides.
  • Adds scripts/tests/play-foxhound.Tests.ps1 covering non-FG, DLSS 2x/4x FG, FG-ready-off, FSR 3 FG, $Menu, and -More precedence.

How it was tested

  • Not verified here: Live 12 GB card gameplay run (unit-tested against Resolve-FoxhoundSettings).
  • Invoke-Pester -Script .\scripts\tests\play-foxhound.Tests.ps1 → 9 passed, 0 failed on 829188e9.
  • Mutation probes (2026-11-29): (a) removing fallback and (b) moving fallback before the FSR block both confirmed red before restore.
  • cargo test passed for the crates it touches: N/A (PowerShell script + Pester tests only).

Checked for overlap

  • Searched open PRs on trustno1-coder/VIctory-NVIDIA at 829188e9 for #1578 / VICTORY_TEXTURE_ROOM_PERCENT. Related: #2334 (touches play-foxhound.ps1, different switches).
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5552752510 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2718). Originally posted by [HailLucifer666](https://github.com/HailLucifer666) on 2026-11-29T16:33:09Z. --- Fixes #1578 ## What it changes `scripts/play-foxhound.ps1` previously set `VICTORY_TEXTURE_ROOM_PERCENT` only inside the DLSS and AMD FSR 3 Frame Generation blocks (74% for >2x DLSS FG, 80% for 2x DLSS/FSR FG, 86% for FG-ready-off), leaving non-FG launches unset so the runtime defaulted to 92.8% of the OS-reported DXGI budget. - Extracts side-effect-free `Resolve-FoxhoundSettings` for unit testing. - Applies an `86%` fallback **after** both DLSS and FSR FG blocks (so active 74%/80% FG caps keep precedence, without setting `VICTORY_FRAMEGEN_ROOM_RESERVE`) and **before** saved `victory-settings.txt` (`$Menu`) and `-More` overrides. - Adds `scripts/tests/play-foxhound.Tests.ps1` covering non-FG, DLSS 2x/4x FG, FG-ready-off, FSR 3 FG, `$Menu`, and `-More` precedence. ## How it was tested - **Not verified here:** Live 12 GB card gameplay run (unit-tested against `Resolve-FoxhoundSettings`). - `Invoke-Pester -Script .\scripts\tests\play-foxhound.Tests.ps1` → **9 passed, 0 failed** on `829188e9`. - **Mutation probes (2026-11-29):** (a) removing fallback and (b) moving fallback before the FSR block both confirmed red before restore. - `cargo test` passed for the crates it touches: N/A (PowerShell script + Pester tests only). ## Checked for overlap - [x] Searched open PRs on `trustno1-coder/VIctory-NVIDIA` at `829188e9` for `#1578` / `VICTORY_TEXTURE_ROOM_PERCENT`. Related: #2334 (touches `play-foxhound.ps1`, different switches).
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2718:upstream-pr/2718'
git switch 'upstream-pr/2718'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2718'
git switch 'upstream-pr/2718'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2718'
git switch 'upstream-pr/2718'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2718'
git switch 'main'
git merge --squash 'upstream-pr/2718'
git switch 'main'
git merge --ff-only 'upstream-pr/2718'
git switch 'main'
git merge 'upstream-pr/2718'
git push origin 'main'
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!2718
No description provided.