-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSteamModDownloaderMODPrompt.bat
More file actions
46 lines (41 loc) · 1.58 KB
/
SteamModDownloaderMODPrompt.bat
File metadata and controls
46 lines (41 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@echo off
::JMAD community mod downloader and rename script
:: Steamcmd Path
set steamcmdpath=E:\steam
::Steam username and Password
set Username=
set Pass=
:: Location to download mods to and location to move renamed mods. Mods when downloaded will be saved in a folder with the moid id.
:: Hence why we are renaming and moving to a diffrent folder, It will help keep mods upto date
set download=E:\ArmaServer\ArmaMods\downloads
set moveto=D:\Servers\ArmaServer\Antistasi
:: Game id must be set for the game you are downloading mods for in this example this id is for arma..
:: you can get the steam app id from here https://steamdb.info
::gameid="107410" modid="338988835" modname="@MCC"
:start
Echo Gamd ID
set /P gameid="Enter Game Id= "
:: The mod id can be found on the mods steam page or URL
Echo Mod ID
set /P modid="Enter Mod Id= "
:: The mods Name
Echo Mod Name
set /P modname="Enter Mod name example @MCC= "
:: Do not edit below this line unless you are Kerby/K4tniss
::-------------------------------------------------------------------------------------------------------------------------------------------------------------------
:: SteamCMD Download script
echo Downloading the Mod: %modname% - ID: %modid%
echo.
timeout 1
echo.
%steamcmdpath%\steamcmd.exe +force_install_dir "%download%" +login %Username% %pass% +workshop_download_item %gameid% %modid% validate +quit
timeout 100
cls
echo Download Complete
timeout 100
cls
::Renaming and moving script
echo Renaming and Moveing Mod
xcopy %download%\steamapps\workshop\content\%gameid%\%modid% "%moveto%\%modname%" /E/y/i
timeout 100
exit