HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free and registered users see less advertising! If you just want to browse through the existing questions, just select the forum that you want to visit from the selection below. Otherwise, click here to register!. We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Running Unreal / Unreal Tournament natively in Linux

by Lovechild
(Transferred from the wiki by Peter)

Requirements:

Unreal (doh!)

A working install of UnrealTournament - Since we'll be using the UT engine to run our Unreal setup

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:

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:

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