Proposal: a modern look for the F1 menu, FPS line, F2 and F3 (opt-in, fork ready) #3982

Open
opened 2026-11-30 13:40:37 +00:00 by github-bot · 7 comments
Owner

@⁠Sym3d on GitHub · 2026-11-30 13:38 UTC · original

Hi! I've been working on a modern look for the in-game overlays and wanted to ask whether you'd be interested in it upstream before opening a PR.

Branch: https://github.com/Sym3d/VIctory-NVIDIA/tree/modern-menu (based on 41adb55)

F1 menu with a change waiting for the next start

What it does

  • F1 menu as a panel: setting groups on the left (Upscaling, Display, Controls, Lighting, Advanced, Shaders & saves, Save & exit, Menu), the group's settings in the middle, and on the right what the picked setting does plus a short note on each of its values (e.g. what DLSS presets K/J/M/L mean and how heavy they are). Settings without a note of mine show your existing text, turned into sentences.
  • Memory gauge: VRAM against the budget and PC RAM, measured live. For changes that apply at the next start, it shows an estimated difference, in orange (more) or teal (less), and warns when the result would exceed the VRAM budget or nearly fill RAM. The estimates are first guesses and are labelled as rough. A setting without a known cost counts as "unknown", never as free.
  • Navigation: Tab / Q / E / PgUp / PgDn and LB / RB switch groups. Arrows, Enter, Esc and the pad work as before.
  • The panel's own settings (group "Menu"): size (80-150 %), transparency (0-50 %), FPS position (any corner), and separate sizes for F2 and the start notice. They are saved to modern-menu.txt next to the settings file.
  • The same look for the FPS line, F2, F3 and the start notice. They show the same data as now; only the layout changes.
  • Text: Inter (SIL OFL 1.1), pre-rasterized into a 2 MB atlas (make_atlas.py and the licence included). There are no new crate dependencies; it uses zlib-rs, which is already in the workspace.
Menu group F2 F3
Menu group F2 F3
FPS card in the bottom left Start notice
FPS position Start notice

How it is kept apart from upstream code

  • Everything lives in host/modern/ and host/gauge.rs. Upstream files only get small, marked hooks: a block plus a few one-line calls in menu.rs and panel.rs, two lines in host.rs, and LB/RB in menu_pad.rs.
  • Menu state, saving, actions and keys stay yours: the new code reads a view of the menu and draws it. The rows are sorted by group so Up/Down walk through a group at a time.
  • Blending uses a small shader in the style of compose.rs. If it can't be created, the panel is copied solid. VICTORY_MODERN_MENU=0 brings back the current look everywhere.
  • The import-save and key-binding lists keep their current look.
  • Drawn only while shown. A card is painted again only when its content changes; F3 repaints twice a second with your numbers, and its "This panel" line reads about 70 us a frame here.

Status

Builds with --locked, the new unit tests pass, and I've been playing with it on an RTX 4070 (1080p, Series S, DLSS Quality, frame generation 2x).

Would you be open to a PR for this, maybe behind a switch at first? Happy to change the structure, naming, or anything else to fit the project.

