Files
VIctory-NVIDIA/PLAY_FRAMEGEN.cmd
Jose 6a39f4f252 Fix slot eviction busy race, shader-model adapter reuse, parallel card_steps test, and launcher scripts
- victory-gpu (resource): honor the busy flag returned by descriptor::evict_slots in slot_evict so textures with active slot creation on another thread are skipped (incrementing SLOT_EVICT[6]) instead of being evicted.
- victory-gpu (streamline): use the adapter returned by game_adapter() in highest_shader_model instead of discarding it and re-querying hardware_adapter().
- victory-gpu (card_steps): clear the test page range in late::PAGES via late::forget before running places_written_after_sending_are_learned and fills_done_on_the_cpu_are_learned_too so parallel test runs do not collide on reused heap pages.
- victory-gpu (font): remove unreachable duplicate b'%' arm in the F3 panel bitmap font.
- PLAY_FRAMEGEN.cmd: preserve %errorlevel% before pause in the check branch so failed checks do not exit with 0.
- PLAY_FACES_FIX.cmd: default to Windows powershell and use pwsh only when available instead of failing when PowerShell 7 is not installed.
2026-11-29 14:26:42 +01:00

48 lines
1.7 KiB
Batchfile

@echo off
rem One-click GTA VI on VIctory-NVIDIA (DLSS + frame generation). ASCII only.
rem PLAY_FRAMEGEN.cmd menu
rem PLAY_FRAMEGEN.cmd 1..6 start that mode directly
rem PLAY_FRAMEGEN.cmd check only show paths and what is ready
setlocal
set "PS1=%~dp0scripts\play-gta6-framegen.ps1"
set "PSH=powershell"
where pwsh >nul 2>nul && set "PSH=pwsh"
if not exist "%PS1%" (
echo Not found: %PS1%
pause
exit /b 1
)
if /i not "%~1"=="check" goto :menu
%PSH% -NoProfile -ExecutionPolicy Bypass -File "%PS1%" -Check
set "RC=%errorlevel%"
pause
rem The check's answer is what callers read: a failed check says so.
exit /b %RC%
:menu
set "PICK=%~1"
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 (recommended)
echo 2. Series X 1440p + DLSS Quality, no frame gen
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 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.
%PSH% -NoProfile -ExecutionPolicy Bypass -File "%PS1%" -Mode %PICK%
:end
echo.
pause