Native Graphics settings on Windows #2862
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#2862
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@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
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
SettingsProfileSettingscontainer. 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
VICTORY_MENU_GRAPHICS=1. Use opt-in row and save tracing to inspect the native path. Browse without editing stock values.Related work
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: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.
@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
63bcca4with 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 texturewith the rejected description and HRESULT, plusvideo 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 countersAI-assisted. No game files used.
@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
@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
🧩 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–z_, up to 14 letters, AVX-512);[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.
globalIlluminationQuality,rtLocalShadows…). Their hashes appear in those records, which located the tables.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
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
🌍 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 18:18 UTC · original
🎮 Native Graphics update
The first VIctory Upscaler row now works in the native Graphics menu. In-game testing on
f40ffdf8confirmed the arrows, counter, config write, and selection after reopening Settings. The draft in #2863 is now at8dfc6b51, 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-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
victory.toml, read on next launch)🧪 Built, not yet checked in game
70ae1381, next launch70ae1381, next launchvictory.toml🔍 New findings
🧱 How it's organised
All wording lives in one place,
crates/victory-core/src/settings/stock_labels.rs, one table per language, next to theChoicesettings. Adding a setting is oneChoiceimpl plus one line insettings_list.rs; the Frame generation row was added that way. Details indocs/native-settings.md.Nothing from the game is in the branch: the English is VIctory's, and
cargo xtask policypasses.⏭️ Next