Unreal Tournament 2004

Unreal Tournament 2004 (UT2004) is the kick-ass game that still rocks. And here you'll find out how to set up the server.

Getting the files

Dedicated Server

UT2004 Dedicated Server (3323)
This is the patched dedicated server (version 3323).

Patch 3369 Available for Linux (23/11/2005)

ut2004-lnxpatch3369.tar.bz2
Hot from the wire: the latest Linux patch (3369) for UT2004. But before you install this patch, make sure you have installed Patch 3355, because this patch will upgrade the patched files.

Patch 3355 Available for Linux (28/06/2005)

ut2004-lnxpatch3355.tar.bz2
Hot from the wire: the latest Linux patch (3355) for UT2004. But before you install this patch, make sure you have installed Editors' Choice Bonus Pack, because this patch will upgrade the ECE-BP code.

Anti Cheat

UTSecure 2004 (111)
To prevent cheating on your server, we recommand this security patch.

Bonus Packs

UT2004 ECE Bonus Pack
Includes six new characters, three new vehicles (the Paladin, the Cicada, and the SPMA), and four unique new Onslaught maps.
UT2004 Editors Choice Bonus Pack
This pack includes new vehicles, levels and characters.
UT2004 Community Bonus Pack 2 Volume 1
21 new maps, 4 new characters and a mutator.
UT2004 Community Bonus Pack 2 Volume 2
20 new maps, 4 new characters and 2 new mutators.
UT2004 Bonus Onslaught Maps
2 new Onslaught maps (ONS-Ascendancy and ONS-Aridoom).
Streamline Bonus Map: AS-Confexia
A massive vehicle-based Assault map from Streamline Studios, the creators of ONS-Torlan.
Epic Bonus Map: DM-Forbidden
DM map on an airship high above a city.
Don't forget!
Delete System/user.ini and Help/UT2004Logo.bmp (*.dll and *.exe as well)
Copy everyting to the /usr/local/games/ut2004 directory

Getting your server CD-Key

If you want to advertise your server and collect stats, you need to go to http://unreal.epicgames.com/ut2004server/cdkey.php, fill out your administrative e-mail address and you're ready to go.

Installation of the server

Creating an UT2004 Directory
$ mkdir ut2004
$ cd ./ut2004
Unpacking DedicatedServer3323.zip
$ unzip ./DedicatedServer3323.zip
$ mv ./UT2004-Dedicated-3323/* .
$ rmdir ./UT2004-Dedicated-3323
Unpacking UTSecure2K4-111.zip
$ unzip ./UTSecure2K4-111.zip

Your server is now almost ready to run. If you want to collect stats you have to place the CD-Key in your System directory.

Installing the CD-Key
$ echo "SRVER-XXXXX-XXXXX-XXXXX" > ./System/cdkey

Configuration of the server

Before you can start your server, you need to configure the server. Best way to do this is to visit UT2004.ini Generator where you can create your own custom System/UT2004.ini file.
Take a look at my UT2004.ini to see the settings for a LAN setup.

Starting the server

The following gametypes are available:

  • Assault: AS-MotherShip?game=UT2k4Assault.ASGameInfo
  • CTF: CTF-FaceClassic?game=XGame.xCTFGame
  • Bombing Run: BR-Serenity?game=XGame.xBombingRun
  • DoubleDomination: DOM-SunTemple?game=xGame.xDoubleDom
  • DeahtMatch: DM-Rankin?game=XGame.xDeathMatch
  • Invasion: DM-Antalus?game=SkaarjPack.Invasion
  • LastManStanding: DM-Morpheus3?game=BonusPack.xLastManStandingGame
  • Mutant: DM-Deck17?game=BonusPack.xMutantGame
  • Onslaught: ONS-Torlan?game=Onslaught.ONSOnslaughtGame
  • TeamDeathMatch: DM-Rankin?game=XGame.xTeamGame

The following mutators are available:

  • Arena: XWeapons.MutArena
  • Beserk: UnrealGame.MutBerserk
  • Big Head: UnrealGame.MutBigHead
  • Delayed Spawn UnrealGame.MutDelayedSpawn
  • Float-Away Corpses XGame.MutHeliumCorpses
  • InstaGib XGame.MutInstaGib
  • Zoom InstaGib XGame.MutZoomInstaGib
  • LowGravity UnrealGame.MutLowGrav
  • No Adrenaline XGame.MutNoAdrenaline
  • No Super Weapons XWeapons.MutNoSuperWeapon
  • Quad Jump XGame.MutQuadJump
  • AutoHealing XGame.MutRegen
  • Slow Motion Deaths XGame.MutSlomoDeath
  • Species Specific Stats XGame.MutSpeciesStats
  • UDamage Reward .XGame.MutUDamageReward
  • Vampire XGame.MutVampire
  • UTV2004S (UTV2004 in SeeAll mode): UTV2004s.utvMutator
  • UT2k3 Style Weapon Throwing/Boosting XGame.MutFastWeapSwitch
  • UTClassic UTClassic.MutUTClassic
  • Lightning Gun 2 Sniper Rifle UTClassic.MutUseSniper
  • Sniper Rifle 2 Lightning Gun UTClassic.MutUseLightning
  • Camouflage Combo (RRRR) Bonuspack.MutCrateCombo
  • Pint-sized combo (LLLL) Bonuspack.MutPintSizeCombo
  • BigWheels Onslaught.MutBigWheels
  • Light Weight Vehicles Onslaught.MutLightweightVehicles
  • Onslaught Weapons Onslaught.MutOnslaughtWeapons
  • Jumping Vehicles Onslaught.MutWheeledVehicleStunts
  • Vehicle Arena OnslaughtFull.MutVehicleArena

Important: if you're running a dedicated server, don't forget to use the -nohomedir parameter. Otherwise ut2004 will create a .ut2004 directory in your homedir $HOME!

Starting the server
$ ./ucc-bin server <gametype> ini=UT2004.ini log=UT2004.log -nohomedir
Starting with a mutator
$ ./ucc-bin server <gametype>?mutator=<mutator> ini=UT2004.ini log=UT2004.log -nohomedir
Starting the server (example)
$ cd /usr/local/games/ut2004/System
$ ./ucc-bin server ONS-Torlan?game=Onslaught.ONSOnslaughtGame?mutator=XWeapons.MutNoSuperWeapon ini=UT2004.ini log=UT2004.log -nohomedir &

Default port config

  • 7777 UDP/IP: Game port
  • 7778 UDP/IP: Query port
  • 7787 UDP/IP: GameSpy query port
  • 28902 TCP/IP: UT2004 Master Server Browser
  • 80 TCP/IP: WebAdmin Graphical User Interface
If your server is behind a router/firewall with NAT enabled, don't forget to set the following to True:
[IpDrv.MasterServerUplink]
ServerBehindNAT=True