Ray Reconstruction, GAME SETTINGS in F1 (view lines, hidden settings, weather fix, manual weather), X3D option, VRAM presets, F1 language and help #3590

Closed
NICKNAMErutschovkonikovan wants to merge 86 commits from upstream-pr/3590 into main
NICKNAMErutschovkonikovan commented 2026-11-30 01:24:52 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by NICKNAMErutschovkonikovan on 2026-11-30T01:24:52Z.


Follow-up to #2548 (it builds on that branch, so its commits show here until #2548 is merged). Merged with main as of 2026-11-30 (39 commits, including SAVE AND CLOSE GAME and the native-size fix); built and tested on an RTX 5090 with a Ryzen 7 5800X3D, title build 1.0.2.1.

Every game-side change below is made in memory at run time only. No game file is touched or shipped; each patch first checks the bytes it changes and shows NOT ACTIVE in F1 when they differ (another build). Everything new is off by default unless said otherwise, so a start without F1 changes behaves as before.

New in F1 (all in ENGLISH and DEUTSCH, with plain-language help)

  1. DLSS Ray Reconstruction (VICTORY_RR=1, F1 > RAY RECONSTRUCTION): replaces DLSS SR. A compute pass of ours turns the game's G-buffer into RR's guides each frame (linear albedo, specular albedo from the game's F0, world-space normals with roughness from its packed octahedral normals and gloss; mapping read from the game's own shaders). Falls back to SR per frame, with the reason in the log, whenever a guide is missing or NGX refuses; never both, never none. Tried in the game: RR took every frame from the first in the world on, no fallback. Needs sl.dlss_d.dll + nvngx_dlssd.dll from NVIDIA's Streamline 2.14.16 archive: Get-NVIDIA-DLSS.cmd -RayReconstruction (signature-checked, never in the repo). VICTORY_RR_PROBE records the render-target bindings that found the G-buffer.
  2. NVIDIA REFLEX off/on/boost through Streamline, also without DLSS/FG.
  3. LANGUAGE (whole F1 menu EN/DE), HELP on/off (longer plain-language explanation of each line with default and current value), LOGGING on/off plus ReShade/RenoDX debug-log switches.
  4. GAME SETTINGS: the game's settings.xml in F1 – sliders and typed input (point only), the title's own ranges/steps/defaults read from its parser metadata, SAVE and PERSISTENT, quality levels incl. 4 = CUSTOM and 5 = SPECIAL, and ADVANCED with ~50 further quality settings.
  5. View lines at the top of GAME SETTINGS:
    • FIELD OF VIEW 0.70–1.50, live (hook before grcViewport::Perspective; the previous frame's FOV is widened too so TAA/DLSS stay consistent; derived views such as mirrors left alone). Method after Kemerd's aspect.rs (GPL-3).
    • LENS FLARES off, live (the game's own PhotoMode_LensFlaresMin timecycle modifier, present in the Xbox data).
    • VIGNETTE off, live (every vignette reaches the GPU with strength 0).
    • DEPTH OF FIELD off, from the next start (the DOF object set up in the game's own "none" fallback mode).
    • UNLOCK HIDDEN SETTINGS: the 21 rows the console build hides in the game's settings menu (Camera > first person; Controller > first person aim/look). The game stores their values itself. Tried in the game.
    • SHOW MENU NAMES: those rows have no labels on Xbox; this shows their names as a list at the right edge (order checked in the game), plus the four steps of the known first-person glitch.
    • WEATHER FIX: the season follows the story so the weather no longer stays stuck (the 1.0.2.1 bug fixed in 1.0.2.2). Logic 1:1 after VI-Patch by ZiZc3 (https://github.com/ZiZc3/VI-Patch), its PS5 "Weather fix", findings by idarius and TaPiOn-; Xbox addresses found independently, PS5 ↔ Xbox mapping documented in weatherfix.rs.
    • MANUAL WEATHER + WEATHER CHANGE (at once / 10 / 30 / 60 s): 20 of the game's weather types on demand through the path mission scripts use – no cheat, saving and achievements stay. Missions that hold the weather win.
  6. X3D OPTION: every Ryzen X3D model, AUTO or a manual CPU list; on two-CCD parts hot threads go to the V-Cache CCD (detected via GetLogicalProcessorInformationEx, not guessed). No effect on one-CCD parts, and the page says so.
  7. VRAM PRESETS (NVIDIA/AMD tiles, card list with VRAM, the installed card detected) and VRAM MANUAL (EXPERT): a BIOS-style page with 19 memory switches, each explained with examples for 8/10/12/16/32 GB; unmeasured values are marked as starting points.

Also

  • GPU CHANGE DETECTION (VICTORY_GPU_DIRTY, based on #756): changed-memory detection with D3D12 compute instead of on the CPU.
  • Diagnostics (feature diagnostics only, no effect on release builds): wake/fence/host-fence timeline diagnostics, thread sampling, file-access trace (VICTORY_FILE_TRACE), START_FRAME_DIAG.ps1, docs/diagnostics.md. Diagnostics builds compile again.
  • Launcher: the feeder's copy of victory.exe is never stale; -LogDir.
  • F1 action rows merged with upstream's SAVE AND CLOSE GAME: the three saving rows stay last, PROFILE 1 SAVE/LOAD kept.
  • README: Ray Reconstruction files and where they go, the new lines, a numbered list of everything new.

Tests

cargo test (victory-gpu with --test-threads=1, victory-hle, victory-loader, victory) green except shader_cache::tests::every_switch_of_the_translator_is_in_the_key, which fails the same way on plain main (since 1b4b6cd4: VICTORY_SCALAR_SPLITS is in KEYED and VICTORY_ORACLE_* in NOT_TRANSLATION, but the translator reads neither) – left alone because it changes the shader cache key. With --features diagnostics, compose::tests::bgrx_plane_selects_a_typed_view also fails on plain main. Release and diag builds build; cargo xtask policy --staged passes for every commit (the whole-tree policy finding in heap_sites/frame_users.rs is upstream's). Each game-side patch was reviewed against a disassembly of the same executable.

Not verified in the game yet: VIGNETTE, DEPTH OF FIELD, LENS FLARES, WEATHER FIX, MANUAL WEATHER (each built and reviewed against the executable; they report NOT ACTIVE rather than pretend when their place differs).

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5557327192 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3590). Originally posted by [NICKNAMErutschovkonikovan](https://github.com/NICKNAMErutschovkonikovan) on 2026-11-30T01:24:52Z. --- Follow-up to #2548 (it builds on that branch, so its commits show here until #2548 is merged). Merged with `main` as of 2026-11-30 (39 commits, including SAVE AND CLOSE GAME and the native-size fix); built and tested on an RTX 5090 with a Ryzen 7 5800X3D, title build 1.0.2.1. Every game-side change below is made in memory at run time only. No game file is touched or shipped; each patch first checks the bytes it changes and shows **NOT ACTIVE** in F1 when they differ (another build). Everything new is **off by default** unless said otherwise, so a start without F1 changes behaves as before. ## New in F1 (all in ENGLISH and DEUTSCH, with plain-language help) 1. **DLSS Ray Reconstruction** (`VICTORY_RR=1`, F1 > RAY RECONSTRUCTION): replaces DLSS SR. A compute pass of ours turns the game's G-buffer into RR's guides each frame (linear albedo, specular albedo from the game's F0, world-space normals with roughness from its packed octahedral normals and gloss; mapping read from the game's own shaders). Falls back to SR per frame, with the reason in the log, whenever a guide is missing or NGX refuses; never both, never none. **Tried in the game**: RR took every frame from the first in the world on, no fallback. Needs `sl.dlss_d.dll` + `nvngx_dlssd.dll` from NVIDIA's Streamline 2.14.16 archive: `Get-NVIDIA-DLSS.cmd -RayReconstruction` (signature-checked, never in the repo). `VICTORY_RR_PROBE` records the render-target bindings that found the G-buffer. 2. **NVIDIA REFLEX** off/on/boost through Streamline, also without DLSS/FG. 3. **LANGUAGE** (whole F1 menu EN/DE), **HELP** on/off (longer plain-language explanation of each line with default and current value), **LOGGING** on/off plus ReShade/RenoDX debug-log switches. 4. **GAME SETTINGS**: the game's `settings.xml` in F1 – sliders and typed input (point only), the title's own ranges/steps/defaults read from its parser metadata, SAVE and PERSISTENT, quality levels incl. 4 = CUSTOM and 5 = SPECIAL, and **ADVANCED** with ~50 further quality settings. 5. View lines at the top of GAME SETTINGS: - **FIELD OF VIEW** 0.70–1.50, live (hook before `grcViewport::Perspective`; the previous frame's FOV is widened too so TAA/DLSS stay consistent; derived views such as mirrors left alone). Method after Kemerd's `aspect.rs` (GPL-3). - **LENS FLARES** off, live (the game's own `PhotoMode_LensFlaresMin` timecycle modifier, present in the Xbox data). - **VIGNETTE** off, live (every vignette reaches the GPU with strength 0). - **DEPTH OF FIELD** off, from the next start (the DOF object set up in the game's own "none" fallback mode). - **UNLOCK HIDDEN SETTINGS**: the 21 rows the console build hides in the game's settings menu (Camera > first person; Controller > first person aim/look). The game stores their values itself. **Tried in the game.** - **SHOW MENU NAMES**: those rows have no labels on Xbox; this shows their names as a list at the right edge (order checked in the game), plus the four steps of the known first-person glitch. - **WEATHER FIX**: the season follows the story so the weather no longer stays stuck (the 1.0.2.1 bug fixed in 1.0.2.2). Logic 1:1 after **VI-Patch** by ZiZc3 (https://github.com/ZiZc3/VI-Patch), its PS5 "Weather fix", findings by **idarius** and **TaPiOn-**; Xbox addresses found independently, PS5 ↔ Xbox mapping documented in `weatherfix.rs`. - **MANUAL WEATHER** + **WEATHER CHANGE** (at once / 10 / 30 / 60 s): 20 of the game's weather types on demand through the path mission scripts use – no cheat, saving and achievements stay. Missions that hold the weather win. 6. **X3D OPTION**: every Ryzen X3D model, AUTO or a manual CPU list; on two-CCD parts hot threads go to the V-Cache CCD (detected via `GetLogicalProcessorInformationEx`, not guessed). No effect on one-CCD parts, and the page says so. 7. **VRAM PRESETS** (NVIDIA/AMD tiles, card list with VRAM, the installed card detected) and **VRAM MANUAL (EXPERT)**: a BIOS-style page with 19 memory switches, each explained with examples for 8/10/12/16/32 GB; unmeasured values are marked as starting points. ## Also - **GPU CHANGE DETECTION** (`VICTORY_GPU_DIRTY`, based on #756): changed-memory detection with D3D12 compute instead of on the CPU. - **Diagnostics** (feature `diagnostics` only, no effect on release builds): wake/fence/host-fence timeline diagnostics, thread sampling, file-access trace (`VICTORY_FILE_TRACE`), `START_FRAME_DIAG.ps1`, `docs/diagnostics.md`. Diagnostics builds compile again. - Launcher: the feeder's copy of `victory.exe` is never stale; `-LogDir`. - F1 action rows merged with upstream's SAVE AND CLOSE GAME: the three saving rows stay last, PROFILE 1 SAVE/LOAD kept. - README: Ray Reconstruction files and where they go, the new lines, a numbered list of everything new. ## Tests `cargo test` (victory-gpu with `--test-threads=1`, victory-hle, victory-loader, victory) green except `shader_cache::tests::every_switch_of_the_translator_is_in_the_key`, which fails the same way on plain `main` (since 1b4b6cd4: `VICTORY_SCALAR_SPLITS` is in `KEYED` and `VICTORY_ORACLE_*` in `NOT_TRANSLATION`, but the translator reads neither) – left alone because it changes the shader cache key. With `--features diagnostics`, `compose::tests::bgrx_plane_selects_a_typed_view` also fails on plain `main`. Release and diag builds build; `cargo xtask policy --staged` passes for every commit (the whole-tree policy finding in `heap_sites/frame_users.rs` is upstream's). Each game-side patch was reviewed against a disassembly of the same executable. Not verified in the game yet: VIGNETTE, DEPTH OF FIELD, LENS FLARES, WEATHER FIX, MANUAL WEATHER (each built and reviewed against the executable; they report NOT ACTIVE rather than pretend when their place differs). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
NICKNAMErutschovkonikovan commented 2026-12-01 10:12:00 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by NICKNAMErutschovkonikovan on 2026-12-01T10:12:00Z.


Replaced by #4771, which carries everything from this branch on top of current main.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7307822253 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3590#issuecomment-7307822253). Originally posted by [NICKNAMErutschovkonikovan](https://github.com/NICKNAMErutschovkonikovan) on 2026-12-01T10:12:00Z. --- Replaced by #4771, which carries everything from this branch on top of current main.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

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