GUIDE: UT2K4 ON UBUNTU LINUX 7.04-->9.10

This is the place to go if you have questions about the server/forum rules or how to play effectively on the server.

Moderator: Forum Moderators

User avatar
IIO
Specialist
Specialist
Posts: 79
Joined: Tue Oct 23, 2007 8:27 pm
Location: Udine, North East Italy
Contact:

GUIDE: UT2K4 ON UBUNTU LINUX 7.04-->9.10

Post by IIO » Tue Oct 23, 2007 8:45 pm

UPDATED 1 NOV 2009

WORKS ON UBUNTU 7.04-7.10-8.04-8.10-9.04-9.10 32-64bit


Here the original link of my guide (of course in italian :P )
GUIDA UNREAL TOURNAMENT 2004 Ubuntu 32-64bit 7.04-9.10 NO CEDEGA NO WINE

##(For those who use kubuntu use sudo kate instead of sudo gedit or on lxde leafpad )

Pre-requirements:
You must have 3D acceleration activated

--------------------FOR UBUNTU 9.10 KARMIK KOALA------------------------


because the libstdc++5 is no longer present in the karmik repositories, you need to download in your home, the rigth version for your architecture, from jaunty packages.
Here the link

http://packages.ubuntu.com/jaunty/libstdc++5

and then install it


for 32 bit)
sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_i386.deb
for 64 bit)
sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_amd64.deb

and then go to step B


A) Now, need to install some libraries, open terminal or Konsole and type:
sudo apt-get install libstdc++5 libggz2
B) download the patch 3369 for linux, from http://treefort.icculus.org/ut2004/ut20 ... -2.tar.bz2 on the your home.

C) Insert the first cd on the cd-rom drive, open the terminal and launch installation game (rigth click on icon-cd on desktop-unmount and eject directly by your dvdrw drive)
sh /media/cdrom0/linux-installer.sh
Agree the licence, and select with spacebar

Image

Installation base
SDL 12 And OpenAL source code


as the destination folder of the game write /home/yourhome/games/ut2004 ...obviously yourhome...

change the cds (5) when prompted and when the installation is finished DONT LAUNCH THE GAME

D) install the patch 3369; open terminal and write

tar xfvj ut2004-lnxpatch3369-2.tar.bz2
cd UT2004-Patch
cp -R * /home/yourhome/games/ut2004

This point is necessary only for ubuntu 64bit

E)
Open startup script with the text editor:
gedit ~/games/ut2004/ut2004
and change at line 46 this:
if [ -x "${UT2004_DATA_PATH}/ut2004-bin" ]
with
if [ -x "${UT2004_DATA_PATH}/ut2004-bin-linux-amd64" ]

and at line 49 this:
exec "./ut2004-bin" $*
with
exec "./ut2004-bin-linux-amd64" $*

in poor words add -linux-amd64, because the script launch the correct binary of ut2k4.

The game, now is installed, and last thing to do, is create a launcher: right click on desktop-create a launcher

set the right path directory of executable
/home/yourhome/games/ut2004/ut2004

Image

and icon path is
/home/yourhome/games/ut2004/ut2004.xpm

Image


******************************************************************************************
TRICK--> for switch to windowed mode when you play (function works up to Ubuntu 8.10):
open xorg.conf

sudo gedit /etc/X11/xorg.conf
add option ServerFlags
Section "ServerFlags"
Option "AllowDeactivateGrabs" "true"
EndSection
Now to minimize the window will need to press: Alt+Enter and then to release the mouse cursor Ctrl+Alt+/ numeric keypad.
To restore it instead, always Alt+Enter.

******************************************************************************************

HOW TO IMPORT OLD SETTINGS

You can import your game settings, preferences maps etc. etc., from Feisty,Gutsy etc etc copying the folder . Ut2004 that is in your home in one of Hardy.

If you are coming from Windows instead i recommend you to copy only the files UT2004.ini and User.ini from the System folder of the game, in your /home/.ut2004/System (it's a hidden folder, to display in your home do CTRL + H).


******************************************************************************************
SECOND PART: How to improve gameplay and graphics performance

We can edit UT2004.ini to improve yield in opengl.

read this: Beyond Unreal: The (un)OFFICIAL Better Performance and Gameplay Guide for UT2004 by DDRRE

NOTE: If u have an integrated video card with shared memory, add the right amount of video memory in the UT2004.ini
DetectedVideoMemory =.......

++++++++++++++++++++++++++++++++++++++++++++++++++++++++
THIRD PART:for add new monitor resolutions over 1024*768 on ut2004

open ut2004.ini

gedit ~/.ut2004/System/UT2004.ini
search the following lines

FullscreenViewportX=xxxx
FullscreenViewportY=xxxx


And instead of xxxx put your resolution (X) horizontal and vertical (Y).

ATTENTION THERE ARE 4 LINES, to change..


°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°

UNINSTALL


For uninstall ut2k4, simply remove the folder ut2004 in /home/yourhome/games

rm -r /home/yourhome/games/ut2004
or delete directly the ut2004 folder in your /home/yourhome/games folder

If you want to remove your settings, and maps etc etc also delete the folder .ut2004 in your home.
rm -r /home/yourhome/.ut2004
#############################################################

HOW TO SET KEYBINDS

Open User.ini
gedit ~/.ut2004/System/User.ini
and set your favorite keybinds. For example these are my:

Image

i associate keybinds at keys 0-1-2-3-4-5 and 6-7-9



IIO I had to put the code in quotes since the code bbcode is bugged. ZS
Last edited by IIO on Sun Nov 01, 2009 6:41 pm, edited 45 times in total.

User avatar
IIO
Specialist
Specialist
Posts: 79
Joined: Tue Oct 23, 2007 8:27 pm
Location: Udine, North East Italy
Contact:

Post by IIO » Tue Oct 23, 2007 11:18 pm

Here are some screenshots:

ImageImageImageImageImageImageImage
ImageImageImageImage
ImageImageImageImageImageImage
Obviously the graphics during the game is much better, these screenshots not make justice
Last edited by IIO on Sun Nov 01, 2009 9:20 am, edited 6 times in total.

User avatar
ZombieSlayer
Second Lieutenant
Second Lieutenant
Posts: 2077
Joined: Thu Nov 16, 2006 9:41 pm

Post by ZombieSlayer » Wed Oct 24, 2007 2:34 am

Hi IIO :)