**@⁠Sym3d** on GitHub · 2026-11-30 13:38 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3982) Hi! I've been working on a modern look for the in-game overlays and wanted to ask whether you'd be interested in it upstream before opening a PR. Branch: https://github.com/Sym3d/VIctory-NVIDIA/tree/modern-menu (based on `41adb55`) ![F1 menu with a change waiting for the next start](https://raw.githubusercontent.com/Sym3d/VIctory-NVIDIA/screenshots/modern-menu/F1_Menu.png) ## What it does - **F1 menu as a panel:** setting groups on the left (Upscaling, Display, Controls, Lighting, Advanced, Shaders & saves, Save & exit, Menu), the group's settings in the middle, and on the right what the picked setting does plus a short note on each of its values (e.g. what DLSS presets K/J/M/L mean and how heavy they are). Settings without a note of mine show your existing text, turned into sentences. - **Memory gauge:** VRAM against the budget and PC RAM, measured live. For changes that apply at the next start, it shows an estimated difference, in orange (more) or teal (less), and warns when the result would exceed the VRAM budget or nearly fill RAM. The estimates are first guesses and are labelled as rough. A setting without a known cost counts as "unknown", never as free. - **Navigation:** Tab / Q / E / PgUp / PgDn and LB / RB switch groups. Arrows, Enter, Esc and the pad work as before. - **The panel's own settings (group "Menu"):** size (80-150 %), transparency (0-50 %), FPS position (any corner), and separate sizes for F2 and the start notice. They are saved to `modern-menu.txt` next to the settings file. - **The same look for the FPS line, F2, F3 and the start notice.** They show the same data as now; only the layout changes. - **Text:** Inter (SIL OFL 1.1), pre-rasterized into a 2 MB atlas (`make_atlas.py` and the licence included). There are no new crate dependencies; it uses `zlib-rs`, which is already in the workspace. | Menu group | F2 | F3 | |---|---|---| | ![Menu group](https://raw.githubusercontent.com/Sym3d/VIctory-NVIDIA/screenshots/modern-menu/F1_Menu_pos_change.png) | ![F2](https://raw.githubusercontent.com/Sym3d/VIctory-NVIDIA/screenshots/modern-menu/F2_Menu.png) | ![F3](https://raw.githubusercontent.com/Sym3d/VIctory-NVIDIA/screenshots/modern-menu/F3_Menu.png) | | FPS card in the bottom left | Start notice | |---|---| | ![FPS position](https://raw.githubusercontent.com/Sym3d/VIctory-NVIDIA/screenshots/modern-menu/FPS_pos_change.png) | ![Start notice](https://raw.githubusercontent.com/Sym3d/VIctory-NVIDIA/screenshots/modern-menu/at_start.png) | ## How it is kept apart from upstream code - Everything lives in `host/modern/` and `host/gauge.rs`. Upstream files only get small, marked hooks: a block plus a few one-line calls in `menu.rs` and `panel.rs`, two lines in `host.rs`, and LB/RB in `menu_pad.rs`. - Menu state, saving, actions and keys stay yours: the new code reads a view of the menu and draws it. The rows are sorted by group so Up/Down walk through a group at a time. - Blending uses a small shader in the style of `compose.rs`. If it can't be created, the panel is copied solid. `VICTORY_MODERN_MENU=0` brings back the current look everywhere. - The import-save and key-binding lists keep their current look. - Drawn only while shown. A card is painted again only when its content changes; F3 repaints twice a second with your numbers, and its "This panel" line reads about 70 us a frame here. ## Status Builds with `--locked`, the new unit tests pass, and I've been playing with it on an RTX 4070 (1080p, Series S, DLSS Quality, frame generation 2x). Would you be open to a PR for this, maybe behind a switch at first? Happy to change the structure, naming, or anything else to fit the project.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 13:40:37 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-30 13:39 UTC · original

Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer to get there.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

**@⁠github-actions[bot]** on GitHub · 2026-11-30 13:39 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3982#issuecomment-7280153910) Please attach both logs from the run that went wrong. Without them we can only guess. Paste `%LOCALAPPDATA%` into the address bar of File Explorer to get there. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
Author
Owner

@⁠TH3xR34P3R on GitHub · 2026-11-30 13:42 UTC · original

Easier readability of the performance data would be a boon with this.

**@⁠TH3xR34P3R** on GitHub · 2026-11-30 13:42 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3982#issuecomment-7280245180) Easier readability of the performance data would be a boon with this.
Author
Owner

@⁠Sym3d on GitHub · 2026-11-30 13:43 UTC · original

Thanks, bot. No crash here: this is a feature proposal, not a bug report, so there are no logs to attach. (RTX 4070, Windows 11.)

**@⁠Sym3d** on GitHub · 2026-11-30 13:43 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3982#issuecomment-7280268146) Thanks, bot. No crash here: this is a feature proposal, not a bug report, so there are no logs to attach. (RTX 4070, Windows 11.)
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-30 13:45 UTC · original

@⁠hypnblur your comment was removed: we can't help with where to get the game, a dump or any of its files, and it can't be discussed here at all: if this repository is used for that, GitHub can take it down for everyone. Please don't ask for or post links, torrents or sources here.

**@⁠github-actions[bot]** on GitHub · 2026-11-30 13:45 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3982#issuecomment-7280303808) @⁠hypnblur your comment was removed: we can't help with where to get the game, a dump or any of its files, and it can't be discussed here at all: if this repository is used for that, GitHub can take it down for everyone. Please don't ask for or post links, torrents or sources here.
Author
Owner

@⁠Matarto on GitHub · 2026-11-30 15:40 UTC · original

Hi @⁠Sym3d! The new menu looks great. I have two questions:

  • Are you planning to support multiple languages (i18n), including Polish, ideally through external translation files so the community can contribute?
  • Could the menu automatically detect the user's GPU, CPU, VRAM and RAM, and recommend suitable graphics settings, DLSS presets, frame generation and memory limits based on their hardware?

A choice between Stability, Balanced and Performance presets would be especially useful, with manual overrides always available.

This would make configuration much easier, especially for users with older GPUs and limited VRAM.

Thanks for your work!

**@⁠Matarto** on GitHub · 2026-11-30 15:40 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3982#issuecomment-7283385180) Hi @⁠Sym3d! The new menu looks great. I have two questions: - Are you planning to support multiple languages (i18n), including Polish, ideally through external translation files so the community can contribute? - Could the menu automatically detect the user's GPU, CPU, VRAM and RAM, and recommend suitable graphics settings, DLSS presets, frame generation and memory limits based on their hardware? A choice between Stability, Balanced and Performance presets would be especially useful, with manual overrides always available. This would make configuration much easier, especially for users with older GPUs and limited VRAM. Thanks for your work!
Author
Owner

