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

Open
github-bot wants to merge 6 commits from github-bot/gh-4764 into main AGit
Owner

@⁠freyandere on GitHub · 2026-12-01 06:17 UTC · original
freyandere:menu-followup-v3 → main · +774 −120 · 6 files · 6 commits · draft

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

What it changes

F1 settings menu (on top of #4712'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 #4712'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 #4635).
  • 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: #4712 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: #4712 (base), #4711 (mine, replaced by this), #4750, #4696, #4542 (same files, different changes).
**@⁠freyandere** on GitHub · 2026-12-01 06:17 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4764) `freyandere:menu-followup-v3` → `main` · +774 −120 · 6 files · 6 commits · draft Depends on #4712 (built on its v3, 693ebb36). Draft until #4712 merges; I'll rebase onto main then. ## What it changes F1 settings menu (on top of #4712'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 #4712'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 #4635). - 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: #4712 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: #4712 (base), #4711 (mine, replaced by this), #4750, #4696, #4542 (same files, different changes).
Menu: sections fold with Space or gamepad X and stay folded between runs
(VICTORY_MENU_COLLAPSED, by section name; PERFORMANCE & COMPATIBILITY starts
folded). FRAME GEN MODS under DLSS, RAY TRACING its own section, SHADERS and
SAVES split out of ACTIONS. The DEFAULT column shows what play gives each
setting with nothing saved: play exports that baseline as VICTORY_MENU_DEFAULTS
(its table, the launcher's options and --set); started another way, the column
stays empty. Unset NEUTRAL PROBE LIGHT shows OFF, not NOT SET.

F3: SCENE and OUTPUT rows under DLSS. Graph labels in their own column, the FPS
graph's scale as MAX N in the FPS row, and the 2-minute history across the full
graph width.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 06:20:39 +00:00
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/host/font.rs
  • crates/victory-gpu/src/host/menu.rs
  • crates/victory-gpu/src/host/panel.rs
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.
git fetch -u origin '+refs/pull/4765/head:github-bot/gh-4764'
git switch 'github-bot/gh-4764'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-4764'
git switch 'github-bot/gh-4764'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-4764'
git switch 'github-bot/gh-4764'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-4764'
git switch 'main'
git merge --squash 'github-bot/gh-4764'
git switch 'main'
git merge --ff-only 'github-bot/gh-4764'
git switch 'main'
git merge 'github-bot/gh-4764'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

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