I'm going to move this to the strategy/player guide section.

User avatar
Intimidator
Corporal
Corporal
Posts: 276
Joined: Sat Feb 18, 2006 4:04 pm
Location: New Jersey

Post by Intimidator » Wed Oct 24, 2007 6:29 am

It would be nice if i could read what the f...... is in all the white boxes !
Cant make out one single letter.
Am i the only one ?
"The next time you're having a bad day, imagine this: You're a Siamese twin. Your brother, attached at your shoulder, is a pole smoker. You're not. He has a date coming over tonight. You only have one ass."

User avatar
Scion
Staff Sergeant
Staff Sergeant
Posts: 648
Joined: Wed Dec 27, 2006 2:35 am

Post by Scion » Wed Oct 24, 2007 6:43 am

Take your mouse and highlight the whole thing, the letters in white boxes should show up much better :P
Sometimes a crazy move is the best move.

User avatar
ZombieSlayer
Second Lieutenant
Second Lieutenant
Posts: 2077
Joined: Thu Nov 16, 2006 9:41 pm

Post by ZombieSlayer » Wed Oct 24, 2007 5:00 pm

Intimidator wrote:It would be nice if i could read what the f...... is in all the white boxes !
Cant make out one single letter.
Am i the only one ?
Fixed it.

User avatar
Intimidator
Corporal
Corporal
Posts: 276
Joined: Sat Feb 18, 2006 4:04 pm
Location: New Jersey

Post by Intimidator » Wed Oct 24, 2007 5:51 pm

Thank you ! :supz:
"The next time you're having a bad day, imagine this: You're a Siamese twin. Your brother, attached at your shoulder, is a pole smoker. You're not. He has a date coming over tonight. You only have one ass."

User avatar
Amy Infless
UT2004 Server Admin
UT2004 Server Admin
Posts: 1285
Joined: Sun Mar 11, 2007 6:35 pm
Location: Germany

Post by Amy Infless » Wed Oct 24, 2007 10:49 pm

ZombieSlayer wrote:
Intimidator wrote:It would be nice if i could read what the f...... is in all the white boxes !
Cant make out one single letter.
Am i the only one ?
Fixed it.

fixed when using "quote" but not with "code"?!?
this courier-like font (when using "code"-option) is still not really workin :-( ...

example TEST:

Code: Select all

Log: Static mesh batches: 508608 vertex bytes, 110460 index bytes
Log: Allocating 16384 byte dynamic index buffer.
Log: Finished precaching geometry in 0.173 seconds
Log: Finished precaching textures in 0.328 seconds
Debug: UT2k4MainMenu.Opened()   Sender:Package.UT2k4MainMenu
Log: URL: Adding default option Name=AmyTheSquirrel
[/color]

ok... courier-style font with same lettersizes work, but not readable even in combination with coloursettings... can "someone" please take a look at this???

ats
Do not try kill THIS bug !!! ->Image Your monitor may not like it...

Those who correct my English will be shot! Survivors will be shot again!

User avatar
IIO
Specialist
Specialist
Posts: 79
Joined: Tue Oct 23, 2007 8:27 pm
Location: Udine, North East Italy
Contact:

Post by IIO » Sun Dec 16, 2007 9:43 am

Sorry, i discovered now, one my little syntax error, on tar command

tar xfvj ut2004-lnxpatch3369.tar.bz2 correct with
tar xfvj ut2004-lnxpatch3369-2.tar.bz2

the difference is "-2"

Have Fun :D

User avatar
Archangel
Master Sergeant
Master Sergeant
Posts: 783
Joined: Sat Jul 07, 2007 11:04 pm
Location: Asskicker in Heaven
Contact:

Post by Archangel » Sun Dec 16, 2007 10:04 am

Damn that's alot of work......Looks like I'll stick with "MicroCrap XP" :rofl:
Image

Post Reply

Return to “Monster Madness Player Guide”