launcher: read several overrides typed on one line #31
No reviewers
Labels
No labels
accessibility
amd
bug
crash
device-removed
documentation
duplicate
enhancement
feature-request
good first issue
help wanted
input
invalid
launcher
memory
needs-logs
nvidia
off-topic
performance
question
shaders
stutter
visuals
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/VGLALALA--ReVictory-RDNA3!31
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-31"
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?
@Kal0s-design on GitHub · 2026-12-05 15:31 UTC · original
Kal0s-design:fix/overrides-parsing→main· +57 −1 · 1 files · 1 commits · merged 2026-12-05 18:19 UTCIn #7 the overrides were typed on one line,
VICTORY_DLSSG=3 VICTORY_DLSSG_DIR="D:\...\dlss5nr". extra() splits only on ; and new lines, so VICTORY_DLSSG got the whole rest of the line as its value. dlssg.rs then fails to parse it as a number and quietly treats it as 0, so FSR FG kept running, and VICTORY_DLSSG_DIR was never set. The quotes around the path would have been kept as part of it too.extra() now also starts a new setting where a blank is followed by another VICTORY_NAME=, and it takes off one pair of matching quotes around a value. A value with blanks in it, such as a path under "My Games", stays whole, because it is only cut before something that is a valid setting name followed by =. Lone or mismatched quotes are left as typed. Everything already accepted is read the same way as before, and the existing test still passes unchanged.
The new test covers the line from #7, a path with blanks, a quoted value with blanks, mismatched quotes, and a blank before something that is not a setting name. cargo test -p victory --bin victory launcher::choices passes with 4 tests. Clippy reports nothing in choices.rs. A workspace clippy run with -D warnings stops earlier on lints that are already on main, in victory-dxil, dlssg.rs and neural.rs, and #25 touches those.
AI-assisted: yes
🤖 Generated with Claude Code