How to run Unreal Tournament 2004 as a Windows Service with FireDaemon Pro.
What is Unreal Tournament 2004?
Unreal Tournament 2004 is a first person action game. The dedicated server component can be run as a Windows Service using FireDaemon Pro, which allows you to start the dedicated server automatically at boot prior to login, start multiple instances of the dedicated server and more. This HOWTO will show you how to set it up. You can also use FireDaemon Fusion to manage FireDaemon and other Windows services via a web browser.
Unreal Tournament 2004 Dedicated Server Setup Under FireDaemon Pro
Download the Dedicated Server from here.
Extract the files to a location on your hard disk. For the purposes of this HOWTO, we will be using "C:\UT2004".
In order for your server to appear in the global server list and participate in UT2004 stats, your server needs to be allocated a "CD Key". You can get one from here.
Unreal Tournament 2004 uses one configuration file to store its settings. The file is "UT2004.ini" and it is located in the System folder of your server folder. Go ahead and edit this file to suit your preferences.
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 your uuc.exe file. For the purposes of this HOWTO, the path is C:\UT2004\system\uuc.exe.
Working Directory: The directory containing your uuc.exe file. For the purposes of this HOWTO, the path is C:\UT2004\system.
The most important field on the tab is the Parameters. The Parameters define the initial setup of your server. Here’s the full parameter list you should have:
server MapName?Game=XXXX -multihome=18.104.22.168 -port=7777 ini=UT2004.ini log=server.log
- "server” loads the server.
- “MapName” loads the starting map.
- “Game=XXXX” Sets the gametype. Replace XXXX with the game type name (eg. XGame.xDeathMatch). See UT2004.ini around line 650 for possible gametypes.
- "-multihome=22.214.171.124” Sets the Server IP (replace 126.96.36.199 with your external or WAN IP)
- “-port=7777” Set's the Server Port.
- “ini=UT2004.ini” Loads the configuration file "UT2004.ini"
- "log=server.log" Logs to the specified log file.
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 Unreal Tournament 2004 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 Unreal Tournament 2004 doesn't respond to it.
Now click OK to finish setup and start Unreal Tournament 2004!