Left 4 Dead 2

Left 4 Dead 2

View Stats:
Kiotie Feb 9, 2013 @ 6:54pm
Workshop Files on Dedicated Server
Hello,

I have a dedicated L4D2 server on a Windows machine, is there an easy way to retrieve Workshop items such as maps for a dedicated server?

Thanks!
Last edited by Kiotie; Feb 9, 2013 @ 9:02pm
< >
Showing 1-10 of 10 comments
2point4 Feb 9, 2013 @ 7:34pm 
The only way I know so far is to copy them over to the addons folder on the server. CS:GO recently got Workshop and server integration looks pretty decent so far:

https://developer.valvesoftware.com/wiki/CSGO_Workshop_For_Server_Operators

Maybe once L4D2 is on the new CDN Valve will add in a similar feature for us.
Kiotie Feb 9, 2013 @ 9:00pm 
Yeah, that's what I've done for now. Thanks for the info!
Vermilicious Aug 28, 2013 @ 11:40am 
Is there any support for "host_workshop_collection" (or similar) yet?
ReelGenius May 14, 2014 @ 3:25pm 
Still no host_workshop_collection in L4D2?
Geam Apr 15, 2016 @ 4:16am 
Hi, I write this little python3 script to dl collection from the workshop.
https://github.com/Geam/steam_workshop_downloader
You just need to download the workshop.py script, make it runable and run it with the id of the collection(s) as arg.
Make it runable (unix like system):
chmod +x workshop.py
Run it *unix like system)
./workshop.py <collection_id>
You can add as many collection as you need.
If the script is not place in the addon directory, you need to tell it where the addon dir is (unix like system)
./workshop.py -o /path/to/l4d2/addons/workshop <collection_id>

Honnestly, I did not try it on windows machine but if you download python3 for window, it should work. Report to this page https://docs.python.org/3/faq/windows.html
If I've read correctly, you should then run the script like this
python workshop.py -o C:\path\to\l4d2\addons\workshop <collection_id>
Last edited by Geam; Apr 15, 2016 @ 4:17am
Josh Aug 13, 2016 @ 6:16pm 
Geam, thank you so much for your script, super helpful! :D
Weigor Oct 8, 2016 @ 7:51pm 
Thanks a lot for Geam, it's a useful tool
snake98 Dec 6, 2016 @ 1:26pm 
I get server return 400 error with this program, anyone get it working still?
Vrej_ Apr 30 @ 8:25pm 
Originally posted by snake98:
I get server return 400 error with this program, anyone get it working still?
Try making your steam collection public, mine had this error until doing that.
dustin May 5 @ 1:06pm 
@ Geam

Hey thanks a lot man. Your workshop.py script is extremely handy.

Curious about one thing - any way the script can shut itself off after about 40 - 60 retries? For server admins who run your script through a cron job every day (to make sure addon maps are always kept up to date) - so they can be sure the script doesn't keep running forever if a workshop download file goes missing for whatever reason.
< >
Showing 1-10 of 10 comments
Per page: 15 30 50

Date Posted: Feb 9, 2013 @ 6:54pm
Posts: 10