diff --git a/SoloLobbyCreator.bat b/SoloLobbyCreator.bat new file mode 100644 index 0000000..8056628 --- /dev/null +++ b/SoloLobbyCreator.bat @@ -0,0 +1,45 @@ +@echo off +title SoloLobbyCreator +mode con:cols=54 lines=11 +set title=SoloLobbyCreator by lzrdblzzrd +if not exist pssuspend.exe ( + color 0C + title [ ERROR! ] %title% + echo. + echo ###################################################### + echo # # + echo # MISSING DEPENENCIES! # + echo # 'pssuspend.exe' is required to be in # + echo # the same directory as this script! # + echo # # + echo # Exiting... # + echo # # + echo ###################################################### + timeout 3 /nobreak >nul + start "" https://docs.microsoft.com/en-us/sysinternals/downloads/pssuspend + exit +) else ( + color 0B + pssuspend.exe "GTA5.exe" -accepteula -nobanner >nul + for /l %%s in (9,-1,1) do ( + cls. + echo. + echo ###################################################### + echo # # + echo # GTA V process suspended for 9 seconds, please wait # + title [ %%s ] %title% + timeout 1 /nobreak >nul + ) + title [ Done! ] %title% + echo # # + echo # Resuming the GTA V process.. # + pssuspend.exe -r "GTA5.exe" -accepteula -nobanner >nul + echo # # + echo # Deleting the accepted EULA from the registry.. # + reg delete HKEY_CURRENT_USER\SOFTWARE\Sysinternals /f >nul + echo # # + echo ###################################################### + color 0A + timeout 3 /nobreak >nul + exit +) \ No newline at end of file