Chivalry: Medieval Warfare is a multiplayer hack-and-slash game set in a world resembling the Middle Ages. The dedicated server component can be run as a Windows Service using FireDaemon Pro, which allows you to have the dedicated server start automatically at boot prior to login, start multiple instances of the dedicated server and more. This HOWTO will show you how set it up. You can also use FireDaemon Fusion to manage FireDaemon and other Windows services via a web browser.
Chivalry: Medieval Warfare Dedicated Server Setup Under FireDaemon
First download and extract SteamCMD. The download is small (< 2 MB).
Go to the directory where you installed SteamCMD and create a shortcut to "SteamCMD.exe". Next edit the properties of the shortcut and in the target box, at the end of it (with a space before the following), put:
+login USERNAME PASSWORD +force_install_dir "C:\Chivalry Medieval Warfare" +app_update 220070 validate +quit
Replace USERNAME and PASSWORD with your Steam login info. The Target box should now look like:
C:\SteamCMD\steamcmd.exe +login USERNAME PASSWORD +force_install_dir "C:\Chivalry Medieval Warfare" +app_update 220070 validate +quit
Now click the shortcut you created and let it run to download the Chivalry: Medieval Warfare server files. It might take a few hours to update everything. You should also run the shortcut every week or so to grab the latest server updates. Make sure to stop your server first.
Chivalry: Medieval Warfare uses a set of configuration files to customise your settings. You can find them in UDKGame\Config in the directory where you installed the server files. Go ahead and modify these configuration files to suit your preferences. Of particular interest is the PCServer-UDKGame file, which includes settings like passwords, message of the day, and other administrative settings.
Download and install FireDaemon Pro into the directory of your choice, typically C:\Program Files\FireDaemon.
Next start the FireDaemon GUI from the desktop shortcut. Click on the "Create a new service definition" button in the toolbar (or type Ctrl+N) and enter the information into the fields as you see below. Adjust the paths to suit your installation. Note the required parameters.
- Executable: The path to your UDK.exe file. For the purposes of this HOWTO, the path is C:\chivalry medieval warfare\Binaries\Win64\UDK.exe.
- Working Directory: The directory containing your UDK.exe file. For the purposes of this HOWTO, the path is C:\chivalry medieval warfare\Binaries\Win64.
Parameters: MAPNAME?steamsockets -dedicated=true -seekfreeloadingserver
- MAPNAME?steamsockets - tells the server to load a specific map. Change MAPNAME to the name of the map you wish to use.
- -dedicated=true - tells the server to run in
- -seekfreeloadingserver - this command should not be removed.
There are several other options that you can enter as parameters; you can learn more about them at the developers' dedicated server guide.
Now click on the Settings tab. If you DON'T want to see your dedicated server running, uncheck the Interact with Desktop check box & select “Hidden” from the “Show Window” dropdown. You can optionally run your dedicated server as the user you installed it as. In the Logon Account field type your username (e.g. Administrator) and then enter the user's password twice in the Password and Confirm fields. You can change the Process Priority to allocate more CPU time to the dedicated server or specify which CPU or core the dedicated server will run on (in the case of multi-processor, hyperthreaded or multi-core CPUs).
Now click on the Lifecycle tab. Uncheck Graceful Shutdown as Chivalry: Medieval Warfare doesn't respond to it.
Now click on the OK button to finish setup and start your Chivalry: Medieval Warfare dedicated server!