Launcher: F1, -More and -Set names with an I in them apply on Turkish Windows too #3351
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3351
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3351"
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?
@Lyrnc on GitHub · 2026-11-29 22:09 UTC · original
Lyrnc:fix/turkish-i-settings→main· +29 −10 · 4 files · 2 commits · openNo issue filed.
What it changes
What was wrong. On Turkish Windows (culture tr-TR) the desktop launcher skipped every saved F1 setting with an
IafterVICTORY_, and said nothing:VICTORY_WATER_LIGHT,VICTORY_FPS_LINE,VICTORY_AMBIENT,VICTORY_PIPELINE_WORKERSand more. WithVICTORY_WATER_LIGHT=0lost, for example, the water's tiled light kept running and left dark tiles on open water.PowerShell's
-match,-split,-replaceandSelect-Stringignore case by the system's culture. In tr-TR the lower case ofIis the dotlessı, which is not in[a-z], so'I' -match '[A-Z]'is False there. Checked with Windows PowerShell 5.1 andCurrentCulture = 'tr-TR':The same pattern was in four places:
play-foxhound.ps1: readingvictory-settings.txt, the F1 menu's file.play-foxhound.ps1:-More NAME=VALUEpairs (Steam's launch options), split and matched.play-rig.ps1:-Set NAME=VALUEpairs.bench.ps1:Hide-Pathsmissed a driveI:.apps/victory/src/play.rsreads the same file with ASCII-only comparisons and is not affected.bench.ps1's own settings checks already use-cmatch, and no other[A-Z]class in the scripts is matched with the case ignored.What this does.
-cmatch. The menu writes the names in upper case.-Moreand-Set:[regex]::Splitand[regex]::MatchwithIgnoreCase, CultureInvariant. Names typed in lower case still work, as they did with-match.Hide-Paths:-creplace(its class is already[A-Za-z]).play-rig.Tests.ps1: a-Checkrun under tr-TR, withVICTORY_AMBIENTand a lower-case name. A small wrapper sets the culture and hands the arguments on.Credit: the first commit (
b5efce87, the F1 settings file) is cansevenhalim0-ui's, from another fork, with their authorship kept. The second (66f088de) carries the same fix to-More,-SetandHide-Paths.Rebased onto main
7995b81b(both commits unchanged; none of the four scripts has changed on main since829188e9).How it was tested
VICTORY_WATER_LIGHT=0,VICTORY_MENU_DLSS=qualityandVICTORY_FPS_LINE=1, and-More 'VICTORY_AMBIENT=0.5,VICTORY_LEAVE_OUT=aa,bb,victory_pipeline_workers=4'. The menu kept onlyVICTORY_MENU_DLSS.-MoreprintedIgnoring -More "VICTORY_AMBIENT=0.5"and glued the lower-case pair ontoVICTORY_LEAVE_OUT.VICTORY_AMBIENT=0.5,VICTORY_LEAVE_OUT=aa,bbandvictory_pipeline_workers=4.Invoke-Pester .\scripts\tests(Pester 3.4, Windows PowerShell 5.1, en-US host), on66f088de(rebased onto main7995b81b): 13 passed, 1 failed. The new tr-TR-Checktest ("takes -Set names with an I in them on Turkish Windows too, and in lower case") passes. The one failure, "records the run with its memory columns, keeping older rows" (Expected: {} to match the expression {^cores=(layer|pcores)$}), fails the same way on main7995b81bwithout this change (12 passed, 1 failed). #2824 explains it: on a CPU with one kind of core (a Ryzen 7 9800X3D here),-Try corespicks no variant.victory.exeruns on the PC at the same time (the watcher latches onto it and never sees the stand-in's end). The run above had no othervictory.exe.cargo testpassed for the crates it touches: not applicable (PowerShell only).Checked for overlap
play-foxhound.ps1. Related:play-rig.ps1's thread toInvariantCulturefor decimal commas. That would also cover the-Setpart here, but notplay-foxhound.ps1orbench.ps1. Different lines; the two go together.play-foxhound.ps1elsewhere (settings persistence, defaults). #2722 moves the-Moreparsing intoResolve-FoxhoundSettingswith the same-splitand-match, so it conflicts with the-Morehunk here; whichever lands second should carry theCultureInvariantform over.AI use
Claude Code (Claude Opus 5.5) found the other three places, made the second commit, ran the tr-TR checks and the Pester suite, and wrote this description. The first commit is cansevenhalim0-ui's.
🤖 Generated with Claude Code
play-foxhound.ps1 read victory-settings.txt with -match, which compares case-insensitively by the system's culture. On Turkish Windows (tr-TR) a capital I does not match [A-Z] that way ('I' -match '[A-Z]' is False), so every saved setting with an I after VICTORY_ was skipped without a word: VICTORY_WATER_LIGHT=0 among them, so the water's tiled light kept running and left dark tiles on open water. -cmatch compares case-sensitively; the names are upper case. Co-Authored-By: Claude Opus 5.5 <[email protected]>66f088de68to6983a6838b6983a6838bto260b400497View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.