Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
v1.1 - Now gives option to install missing games!
Browse files Browse the repository at this point in the history
  • Loading branch information
brysondev authored Jan 4, 2021
1 parent e150c1b commit 48b724c
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions of_install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,24 @@ echo.
echo Please make sure you have the required games installed before pressing continue!
echo Team Fortress 2 and Source SDK 2013 Multiplayer are REQUIRED for this game to run.
echo.
set /p gameInst="Do you want to install them now? (y/n): "
If /i "%gameInst%"=="y" goto instgm
If /i "%gameInst%"=="n" goto cont

:instgm
echo.
echo Installing TF2...
start iexplore.exe steam://install/440
echo.
echo Once the game has downloaded successfully, hit enter.
pause
echo.
echo Installing Source SDK 2013 Multiplayer...
start iexplore.exe steam://install/243750
echo.
echo Once the game has downloaded successfully, hit enter.
pause
:: lol i don't know how to get a browser to open properly
:: set /p gameInst="Do you want to install them now? (y/n): "
:: If /i "%gameInst%"=="y" goto instgm
:: If /i "%gameInst%"=="n" goto cont
::
:: :instgm
:: start steam://install/440
:: pause
:: start steam://install/243750
:: pause
:: goto cont
goto cont
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:cont
setlocal ENABLEEXTENSIONS
Expand Down Expand Up @@ -56,9 +62,9 @@ cd /D %STEAM_REG_PATH%
goto installOF
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:installOF
echo Installing...
echo Installing Open Fortress...
echo.
echo Just press "OK" for anything that pops up. Everything is setup for you!
echo Just press "OK" for anything that pops up. Everything is setup automatically!
echo.
if exist "open_fortress\.svn\wc.db" (
"%TORT_REG_PATH%" /command:update /path:".\open_fortress" /skipprechecks /closeonend:0
Expand Down

0 comments on commit 48b724c

Please sign in to comment.