Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4631"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tyr0nsur on 2026-12-01T00:22:47Z.
Relates to #4392 and #4564.
What it changes
A launcher that starts
victory.exewithout a shell passes--set 'VICTORY_X=1'with the quotes still on. Split as it came, the switch was named'VICTORY_Xand its value was1'. Windows set a variable no code reads, and the switch did nothing. The play logs of #4392 (RTX 5060) and #4564 carry some sixty switches each that way, all of them ignored, from'VICTORY_TEXTURE_DROP_MIPS=2'and'VICTORY_NULL_COLOR=grey'to'VICTORY_AMBIENT=0.8':F1's restart goes through PowerShell, which takes the quotes off, so this comes from the launchers people use, not fromvictory.exeitself.unquoted()takes off one matching pair of'or"around the whole entry before it is split. Quotes inside an entry (a path's) and an unmatched quote are left as they are.restart_argsquotes the cleaned entry once, so a restart from F1 doesn't carry the stray pair either.How it was tested
set_entries_lose_the_quotes_no_shell_took_off: single- and double-quoted entries are set under their own names, a path's quotes are kept, an unmatched quote is left alone, and the restart line quotes the entry once.cargo test -p victory --locked: 92 + 1 + 2 passed.cargo clippy -p victory --all-targets, with and without--all-features,-D warnings: clean.Checked for overlap
playalso names switches no code reads). It would not have caught these, since a name starting with a quote isn't aVICTORY_name, so this fixes the cause instead.🤖 Generated with Claude Code
View 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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.