Warn on saved F1 menu CLI overrides and add --ignore-menu / --reset-settings #4797
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!4797
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4796"
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?
@YounesAH15 on GitHub · 2026-12-01 09:05 UTC · original
YounesAH15:ux/cli-override-guard→main· +115 −1 · 1 files · 2 commits · openWhat it changes
Saved F1 menu settings in
%LOCALAPPDATA%\victory\victory-settings.txtsilently override CLI flags passed tovictory play(such as--series-s,--dlss,--fg-type,--framegen,--fps). This adds:menu_override_warnings) listing any CLI options overridden byvictory-settings.txtand pointing to--ignore-menu/--reset-settings.--ignore-menuto skipvictory-settings.txtfor a single run (also preserved inrestart_args).--reset-settingsto deletevictory-settings.txtbefore starting.How it was tested
--ignore-menuin game onmy-play).victory-settings.txtsilently forced--fps 1000/ Series X over CLI flags without any console notice.--ignore-menuskips the saved file cleanly without deleting it.cargo testpassed for the crates it touches: yes — rebased ontoorigin/main5fabb46eat commit9eee54f9:cargo test -p victory --locked: 95 passed, 0 failed (92 unit includingmenu_override_warnings_detects_overridden_cli_options, 1cache_paths, 2census).cargo clippy -p victory --no-deps --all-targets --locked -- -D warnings: passed cleanly (0 errors, 0 warnings). (Note: fullcargo clippy -p victory --all-targets --locked -- -D warningsfails identically onorigin/main5fabb46edue to 5 pre-existing findings incrates/victory-gpu/src/host/{font.rs, menu.rs, panel.rs}, addressed in #4680 / #4708.)Checked for overlap
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 09:38 UTC · original
The override message can diverge from the launch settings. On
9eee54f:--framegen 4with a saved legacyVICTORY_MENU_FRAMEGEN=1still launches at 4×. The notice reports4x -> 2x.VICTORY_MENU_S_RES=360saved launches at Ultra Performance. The notice reports no DLSS override.Proposed commit compares the requested settings and the launch plan using the same resolver. The exact Windows comparison drops the first notice and reports
dlss (performance -> ultraperformance)for the second. An actual override to frame generation off and 30 FPS still produces both notices. The patch also covers these two inputs in the existing warning test.cargo check --locked -p victory --bin victory --jobs 2passed. No game run.Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.@YounesAH15 on GitHub · 2026-12-01 11:14 UTC · original
Thank you @andrewpozdnakov7-jpg for catching both edge cases!
Cherry-picked your commit (
andrewpozdnakov7-jpg/VIctory-NVIDIA@4a27f0ab) ontoux/cli-override-guardat63ab53db, retaining your Git authorship.Verified on
63ab53db:cargo test -p victory --locked: 95 passed, 0 failed (92unit including updatedmenu_override_warnings_detects_overridden_cli_options,1cache_paths,2census).cargo clippy -p victory --no-deps --all-targets --locked -- -D warnings: passed with 0 warnings/errors.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.