launcher: reconcile play-foxhound.ps1 defaults with play.rs + derived parity guard (#2323, #1922) #2722

Open
HailLucifer666 wants to merge 2 commits from upstream-pr/2722 into main
HailLucifer666 commented 2026-11-29 16:34:11 +00:00 (Migrated from github.com)

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


Addresses #2323 (launcher desync) and #1922. Draft — stacked on #2718 (fix/launcher-texture-room-default); ready to rebase onto main once #2718 merges.

What it changes

Reconciles the 10 drifted base defaults in scripts/play-foxhound.ps1 against apps/victory/src/play.rs (const SETTINGS) on 829188e9, and adds a derived two-routes-one-answer Pester parity guard (scripts/tests/launcher-parity.Tests.ps1) that parses const SETTINGS directly from play.rs (refusing unparseable lines) and diffs against Resolve-FoxhoundSettings:

  • Unsets VICTORY_AMBIENT_SPECULAR (broken green/purple stand-in reflections).
  • Aligns VICTORY_AMBIENT_AIR=1, VICTORY_BVH_MISS=1, VICTORY_NAN_SCRUB=1, VICTORY_TEXTURE_STAGE_MS=24, VICTORY_TEXTURE_CATCHUP=1, VICTORY_LEVELS_ON_DEMAND=0, VICTORY_POOL_SMALL=0, VICTORY_SAMPLED_MARKS=1, VICTORY_SAMPLED_EVICT=0.
  • Leaves VICTORY_TEXTURE_POOL, VICTORY_WINDOW_KB, VICTORY_WINDOW_TAILS, and explicitly waived VICTORY_RELAY untouched (coordinated with #2334).

Performance note ([Reported] in #2323 T2): On RTX 2060 SUPER 8 GB, matching play.rs's safer visual defaults measured -1.57 fps (11.54 vs 13.11) vs stock play-foxhound.ps1. User overrides ($Menu / -More) retain full precedence if a user opts back into faster/flickering texture switches.

How it was tested

  • Not verified here: Live gameplay A/B run.
  • Red-first [Confirmed]: launcher-parity.Tests.ps1 failed on all 10 drifted keys before the fix.
  • Invoke-Pester -Script .\scripts\tests\play-foxhound.Tests.ps1, .\scripts\tests\launcher-parity.Tests.ps1 → 12 passed, 0 failed.
  • Mutation probes (2026-11-29): (a) drifting VICTORY_TEXTURE_STAGE_MS → 32 (FailedCount=1), (b) re-enabling VICTORY_AMBIENT_SPECULAR='1' (FailedCount=1), both verified red before restore.
  • cargo test passed for the crates it touches: N/A (PowerShell + Pester only).

Checked for overlap

  • Searched open PRs at 829188e9. Stacked on #2718; coordinated with #2334 (does not touch VICTORY_TEXTURE_POOL or VICTORY_WINDOW_KB) and #2443 (--set precedence in play.rs).
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5552761908 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2722). Originally posted by [HailLucifer666](https://github.com/HailLucifer666) on 2026-11-29T16:34:11Z. --- Addresses #2323 (launcher desync) and #1922. **Draft — stacked on #2718 (`fix/launcher-texture-room-default`); ready to rebase onto `main` once #2718 merges.** ## What it changes Reconciles the 10 drifted base defaults in `scripts/play-foxhound.ps1` against `apps/victory/src/play.rs` (`const SETTINGS`) on `829188e9`, and adds a derived two-routes-one-answer Pester parity guard (`scripts/tests/launcher-parity.Tests.ps1`) that parses `const SETTINGS` directly from `play.rs` (refusing unparseable lines) and diffs against `Resolve-FoxhoundSettings`: - Unsets `VICTORY_AMBIENT_SPECULAR` (broken green/purple stand-in reflections). - Aligns `VICTORY_AMBIENT_AIR=1`, `VICTORY_BVH_MISS=1`, `VICTORY_NAN_SCRUB=1`, `VICTORY_TEXTURE_STAGE_MS=24`, `VICTORY_TEXTURE_CATCHUP=1`, `VICTORY_LEVELS_ON_DEMAND=0`, `VICTORY_POOL_SMALL=0`, `VICTORY_SAMPLED_MARKS=1`, `VICTORY_SAMPLED_EVICT=0`. - Leaves `VICTORY_TEXTURE_POOL`, `VICTORY_WINDOW_KB`, `VICTORY_WINDOW_TAILS`, and explicitly waived `VICTORY_RELAY` untouched (coordinated with #2334). > **Performance note (`[Reported]` in #2323 T2):** On RTX 2060 SUPER 8 GB, matching `play.rs`'s safer visual defaults measured `-1.57 fps` (11.54 vs 13.11) vs stock `play-foxhound.ps1`. User overrides (`$Menu` / `-More`) retain full precedence if a user opts back into faster/flickering texture switches. ## How it was tested - **Not verified here:** Live gameplay A/B run. - **Red-first `[Confirmed]`:** `launcher-parity.Tests.ps1` failed on all 10 drifted keys before the fix. - `Invoke-Pester -Script .\scripts\tests\play-foxhound.Tests.ps1, .\scripts\tests\launcher-parity.Tests.ps1` → **12 passed, 0 failed**. - **Mutation probes (2026-11-29):** (a) drifting `VICTORY_TEXTURE_STAGE_MS` → `32` (`FailedCount=1`), (b) re-enabling `VICTORY_AMBIENT_SPECULAR='1'` (`FailedCount=1`), both verified red before restore. - `cargo test` passed for the crates it touches: N/A (PowerShell + Pester only). ## Checked for overlap - [x] Searched open PRs at `829188e9`. Stacked on #2718; coordinated with #2334 (does not touch `VICTORY_TEXTURE_POOL` or `VICTORY_WINDOW_KB`) and #2443 (`--set` precedence in `play.rs`).
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/2722:upstream-pr/2722'
git switch 'upstream-pr/2722'

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