mirror of
https://github.com/trustno1-coder/VIctory-NVIDIA.git
synced 2026-12-06 09:18:35 +00:00
- 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.
21 lines
592 B
Batchfile
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
|