From a718ea0ed562527a4f2f54cdb0d94ecd062d6857 Mon Sep 17 00:00:00 2001 From: vbawol Date: Thu, 28 Jan 2016 13:37:22 -0600 Subject: [PATCH] updated steamcmd install scripts --- Tools/Install/InstallArma.cmd | 17 ++++++++++++ Tools/Install/InstallBornholm.cmd | 22 +++++++++++++++ Tools/Install/InstallCUPTerrainPack.cmd | 37 +++++++++++++++++++++++++ Tools/Install/InstallEpoch.cmd | 9 ++++-- Tools/Install/InstallEsseker.cmd | 23 +++++++++++++++ 5 files changed, 106 insertions(+), 2 deletions(-) create mode 100644 Tools/Install/InstallArma.cmd create mode 100644 Tools/Install/InstallBornholm.cmd create mode 100644 Tools/Install/InstallCUPTerrainPack.cmd create mode 100644 Tools/Install/InstallEsseker.cmd diff --git a/Tools/Install/InstallArma.cmd b/Tools/Install/InstallArma.cmd new file mode 100644 index 00000000..a6367bbd --- /dev/null +++ b/Tools/Install/InstallArma.cmd @@ -0,0 +1,17 @@ +@ECHO OFF +SET STEAMUN=admin@youremail.net +SET STEAMPW=chamgeme +SET ARMASVRPATH=C:\Arma3Server + +::(Full client\server package) +SET ARMAAPPID=107410 + +::(Dedicated server package) +::SET ARMAAPPID=233780 + +::(Development version) +::SET ARMAAPPID=107410 -beta development + +:: more info https://community.bistudio.com/wiki/Arma_3_Dedicated_Server + +steamcmd.exe +login %STEAMUN% %STEAMPW% +force_install_dir "%ARMASVRPATH%" "+app_update %ARMAAPPID%" validate +quit diff --git a/Tools/Install/InstallBornholm.cmd b/Tools/Install/InstallBornholm.cmd new file mode 100644 index 00000000..2d1f6e85 --- /dev/null +++ b/Tools/Install/InstallBornholm.cmd @@ -0,0 +1,22 @@ +@ECHO OFF +SET STEAMUN=admin@youremail.net +SET STEAMPW=chamgeme +SET ARMASVRPATH=C:\Arma3Server +SET ARMAAPPID=107410 + +:: Use -mod line with quotes to support spaces in folder +:: Example: -mod=@Epoch;@bornholm; + +:: Install Bornholm + +SET MODFOLDER=@bornholm +SET ARMAWORKSHOPID=428181330 + +:: remove old folder +rd /s/q "%ARMASVRPATH%\%MODFOLDER%" + +:: update workshop mod +START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %ARMAAPPID% %ARMAWORKSHOPID% +quit + +:: copy files back to server +xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\%MODFOLDER%" diff --git a/Tools/Install/InstallCUPTerrainPack.cmd b/Tools/Install/InstallCUPTerrainPack.cmd new file mode 100644 index 00000000..81ffa9d7 --- /dev/null +++ b/Tools/Install/InstallCUPTerrainPack.cmd @@ -0,0 +1,37 @@ +@ECHO OFF +SET STEAMUN=admin@youremail.net +SET STEAMPW=chamgeme +SET ARMASVRPATH=C:\Arma3Server +SET ARMAAPPID=107410 + +:: Use -mod line with quotes to support spaces in folder +:: Example: -mod="@Epoch;@CUP Terrains - Core;@CUP Terrains - Maps;" + +:: Install CUP CORE + +SET MODFOLDER=@CUP Terrains - Core +SET ARMAWORKSHOPID=583496184 + +:: remove old folder +rd /s/q "%ARMASVRPATH%\%MODFOLDER%" + +:: update workshop mod +START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %ARMAAPPID% %ARMAWORKSHOPID% +quit + +:: copy files back to server +xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\%MODFOLDER%" + + +:: Install CUP MAPS + +SET MODFOLDER=@CUP Terrains - Maps +SET ARMAWORKSHOPID=583544987 + +:: remove old folder +rd /s/q "%ARMASVRPATH%\%MODFOLDER%" + +:: update workshop mod +START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %ARMAAPPID% %ARMAWORKSHOPID% +quit + +:: copy files back to server +xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\%MODFOLDER%" diff --git a/Tools/Install/InstallEpoch.cmd b/Tools/Install/InstallEpoch.cmd index 458e8741..7b909c17 100644 --- a/Tools/Install/InstallEpoch.cmd +++ b/Tools/Install/InstallEpoch.cmd @@ -3,12 +3,17 @@ SET STEAMUN=admin@youremail.net SET STEAMPW=chamgeme SET ARMASVRPATH=C:\Arma3Server SET ARMAAPPID=107410 + +:: Workshop IDs: +:: EpochExperimental = 455221958 +:: Normal Epoch = 421839251 SET ARMAWORKSHOPID=421839251 :: remove mod folder rd /s/q "%ARMASVRPATH%\@Epoch" + :: update workshop mod START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %ARMAAPPID% %ARMAWORKSHOPID% validate +quit -:: copy files back to server + +:: copy mod from steamcmd cache to server xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\@Epoch" -:: steamcmd.exe +login %STEAMUN% %STEAMPW% +force_install_dir "%ARMASVRPATH%" "+app_update %ARMAAPPID%" validate +quit diff --git a/Tools/Install/InstallEsseker.cmd b/Tools/Install/InstallEsseker.cmd new file mode 100644 index 00000000..aae74b21 --- /dev/null +++ b/Tools/Install/InstallEsseker.cmd @@ -0,0 +1,23 @@ +@ECHO OFF +SET STEAMUN=admin@youremail.net +SET STEAMPW=chamgeme +SET ARMASVRPATH=C:\Arma3Server +SET ARMAAPPID=107410 + +:: Requires CUP CORE and MAPS! +:: Use -mod line with quotes to support spaces in folder +:: Example: -mod="@Epoch;@CUP Terrains - Core;@CUP Terrains - Maps;@esseker" + +:: Install Esseker + +SET MODFOLDER=@esseker +SET ARMAWORKSHOPID=498101407 + +:: remove old folder +rd /s/q "%ARMASVRPATH%\%MODFOLDER%" + +:: update workshop mod +START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %ARMAAPPID% %ARMAWORKSHOPID% +quit + +:: copy files back to server +xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\%MODFOLDER%"