Epoch/Tools/Install/InstallEpoch.cmd

16 lines
664 B
Batchfile
Raw Normal View History

2015-07-21 21:46:58 +00:00
@ECHO OFF
SET STEAMUN=admin@youremail.net
SET STEAMPW=chamgeme
SET ARMASVRPATH=C:\Arma3Server
SET ARMAAPPID=107410
:: Workshop IDs: EpochExperimental = 455221958, Normal Epoch = 421839251
2015-07-29 20:13:06 +00:00
SET ARMAWORKSHOPID=421839251
2015-07-21 21:46:58 +00:00
:: remove mod folder
rd /s/q "%ARMASVRPATH%\@Epoch"
2015-07-21 22:58:49 +00:00
:: remove cache C:\Users\Administrator\Downloads\steamcmd\steamapps\workshop
del "steamapps\workshop\appworkshop_%ARMAAPPID%.acf"
2015-07-21 21:46:58 +00:00
:: update workshop mod
START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %ARMAAPPID% %ARMAWORKSHOPID% +quit
:: copy files back to server
2015-07-21 22:58:49 +00:00
xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\@Epoch"