launcher: read several VICTORY_* overrides typed on one line #138
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ReTerryDavis--ReVIctory!138
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?
@SovietBearz0r on GitHub · 2026-12-05 17:16 UTC · original
SovietBearz0r:launcher-one-line-overrides→main· +75 −1 · 1 files · 1 commits · merged 2026-12-05 17:22 UTCThe launcher's "extra settings" text split only on
;and newlines, so severalVICTORY_NAME=valuesettings typed on one line became one setting with a garbage value (VICTORY_DLSSG=3 VICTORY_DLSSG_DIR="D:\...\dlss5nr"→VICTORY_DLSSG= the whole rest, silently ignored downstream; RDNA3 fork issue #7).Fix
choices::extra()now starts a new setting where a blank is followed by another validVICTORY_<NAME>=, and strips one pair of matching quotes ("/') around a value. Values with blanks such asC:\My Games\...stay whole unless a valid setting name follows. Existing;/newline behaviour is unchanged.Verification
cargo test -p victory --bin victory launcher::choices: 5 passed; full binary tests 121 passed, 1 ignored (new tests cover one-line multiple settings, quoted path with spaces, a single trailing value with blanks,;/newline behaviour, invalid fragments).cargo check -p victory,cargo xtask policy, clippy: clean for the changed file.Source: ReVictory-RDNA3 PR #31.