Files
VIctory-NVIDIA/PLAY_FACES_FIX.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

21 lines
592 B
Batchfile

@echo off
setlocal
rem GTA VI with DLSS frame generation and facial mesh relocation enabled.
rem Usage: PLAY_FACES_FIX.cmd [mode 1-6], default mode 1.
set "PS1=%~dp0scripts\play-gta6-framegen.ps1"
set "PSH=powershell"
set "MODE=%~1"
if "%MODE%"=="" set "MODE=1"
where pwsh >nul 2>nul && set "PSH=pwsh"
if "%PSH%"=="powershell" if exist "C:\Program Files\PowerShell\7\pwsh.exe" set "PSH=C:\Program Files\PowerShell\7\pwsh.exe"
if not exist "%PS1%" (
echo Not found: %PS1%
pause
exit /b 1
)
"%PSH%" -NoProfile -ExecutionPolicy Bypass -File "%PS1%" -Mode %MODE% -FaceMeshFix
echo.
pause