Меню Рубрики

Linux unreal tournament 2004

Ubuntu Documentation

Instructions to install native port of Unreal Tournament 2004 created by Ryan ‘icculus’ Gordon.

URL: http://www.unrealtournament.com/ (Now only meant for Unreal Tournament 3)

Installation

Editor’s Choice Edition (DVD)

Midway DVD version

Installation Update

Official

Mirrored

Loki Installer

Installation Mega Pack

Official

Mirrored

The megapack is just a zip-exe.

  • Install UT2004 as above. Then apply bonus pack..
  • Then update with the patch as above.

Loki Installer

Installation Community Bonus Pack

Loki Installer

Startup troubleshooting

libSDL-1.2.so.0 not found

You may receive an error while trying to run the game:

Solution: Install libsdl1.2debian from the repositories and make a symlink of the library in your UT System folder

libstdc++.so.5 not found

You may receive an error while trying to run the game:

For older ( =meerkat) versions of ubuntu, the libstdc++5 is in the repository and can be installed:

If you are using a version which doesn’t include libstdc++5:

Solution: Download the Jaunty version from:

No Audio

If you have no audio and see this in the logs:

Solution: Install libopenal from the repository and symlink OpenAl to the System folder, but beware, the name of the symlink must be openal.so:

If you have no audio and see this message in the output:

Solution: Use the OSS to Pulse Audio wrapper (padsp) to reroute the ut2004 audio into the PA system. Prefix ut2004 with padsp:

CD-key not found

If you installed the game via Wine (Unreal Anthology) and manually patched it later to receive Linux support, you may receive this error:

Solution: To fix this, create a file with the name cdkey (no extension) in your /

.ut2004/System/ folder. Put the CD-key in the file exactly as it is printed on the CD case. Save the file and set permissions to -r- -r- — so only you and your group can view it.

Dynamic Shadows are disabled

This is the result of a defect in the final patch. Follow the first instructions in this post to enable dynamic shadows.

Games/Native/UnrealTournament2004 (последним исправлял пользователь pendrokar 2014-04-05 13:40:23)

The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details

Источник

Linux unreal tournament 2004

Unreal Tournament 2004

Since I have this game running in Ubuntu for quite some time and wondered why EPIC hasn’t packaged it for use in the Steam client for Linux, I created a simple tutorial in one of the Linux discussion about this game and have been asked to create a Guide from it. So here it is, I hope it will help us Ubuntu (and derivatives) users to play this still awesome game in our OS of choice!

Thanks Slackerbob for your suggestions!

The most important one, you should have bought the game in steam. This guide does not help you getting the game running without your personal CD key and / or source files downloaded from Steam.

Since you won’t be able to download the game in the Steam client for Linux, you’ll need either a working Wine installation or a (virtual) Windows machine to download the game and retrieve the CD key.

To be able to run the game you’ll probably need to install the proprietary nVidia or AMD display driver, but this applies to almost all games bought in Steam, so I assume you have already done this.
I haven’t tested the game with any open source display drivers, so if you feel adventurous you might try your luck yourself.

If you haven’t installed Steam in Wine or your (virtual) Windows machine yet, download and install the client. When you have everything up and running you should now download the game in Steam.

After finishing the download, copy the complete game folder to a location reachable by your Ubuntu installation.

Even though the Linux binaries are included on the official DVD, the downloaded game from steam doesn’t have these binaries included, but luckily these binaries can be found on the Internet as part of the latest patch.
The patch itself is all ready included in the Steam version without the Linux binaries, so we only need those to be added to the game.

You can download the patch here:

  • http://www.gamershell.com/download_11985.shtml
  • http://www.gamefront.com/files/4494743

If for some reason these locations have stopped working you can also try to google the patch
(I found the above location like this as well):

The game uses a couple of libraries which are deprecated in the current Linux distributions, but are available to be installed in the package manager.
Installing them directly though will still not work properly and you’ll either have to create symbolic links or just add the libraries to the game itself.

This guide will help you add them to the game itself because system update might update the packages and destroy the symbolic links you might have created, having to follow this process again.

You’ll need the following packages:

  • LibSDL1.2
  • LibSTDC++5

You can download them here (choose the ones applicable to your system’s architecture):

Warning: Do not install them!

Now you’ve downloaded all the necessary stuff, it’s time to put it all together.

First you will need to retrieve the cd key from your steam Windows installation.
It can be found in the Windows registry using regedit at the following location:

[HKEY_LOCAL_MACHINE\SOFTWARE\Unreal Technology\Installed Apps\UT2004]

In Windows: open the commandline and type “regedit
In WINE: open a terminal and type “wine regedit

Once you have found the cd key you should copy it, locate your copied folder of UT2004 and create a new file “cdkey” (no file extension) in the System folder and paste the cd key in it.

Open the downloaded patch file with the Archive Manager and extract the following files from the System folder (select the ones applicable to your system’s architecture):

amd64: “ut2004-bin-linux-amd64” and “ucc-bin-linux-amd64
i386: “ut2004-bin” and “ucc-bin

Copy them both to the System folder in your UT2004 folder.

Open the downloaded deb packages with the Archive Manager (right click and open with) and extract the following files from the folowing folder:

amd64 folder: “/user/lib/x86_64-linux-gnu/
i386 folder: “/user/lib/i386-linux-gnu/

  • libSDL-1.2.so.0.11.4
  • libstdc++.so.5.0.7

Strip both files from there minor version numbers:

  • libSDL-1.2.so.0
  • libstdc++.so.5

Copy them both to the System folder in your UT2004 folder.

Having put everything together you’ll be ready to start up and enjoy UT2004 once again from our favorite OS and have another reason to avoid the other dominant one for good. 😉

If you’re eager to try it out, you should now open a terminal, locate the System folder in your UT2004 folder and type:

amd64: “./ut2004-bin-linux-amd64
i386: “./ut2004-bin

If you like to start the game from a nice Icon in you launcher you should do the following:

Get the ut2004 logo from somewhere and copy it to your UT2004 folder:

Create the following file “UT2004.desktop” in your home folder “

/.local/share/application/” and paste the following in it:

amd64:
[Desktop Entry]Version=1.0
Type=Application
Path=/System/
Exec=/System/ut2004-bin-linux-amd64
Name=Unreal Tournament 2004
Icon=/UT2004-Game.png

i386:
[Desktop Entry]Version=1.0
Type=Application
Path=/System/
Exec=/System/ut2004-bin
Name=Unreal Tournament 2004
Icon=/UT2004-Game.png

Note: Replace with the right location on your system.

You should now be able to locate the game in your launcher and start the game from there.

Источник

Популярные записи


Adblock
detector