Click to See Complete Forum and Search --> : Unreal in Linux


TheGimp
01-11-2001, 03:28 AM
Unreal for Linux

What you will need:


* your Unreal CD
* A working UnrealTournament install

Download the latest UT patch here (ftp://ftp.linuxgames.com/loki/patches/ut/ut-install-436.run) or get the Installation for Game of The Year edition here (ftp://ftp.linuxgames.com/loki/beta/ut/ut-install-436-GOTY.run).


Mount your UT CD


# mount /dev/cdrom /mnt/cdrom


Run the UT Installer from where you downloaded it to:


# sh ./ut-install-436.run
or
# sh ./ut-install-436-GOTY.run


Run UT and get everything setup... controls, video, sound, etc.


Now, to install Unreal.


# cd /usr/local/games
# mkdir unreal
# cd unreal


Mount your Unreal CD, copy the files across and remove the win32 files:


# 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 to ~/.loki then run


# cp -r ut unreal
# mv ut unrealtournament


Open ~/.loki/unreal/System/UnrealTournament.ini with your favourite text
editor. Leave everything how it is except for these settings:


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


[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]
UseS3TC=1

Open ~/.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:


#!/bin/sh
cd ~/.loki
rm ut
ln -s unrealtournament ut


cd /usr/local/games/ut
./ut


save as ut


Unreal script:


#!/bin/sh
cd ~/.loki
rm ut
ln -s unreal ut


cd /usr/local/games/ut
./ut


save as unreal


make the scripts executable:


# 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:


# rm /usr/local/bin/ut


then place the scripts in /usr/local/bin


now run:


# unreal
and you should get the Unreal fly by sequence


run ut to play UnrealTournament and unreal to play Unreal.


Enjoy http://www.linuxnewbie.org/ubb/smile.gif

[ 30 April 2001: Message edited by: TheGimp ]

warsteiner
01-11-2001, 08:11 PM
THANKS!

TheGimp
01-11-2001, 08:20 PM
did u get it to work?

warsteiner
01-12-2001, 05:09 PM
have yet to acquire an appropriate time. this weekend should do nicely. i will post back when i do.

giel
01-14-2001, 05:19 PM
I've tried to get unreal working the way you explained. I could see the into. When I tried to start an new gamew though, it could open the right map. Any suggestions?
Thanx

TheGimp
01-15-2001, 02:32 AM
Bring down the console (with ~) and type open vortex2
If that doesn't work, then you haven't set it up right or there could be a permission problem.

[This message has been edited by TheGimp (edited 15 January 2001).]

ansivirus
01-17-2001, 04:07 PM
Do I have to have Unreal Tournament to play my windows version of Unreal in Linux? because I don't have Unreal Tournament (for linux or windows) any suggestions?

TheGimp
01-17-2001, 05:45 PM
Originally posted by TheGimp:
Unreal for Linux

What you will need:


* your Unreal CD
* A working UnrealTournament install


You can only have a working UnrealTournament install if you have UnrealTournament

ansivirus
01-17-2001, 05:51 PM
Sorry for overlooking the obvious.. I guess i will follow the link and download the Game of the Year edition.. (that will make a working Unreal Tournament install right?)..

-ansivirus

TheGimp
01-17-2001, 07:38 PM
Download GOTY edition if thats what you have.
You must have an UnrealTournment CD to do this.

Lovechild
04-15-2001, 01:49 PM
Would it be possible for someone to, say, make use of the loki install script to make it work.. I mean if we could hack it to fit the instructions and copy the files from the UT dir. we might be able to make life more sweet..
Even though the guide is great... good job gimp

TheGimp
04-17-2001, 06:15 PM
ta :)

Originally posted by Lovechild:
Would it be possible for someone to, say, make use of the loki install script to make it work

you just gave me something to do now :cool:
if theres a way to make loki setup allow you to switch cd's during installation, I could make an installer for people without UT installed

Closer
04-17-2001, 09:55 PM
TheGimp awesome job i am very happy i have unreal working with your help. The only thing is i do have to bring down the console to load vortex2 after that all is great. when i try to start by menu it says cant find vortex2. easy enough to load by console just thought id post my error any wats

thanks closer

Lovechild
04-27-2001, 03:15 AM
HEY Gimp..

I'll help out by beta testing... Just drop me a PM.. K

sludge
04-29-2001, 11:12 PM
Does it matter if it is a windows cd? or does only linux work?

TheGimp
04-30-2001, 01:28 AM
FYI, Unreal and UT came out on windows cds

Sensei
04-30-2001, 09:32 AM
Should I NHF this or is it not ready yet?

TheGimp
04-30-2001, 04:52 PM
It's ready although I am working on an installer with loki setup :)

Lovechild
05-08-2001, 04:25 AM
Gimp... how are things progressing ????

MandK_10
05-14-2001, 10:30 PM
Well, I have downloaded all that I need and am ready to give this a try. I love UT and am interested to see how it runs on linux.

Has anyone got it working successfully and if so how does it compare to running in Windoze? (frame rate, color, etc.)

Just want to know before I attempt something more complex than I have done yet with linux.

Mike

Lovechild
05-15-2001, 05:31 AM
I have it running but:

No bots and I can for some reason only access UT maps. It look great, but I need them bots..
I haven't tried Singlepalyer yet..

I'm looking forward to seeing GiMP's hard work with the installer..

TheGimp
05-15-2001, 05:47 PM
I need to boot into linux so I can work on the setup program :)
It's going to be tricky too since you can't configure anything in game. The user might have to make the scripts as it really depends where you installed UT and where you want to install Unreal, and I'm no script expert either.
I've thrown together an installer but I get the error that Unreal can't find Vortex2.unr when starting a single player game :(
It's quite odd as Unreal finds the Entry map with the flyby sequence :confused: I just made symbolic links to my install from windows when I got Unreal to work, so it could just be a weird case sensitive problem.

Originally posted by MandK_10:
Has anyone got it working successfully and if so how does it compare to running in Windoze? (frame rate, color, etc.)

It runs quite well for me. I get atleast 120fps on the first level (do timedemo 1 in the console). The textures don't stress the UT engine as they are 8bit :) The OpenGL driver never worked for me in windows with the final patch (which has UT code in it) so I can't compare it.

nathaniel
01-27-2002, 08:58 PM
just incase ppl wanted to know how to do it. I found u can pretty much do this in windows too and have it working nicely then if u tried installing unreal and then patching it with the final 226 patch ( which doesn't work very well). The FPS w/the UT engine is very nice about 68-70fps on the fly by and in the game ( no fog though)

NB

Icarus
02-05-2002, 06:19 PM
UT works better in Linux for me then it ever did in Windows, never clocked it though...

If you can hack the Loki-UT-Installer to install Unreal without the UT install...that would mean you could hack it to install Deus Ex!! :eek:

hmmm...I should look into that soon

Too bad Loki died before they could finish the Deus Ex port :(

[ 05 February 2002: Message edited by: mahdi ]