UT 2004 on Linux

Discuss matters related to LDG or UT2004 which aren't specific to any server.
User avatar
Skaldy
V.I.P. Member
Posts: 264
Joined: Tue 19 Mar , 2013 4:59 pm
Location: UK
Contact:

Re: UT 2004 on Linux

Post by Skaldy » Fri 26 Jul , 2013 6:42 pm

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.

User avatar
Oska
The wise man
Posts: 362
Joined: Tue 28 Feb , 2012 2:26 pm
Contact:

Re: UT 2004 on Linux

Post by Oska » Fri 26 Jul , 2013 7:19 pm

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 :)
anyway, did someone put their salami into your mama's underwear or something? - team-spec*Azarael

iZumo
Disappeared Administrator
Posts: 4196
Joined: Fri 19 Mar , 2010 1:21 am
Location: Earth
Contact:

Re: UT 2004 on Linux

Post by iZumo » Fri 26 Jul , 2013 7:20 pm

Mi Wifi doesn't do that. Fear. Excuses!
trollface

User avatar
Calypto
Posts: 1879
Joined: Tue 27 Dec , 2011 6:24 am
Location: New York State
Contact:

Re: UT 2004 on Linux

Post by Calypto » Fri 26 Jul , 2013 7:27 pm

install gentoo

User avatar
Oska
The wise man
Posts: 362
Joined: Tue 28 Feb , 2012 2:26 pm
Contact:

Re: UT 2004 on Linux

Post by Oska » Sat 18 Jan , 2014 4:59 pm

@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 :)
anyway, did someone put their salami into your mama's underwear or something? - team-spec*Azarael

User avatar
Skaldy
V.I.P. Member
Posts: 264
Joined: Tue 19 Mar , 2013 4:59 pm
Location: UK
Contact:

Re: UT 2004 on Linux

Post by Skaldy » Sat 18 Jan , 2014 5:04 pm

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.

User avatar
Oska
The wise man
Posts: 362
Joined: Tue 28 Feb , 2012 2:26 pm
Contact:

Re: UT 2004 on Linux

Post by Oska » Sat 18 Jan , 2014 5:07 pm

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.
anyway, did someone put their salami into your mama's underwear or something? - team-spec*Azarael

iZumo
Disappeared Administrator
Posts: 4196
Joined: Fri 19 Mar , 2010 1:21 am
Location: Earth
Contact:

Re: UT 2004 on Linux

Post by iZumo » Sat 18 Jan , 2014 10:23 pm

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.

ZioFede
Member
Posts: 470
Joined: Fri 23 Dec , 2011 3:10 pm
Contact:

Re: UT 2004 on Linux

Post by ZioFede » Sun 19 Jan , 2014 10:49 am

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 .=
Image

Image

God should have let Paul live and let you die instead, worthless piece of shit. -Mr. H&some about a random actor-

User avatar
Oska
The wise man
Posts: 362
Joined: Tue 28 Feb , 2012 2:26 pm
Contact:

Re: UT 2004 on Linux

Post by Oska » Mon 20 Jan , 2014 6:33 pm

@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
anyway, did someone put their salami into your mama's underwear or something? - team-spec*Azarael

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests