From ad76e5052002ff27472f7468aa57905c19248121 Mon Sep 17 00:00:00 2001 From: Blitzball996 <156395346+Blitzball996@users.noreply.github.com> Date: Fri, 27 Nov 2026 14:47:16 +0800 Subject: [PATCH] Local: extreme Series X mode (6), frame generation 4x on RTX 50 (GTA6_FRAMEGEN_X overrides) --- PLAY_FRAMEGEN.bat | 18 ++++++++++-------- scripts/play-gta6-framegen.ps1 | 16 +++++++++++++--- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/PLAY_FRAMEGEN.bat b/PLAY_FRAMEGEN.bat index 62defad..f55ef11 100644 --- a/PLAY_FRAMEGEN.bat +++ b/PLAY_FRAMEGEN.bat @@ -1,7 +1,7 @@ @echo off rem One-click GTA VI on VIctory-NVIDIA (DLSS + frame generation). ASCII only. rem PLAY_FRAMEGEN.bat menu -rem PLAY_FRAMEGEN.bat 1..5 start that mode directly +rem PLAY_FRAMEGEN.bat 1..6 start that mode directly rem PLAY_FRAMEGEN.bat check only show paths and what is ready setlocal set "PS1=%~dp0scripts\play-gta6-framegen.ps1" @@ -22,17 +22,19 @@ if not "%PICK%"=="" goto :run echo ================================================ echo GTA VI - VIctory-NVIDIA, DLSS + frame generation +echo (RTX 50: frame generation 4x automatically) echo ================================================ -echo 1. Series X 1440p + DLSS Quality + frame gen 2x (recommended) +echo 1. Series X 1440p + DLSS Quality + frame gen (recommended) echo 2. Series X 1440p + DLSS Quality, no frame gen -echo 3. Series S + DLSS Quality + frame gen 2x (faster, softer) -echo 4. Series X 1440p + DLSS Performance + frame gen 2x -echo 5. EXTREME: Series S + DLSS Performance + frame gen 2x + big pools + High priority +echo 3. Series S + DLSS Quality + frame gen (faster, softer) +echo 4. Series X 1440p + DLSS Performance + frame gen +echo 5. EXTREME Series S: DLSS Performance + frame gen + big pools + High priority +echo 6. EXTREME Series X: 1440p DLSS Performance + frame gen + big pools + High priority echo Q. Quit echo. -choice /c 12345Q /n /m "Choose 1-5 or Q: " -if errorlevel 6 goto :end -if errorlevel 5 (set "PICK=5") else if errorlevel 4 (set "PICK=4") else if errorlevel 3 (set "PICK=3") else if errorlevel 2 (set "PICK=2") else (set "PICK=1") +choice /c 123456Q /n /m "Choose 1-6 or Q: " +if errorlevel 7 goto :end +if errorlevel 6 (set "PICK=6") else if errorlevel 5 (set "PICK=5") else if errorlevel 4 (set "PICK=4") else if errorlevel 3 (set "PICK=3") else if errorlevel 2 (set "PICK=2") else (set "PICK=1") :run echo. diff --git a/scripts/play-gta6-framegen.ps1 b/scripts/play-gta6-framegen.ps1 index 5f8bbdb..7520a66 100644 --- a/scripts/play-gta6-framegen.ps1 +++ b/scripts/play-gta6-framegen.ps1 @@ -9,7 +9,7 @@ # 3 Series S + DLSS Quality + frame generation 2x (faster, softer) # 4 Series X 1440p + DLSS Performance + frame generation 2x param( - [ValidateSet('1', '2', '3', '4', '5')][string]$Mode = '1', + [ValidateSet('1', '2', '3', '4', '5', '6')][string]$Mode = '1', [string]$GameDir = '', [switch]$Check, [switch]$NoBackup @@ -49,6 +49,7 @@ switch ($Mode) { '3' { $opts = @{ SeriesS = $true; FrameGen = $true }; $what = 'Series S, DLSS Quality, frame generation 2x' } '4' { $opts = @{ Dlss = 'performance'; FrameGen = $true }; $what = 'Series X 2560x1440, DLSS Performance, frame generation 2x' } '5' { $opts = @{ SeriesS = $true; Dlss = 'performance'; FrameGen = $true; Fps = 1000 }; $what = 'EXTREME: Series S, DLSS Performance, frame generation 2x, no cap, big pools, High priority' } + '6' { $opts = @{ Dlss = 'performance'; FrameGen = $true; Fps = 1000 }; $what = 'EXTREME: Series X 2560x1440, DLSS Performance, frame generation 2x, no cap, big pools, High priority' } } $sl = Join-Path $repo 'nvidia-sdk\Streamline\bin\x64' $victory = Join-Path $repo 'target\release\victory.exe' @@ -107,11 +108,20 @@ $more = @{ VICTORY_PLACED_ORDER = '1' } if ($cpus -ge 24) { $more.VICTORY_THIN_THREADS = '12'; $more.VICTORY_UNDER_THREADS = '8'; $more.VICTORY_LAND_THREADS = '8' } elseif ($cpus -ge 16) { $more.VICTORY_THIN_THREADS = '12'; $more.VICTORY_UNDER_THREADS = '8'; $more.VICTORY_LAND_THREADS = '6' } # Extreme: the landing pool sat full at 8 (x6.1-6.6 of 8 in AnyXboxX's heavy scenes), one more pipeline worker. -if ($Mode -eq '5' -and $cpus -ge 24) { $more.VICTORY_LAND_THREADS = '12'; $more.VICTORY_PIPELINE_WORKERS = '4' } +if (($Mode -in @('5', '6')) -and $cpus -ge 24) { $more.VICTORY_LAND_THREADS = '12'; $more.VICTORY_PIPELINE_WORKERS = '4' } if ($env:GTA6_NO_TUNE -eq '1') { $more = @{}; Write-Host 'GTA6_NO_TUNE=1: foxhound defaults (no pool or placed-order tuning).' } else { Write-Host ("Tuning for {0} logical CPUs: {1}" -f $cpus, (($more.GetEnumerator() | Sort-Object Name | ForEach-Object { "$($_.Name)=$($_.Value)" }) -join ' ')) } $opts.More = $more -if ($Mode -eq '5') { +# RTX 50 cards do multi frame generation: 4x there (the layer asks the driver and gives no more than it does). +# GTA6_FRAMEGEN_X=2..6 overrides. RTX 40 stays at 2x. +$gpuName = (Get-CimInstance Win32_VideoController -ErrorAction SilentlyContinue | Where-Object { $_.Name -match 'NVIDIA' } | Select-Object -First 1).Name +if ($opts.FrameGen) { + if ($env:GTA6_FRAMEGEN_X -match '^[2-6]$') { $opts.FrameGenX = [int]$env:GTA6_FRAMEGEN_X } + elseif ($gpuName -match 'RTX\s*50\d\d') { $opts.FrameGenX = 4 } + $fgx = if ($opts.FrameGenX) { $opts.FrameGenX } else { 2 } + Write-Host ('GPU: {0}; frame generation {1}x' -f $gpuName, $fgx) +} +if ($Mode -in @('5', '6')) { # Raise the game to High priority once it is up (the submitting thread is the limit). $null = Start-Job -ArgumentList $repo -ScriptBlock { param($r)