Page 2 of 3

Re: UT 2004 on Linux

Posted: Fri 26 Jul , 2013 6:42 pm
by Skaldy
This is roughly what I did last time on a 64-bit system, but I can't even remember which Linux distribution I was using at the time:

1) Copy a valid Windows installed UT2004 folder hierarchy to the Linux partition.

2) Install these two required libraries using relevant package manager:
sudo ?????? install libstdc++33 libopenal1-soft

3) Recreate these required library links:
sudo ln -s /usr/lib64/libSDL-1.2.so.0 libSDL-1.2.so.0
sudo ln -s /usr/lib64/libopenal.so.1 openal.so

4) In "UT2004\System" subfolder:

a) Create "cdkey" text file containing CD-Key

b) Copy these files from linux 3369 patch archive:
ut2004-bin
ut2004-bin-linux-amd64

c) chmod 0500 ut2004-bin*

d) Delete existing configuration files before running:
User.ini
UT2004.ini
ut2004-win64.ini

Good luck.

Re: UT 2004 on Linux

Posted: Fri 26 Jul , 2013 7:19 pm
by Oska
Thanks for the detailed steps :-)
I'll try that on monday, my wifi connections stops working for no reasons after a few mb downloaded.., so need to be at "work" to have a cable :)

Re: UT 2004 on Linux

Posted: Fri 26 Jul , 2013 7:20 pm
by iZumo
Mi Wifi doesn't do that. Fear. Excuses!
trollface

Re: UT 2004 on Linux

Posted: Fri 26 Jul , 2013 7:27 pm
by Calypto
install gentoo

Re: UT 2004 on Linux

Posted: Sat 18 Jan , 2014 4:59 pm
by Oska
@Skaldy:

I've finally done all the steps you described and I came up to the point.., when I wonder what's next? How am I supposed to lunch the game?

I obviously have a "bash: ./UT2004.exe: Permission denied" when I run it in su, so I'm now wondering what needs to be done :)

Re: UT 2004 on Linux

Posted: Sat 18 Jan , 2014 5:04 pm
by Skaldy
The ".exe" files are the Windows executables - you can't run those under Linux.

It's the "ut2004-bin" or "ut2004-bin-linux-amd64" file that is the executable. That's the one you need to run, which is why step c) specifies doing "chmod 0500" on it, so that the permissions are definitely "rwX------", where X means executable.

Re: UT 2004 on Linux

Posted: Sat 18 Jan , 2014 5:07 pm
by Oska
I got an access denied on both as well. Even though they are executable.
And some .exe can be run on linux as well =b

EDIT:
chmod +0500 or cmod +x do not make them executable at all because I placed it in a shared partition. Blaaaaah.

Re: UT 2004 on Linux

Posted: Sat 18 Jan , 2014 10:23 pm
by iZumo
Oska wrote:"bash: ./UT2004.exe: Permission denied"
facepalm facepalm facepalm
OMG I didn't see anything!

You don't have to su, just do "chmod 755 ut2004-bin-linux-amd64" or "chmod 755 ut2004-bin" and run it as a normal user.

Re: UT 2004 on Linux

Posted: Sun 19 Jan , 2014 10:49 am
by ZioFede
poor izumo has been traumatized D=

anyway I recall Linux version lacks some graphical details and has some audio problems, don't expect a flawless run .=

Re: UT 2004 on Linux

Posted: Mon 20 Jan , 2014 6:33 pm
by Oska
@Skaldy:

Where should "openal.so" and "libSDL-1.2.so.0" be located?

Code: Select all

$ ./ut2004-bin
./ut2004-bin: error while loading shared libraries: ./libSDL-1.2.so.0: cannot open shared object file: No such file or directory
$ ./ut2004-bin-linux-amd64 
./ut2004-bin-linux-amd64: error while loading shared libraries: ./libSDL-1.2.so.0: cannot open shared object file: No such file or directory