Day of Infamy

Day of Infamy

Not enough ratings
Server Side Workshop
By Arc
This guide is needed for those who want to enable Steam Workshop support on their servers.
   
Award
Favorite
Favorited
Unfavorite
Intro
Here i'll explain how to enable/configure Steam Workshop integration of Day of Infamy Dedicated Server.

Steam Workshop should be working for both Windows and Linux Dedicated server as well.
1.) Setting up the Workshop support
First add this parameter to the startup file (command line)
-workshop

This will enable workshop support for server.

Now tell the server which files should be downloaded.
Navigate to:
..\doi

create a TXT file and rename it to:
subscribed_file_ids

In case you want to use your own custom modification or map, you need to upload it on Steam Workshop through the game client first.

Then navigate through the Steam Workshop:
https://steamhost.cn/steamcommunity_com/workshop/browse?appid=447820

and find a mod that you want to have on your server. Locate its ID number, it is written in the HTTP link of the mod, example:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=823752012

So the example mod ID is "823752012"

Copy that ID number to the "subscribed_file_ids.txt" file you have just created. Multiple ID’s can be placed, just be sure it is one ID per line.

Start the server and it will attempt to download all the Workshop mods (might take a while if you have lots of mods).
2.) Current Workshop system
Attention !
It is necessary to add mod ID number to "subscribed_file_ids.txt" file, otherwise clients won’t recognize the mod and will be disconnected.

Server-side folder structure:
root\steamapps\workshop\content\447820\

Client-side folder structure:
SteamLibrary\steamapps\workshop\content\447820\

This directory contains both VPK mods and custom maps. Each folder under this directory correlates with the Workshop modID.

Mapcycle file structure for New maps is same as for the official ones:
mapname modename

If you have VPK mod containing Theater script or Playlist, you will use normal methods for getting them to work: "mp_theater_override" and "sv_playlist" respectively.
3.) Collections
Steam Workshop Collection work a bit differently than in other Source engine games. You can mix workshop IDs with file IDs if you want.

Be sure that your server have Workshop enabled (see Step 1) then copy "Collection ID", put it in "subscribed_file_ids.txt", restart the server and it will download all content from the collection.

4.) Subscribing to mod which have "item requirement"
As you may or may not know, Server Side Workshop does support modifications that requires other mods to work properly. These are linked via “required item” function in Steam Workshop page of such mod.

Only main mod ID is needed to subscribe server side, any required item will be then downloaded/mounted automatically and will be correctly pushed for clients. Yes, it is that easy !

7 Comments
Arc  [author] 11 Oct, 2020 @ 10:13am 
BigBussy 11 Oct, 2020 @ 9:42am 
im sorry i dont understand the mp_theater_override bit. Not sure what to do there.
Arc  [author] 28 Apr, 2018 @ 12:25am 
As the name and AppID on this page suggest, this guide is for game/server named "Day of Infamy" with AppID 447820.
*{WAR} Romeo 8 27 Apr, 2018 @ 10:26pm 
is this for the insurgancy mod or the standalone game as my standalone server does not have a /doi file nor can i make subscribed_file_ids file as it becomes a downlaodedable file only
@n!t@ 17 Oct, 2017 @ 11:05pm 
Just add in intro "Achtung! Workshop adding will disable leveling system for players which connected to server with workshop enabled"
Arc  [author] 11 Sep, 2017 @ 11:07pm 
From what i can see on other forums and reddit about Workshop is that it wasn't working globally for Ins and DoI (at least) yesterday.

So try that again today just in case.
Spielenlust 11 Sep, 2017 @ 4:02pm 
I've followed all the directions in this just the same as the Insurgency guide that was posted in relation to this, as it's literally the same thing. Despite having the subscribed_file_ids.txt in the /doi folder, with the proper workshop ID's inside of it, each time my server boots up it returns with

[CServerUGCManager] Connected to Steam for Workshop!
[CServerUGCManager] Got 0 file ID(s)

And just skips over it completely.