linuxnewbie.org.gif
Tuesday, 12-Dec-2000 10:32:15 EST
Newbized Help Files articles discussion board bookshelf sensei's log advertising info
Unreal Tournament NHF
ver 1.1
by: CiAsA Boark

Requirements:

Software:
Retail Unreal Tournament CD for Windows
Linux Unreal Tournament ver 400a or 402b
Glibc
A user account on the installation machine
XFree86 3.3.2 or better
libxml and libglade
Joilet ISO9660 compiled into your kernel

Hardware:
500 MB free space
Sound is mapped to /dev/dsp
At least a 200mhz w/64 megs of ram for playable frame-rates
Wheel mice are supported

The first thing to do is to get the latest binaries for linuxUT as well as snagging a copy of the windows retail CD. The current version is 402b, however, you will still need a copy of 400a. The 400a tarball comes with the installer made by Loki. You can use it if it suites your needs, but I personally didn't use it because it had bugs, and would have required a little bit of hacking to get working. So, being the lazy SOB that I am, I just copied the CD to my hard drive. There were a few issues to work out, but that will be addressed later.

First off make the directories that you will need for the installation. Personally, I put UT in /usr/local/games/unreal_tournament. This should be adaquate for everybody else as well, but you may choose to put it in /usr/games/unreal_tournament, or ~/unreal_tournament (the last directory just means the 'unreal_tournament' directory under your home directory. Once you have decided where you want the game to be installed start X11. Then mount your cdrom containing the UT retail CD to /mnt/cdrom by issuing the following command:

mount /dev/hdc /mnt/cdrom
(note that your cdrom may be a device other than hdc, change the command to reflect your cdrom device)

Then, using your favorite file manager, open /mnt/cdrom and 'wherever_you_want_ut_installed'. In most modern file managers you can just drag and drop file from one window to another. So just select the entire contents of the CD and copy them to the installtion directory. This will take a good while to finish so we can go ahead and set up some other stuff while its copying.

Now open /etc/X11/XF86Config with your favorite text editor. Edit your XF86Config file and add the following to the [pointers] section:

SampleRate 100
Resolution 300

This should help smooth the mouse out a bit.

Also, if you have a wheel mouse you should add the following to the [pointers] section.

ZAxisMapping 4 5

Then, once the CD is done copying, go to the ut_installation_direcrory/System/User.ini file and change the MouseX=Axis and MouseY=Axis part to reflect the following:

MouseX=Axis aMouseX Speed=20.0
MouseY=Axis aMouseY Speed=20.0

Then, if you want to go ahead and change your mouse sensitivity now just change the following:

MouseSensitivity=5.000000
MouseSmoothThreshold=0.100000

Now, for 400a they added DGA mouse support, to enable it check and see if the following is in the [XDrv.XClient] section of ut_installation_directory/System/UnrealTournament.ini. If you don't see it just add it. Please note that DGA will not work correctly with XFree86 3.3.3, you should upgrade to a later version to take advantage of DGA mouse handling.

DGAMouseEnabled=True

Now you just need to go back and deleted the files and folders that you dont need. Like the autorun.ini and stuff like that. Then I took out the directories that I didnt need, I cant remember them right now, but they should be obvious, and if your afraid you might break something, just dont delete them. The second CD has nothing of interest, so i just left it alone.

Then i untared the 400a tarball into /tmp/1 just to get a look at it. It contains a nice README file as well as a couple of tar.gz files. These tar.gz files are what need to be extracted so UT will run in linux. I would suggest using something along the lines of archiver (comes with KDE) cause its a bit faster to use a GUI, but whatever floats your boat. Just untar every .tar.gz file in /tmp/1 that was in the 400a .tar.gz file into the root of UT. For me this was /usr/local/games/unreal_tournament. Every file will be placed where they need to be, and some will overwrite other files.

Now, if you copied all the files off the CD as root then all the files will be owned by root. If you run as root then this would be acceptable. But if you w ant other users to be able to play UT then you will need to make the files owned by a normal user. To do this go one directory up from ut_installtion_directory (like /usr/local/games for example) and then type this in from a console:

chown -R ciasa.users unreal_tournament/

Where ciasa is the user, and users is the group (of course you may want to use a user other than ciasa, unless you want me running UT from you computer. That would be nice of you.)

Now just go into ut_installation_direcory/System/ and type:

./UnrealTournament

A logo should appear on the desktop, and after a nice wait you should be flying around the intro map of UT!

Now for the hard part, upgrading to 402b.

For this patch you will need ver 1.1.1 of XDelta, you can grab a source package at: http://www.xcf.berkeley.edu/~jmacd/xdelta.html

After you download it just do the usual ./configure; make; make install; hit the monitor when it wont compile type stuff. Make sure that you have glib-devel-1.2.5 & glib 1.1.3 or later as well as zlib 1.1.1 or later.

Now extract the 402b patch whereever you want and then move the Patch/ directory to /usr/local/games/unreal_tournament/.

Now mount the UT CD in /mnt/cdrom and change to
/usr/local/games/unreal_tournament/Patch and run:

./install_patch

If all goes well, and the script can find xdelta, then UT should be patched to ver 402b.

c. 1999 CiAsA Boark Inc.

We would like to hear your feedback.
The Linux Channel at internet.com
Linux Planet
Linux Today
Linux Central
Linuxnewbie.org
PHPBuilder
Just Linux
Linux Programming
Linux Start
BSD Today
Apache Today
Enterprise Linux Today
BSD Central
All Linux Devices
SITE DESCRIPTIONS
[-What's New-]
Order a Linuxnewbie T-Shirt
Easy Webcam NHF
Directory Navigation NHF
Installing Snort 1.6.3 on SuSE 6.x-7.x
Customizing vim
The SysVinit NHF
Installing ALSA for the VT82C686 integrated sound
USB Creative Video Blaster II for Linux
Configuring the Intellimouse Explorer in XFree86 V4+
The beginnings of a distro NHF
Getting Past Carnivore?
Getting and Installing PGP
Getting your ATI Rage 128 Working
How to create a multiple partition system
Using Fdisk
Introduction to Programming in C/C++ with Vim
Adding a Hard drive in Linux -- In five steps
Installing ALSA for the Yamaha DS-XG Sound Card
Getting your Diamond Rio Mp3 Player to work with Linux
Bash Programming Cheat Sheet
Installing NVIDIA Drivers for Mandrake
Setting up Portsentry
Hard Drive Speed Tweak for Linux
Sensei's Log
Chat room
Join: Linuxnewbie.org SETI Black Belts!
Send in your news
Click the image to add Linuxnewbie.org to your MyNetscape Page
[-LNO Newsletter-]

[-Archive-]
The beginnings of a distro NHF
Connecting to the Internet using KPPP
Getting your SBLive to work
Unreal Tournament NHF
LWE Day 2 Pictures
LWE Day 1 Pictures
The LNO FAQ!
WoW (Words of Wisdom)
Other sites news
What is Linux?
What is Linux? part deux (ups & downs)
Search newsgroups
The List
ALS Report
Feedback Form
jobs.linuxtoday.com.gif
Match: Format: Sort by:
Search:
[-Quick Links-]

Copyright 2000 internet.com Corp. All Rights Reserved. Legal Notices Privacy Policy

internet.com.gif