@⁠Sym3d on GitHub · 2026-11-30 16:50 UTC · original

Thanks @⁠Matarto, both are in now (branch modern-menu, rebased on v2026.11.30.01):

Languages

  • Every word of the menu and the overlay cards comes from a plain text file (key = text): groups, setting names, values, what each setting does and the note on each option, the memory gauge, the FPS/F2/F3 cards.
  • English and Polish are built in. You pick the language in F1 > Menu > Language; the first start follows the Windows language when the menu has it.
  • New languages need no code: drop a file into the modern-menu-lang folder next to the settings. The folder is created with the English template and a short how-to. A file with the code of a built-in language only overrides the lines it contains. Plural rules for one/few/many (Polish-style) are supported.
  • Limit: text that upstream generates at runtime (F2's advice, F3's lines, the start notice) stays English for now.

The Polish translation is a first draft of mine, not by a native speaker. Would you be willing to look it over? It is lang/pl.txt. Corrections as a comment here or a PR to the branch are both welcome.

Recommended settings

  • A new first group, Recommended, reads the GPU (name, vendor, VRAM, RTX generation), the RAM and the CPU threads.
  • It offers Stability, Balanced and Performance and marks the one that suits the PC: Stability below about 8 GB VRAM or 24 GB RAM, Balanced otherwise.
  • Before you apply one, it shows exactly what would change (old -> new) and the estimated memory difference. Enter or a click applies and saves it, and every setting can still be changed by hand afterwards.
  • Roughly: Stability = Series S, DLSS Performance, no frame generation, 30 fps cap. Balanced = DLSS Quality on 12 GB+ (Balanced below), 2x frame generation on RTX 40+. Performance = DLSS Performance plus the most frame generation the card supports (FSR 3 on RTX 20/30).

The presets are based on hardware classes, not on measurements yet. Feedback from older or 8 GB cards would help a lot to tune them.

**@⁠Sym3d** on GitHub · 2026-11-30 16:50 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3982#issuecomment-7285304506) Thanks @⁠Matarto, both are in now (branch [`modern-menu`](https://github.com/Sym3d/VIctory-NVIDIA/tree/modern-menu), rebased on v2026.11.30.01): **Languages** - Every word of the menu and the overlay cards comes from a plain text file (`key = text`): groups, setting names, values, what each setting does and the note on each option, the memory gauge, the FPS/F2/F3 cards. - English and **Polish** are built in. You pick the language in F1 > Menu > Language; the first start follows the Windows language when the menu has it. - New languages need no code: drop a file into the `modern-menu-lang` folder next to the settings. The folder is created with the English template and a short how-to. A file with the code of a built-in language only overrides the lines it contains. Plural rules for one/few/many (Polish-style) are supported. - Limit: text that upstream generates at runtime (F2's advice, F3's lines, the start notice) stays English for now. The Polish translation is a first draft of mine, not by a native speaker. Would you be willing to look it over? It is [`lang/pl.txt`](https://github.com/Sym3d/VIctory-NVIDIA/blob/modern-menu/crates/victory-gpu/src/host/modern/lang/pl.txt). Corrections as a comment here or a PR to the branch are both welcome. **Recommended settings** - A new first group, Recommended, reads the GPU (name, vendor, VRAM, RTX generation), the RAM and the CPU threads. - It offers **Stability**, **Balanced** and **Performance** and marks the one that suits the PC: Stability below about 8 GB VRAM or 24 GB RAM, Balanced otherwise. - Before you apply one, it shows exactly what would change (old -> new) and the estimated memory difference. Enter or a click applies and saves it, and every setting can still be changed by hand afterwards. - Roughly: Stability = Series S, DLSS Performance, no frame generation, 30 fps cap. Balanced = DLSS Quality on 12 GB+ (Balanced below), 2x frame generation on RTX 40+. Performance = DLSS Performance plus the most frame generation the card supports (FSR 3 on RTX 20/30). The presets are based on hardware classes, not on measurements yet. Feedback from older or 8 GB cards would help a lot to tune them.
Author
Owner

@⁠M4gnif1cus on GitHub · 2026-11-30 22:07 UTC · original

Hi @⁠Sym3d, in case it is useful for this proposal: I opened a pull request with a second F3 panel (#4542), as an alternative look that keeps the existing one. Both touch panel.rs, so I am happy to coordinate whichever way is easier.

F3 second panel

**@⁠M4gnif1cus** on GitHub · 2026-11-30 22:07 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3982#issuecomment-7293383518) Hi @⁠Sym3d, in case it is useful for this proposal: I opened a pull request with a second F3 panel (#4542), as an alternative look that keeps the existing one. Both touch `panel.rs`, so I am happy to coordinate whichever way is easier. ![F3 second panel](https://raw.githubusercontent.com/M4gnif1cus/VIctory-NVIDIA/panel-f3-captura/panel-f3.png)
This discussion has been locked. Commenting is limited to contributors.
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#3982
No description provided.