######################################################################

      Unreal Tournament 2004 alternative network project 0.1

Author: Luigi Auriemma
e-mail: aluigi@autistici.org
web:    aluigi.org

######################################################################


What is this project
Introduction
How to patch
Manual patch for Win32
Manual patch for Linux


######################################################################

====================
What is this project
====================


This project is a simple patch to apply to the retail version of the
game UT2004.
It lets EVERYONE to play online using the cd-key of the demo version
of UT2004.
The UT2004 online network is divided in 2 sections:

- retail game (valid cd-keys)
- demo versions (demo cd-keys)

The network is simply the list of servers you can see in the UT2004's
browser.
The main idea is to build an alternative network of retail game's
servers in the demo network.

Go to the "How to patch" section to quickly join the project.


######################################################################

============
Introduction
============


This project permits to people that have the retail version of the
Unreal Tournament 2004 game to play in the demo network.
People can have many reasons to use this project but its main purpose
is to give a bit of more freedom to the game.

In short the network access is grant to people with valid cd-keys.
The demo cd-key is unique and can be used by more people at the same
time, so with this patch your game will be able to use the demo key
(UT2004-UTDEMO-UTDEMO-UT2004).

Only one file (engine.dll) is modified and the modification is really
microscopic, it is just the removing of the checks made by the game on
the cd-key (lenght, '-' chars and validation).


######################################################################

============
How to patch
============


To automatically apply my patch you must simply launch
ut2004altproj.exe (full source code included).

To manually apply the patch, check the next section.

The explanation of the changed bytes is the same deeply shown in the
Unreal Tournament 2003 Alternative Network project so I avoid to
report it here too.


######################################################################

======================
Manual patch for Win32
======================


File: engine.dll
MD5:  6289cb11b9eb9a2f218aa88e9538ec75

  Offset   Original Patched
---------------------------
000F51B8   7C       EB
000F51E6   6A       EB
000F51E7   17       0F
000F5450   6A       90
000F5451   FF       B0
000F5452   68       01
000F5453   69       C3


Then you must add the key UT2004-UTDEMO-UTDEMO-UT2004 in the CDKey
registry value located here:

  HKEY_LOCAL_MACHINE\Software\Unreal Technology\Installed Apps\UT2004


######################################################################

======================
Manual patch for Linux
======================


File: ut2004-bin
MD5:  c8dd6c316480a6f3a77ce5492c4a95ea

  Offset   Original Patched
---------------------------
00469270   55       B0
00469271   89       01
00469272   E5       C3


THEN you must modify your cdkey file located in the system directory.
It must contain only:

UT2004-UTDEMO-UTDEMO-UT2004


######################################################################
