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

      Unreal Tournament 2004 alternative network project 0.2.1
      for version 3369

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 allows 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.

At the same time this solution allows people with the demo version to
use the most updated version of the game (remember to apply the entire
patch before) with the only limitation of using the demo network.

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 (length, '-' 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:  a01818121112f4694eefd51b03bf4106

  Offset   Original Patched
---------------------------
000F5648   7C       EB
000F5676   6A       EB
000F5677   17       0F
000F58E0   6A       B0
000F58E1   FF       01
000F58E2   68       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:  49fde20c93a8e9b4c67a50d7f3f0f76c

  Offset   Original Patched
---------------------------
005C0970   55       B0
005C0971   89       01
005C0972   E5       C3


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

UT2004-UTDEMO-UTDEMO-UT2004


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