Report diagnostic settings discarded by play.ps1 #137
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!137
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-137"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@feanorsun on GitHub · 2026-11-26 06:47 UTC · original
feanorsun:fix/report-discarded-launcher-settings→main· +8 −1 · 1 files · 1 commits · merged 2026-11-26 08:17 UTCRefs #25 (item 2)
When
play.ps1clears a diagnostic switch set in PowerShell, the user can now see which inherited value was dropped and how to pass it explicitly with-More. The launcher compares the settings it cleared with the final process environment, skips explicit-Moreentries, and prints one sorted list of names. Values are kept out of the message.Verified on Windows using temporary copies of the upstream and updated scripts. Each case ran in a fresh
powershell.exe -NoProfileprocess with two zero-byte executable placeholders. The wrapper captured the environment and threw a marker at the finalPush-Location, before the launcher could execute the binary.VICTORY_GPU_TIMINGandVICTORY_DESC_WHYVICTORY_DESC_WHYfollowed byVICTORY_GPU_TIMING, each once, with the-Morehint and no test values.VICTORY_CACHE_DIRandVICTORY_GPU_TIMING, with a different timing value supplied via-MoreAdditional cases covered all four preserved paths, matching and differing preset values (including a difference in letter case alone), and mixed-case variable names. All nine cases reached the checkpoint exactly once on each revision.
@avatarmanz on GitHub · 2026-11-26 07:54 UTC · original
Merged into main in the next push (tests pass); thanks.