Launcher: allow an isolated RTX 40 frame-generation host #708

Manually merged
github merged 1 commit from github-bot/gh-708 into main 2026-11-29 08:22:35 +00:00 AGit
Owner

@⁠dsh38 on GitHub · 2026-11-28 04:03 UTC · original
dsh38:patch-1 → main · +19 −0 · 1 files · 1 commits · merged 2026-11-29 08:16 UTC

This adds a source-build launcher option for people who already use ReShade and the MFG Unlock add-on by mavismmg, based on ImDreamt’s RenoDX project. The add-on provides the RTX 40 functionality. This change selects its executable directory and refreshes the executable when a new build has a different hash. The default launch path and Streamline capability query stay in effect. Related to #702, which tests a different mod and loading mechanism.

Reproduce

  1. Build the normal release and install the project’s NVIDIA dependencies. Create target/release/ada-mfg and copy target/release/victory.exe there for the initial setup.
  2. For that copy of victory.exe, install the Direct3D 10/11/12 version of ReShade with full add-on support and install the RenoDX add-on following its author’s instructions. The tested directory contains victory.exe, dxgi.dll and renodx-mfgunlock.addon64. Select the add-on’s DLSS-G method. All third-party files come from their publishers.
  3. From the repository root, in a new PowerShell window, run the following. Choose 3, 4, 5 or 6 for the multiplier. A saved F1 frame-generation setting can take precedence over the command-line request.
$env:GTA6_ADA_MFG = '1'
$env:GTA6_FRAMEGEN_X = '4'
.\PLAY_FRAMEGEN.cmd 3

Starting the launcher in a fresh shell without the opt-in selects its normal executable. The repository and releases do not need to distribute ReShade, the add-on, NVIDIA binaries or game content.

RTX 4080 SUPER measurements

Windows 11 25H2, driver 617.14, HAGS on, ReShade 6.8.0 full add-on edition, MFG Unlock 1.12.1, Streamline 2.14.16, DLSS-G 310.9.16. In separate runs of victory.exe upscaler-check --present --output 1920x1080 on c437b05, both host executables were byte-identical. Each run submitted 180 source frames. Counts below are Streamline-reported frames shown.

Host Requested Shown
Normal 4× 360
Add-on 3× 540
Add-on 4× 720
Add-on 5× 872
Add-on 6× 1,080

The 5× run started without focus. After the test window received focus the add-on reported five actual presents per call. Two unfocused controls gave 180 → 180. All listed tests exited successfully with FG status 0x0. In-game examples include 550 → 3,300 over 26.04 seconds on the earlier base and 340 → 1,360 over 15.43 seconds in the Series X boat scene on a local graphics build based on 8fc2254. These are presenter counters. Frame pacing and other RTX 40 models were outside the test.

AI-assisted implementation and testing on a physical RTX 4080 SUPER.

