confOS/windows/start_obs_as_shadowplay.bat

21 lines
447 B
Batchfile
Raw Permalink Normal View History

@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" ^
2024-08-21 11:18:39 +02:00
obs64.exe --profile "ReplayBuffer" --scene "ReplayBuffer" ^
--portable --minimize-to-tray --disable-missing-files-check ^
--disable-shutdown-check --startreplaybuffer
EXIT /B