F1 menu: collapsible sections, DEFAULT column from play's own defaults; F3: SCENE/OUTPUT rows and readable graphs #4764

Open
freyandere wants to merge 6 commits from upstream-pr/4764 into main
freyandere commented 2026-12-01 06:17:36 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by freyandere on 2026-12-01T06:17:36Z.


Depends on #4711 (built on its v3, 693ebb36). Draft until #4711 merges; I'll rebase onto main then.

What it changes

F1 settings menu (on top of #4711's categories):

  • Sections fold and unfold with Space (Enter on a folded header opens it). Which ones are folded is saved in victory-settings.txt (VICTORY_MENU_COLLAPSED, by section name) and kept between runs. PERFORMANCE & COMPATIBILITY starts folded; RESET restores that.
  • Regrouped: FRAME GEN MODS (MFG Unlocker, Force 3X on RTX 40) right under DLSS & FRAME GENERATION; RAY TRACING as its own section after LIGHTING & IMAGE; SHADERS (preload, clear) and SAVES (export, import) split out of ACTIONS.
  • A DEFAULT column shows each setting's value when nothing is saved. To address #4711's note on accurate defaults: play now exports its own baseline (its table, the launcher's options and --set, before the saved menu values) as VICTORY_MENU_DEFAULTS, and the menu shows exactly that. Started without play (victory run), the column stays empty instead of guessing.
  • NEUTRAL PROBE LIGHT showed "NOT SET" when unset (its default since the change to OFF); it now shows OFF.

F3 stats panel:

  • SCENE and OUTPUT rows under DLSS (the scene and picture sizes the panel showed before #4634).
  • Graph labels sit in their own column instead of over the bars; the FPS graph's scale is shown as "MAX N" in the FPS row; the 2-minute history spans the full graph width (at 4K the left part stayed empty).

How it was tested

  • GPU and profile: RTX 4090, Series X, 3840x2160 output, DLSS Quality, frame generation off, ray tracing off.
  • Before: #4711 v3 as it is.
  • After: folding and unfolding with keyboard, folded state kept after a restart, DEFAULT column placed correctly, regrouped sections, SCENE/OUTPUT rows and graphs checked in game.
  • For shader changes, the wave sizes tested: no shader changes.
  • cargo test passed for the crates it touches: yes, except modules::xmem::tests::a_read_by_range_waits_only_for_a_remapping_that_meets_it, which fails intermittently without this change too (passes when rerun). Both clippy runs from CI pass.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #4711 (base), #4710 (mine, replaced by this), #4749, #4695, #4541 (same files, different changes).
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5580238776 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4764). Originally posted by [freyandere](https://github.com/freyandere) on 2026-12-01T06:17:36Z. --- Depends on #4711 (built on its v3, 693ebb36). Draft until #4711 merges; I'll rebase onto main then. ## What it changes F1 settings menu (on top of #4711's categories): - Sections fold and unfold with Space (Enter on a folded header opens it). Which ones are folded is saved in victory-settings.txt (VICTORY_MENU_COLLAPSED, by section name) and kept between runs. PERFORMANCE & COMPATIBILITY starts folded; RESET restores that. - Regrouped: FRAME GEN MODS (MFG Unlocker, Force 3X on RTX 40) right under DLSS & FRAME GENERATION; RAY TRACING as its own section after LIGHTING & IMAGE; SHADERS (preload, clear) and SAVES (export, import) split out of ACTIONS. - A DEFAULT column shows each setting's value when nothing is saved. To address #4711's note on accurate defaults: `play` now exports its own baseline (its table, the launcher's options and --set, before the saved menu values) as VICTORY_MENU_DEFAULTS, and the menu shows exactly that. Started without `play` (victory run), the column stays empty instead of guessing. - NEUTRAL PROBE LIGHT showed "NOT SET" when unset (its default since the change to OFF); it now shows OFF. F3 stats panel: - SCENE and OUTPUT rows under DLSS (the scene and picture sizes the panel showed before #4634). - Graph labels sit in their own column instead of over the bars; the FPS graph's scale is shown as "MAX N" in the FPS row; the 2-minute history spans the full graph width (at 4K the left part stayed empty). ## How it was tested - GPU and profile: RTX 4090, Series X, 3840x2160 output, DLSS Quality, frame generation off, ray tracing off. - Before: #4711 v3 as it is. - After: folding and unfolding with keyboard, folded state kept after a restart, DEFAULT column placed correctly, regrouped sections, SCENE/OUTPUT rows and graphs checked in game. - For shader changes, the wave sizes tested: no shader changes. - `cargo test` passed for the crates it touches: yes, except modules::xmem::tests::a_read_by_range_waits_only_for_a_remapping_that_meets_it, which fails intermittently without this change too (passes when rerun). Both clippy runs from CI pass. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #4711 (base), #4710 (mine, replaced by this), #4749, #4695, #4541 (same files, different changes).
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/4764:upstream-pr/4764'
git switch 'upstream-pr/4764'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/4764'
git switch 'upstream-pr/4764'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/4764'
git switch 'upstream-pr/4764'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/4764'
git switch 'main'
git merge --squash 'upstream-pr/4764'
git switch 'main'
git merge --ff-only 'upstream-pr/4764'
git switch 'main'
git merge 'upstream-pr/4764'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!4764
No description provided.