Urban Terror is a free first person shooter game. The dedicated server component can be run as a Windows Service using FireDaemon Pro, which lets you start the application automatically at boot prior to login, start multiple instances of the application and more. This HOWTO will show you how to set it up. You can also use Fusion to manage FireDaemon and other Windows services via a web browser.
Urban Terror Dedicated Server Setup Under FireDaemon Pro
Download the Urban Terror game installer and updater from the official website.
Extract the .zip file to the directory of your choice. For the purposes of this HOWTO, we have stored Urban Terror in C:\UrbanTerror42. The number following UrbanTerror may change as the game is updated.
Run the UrTUpdater.exe file. We recommend running it with administrator privileges, as the installer needs to create a folder within your installation folder. Wait and let all the game files download. This will take awhile.
The Urban Terror dedicated server uses one configuration file to manage server settings. Find the server_example.cfg file within the q3ut4 folder. Edit this file to suit your server preferences. Save this file as server.cfg in the same directory.
You may also wish to modify your map cycle order. An example file is included as mapcycle_example.txt. Be sure that the name of this file and the name of the mapcycle file specified in your server.cfg file are the same.
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.
- Executable: The path to the Quake3-UrT-Ded.exe file. The path specified in this HOWTO is C:\UrbanTerror\Quake3-UrT-Ded.exe.
- Working Directory: The directory containing the Quake3-UrT-Ded.exe file. The path specified in this HOWTO is C:\UrbanTerror.
Parameters: +seta net_port 27960 +exec server.cfg
- +seta net_port 27960 - specifies which port to use for server traffic. You may change this port, but be sure to open the new port to incoming traffic.
- +exec server.cfg - specifies which server configuration file to execute.
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 may 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 your dedicated server or specify which CPU or core your Urban Terror 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 it can slow the shutdown of Urban Terror.
Now click OK to finish setup and start your Urban Terror server!