Uro1

SteamCMD_ArmaReforgerInstall.cmd

May 23rd, 2022 (edited)
351
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. @rem http://media.steampowered.com/installer/steamcmd.zip
  3. SETLOCAL ENABLEDELAYEDEXPANSION
  4.  
  5.     :: DEFINE the following variables where applicable to your install
  6.     SET STEAM_UID="anonymous"
  7.     SET STEAM_PW=""
  8.     SET ServerPath=C:\install_path_for_your_ArmaReforgerServer
  9.     ::  The Directory you extracted steamcmd to from the above zip file
  10.     SET STEAMCMDPATH=C:\steamcmd
  11.    
  12.     :: Do not edit anything below this line unless you know what you are doing
  13.  
  14.     SET STEAMLOGIN=%STEAM_UID% %STEAM_PW%
  15.     SET GAMEBRANCH=1874900
  16.  
  17. ::
  18. echo.
  19. echo     You are about to update your Arma Reforger server
  20. echo        Dir: %ServerPath%
  21. echo        Branch: %GAMEBRANCH%
  22. echo.
  23. echo     Key "ENTER" to proceed
  24. pause
  25. %STEAMCMDPATH%\steamcmd.exe +force_install_dir %ServerPath% +login %STEAMLOGIN% +"app_update %GAMEBRANCH%" validate +quit
  26. echo .
  27. echo     Your ArmaReforgerServer is now up to date
  28. echo     key "ENTER" to exit
  29. pause
RAW Paste Data Copied