This guide will show you how to add mods for the Chivalry Medieval Warfare server.
Without the Workshop, you need to distribute the cooked files from UDKGame\CookedSDK\ to whoever you want to test your content, as well as to the server.
Find the correct directory within here (they start with the mod name, and end with a long string of numbers and letters), zip it up, and distribute that.
If your content exists in the Workshop already, but you want to test a new version,
Have everyone who is testing delete the corresponding .cmwsdk file from UDKGame\CookedSDK\__CMWSDKFiles\ ;
Otherwise, this will override the cooked content directory you distributed!
Hosting off-Workshop content
You need to use the client files to host off-Workshop content; that is, the files you get when you download the game itself through Steam.
These work just like the dedicated server files, but are larger, and you need to specify 'server' in the command line.
Our previous command becomes
UDK.exe server AOCTO-Shore_alpha_p?steamsockets?modname=BlackKnight -sdkfileid=230012942 -sdkfileid=232823090 -sdkfileid=229405113
Other methods for getting the Workshop items onto a server
You can also get the .cmwsdk files outside of the game and upload them to the server manually, rather than having the server do this.
There is no benefit to doing it this way; this used to be the only thing we supported, but that's no longer the case. It still works, though.
Downloading mod packages outside of the game using WorkshopServerTool.exe
- Open the example download list file at ServerDirectory\Binaries\Win32\ServerDownloadList.txt. You'll see a list of URLs that correspond to entries in the Steam workshop. Edit the list so that it contains only things you want to download for your server, then save it there or save it to a new file
- Open a command prompt window (Start -> Run -> cmd -> enter)
- Head into ServerDirectory\Binaries\Win32
- Run:WorkshopServerTool.exe -downloadfiles ServerDownloadList.txt
This will download the .cmwsdk files for every mod whose workshop URL you include in ServerDownloadList.txt. The files get placed in ServerDirectory\UDKGame\CookedSDK\__CMWSDKFiles
Optional command line switches for WorkshopServerTool
-forcedownload – forcibly redownloads every file in the download list. Otherwise, the tool only updates files that have changed.
Downloading mod packages using the Launcher
Subscribe to some Workshop items. Start the game through Steam to open the Launcher.
Wait. Files can be downloaded into ClientDirectory\UDKGame\CookedSDK\__CMWSDKFiles;
You can upload them to ServerDirectory\UDKGame\CookedSDK\__CMWSDKFiles
Need further assistance? Please click here to contact support via a ticket.
Save