tinboye

[Release] Steam Workshop Downloader

4 posts in this topic

So thought I would officially share this collection, I use it on my dedicated server to help download Mods from steam workshop without having to install steam client.

I had the idea originally,  and then shared it earlier, then @joew00 had adapted the idea and improved on it. So this is a combined release from us both.

Spoiler

Steam Workshop Batch Scripts

This is a collection of windows batch files

These scripts were created in combined efforts by joew00 and Tinboye

    joew00 - http://www.exilemod.com/profile/89117-joew00/
    tinboye - http://www.exilemod.com/profile/5022-tinboye/

Installation

first thing you need to do is download steamcmd from https://developer.valvesoftware.com/wiki/SteamCMD Once downloaded place the steamcmd.exe in a folder where you want steamcmd to reside. example: C:\servers\steamcmd\steamcmd.exe

Once you have a location set, run steamcmd.exe so it will download all the rest of the files.

Then edit all 3 batch files and set steamcmd path. set "steamcmdpath=C:\path\to\steamCMD"

    download_arma3server.bat this batch file will allow a person to download arma 3 server files to a set server folder specified. This batch you will need to specify where you want the Arma 3 Server files installed.

    set "steamcmdpath=C:\path\to\steamCMD"
    set "serverpath=C:\path\to\server"

    download_singlemod.bat this batch file will allow a person to download a single arma 3 steam workshop item. When you run this batch file, you will be prompted to enter your steam username and password and then the workshop ID# you can get the ID# from the steam workshop URL. Example: you search google for arma 3 Cup Core and you get the url: https://steamcommunity.com/sharedfiles/filedetails/?id=583496184 the 583496184 is the ID# you would want to enter to download CUP Core.

    download_bulk_mods.bat this batch file will allow a person to download multiple arma 3 steam workshop items. this batch file is like the above, except you will see a list of mods. Example:

    set ModsName[14]="@CUP_Terrains_Core"
    set Mods[14]=583496184
    set ModDownload[14]=false

so you set the

  set ModDownload[14]=true

repeat this for every mod you want to download, then run the batch file.
Future Additions

I will be adding a batch file that will create symbolic links for each mod within the bulk mods script.

 

You can download it at

https://github.com/tinboye/Steam_workshop_scripts

  • Like 5

Share this post


Link to post
Share on other sites
Advertisement
On 5/15/2017 at 3:30 PM, Fallout2431 said:

Is it possible to use this with other games such as xcom 2?

 

yes, i actually just was playing with the batch file so i could install the forest dedicated server. so i have modified a couple things.

 

Spoiler

@echo off

echo This Will Install/Update Server Files
echo.
echo Author: Joew
echo Credits: tinboye - www.fortex.wtf - Gives me the cmd to update mods.
echo.
:: STEAM CONFIGS

::Path to SteamCMD.exe without \
set "steamcmdpath=D:\servers\steamcmd"
::
::Path to Root Server Path without \
set "serverpath=D:\servers"

:: OPTION 1: ASKING FOR STEAM LOGIN AND PASS

set /p login=Steam Login: 
echo.
set /p pass=Steam Pass:
echo.
set /p servername=Game Server Name:
echo.
set /p serverID=Game Server ID#:
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

echo.
%steamcmdpath%\steamcmd +login %login% %pass% +force_install_dir "%serverpath%\%servername%" +app_update %serverID% validate +quit

 

you will see here 

::Path to Root Server Path without \
set "serverpath=D:\servers"

set this path to a main folder where you keep ALL your game servers.

then once you run the batch, it will prompt you to enter user/pass, then it will ask you to enter your Game Server Name. enter for example xcom2
this will then create the path d:\servers\xcom2
after that it will ask for the game server ID#, you can find that list at https://developer.valvesoftware.com/wiki/Dedicated_Servers_List, for xcom2 you would just google xcom steam id, and it will come up,  268500

enter the ID that you want and hit enter, 
and it will start to download the files.

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.