Main Page

From coopzone
Jump to navigation Jump to search

Ureal Tornament

Notes on installed on ubuntu / xubuntu


Download ut-install-436.run from:

http://www.3ddownloads.com/linuxgame...nstall-436.run and lots of other places.

Make it executable:

sudo chmod +x ut-install-436.run

Since this "run" file was create by an old version if you try and run it on an up to date ubuntu you get a page full of errors, invalid gzip format - can't find -6 etc etc. To convince the installer that it's on an old machine first type:

export _POSIX2_VERSION=199209

then run the installer

sudo ./ut-install-436 --keep

This creates a folder called ut-436. You can run the setup program mount your cd and away you go.. except my original CD was so badly dammaged it was unreadable. Fortunatly I had it installed on a windows pc and was able to copy the directory to my ubuntu system (/tmp/ut).

So before you run the installer, type:

sudo export SETUP_CDROM=/tmp/ut (or where ever you put it)

After this the install still insisted I had not given it a CD! So what was going on? So I ran strace against the setup program it turns out it's looking for s file called UNREALTOURNAMENT.EXE in that EXACT case, I assume this was the windows installer or when it was installed on windows it was happy with a lower case version. I had to rename the file to upercase before the installer ran. You could also create a blank version of the upper case file to convibce the installer it's looking at the original CD.

Once the installer has finished (I had an error, about a missing file) But it installed ok and now plays. You can type:

unset _POSIX2_VERSION

just to keep things clean.

And away you go... except I don't gave a 3d card! Infact I don't think you can even get one on a modern system. Since the game was written for such a card you get an error about GLIDE not found.

I found this on the ubuntu web site:

Thou shall play UT yet! (I hope!)

That error message is telling you that you are trying to play unreal Tournament using the Glide renderer - but don't have a graphics card which supports it.

Now you say you don't have a 3D card so hardware rendering isn't an option so we are going to have to tell it to use 'software rendering'.

There are two files we are going to need to edit (one if you are the only user on the pc)

1. Open a console window and type:

gedit .loki/ut/System/UnrealTournament.ini

2. Scroll down the file until we come to a bit which says [Engine.Engine]. The next three lines are the one we will be considering. At the moment they should say:

[Engine.Engine]
GameRenderDevice=GlideDrv.GlideRenderDevice
WindowedRenderDevice=GlideDrv.GlideRenderDevice
RenderDevice=GlideDrv.GlideRenderDevice

which is telling UT to use Glide rendering

3. Because we are wanting to use software rendering we are going to have to replace these lines with the following:

[Engine.Engine]
GameRenderDevice=SDLSoftDrv.SDLSoftwareRenderDevice
WindowedRenderDevice=SDLSoftDrv.SDLSoftwareRenderDevice
RenderDevice=SDLSoftDrv.SDLSoftwareRenderDevice

Now you want to save the file and exit, then type UT into a console window and cross your fingers!

Now, if in the future you get a 3d graphics card and you want to use hardware rendering then either use the following if you want to use Glide rendering (which I think is mainly for 3Dfx cards - 3dfx Banshee etc):

[Engine.Engine]
GameRenderDevice=GlideDrv.GlideRenderDevice
WindowedRenderDevice=GlideDrv.GlideRenderDevice
RenderDevice=GlideDrv.GlideRenderDevice

or use

[Engine.Engine]
GameRenderDevice=SDLGLDrv.SDLGLRenderDevice
WindowedRenderDevice=SDLGLDrv.SDLGLRenderDevice
RenderDevice=SDLGLDrv.SDLGLRenderDevice

to use OpenGL rendering.


I found the OpenGl rendering to be the best - if available.

Other notes: You may need to add this to the ut sript ro point to the correct Syetem directory

UT_DATA_PATH=/usr/local/games/ut/System