by Lovechild
(Transferred from the wiki by Peter)

Requirements:

  1. Unreal (doh!)
  2. A working install of UnrealTournament - Since we'll be using the UT engine to run our Unreal setup
  3. Notice: I assume that /dev/cdrom is a valid symbolic link to the device that holds your cdrom drive - in my case /dev/hda. The guide assumes that you have the ability to become root, in order to install, not to play the game. In any case don't waste your time playing Unreal on those corporate servers, you hear


Step One - Installing Unreal Tournament
Grab the lastest UT patch/IInstaller from the mirror - I get mine from www.lokigames.com - current version is 436 and it has been for sometime now - don't expect it to change anytime soon.
Mount your UT CD, this requires you to have Joilet FS support compiled into your kernel.
Code:
mount /dev/cdrom /mnt/cdrom
Run the UT Installer from where you downloaded it to:
Code:
sh ./ut-install-436.run
sh ./ut-install-436-GOTY.run
Regular and Game of the Year edition respectively - you only need the one that applies to your specific edition of the game
Run UT and get everything setup... controls, video, sound, etc. Remember to do this as the user you want to be able to play the game as. Playing UT and Unreal as root could be dangerous, now you've been warned.
Code:
ut
Step Two - Installing Unreal
Code:
cd /usr/local/games
mkdir unreal
cd unreal
Mount your Unreal CD, copy the files across and remove the win32 files:
Code:
mount /dev/cdrom /mnt/cdrom
cp -r /mnt/cdrom/Maps .
cp -r /mnt/cdrom/Music .
cp -r /mnt/cdrom/Sounds .
cp -r /mnt/cdrom/System .
cp -r /mnt/cdrom/Textures .
mkdir Cache
mkdir Save
cd System
rm *.exe
rm *.dll
rm *Drv*
cd /home/<username>/.loki
cp -r ut unreal
mv ut unrealtournament
Open /home/<username>/.loki/unreal/System/UnrealTournament.ini with your favourite text editor. Leave everything how it is except for these settings:
Code:
[url]
Map=Entry.unr
LocalMap=Unreal.unr

[Engine.Engine]
Console=UBrowser.UBrowserConsole
DefaultGame=UnrealShare.SinglePlayer
DefaultServerGame=UnrealShare.DeathMatchGame
In [Core.System] you need to leave all the original UT paths there, and also provide paths to where Unreal is installed.
Code:
[Core.System]
SavePath=..\Save
SavePath=/usr/local/games/unreal/Save
CachePath=..\Cache
Cachepath=/usr/local/games/unreal/Cache
CacheExt=.uxx
Paths=..\System\*.u
Paths=/usr/local/games/unreal/System/*.u
Paths=..\Maps\*.unr
Paths=/usr/local/games/unreal/Maps/*.unr
Paths=..\Textures\*.utx
Paths=/usr/local/games/unreal/Textures/*.utx
Paths=..\Sounds\*.uax
Paths=/usr/local/games/unreal/Sounds/*.uax
Paths=..\Music\*.umx
Paths=/usr/local/games/unreal/Music/*.umx
Note: If you have a Nvidia GeForce based video card and have S3TC working in UT, you can use it in Unreal.
In [OpenGLDrv.OpenGLRenderDevice]
Code:
UseS3TC=1
Open /home/<username>/.loki/unreal/System/User.ini
Search for F2=ShowServerInfo and change it to F2=ActivateTranslator This is to read the messages you recieve in Unreal.
Now for the scripts to switch between Unreal and UT:
UT script:
Code:
#!/bin/sh
cd ~/.loki
rm ut
ln -s unrealtournament ut
cd /usr/local/games/ut
./ut
save as ut
Unreal script:
Code:
#!/bin/sh
cd ~/.loki
rm ut
ln -s unreal ut
cd /usr/local/games/ut
./ut
save as unreal
make the scripts executable:
Code:
chmod +x ut
chmod +x unreal
By default, UT setup makes a symbolic link /usr/local/bin/ut to /usr/local/games/ut/ut. You will want to remove this first:
Code:
rm /usr/local/bin/ut
then place the scripts in /usr/local/bin
now run:
Code:
unreal
and you should get the Unreal fly by sequence
run ut to play UnrealTournament and unreal to play Unreal.
Big shoutouts and thanks goes to TheGimp of LNO for the original How-to, also a mighty thank you for the person (forgot who sorry) who first discovered this metode of running Unreal (in Windows) ages ago