Jump to content

Mods Download/Update [STEAMCMD / BAT]


Recommended Posts

Hi!

I made one BAT script to download/update steam workshop mods by steamcmd.
I've SteamCMD installed on my dedicated server and this batch uses only it to install or update any mod that you want.

Requeriments:
x SteamCMD: https://developer.valvesoftware.com/wiki/SteamCMD

Instructions:
1- Save the file: Arma3-Mods-Update.bat in SteamCMD folder.
2- FInd :: MODS IDS and place there all your mods, just like as the example on file.
3- Note that double " :: " is comment, so the script will ignore those lines. I uses it to help me knew the Mods Names and to note somethings important.
4- Choose between 2 options: 1) Ask for steam username and steam pass all time that you run the file or 2) Set them one time and save it on the .BAT. Comment all lines that you don't want.
5- Run the Arma3-Mods-Update.bat (just open it) and wait. The program will close after finishing download all mods.
6- The mods will be saved in the folder: SteamCMD\steamapps\workshop\content\107410

Arma3-Mods-Update.bat

Spoiler
@echo off

:: MODS IDs

:: CUP CORE
set Mods[0]=583496184

:: CUP MAPS
set Mods[1]=583544987

:: MODS ID END

echo This Will Install/Update Arma3 Mods
echo.
echo Author: Joew
echo Credits: tinboye - Gives me the cmd to update mods.
echo.

:: STEAM CONFIGS

:: OPTION 1: ASKING FOR STEAM LOGIN AND PASS

set /p login=Steam Login: 
echo.
set /p pass=Steam Pass: 
echo.

:: END OPTION 1

:: OPTION 2: Set your steam and pass and save it. (I don't recommend this for security)

::set "login=YOUR_STEAM_LOGIN"
::set "pass=YOUR_STEAM_PASS"

:: END OPTION 2

:: END STEAM CONFIGS

:: Folder Mods => SteamCMD\steamapps\workshop\content\107410

set "x=0"

:SymLoop
if defined Mods[%x%] (
	call set list=%list% +"workshop_download_item 107410 %%Mods[%x%]%%" validate
    set /a "x+=1"
    GOTO :SymLoop
)
echo.
steamcmd +login %login% %pass%%list% +quit

 

Credits to @tinboye that helped me ;)

Sorry for my english.

Edited by joew
  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.