**@⁠dsh38** on GitHub · 2026-11-28 04:03 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/708) `dsh38:patch-1` → `main` · +19 −0 · 1 files · 1 commits · merged 2026-11-29 08:16 UTC This adds a source-build launcher option for people who already use ReShade and the [MFG Unlock add-on by mavismmg, based on ImDreamt’s RenoDX project](https://github.com/mavismmg/MFGAdaUnlock-RenoDx). The add-on provides the RTX 40 functionality. This change selects its executable directory and refreshes the executable when a new build has a different hash. The default launch path and Streamline capability query stay in effect. Related to #702, which tests a different mod and loading mechanism. ### Reproduce 1. Build the normal release and install the project’s NVIDIA dependencies. Create `target/release/ada-mfg` and copy `target/release/victory.exe` there for the initial setup. 2. For that copy of `victory.exe`, install the Direct3D 10/11/12 version of [ReShade with full add-on support](https://reshade.me/) and install the RenoDX add-on following its author’s instructions. The tested directory contains `victory.exe`, `dxgi.dll` and `renodx-mfgunlock.addon64`. Select the add-on’s DLSS-G method. All third-party files come from their publishers. 3. From the repository root, in a new PowerShell window, run the following. Choose 3, 4, 5 or 6 for the multiplier. A saved F1 frame-generation setting can take precedence over the command-line request. ~~~powershell $env:GTA6_ADA_MFG = '1' $env:GTA6_FRAMEGEN_X = '4' .\PLAY_FRAMEGEN.cmd 3 ~~~ Starting the launcher in a fresh shell without the opt-in selects its normal executable. The repository and releases do not need to distribute ReShade, the add-on, NVIDIA binaries or game content. ### RTX 4080 SUPER measurements Windows 11 25H2, driver 617.14, HAGS on, ReShade 6.8.0 full add-on edition, MFG Unlock 1.12.1, Streamline 2.14.16, DLSS-G 310.9.16. In separate runs of `victory.exe upscaler-check --present --output 1920x1080` on `c437b05`, both host executables were byte-identical. Each run submitted 180 source frames. Counts below are Streamline-reported frames shown. | Host | Requested | Shown | | --- | ---: | ---: | | Normal | 4× | 360 | | Add-on | 3× | 540 | | Add-on | 4× | 720 | | Add-on | 5× | 872 | | Add-on | 6× | 1,080 | The 5× run started without focus. After the test window received focus the add-on reported five actual presents per call. Two unfocused controls gave 180 → 180. All listed tests exited successfully with FG status 0x0. In-game examples include 550 → 3,300 over 26.04 seconds on the earlier base and 340 → 1,360 over 15.43 seconds in the Series X boat scene on a local graphics build based on `8fc2254`. These are presenter counters. Frame pacing and other RTX 40 models were outside the test. AI-assisted implementation and testing on a physical RTX 4080 SUPER.
Added support for optional ReShade host and environment variables.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 04:06:19 +00:00
Author
Owner

@⁠dsh38 on GitHub · 2026-11-28 04:18 UTC · original

I tested all four multipliers in game on the same RTX 4080 SUPER and the same local release build based on 63b902f. The launcher matches the file in this PR. The build also includes the face and water rendering changes discussed in #703 and #221. Each run started with its own empty engine cache and a 1920×1080 window.

Requested Scene Source presents → frames shown in the scene Longest consecutive interval at the requested ratio
3× Series S, night cutscene 179 → 537 1,580 → 4,740 over 62.21 s
4× Series X, boat 332 → 1,328 1,742 → 6,968 over 82.60 s
5× Series S, night cutscene 164 → 820 1,262 → 6,310 over 61.04 s
6× Series S, night cutscene 163 → 978 687 → 4,122 over 35.86 s

Counts come from Streamline with FG enabled and status 0x0. Keeping the game window focused also gave a full 5× interval after the mixed startup result in the standalone test. These counters measure presented frames. Display scanout and frame pacing were outside this test.

The repository asset-policy check passed on the exact PR commit (294 files). I also checked the launcher's missing-file errors for the optional ReShade DLL and add-on separately.

**@⁠dsh38** on GitHub · 2026-11-28 04:18 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/708#issuecomment-7233906838) I tested all four multipliers in game on the same RTX 4080 SUPER and the same local release build based on `63b902f`. The launcher matches the file in this PR. The build also includes the face and water rendering changes discussed in #703 and #221. Each run started with its own empty engine cache and a 1920×1080 window. | Requested | Scene | Source presents → frames shown in the scene | Longest consecutive interval at the requested ratio | | --- | --- | ---: | ---: | | 3× | Series S, night cutscene | 179 → 537 | 1,580 → 4,740 over 62.21 s | | 4× | Series X, boat | 332 → 1,328 | 1,742 → 6,968 over 82.60 s | | 5× | Series S, night cutscene | 164 → 820 | 1,262 → 6,310 over 61.04 s | | 6× | Series S, night cutscene | 163 → 978 | 687 → 4,122 over 35.86 s | Counts come from Streamline with FG enabled and status 0x0. Keeping the game window focused also gave a full 5× interval after the mixed startup result in the standalone test. These counters measure presented frames. Display scanout and frame pacing were outside this test. The repository asset-policy check passed on the exact PR commit (294 files). I also checked the launcher's missing-file errors for the optional ReShade DLL and add-on separately.
github manually merged commit 0cbaecf2f6 into main 2026-11-29 08:22:35 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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!708
No description provided.