upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/PLAY_FACES_FIX.cmd
blob: ed42d537ab0a5cfc9a6fafc82d888d937c090eff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@echo off
setlocal
rem The game 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-nvidia-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