Dedicated Server Installation - DarklightGames/DarkestHour GitHub Wiki
This guide will step you through the process of how to install a Darkest Hour: Europe '44-'45 server on your Windows or Linux machine.
Install SteamCMD
To download the most up-to-date server files, you must have SteamCMD installed on your machine.
Click here to get instructions on installing the latest version of SteamCMD.
Download Server Files
Open a new command prompt (Windows) or Terminal window (Linux) and enter the following commands, being sure to replace values like <STEAMCMD_DIR>
with the correct values for your machine.
Windows
cd "<STEAMCMD_DIR>"
steamcmd
login "<STEAM_USERNAME>" "<STEAM_PASSWORD>"
force_install_dir "<INSTALL_DIR>"
app_update 223240 verify
app_update 1290 verify
quit
Linux
cd "<STEAMCMD_DIR>"
steamcmd
login "<STEAM_USERNAME>" "<STEAM_PASSWORD>"
force_install_dir "<INSTALL_DIR>"
app_update 223250 verify
app_update 1290 verify
quit
Variable | Description |
---|---|
STEAMCMD_DIR |
The directory where SteamCMD is installed (eg. C:\steamcmd ) |
STEAM_USERNAME |
Your Steam account username. This account must have Red Orchestra: Ostfront in it's library. |
STEAM_PASSWORD |
Your Steam account password |
INSTALL_DIR |
The directory where you want your server to be installed (eg. C:\RedOrchestraDedicatedServer ) |
steam_appid.txt
Modify Open <INSTALL_DIR>\System\steam_appid.txt
and change the contents to:
1280
Launch!
The server executable is called ucc
. It lives in your <INSTALL_DIR>/System
directory. To launch your server, run the executable and supply it with (at bare minimum) the following arguments:
ucc server DH-Brecourt?game=DH_Engine.DarkestHourGame -mod=DarkestHour -ini=DarkestHour.ini
For Windows users, there is a batch file located at <INSTALL_DIR>/System/dh_server_launcher.bat
that already has these commands pre-loaded.
Windows Server Info
If you are running the server on a dedicated windows server machine with windows firewall on, you will need to allow UCC.exe on both UDP and TCP (all ports). And allow HTTP (port 80) traffic, this is for the Steam master server.