Native Graphics settings on Windows #2862

Open
opened 2026-11-26 05:16:09 +00:00 by github-bot · 6 comments
Owner

@⁠AwkGrep256 on GitHub · 2026-11-25 22:37 UTC · original

@⁠Marvisak, would an opt-in extension to the title’s native Settings menu fit upstream? I can restore the hidden Graphics tab on title build 1.0.2.1, and I’ve verified how its row labels reach the UI. I’d like feedback on the interface before wiring it to VIctory settings.

What works today

Status Finding Evidence
✅ Verified The hidden Graphics tab opens immediately after Video when explicitly enabled. On Windows in Series X mode, the title’s own section-registration call adds the tab. The menu shows 76 navigable rows. The builder reported 77 row objects.
✅ Verified Graphics can render native row text. On one Graphics row, I temporarily substituted the title and help-text IDs from a working Video row. The Video name appeared on Graphics in the native UI. The underlying Graphics option and its value stayed as they were.
✅ Measured The Graphics IDs had no matching entries in the text tables observed in this run. With Graphics open and the original IDs restored, a read-only scan recovered 38/38 Video IDs and 0/133 Graphics IDs. The counts are distinct, nonzero IDs for names and help text.
⚠️ Reproduced Confirming a change to a stock Graphics option can crash the title. The settings-changed path reached a renderer allocation and failed with an OOM. Merely opening and browsing the tab worked.
🔎 Open The source of the stock Graphics labels and the meaning of many rows. The scan establishes what the running title had loaded in this test. The packaged localization data has yet to be checked for these IDs.

The positive control matters here. The working Video name and its help text resolved from the exact IDs stored on the row, and the substituted name rendered in the hidden tab. That rules out a general failure to draw text on Graphics. The remaining question is whether the original strings live in a resource this build never loads, or whether we need to recreate labels from the settings each row controls.

Settings and save behavior

The stock menu reads typed settings from the title’s schema and persists changes through the SettingsProfileSettings container. Tests used a copied profile. Confirming a stock Graphics change can reach render-target reconfiguration, so exposing the tab and enabling safe editing are separate milestones.

For the next step, I’d trace one unlabeled row from its menu descriptor to its backing setting and then to the renderer. Once one row is mapped end to end, the same tracing can inventory the others. Where the original text can’t be recovered, any VIctory label should follow the verified behavior of the setting.

Proposed scope

Stage Work
1 · Diagnostics Keep the tab behind VICTORY_MENU_GRAPHICS=1. Use opt-in row and save tracing to inspect the native path. Browse without editing stock values.
2 · Native labels Check packaged localization against the captured IDs. Trace ambiguous rows to their backing settings. Establish a way to supply VIctory-owned text to a native row.
3 · PC controls Add VIctory-owned options for upscaling, render scale and frame generation only once they can apply safely. Keep configuration in VIctory and call out settings that require a restart.
Link Relevance
#1793 Host FidelityFX selection and render scale on Series X.
#1917 Opt-in host frame generation.
#2764 Hardware-aware performance profile proposal. A native settings surface could eventually expose explicit user choices.
#2171 A separate debug overlay with live diagnostics.

Test setup: Windows 11, RX 9070 XT, title build 1.0.2.1, Series X profile, Russian in-game locale. The results above come from local diagnostic runs.

If you know the Scaleform/RAGE localization path for hidden or platform-specific sections, the most helpful lead would be where this section’s text bundle is selected or loaded. Feedback on where native menu integration should live in VIctory would also help.

