Add files via upload

This commit is contained in:
lzrdblzzrd
2021-04-01 19:42:18 +03:00
committed by GitHub
parent 036c91f3d2
commit 9b2a0400e6

45
SoloLobbyCreator.bat Normal file
View File

@@ -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
)