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!4632
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@tyr0nsur on GitHub · 2026-12-01 00:22 UTC · original
tyr0nsur:claude/set-strips-shell-quotes→main· +35 −2 · 1 files · 1 commits · openRelates to #4393 and #4565.
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 #4393 (RTX 5060) and #4565 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
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.