Add native Graphics settings alongside F1 #1382
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1382
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1382"
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-28 18:26 UTC · original
AwkGrep256:native-graphics-shared-settings→main· +3667 −2256 · 17 files · 1 commits · open🎮 Shared typed Graphics settings foundation
PR #1382 carries the typed settings and stock Graphics research that PR #1981 can use for the game's own Settings menu.
The F1 menu and the native menu need one source of truth for stored values, labels, ordering, defaults, and dependencies. This PR keeps those rules in idiomatic Rust types and leaves each UI to provide its own adapter.
🦀 What this PR provides
ChoiceandOptfor saved values and labels shared by both menus.GraphicsChoice,Requirement, andrestart_choices!for declarative graphics rows.🧩 Native row abstractions
The core settings module covers more than fieldless choices. Each native row type can use the same metadata and validation while its owning UI supplies the callback and presentation:
Ordered native sections use typed registration entries:
A graphics choice is declared once and can be adapted by F1 or the native menu:
🏷️ Stock Graphics research
The stock catalogue carries the row names, descriptions, missing subsection headings, and nameless-row mappings gathered from the retail menu. Stock setters remain read-only until their save and reset behavior is verified.
🧱 Safe loader writing
The reusable code writer validates the image range, restores page protection, flushes the instruction cache, and reports cleanup failures. Redirects read only their verified five-byte site before installing a near stub.
🔌 What PR #1981 owns
PR #1981 owns the native tab registration, text-lookup hook, site writer, PC display and runtime lifecycle, pending save and revert flow, and hook-specific integration.
This branch does not discover or mutate the title's text map. It does not scan DirectStorage reads, mapped memory, or executable sections. It does not add a second native-menu hook path, duplicate site writer, or PC-specific display callback layer.
🤝 Integration contract
PR #1981 consumes the typed declarations and stock label research. Its native-menu adapters translate those declarations into the game's widgets, while its runtime keeps the live Frame Generation lifecycle and PC display behavior. Both menus use the same saved values and dependency rules.
🧪 Validation
Related work is tracked in PR #1981 and the native Graphics design notes.
@AwkGrep256 on GitHub · 2026-11-28 22:17 UTC · original · edited 2026-11-28 22:20 UTC
@trustno1-coder Could you review the typed
Choiceapproach before I push the follow-up?🎮 Latest 4K test
🦀 Adding a dependent choice
The macro generates the
Choiceimplementation and the F1 option table from one declaration.🧪 Retest
█████░5 of 6 in-game checks confirmed on the previous build. The local refactor passed 47 focused tests.fade6e7604toa013d46303@AwkGrep256 on GitHub · 2026-11-29 12:40 UTC · original
@spook40 I'm not really seeing how this is related to #1382. This PR is focused on the native Graphics menu and sharing settings with F1. It doesn't touch
draw.rsor any of the texture streaming, allocation, or VRAM management code you're describing.I'm not dismissing the issue, but I don't think it's fair to attribute it to this PR without showing what change here could be causing it.
If you've found a specific connection, feel free to point it out. Otherwise, I think this is probably better tracked as a separate issue so it doesn't hold up unrelated work.
@spook40 on GitHub · 2026-11-29 13:02 UTC · original
My mistake; I mixed up the number and posted this on the wrong thread. Didn't mean to attribute this to your PR; I'll move it over to its own issue so it's out of your way.
@AwkGrep256 on GitHub · 2026-11-29 13:04 UTC · original
Thank you!
@AwkGrep256 on GitHub · 2026-11-29 21:25 UTC · original
Summary
DynamicChoicesupport for connected display options.EnumDisplayDevicesW.Validation
cargo check -p victory --features diagnostics --locked85a6c0be4eto317bf7d583317bf7d583to52f5bc6eeb8df227c9cbtob9e149a832b9e149a832to6b6f56ba32View 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.Merge
Merge the changes and update on Forgejo.