ARK: Survival Evolved

ARK: Survival Evolved

Zobacz statystyki:
Gillymuff 16 sierpnia 2015 o 11:50
Can SteamCMD be used to update mods?
I'm playing around with SotF and a helpful player commented in another thread that in order to update SotF you have to manually copy over files from a client machine to update the mod on the server.

I've been running a regular Ark server and updating it with SteamCMD since the game came out. I'm wondering if there is a way to use SteamCMD and kick off a script to update the mod as well?

I've looked over the SteamCMD site and picked through some content on hosting Ark servers in general, but I haven't found a clear answer yet. I did find a reference to updating Half-Life dedicated server mods but it didn't seem clear if that was really for updating or how to make that work for Ark.

Does anyone know if there is a way to use SteamCMD to update SotF or other future mods as they come out?
Ostatnio edytowany przez: Gillymuff; 16 sierpnia 2015 o 11:50
< >
Wyświetlanie 16-30 z 31 komentarzy
yaitsbilly 13 listopada 2015 o 0:15 
Got it working thanks!!!

Question. Can I set this up to update/install multiple mods in command line? Also I've noticed its only downloading the folder, won't this been an issue once you start the server, or will it auto get the .mod file?
Ostatnio edytowany przez: yaitsbilly; 13 listopada 2015 o 0:20
Selune 12 grudnia 2015 o 20:11 
The received files are in .z format. How to make them usable ? It doesn't seem to be gzip or zip file types...
goramiir 7 stycznia 2016 o 10:20 
This downloads the files to the Steamcmd directory. will this work?
Volg Clawtooth 29 stycznia 2016 o 19:03 
alas it downloads the 'Unreal Engine Package' to a ${STEAMDIR}/steamapps/workshop/346110/${MODNUMBER} directory.. it does not unpack or install the mod, and I've found no way to do so.
smircher 29 stycznia 2016 o 19:46 
They are "Pack" files. You have to write a process to unpack them correctly. A few people have done it so far. As for doing a "Batch" set, you have to download the mods one at a time as far as I have seen. This shouldn't stop you from writting a wrapper that can download, and unpack them into the correct directory.
Durros 1 lutego 2016 o 4:30 
Początkowo opublikowane przez smircher:
They are "Pack" files. You have to write a process to unpack them correctly. A few people have done it so far. As for doing a "Batch" set, you have to download the mods one at a time as far as I have seen. This shouldn't stop you from writting a wrapper that can download, and unpack them into the correct directory.

Any chance you could clue those of us in that haven't done this before?
If I can find a means of unpacking 1 correctly I can post details of how to do the rest in a script. You can sort of do a batch set with steam cmd... Given a list of mod numbers..
"./steamcmd.sh +login anonymous +force_install_dir /home/steam/steamcmd/ARK +workshop_download_item 346110 5668585 +workshop_download_item 346110 506506101 +quit"
Just keep adding "+workshop_download_item 346110 <modnum>" before the +quit..
My command looks something like:

./steamcmd.sh +login anonymous +force_install_dir "${STEAMHOME}" +app_update "376030 validate" `ls "${STEAMHOME}/steamapps/common/ARK Survival Evolved Dedicated Server/ShooterGame/Content/Mods/"*.mod|xargs -i --delimiter='\n' --max-args=1 basename {} .mod|awk '{printf " +workshop_download_item 346110 %s",$1}'` +quit

The mess in the middle is listing out all the .mod files in my Ark Mods dir and parsing it into a list of " +workshop_download_item 346110 modnum" strings.... Of course it's USELESS without having a linux method of unpacking the UE4 Pack files.

smircher 6 lutego 2016 o 20:13 
I haven't written anything to do it, but there is a guy who has a python script that was supposedly to do this. I forked his repo, you can find it here. https://github.com/Smircher/ark-server-manager/tree/master/src
smircher 6 lutego 2016 o 20:14 
I had started writting a full on NodeJS server manager, but after the last few updates broke my server, and corrupted saves, I kind of gave up on Ark for awhile. I will probably come back and play it again in a month or so.
Joew 9 maja 2016 o 20:44 
Początkowo opublikowane przez WAR r3amped:
Got it.

For workshop item SOTF
steamcmd.exe +login anonymous +workshop_download_item 346110 496735411 +quit

I'm getting error. It isn't working...

http://pastebin.com/spj13i4p

How to fix it, please?

Thank you!
Looks like the mod has issues...
KKKira 11 maja 2016 o 7:45 
i thought sotf mod isnt supported anymore because standalone?!
smscott28 17 grudnia 2017 o 14:46 
Is there a way to make a bat file like this and update the mods also?

login username password

workshop_download_item 346110 496735411
workshop_download_item 346110 496735412
workshop_download_item 346110 496735413
workshop_download_item 346110 496735414

I wanted to ask I am trying it now to see if I can keep my mods upto date... I'll let you know
smscott28 18 grudnia 2017 o 18:11 
I figured this much out works perfectly fine to download mods... no I'm going to see if the validate command will work on this so it doesn't take up space and updates my mods


steamcmd.exe +login (steam username no parentheses) (steam password no parentheses) +force_install_dir D:\arkmods +workshop_download_item 346110 906325878 +workshop_download_item 346110 913462859 +workshop_download_item 346110 826777555 +workshop_download_item 346110 1106308763 +workshop_download_item 346110 1115844828 +workshop_download_item 346110 937219044 +workshop_download_item 346110 917078422 +workshop_download_item 346110 693803060 +workshop_download_item 346110 891346982 +workshop_download_item 346110 617213739 +workshop_download_item 346110 775966662 +workshop_download_item 346110 834585900 +workshop_download_item 346110 699984901 +workshop_download_item 346110 640838052 +workshop_download_item 346110 610770681 +workshop_download_item 346110 823000651 +workshop_download_item 346110 543752418 +(etc keep adding your mods without parentheses)
techneut92 21 lipca 2019 o 18:40 
Hello! maybe this is quite an old post but i felt like sharing my own sh file for linux to update apps.
I haven't properly tested it, but it does seem to work.

#!/bin/bash systemctl stop ark su -c ark "/home/ark/steamcmd +login anonymous +force_install_dir /home/ark/server +app_update 376030 +quit" # 731604991: Structures plus # 719928795: Platforms plus # 928102085: HG Stacking Mod # 751991809: Death recovery mod # 764755314: Castles, keeps and... # 797686039: Naturalism 2 for MOD in 731604991 719928795 764755314 do su -c ark "/home/ark/steamcmd +login anonymous +force_install_dir /home/ark/server +workshop_download_item 346110 $MOD +quit" rm -rf /home/ark/server/ShooterGame/Content/Mods/$MOD mv /home/ark/server/steamapps/workshop/content/346110/$MOD /home/ark/server/ShooterGame/Content/Mods/ done systemctl start ark
Ostatnio edytowany przez: techneut92; 21 lipca 2019 o 18:41
< >
Wyświetlanie 16-30 z 31 komentarzy
Na stronę: 1530 50

Data napisania: 16 sierpnia 2015 o 11:50
Posty: 31