confOS/windows/start_obs_as_shadowplay.bat
2024-08-21 00:39:56 +02:00

19 lines
408 B
Batchfile

@ECHO OFF
:: Start as administrator
fltmc >NUL 2>&1 || (
PowerShell Start -Verb RunAs '%0' 2>NUL || (
EXIT 1
)
EXIT 0
)
:: Working directory
CD "%ProgramFiles%\obs-studio\bin\64bit"
:: Run OBS
START "OBS Shadowplay batch wrapper" ^
obs64.exe --portable --minimize-to-tray --disable-missing-files-check ^
--profile "ReplayBuffer" --scene "ReplayBuffer" --startreplaybuffer
EXIT /B