**@⁠AwkGrep256** on GitHub · 2026-11-25 22:37 UTC · [original](https://github.com/Marvisak/VIctory/issues/2862) @⁠Marvisak, would an opt-in extension to the title’s native Settings menu fit upstream? I can restore the hidden Graphics tab on title build **1.0.2.1**, and I’ve verified how its row labels reach the UI. I’d like feedback on the interface before wiring it to VIctory settings. ## What works today | Status | Finding | Evidence | | --- | --- | --- | | ✅ Verified | The hidden Graphics tab opens immediately after Video when explicitly enabled. | On Windows in Series X mode, the title’s own section-registration call adds the tab. The menu shows **76 navigable rows**. The builder reported **77 row objects**. | | ✅ Verified | Graphics can render native row text. | On one Graphics row, I temporarily substituted the title and help-text IDs from a working Video row. The Video name appeared on Graphics in the native UI. The underlying Graphics option and its value stayed as they were. | | ✅ Measured | The Graphics IDs had no matching entries in the text tables observed in this run. | With Graphics open and the original IDs restored, a read-only scan recovered **38/38 Video IDs** and **0/133 Graphics IDs**. The counts are distinct, nonzero IDs for names and help text. | | ⚠️ Reproduced | Confirming a change to a stock Graphics option can crash the title. | The settings-changed path reached a renderer allocation and failed with an OOM. Merely opening and browsing the tab worked. | | 🔎 Open | The source of the stock Graphics labels and the meaning of many rows. | The scan establishes what the running title had loaded in this test. The packaged localization data has yet to be checked for these IDs. | The positive control matters here. The working Video name and its help text resolved from the exact IDs stored on the row, and the substituted name rendered in the hidden tab. That rules out a general failure to draw text on Graphics. The remaining question is whether the original strings live in a resource this build never loads, or whether we need to recreate labels from the settings each row controls. ## Settings and save behavior The stock menu reads typed settings from the title’s schema and persists changes through the `SettingsProfileSettings` container. Tests used a copied profile. Confirming a stock Graphics change can reach render-target reconfiguration, so exposing the tab and enabling safe editing are separate milestones. For the next step, I’d trace one unlabeled row from its menu descriptor to its backing setting and then to the renderer. Once one row is mapped end to end, the same tracing can inventory the others. Where the original text can’t be recovered, any VIctory label should follow the verified behavior of the setting. ## Proposed scope | Stage | Work | | --- | --- | | 1 · Diagnostics | Keep the tab behind `VICTORY_MENU_GRAPHICS=1`. Use opt-in row and save tracing to inspect the native path. Browse without editing stock values. | | 2 · Native labels | Check packaged localization against the captured IDs. Trace ambiguous rows to their backing settings. Establish a way to supply VIctory-owned text to a native row. | | 3 · PC controls | Add VIctory-owned options for upscaling, render scale and frame generation only once they can apply safely. Keep configuration in VIctory and call out settings that require a restart. | ## Related work | Link | Relevance | | --- | --- | | #1793 | Host FidelityFX selection and render scale on Series X. | | #1917 | Opt-in host frame generation. | | #2764 | Hardware-aware performance profile proposal. A native settings surface could eventually expose explicit user choices. | | #2171 | A separate debug overlay with live diagnostics. | **Test setup:** Windows 11, RX 9070 XT, title build 1.0.2.1, Series X profile, Russian in-game locale. The results above come from local diagnostic runs. If you know the Scaleform/RAGE localization path for hidden or platform-specific sections, the most helpful lead would be where this section’s text bundle is selected or loaded. Feedback on where native menu integration should live in VIctory would also help.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:16:09 +00:00
Author
Owner

@⁠AwkGrep256 on GitHub · 2026-11-25 22:53 UTC · original

@⁠Dufftwt, a question from your GPU memory work: confirming a change to a stock Graphics option here crashes the title with an out-of-memory error during renderer reconfiguration (render-target reallocation). Browsing the tab is fine. Do you know if VIctory has a known limit when the title resizes or recreates render targets at runtime? A pointer would help me tell whether this is a host gap or the title asking for something the Series X path doesn't support.

**@⁠AwkGrep256** on GitHub · 2026-11-25 22:53 UTC · [original](https://github.com/Marvisak/VIctory/issues/2862#issuecomment-7176901000) @⁠Dufftwt, a question from your GPU memory work: confirming a change to a stock Graphics option here crashes the title with an out-of-memory error during renderer reconfiguration (render-target reallocation). Browsing the tab is fine. Do you know if VIctory has a known limit when the title resizes or recreates render targets at runtime? A pointer would help me tell whether this is a host gap or the title asking for something the Series X path doesn't support.
Author
Owner

@⁠Ingenioeren on GitHub · 2026-11-26 00:43 UTC · original

Render-target replacement can briefly increase host texture allocations on current main. A recorded list keeps a reference to each host texture whose state it tracks, and resetting that list clears the reference. Swap-chain resizing is a separate path. Texture state tracking

I tested that lifetime on 63bcca4 with synthetic RGBA8 targets on WARP. A recorded list retained a 128×128 target (64 KiB). I created its 256×256 replacement (256 KiB) and released the original owner. VIctory still counted 320 KiB of live texture allocations. Resetting the list dropped that to 256 KiB. Those are VIctory's texture allocation counters, separate from DXGI's local-memory usage.

If another run already captures the reconfiguration, the useful lines are no host texture with the rejected description and HRESULT, plus video memory: before and after the change. They would distinguish a host allocation rejection from a title-side allocation error, and show whether recorded work could be retaining old targets. The synthetic test verified the overlap and did not reproduce the reported OOM. Host memory counters

AI-assisted. No game files used.

**@⁠Ingenioeren** on GitHub · 2026-11-26 00:43 UTC · [original](https://github.com/Marvisak/VIctory/issues/2862#issuecomment-7179052884) Render-target replacement can briefly increase host texture allocations on current main. A recorded list keeps a reference to each host texture whose state it tracks, and resetting that list clears the reference. Swap-chain resizing is a separate path. [Texture state tracking](https://github.com/Marvisak/VIctory/blob/63bcca43c6a00a758510398fa43096ce7e4f7df0/crates/victory-gpu/src/host.rs#L1832-L1866) I tested that lifetime on `63bcca4` with synthetic RGBA8 targets on WARP. A recorded list retained a 128×128 target (64 KiB). I created its 256×256 replacement (256 KiB) and released the original owner. VIctory still counted **320 KiB** of live texture allocations. Resetting the list dropped that to **256 KiB**. Those are VIctory's texture allocation counters, separate from DXGI's local-memory usage. If another run already captures the reconfiguration, the useful lines are `no host texture` with the rejected description and HRESULT, plus `video memory:` before and after the change. They would distinguish a host allocation rejection from a title-side allocation error, and show whether recorded work could be retaining old targets. The synthetic test verified the overlap and did not reproduce the reported OOM. [Host memory counters](https://github.com/Marvisak/VIctory/blob/63bcca43c6a00a758510398fa43096ce7e4f7df0/crates/victory-gpu/src/host.rs#L3084-L3120) _AI-assisted. No game files used._
Author
Owner

@⁠Marvisak on GitHub · 2026-11-26 00:43 UTC · original

Automated triage for the maintainers.

Labelled as a feature request. It concerns this title on Windows hosts and would stay opt-in, so it is within the project's stated scope; whether VIctory should alter the title's own menus, and where that would live, is a decision for the maintainers. When writing it up further, please keep to VIctory's side and do not post text, identifiers or data taken from the title itself.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-26 00:43 UTC · [original](https://github.com/Marvisak/VIctory/issues/2862#issuecomment-7179057352) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-25T22:53:14Z at=2026-11-26T00:59:30Z --> Automated triage for the maintainers. Labelled as a feature request. It concerns this title on Windows hosts and would stay opt-in, so it is within the project's stated scope; whether VIctory should alter the title's own menus, and where that would live, is a decision for the maintainers. When writing it up further, please keep to VIctory's side and do not post text, identifiers or data taken from the title itself. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠AwkGrep256 on GitHub · 2026-11-26 14:24 UTC · original · edited 2026-11-26 16:01 UTC

🔎 Update: every hidden Graphics row is identified 🎉

The hidden Graphics tab has 76 stock rows but no text on console: the labels are not loaded. I've now worked out what all 76 rows control. 31 of them also have their label name recovered.

📊 Progress

Tab Meaning known Label name recovered
Graphics 76 / 76 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 100% 31 / 76 🟩🟩🟩🟩⬜⬜⬜⬜⬜⬜ 41%
Video (control) in progress (HDR, gamma, output resolution, refresh rate found) 2 / 21 🟩⬜⬜⬜⬜⬜⬜⬜⬜⬜ 10%

🧩 How, step by step

Step 1: read what each row stores 📥
Each row keeps a name ID and a help ID (32-bit hashes) instead of text, e.g. row G5 stores 0b25dfcf / da15102a. On console the text table has no Graphics entries, so the hashes can't be looked up.

Step 2: crack the label hashes #️⃣
They're Rockstar's joaat hash of a lowercase label (joaat("gfx_fsr") = 0b25dfcf, help = <label>_desc). joaat can be undone step by step, so a meet-in-the-middle search tests billions of names per second:

  • a dictionary pass (graphics words, GTA V / RDR2 setting names, English);
  • a letter-by-letter pass (any a–z_, up to 14 letters, AVX-512);
  • a slot grammar pass ([prefix] [modifier] [subject] [ending], ~12 billion names/s).

This found 31 labels (gfx_fsr, gfx_txtq, rtlocalshadows …), but the rest use spellings no search reached.

Step 3: stop guessing labels, read the settings instead 🔗 🆕
Each row edits one member of the game's settings structure. The game describes those structures with reflection metadata: one record per member, with the hash of its internal name, its type (toggle / number / slider / list) and, for lists, its option set.

  • The recently reported console settings datamine gave real internal names (globalIlluminationQuality, rtLocalShadows …). Their hashes appear in those records, which located the tables.
  • The menu builds its rows from those members, in order. Row types line up one-to-one, and all 31 labels cracked in step 2 land on the matching setting (e.g. gfx_grass_lod → grassLod, rtlodlightshadows → rtLODLightShadows). That cross-check is what makes the mapping trustworthy.

Step 4: name the remaining members 🔓 🆕
The member names themselves are also kept in the binary in a lightly obfuscated form. Recovering them, and checking every one against its record's hash, named the last members. Every name is hash-verified, not guessed.

✅ What each row controls

🏷️ = label name recovered too

Rows Settings
G1–G19 · core quality G1 ambient lighting 🏷️ · G2 anisotropic filtering 🏷️ · G3 target FPS 🏷️ · G4 directional shadows 🏷️ · G5 AMD FSR quality 🏷️ · G6 global illumination 🏷️ · G7 overall quality preset 🏷️ · G8 hair 🏷️ · G9 lighting 🏷️ · G10 local shadows 🏷️ · G11 mirrors 🏷️ · G12 particles 🏷️ · G13 reflections · G14 subsurface scattering 🏷️ · G15 TAA 🏷️ · G16 tessellation 🏷️ · G17 textures 🏷️ · G18 volumetrics 🏷️ · G19 water 🏷️
G20–G34 · advanced G20 async compute · G21 alpha transmission · G22 BVH (ray-tracing structure) quality · G23 damage models · G24 decals · G25 deep surface (mud / sand) · G26 screen-space sun shadows · G27 FSR sharpening · G28 fur 🏷️ · G29 grass LOD 🏷️ · G30 hair GPU memory budget · G31 hair simulation · G32 LOD scale · G33 texture streaming · G34 lens-flare resolution
G35–G44 · post / RT G35 motion blur · G36 particle lighting · G37 ped textures · G38 ped prop textures · G39 parallax occlusion (POM) · G40 RT directional shadows 🏷️ · G41 RT local shadows 🏷️ · G42 RT LOD light shadows 🏷️ · G43 RT dynamic shadows 🏷️ · G44 render scaling ratio (1:1, 1.5×, 1.75×, 2×, 2.5× …)
G45–G59 · shadows / world G45 scattering volumes · G46 alpha shadows · G47 tinted alpha shadows · G48 grass shadows · G49 long shadows · G50 particle shadows · G51 soft shadows 🏷️ · G52 sharpening on/off · G53 sharpening intensity · G54 terrain · G55 terrain shadows · G56 trees · G57 tree tessellation 🏷️ · G58 imposters · G59 vehicle LOD bias
G60–G73 · vehicles / volumetrics / water G60 vehicle textures · G61 volumetric lighting · G62 uncapped volumetric resolution · G63 water lighting · G64 / G65 water reflection resolution (X / Y) · G66 water SSR reflections 🏷️ · G67 water reflections · G68 water refraction · G69 water simulation · G70 surface wave simulation · G71 water tessellation · G72 world height shadows · G73 map MSAA
G74–G77 · display G74 GPU adapter 🏷️ · G75 monitor 🏷️ · G76 triple buffering 🏷️ · G77 VSync 🏷️

Row numbers are the order the game builds rows in. It creates one more internal row object than the 76 it shows, so numbers run to 77.

💡 Why this matters for VIctory

  • The native menu already has FSR rows: FSR quality (G5), FSR sharpening (G27) and a render-scaling ratio (G44). The planned Upscaling section can build on those instead of inventing parallel settings.
  • Knowing each row's setting, type and option set is exactly what's needed to add our own native rows (◀ ▶ lists, toggles, sliders) for the upscaler and frame generation.
  • It also shows settings the console build never puts in the menu (VRS, texture LOD scales, mip bias …), useful for future PC options.

🌍 Question for @⁠Marvisak

Now that every row is identified, would you be open to VIctory shipping its own English labels for this tab, so it's readable? It would be our own wording keyed by the row IDs and injected at runtime, with no game text copied. I'm happy to add other languages too. If you'd rather keep that out of upstream, I'll keep it local.


No game text, binaries, screenshots, keys or extracted data are included. Only row numbers, label hashes, plain-English descriptions and the method.

**@⁠AwkGrep256** on GitHub · 2026-11-26 14:24 UTC · [original](https://github.com/Marvisak/VIctory/issues/2862#issuecomment-7194785677) · edited 2026-11-26 16:01 UTC ## 🔎 Update: every hidden Graphics row is identified 🎉 The hidden **Graphics** tab has **76 stock rows but no text** on console: the labels are not loaded. I've now worked out **what all 76 rows control**. 31 of them also have their label name recovered. ### 📊 Progress | Tab | Meaning known | Label name recovered | | --- | --- | --- | | Graphics | **76 / 76** 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 100% | 31 / 76 🟩🟩🟩🟩⬜⬜⬜⬜⬜⬜ 41% | | Video (control) | in progress (HDR, gamma, output resolution, refresh rate found) | 2 / 21 🟩⬜⬜⬜⬜⬜⬜⬜⬜⬜ 10% | ### 🧩 How, step by step **Step 1: read what each row stores** 📥 Each row keeps a **name ID** and a **help ID** (32-bit hashes) instead of text, e.g. row G5 stores `0b25dfcf` / `da15102a`. On console the text table has no Graphics entries, so the hashes can't be looked up. **Step 2: crack the label hashes** #️⃣ They're Rockstar's **joaat** hash of a lowercase label (`joaat("gfx_fsr") = 0b25dfcf`, help = `<label>_desc`). joaat can be undone step by step, so a **meet-in-the-middle** search tests billions of names per second: - a dictionary pass (graphics words, GTA V / RDR2 setting names, English); - a letter-by-letter pass (any `a–z_`, up to 14 letters, AVX-512); - a slot **grammar** pass (`[prefix] [modifier] [subject] [ending]`, ~12 billion names/s). This found 31 labels (`gfx_fsr`, `gfx_txtq`, `rtlocalshadows` …), but the rest use spellings no search reached. **Step 3: stop guessing labels, read the settings instead** 🔗 🆕 Each row edits one member of the game's settings structure. The game describes those structures with **reflection metadata**: one record per member, with the hash of its internal name, its type (toggle / number / slider / list) and, for lists, its option set. - The recently reported console settings datamine gave real internal names (`globalIlluminationQuality`, `rtLocalShadows` …). Their hashes appear in those records, which located the tables. - **The menu builds its rows from those members, in order.** Row types line up one-to-one, and all 31 labels cracked in step 2 land on the matching setting (e.g. `gfx_grass_lod` → `grassLod`, `rtlodlightshadows` → `rtLODLightShadows`). That cross-check is what makes the mapping trustworthy. **Step 4: name the remaining members** 🔓 🆕 The member names themselves are also kept in the binary in a lightly obfuscated form. Recovering them, and checking every one against its record's hash, named the last members. Every name is hash-verified, not guessed. ### ✅ What each row controls 🏷️ = label name recovered too | Rows | Settings | | --- | --- | | **G1–G19** · core quality | G1 ambient lighting 🏷️ · G2 anisotropic filtering 🏷️ · G3 target FPS 🏷️ · G4 directional shadows 🏷️ · G5 **AMD FSR quality** 🏷️ · G6 global illumination 🏷️ · G7 overall quality preset 🏷️ · G8 hair 🏷️ · G9 lighting 🏷️ · G10 local shadows 🏷️ · G11 mirrors 🏷️ · G12 particles 🏷️ · G13 reflections · G14 subsurface scattering 🏷️ · G15 TAA 🏷️ · G16 tessellation 🏷️ · G17 textures 🏷️ · G18 volumetrics 🏷️ · G19 water 🏷️ | | **G20–G34** · advanced | G20 async compute · G21 alpha transmission · G22 BVH (ray-tracing structure) quality · G23 damage models · G24 decals · G25 deep surface (mud / sand) · G26 screen-space sun shadows · G27 **FSR sharpening** · G28 fur 🏷️ · G29 grass LOD 🏷️ · G30 hair GPU memory budget · G31 hair simulation · G32 LOD scale · G33 texture streaming · G34 lens-flare resolution | | **G35–G44** · post / RT | G35 motion blur · G36 particle lighting · G37 ped textures · G38 ped prop textures · G39 parallax occlusion (POM) · G40 RT directional shadows 🏷️ · G41 RT local shadows 🏷️ · G42 RT LOD light shadows 🏷️ · G43 RT dynamic shadows 🏷️ · G44 **render scaling ratio** (1:1, 1.5×, 1.75×, 2×, 2.5× …) | | **G45–G59** · shadows / world | G45 scattering volumes · G46 alpha shadows · G47 tinted alpha shadows · G48 grass shadows · G49 long shadows · G50 particle shadows · G51 soft shadows 🏷️ · G52 sharpening on/off · G53 sharpening intensity · G54 terrain · G55 terrain shadows · G56 trees · G57 tree tessellation 🏷️ · G58 imposters · G59 vehicle LOD bias | | **G60–G73** · vehicles / volumetrics / water | G60 vehicle textures · G61 volumetric lighting · G62 uncapped volumetric resolution · G63 water lighting · G64 / G65 water reflection resolution (X / Y) · G66 water SSR reflections 🏷️ · G67 water reflections · G68 water refraction · G69 water simulation · G70 surface wave simulation · G71 water tessellation · G72 world height shadows · G73 map MSAA | | **G74–G77** · display | G74 GPU adapter 🏷️ · G75 monitor 🏷️ · G76 triple buffering 🏷️ · G77 VSync 🏷️ | *Row numbers are the order the game **builds** rows in. It creates one more internal row object than the 76 it shows, so numbers run to 77.* ### 💡 Why this matters for VIctory - The native menu **already has FSR rows**: FSR quality (G5), FSR sharpening (G27) and a render-scaling ratio (G44). The planned Upscaling section can build on those instead of inventing parallel settings. - Knowing each row's setting, type and option set is exactly what's needed to add **our own native rows** (◀ ▶ lists, toggles, sliders) for the upscaler and frame generation. - It also shows settings the console build never puts in the menu (VRS, texture LOD scales, mip bias …), useful for future PC options. ### 🌍 Question for @⁠Marvisak Now that every row is identified, would you be open to VIctory **shipping its own English labels** for this tab, so it's readable? It would be our own wording keyed by the row IDs and injected at runtime, with no game text copied. I'm happy to add **other languages** too. If you'd rather keep that out of upstream, I'll keep it local. --- *No game text, binaries, screenshots, keys or extracted data are included. Only row numbers, label hashes, plain-English descriptions and the method.*
Author
Owner

@⁠AwkGrep256 on GitHub · 2026-11-26 18:18 UTC · original

🎮 Native Graphics update

The first VIctory Upscaler row now works in the native Graphics menu. In-game testing on f40ffdf8 confirmed the arrows, counter, config write, and selection after reopening Settings. The draft in #2863 is now at 8dfc6b51, with config and row guards that passed local checks and are ready for an in-game retest.

@⁠Marvisak, the next step is to show Title default / AMD FSR on our row and use the existing row mapping to put readable labels on the blank stock rows. Would you be open to VIctory-owned labels for every language the title supports? The first pass is about 88 short labels per language, including the VIctory controls and other menu labels. I can put the English wording up for review first.

@⁠Ingenioeren and @⁠Dufftwt, thanks for the earlier help on renderer reallocation. If you're interested in trying the new row, the test steps are in #2863. Please change only the VIctory Upscaler row and use a copied profile.

**@⁠AwkGrep256** on GitHub · 2026-11-26 18:18 UTC · [original](https://github.com/Marvisak/VIctory/issues/2862#issuecomment-7200312291) ## 🎮 Native Graphics update The first VIctory **Upscaler** row now works in the native Graphics menu. In-game testing on `f40ffdf8` confirmed the arrows, counter, config write, and selection after reopening Settings. The draft in #2863 is now at `8dfc6b51`, with config and row guards that passed local checks and are ready for an in-game retest. @⁠Marvisak, the next step is to show **Title default / AMD FSR** on our row and use the existing row mapping to put readable labels on the blank stock rows. Would you be open to VIctory-owned labels for every language the title supports? The first pass is about **88 short labels per language**, including the VIctory controls and other menu labels. I can put the English wording up for review first. @⁠Ingenioeren and @⁠Dufftwt, thanks for the earlier help on renderer reallocation. If you're interested in trying the new row, the test steps are in #2863. Please change only the VIctory **Upscaler** row and use a copied profile.
Author
Owner

@⁠AwkGrep256 on GitHub · 2026-11-27 01:03 UTC · original

🎮 Native Graphics update: every row named, fast text lookup, Frame generation row

#2863 is now at e476e1a6. The Graphics tab is fully readable in game, and VIctory's share of opening Settings went from ~4.7 s to under half a millisecond.

✅ Passed in game

What Result
Text table lookup (first Settings open) ~0.4 ms total on the menu thread (was 4.5 s + 0.2 s); found in 12–29 µs once loaded
Graphics tab name Shows on every open
Stock row names All rows named with VIctory's own English (69 by their label IDs, 8 that have no ID at all)
Upscaler row (◀ ▶, counter, saved to victory.toml, read on next launch) Works; earlier run upscaled 1080p → 4K after picking AMD FSR
Frame generation row Shows in the Upscaling section

🧪 Built, not yet checked in game

What Status
Headings for the two untitled groups (Display, Advanced) 70ae1381, next launch
Help text for 5 rows that had none (alpha transmission, ray-traced shadows) 70ae1381, next launch
Frame generation choice saved to victory.toml Saves through the same code as the Upscaler; the branch does not insert frames yet
Our own option names (Title default / AMD FSR / Off) Not done: rows still borrow Low / Medium

🔍 New findings

  1. The text table comes from a file. It is loaded when Settings opens, at a new address each run. VIctory's DirectStorage reader now checks each loaded buffer for the table's type hash as the read lands, so the menu only validates a few spots. No address or offset is stored; a miss falls back to a read-only search on a background thread, never on the menu thread.
  2. Blank rows were two different problems. Most rows have label IDs whose text this build doesn't ship (fixed by adding text). Eight rows have no name ID at all, so no text can be looked up. VIctory recognises each as "the nth nameless row after a given labelled row" and gives it IDs of its own as the title builds it.
  3. Untitled sections have heading ID 0. A settings group keeps its heading ID and sort order at its start (confirmed with VIctory's own group). After the stock rows are built, each untitled group gets VIctory's heading, recognised by a row it holds, not by position.
  4. Settings slowness on 32 GB is mostly memory pressure. With the game at ~20 GB and under 1 GB free, Settings still takes 3–5 s, all in the title.

🧱 How it's organised

All wording lives in one place, crates/victory-core/src/settings/stock_labels.rs, one table per language, next to the Choice settings. Adding a setting is one Choice impl plus one line in settings_list.rs; the Frame generation row was added that way. Details in docs/native-settings.md.

Nothing from the game is in the branch: the English is VIctory's, and cargo xtask policy passes.

⏭️ Next

  1. Check the new headings and help text in game.
  2. Show Title default / AMD FSR / Off on our rows instead of the borrowed Low / Medium.
  3. Make Frame generation do something once the frame-generation work lands on this branch.
**@⁠AwkGrep256** on GitHub · 2026-11-27 01:03 UTC · [original](https://github.com/Marvisak/VIctory/issues/2862#issuecomment-7206979094) ## 🎮 Native Graphics update: every row named, fast text lookup, Frame generation row #2863 is now at `e476e1a6`. The Graphics tab is fully readable in game, and VIctory's share of opening Settings went from ~4.7 s to under half a millisecond. ### ✅ Passed in game | What | Result | |---|---| | Text table lookup (first Settings open) | **~0.4 ms total** on the menu thread (was 4.5 s + 0.2 s); found in **12–29 µs** once loaded | | Graphics tab name | Shows on every open | | Stock row names | **All rows named** with VIctory's own English (69 by their label IDs, 8 that have no ID at all) | | Upscaler row (◀ ▶, counter, saved to `victory.toml`, read on next launch) | Works; earlier run upscaled 1080p → 4K after picking AMD FSR | | Frame generation row | Shows in the Upscaling section | ### 🧪 Built, not yet checked in game | What | Status | |---|---| | Headings for the two untitled groups (Display, Advanced) | `70ae1381`, next launch | | Help text for 5 rows that had none (alpha transmission, ray-traced shadows) | `70ae1381`, next launch | | Frame generation choice saved to `victory.toml` | Saves through the same code as the Upscaler; the branch does not insert frames yet | | Our own option names (Title default / AMD FSR / Off) | Not done: rows still borrow Low / Medium | ### 🔍 New findings 1. **The text table comes from a file.** It is loaded when Settings opens, at a new address each run. VIctory's DirectStorage reader now checks each loaded buffer for the table's type hash as the read lands, so the menu only validates a few spots. No address or offset is stored; a miss falls back to a read-only search on a background thread, never on the menu thread. 2. **Blank rows were two different problems.** Most rows have label IDs whose text this build doesn't ship (fixed by adding text). Eight rows have **no name ID at all**, so no text can be looked up. VIctory recognises each as "the *n*th nameless row after a given labelled row" and gives it IDs of its own as the title builds it. 3. **Untitled sections have heading ID 0.** A settings group keeps its heading ID and sort order at its start (confirmed with VIctory's own group). After the stock rows are built, each untitled group gets VIctory's heading, recognised by a row it holds, not by position. 4. **Settings slowness on 32 GB is mostly memory pressure.** With the game at ~20 GB and under 1 GB free, Settings still takes 3–5 s, all in the title. ### 🧱 How it's organised All wording lives in one place, `crates/victory-core/src/settings/stock_labels.rs`, one table per language, next to the `Choice` settings. Adding a setting is one `Choice` impl plus one line in `settings_list.rs`; the Frame generation row was added that way. Details in `docs/native-settings.md`. Nothing from the game is in the branch: the English is VIctory's, and `cargo xtask policy` passes. ### ⏭️ Next 1. Check the new headings and help text in game. 2. Show **Title default / AMD FSR / Off** on our rows instead of the borrowed Low / Medium. 3. Make Frame generation do something once the frame-generation work lands on this branch.
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/Marvisak--VIctory#2862
No description provided.