Giter VIP home page Giter VIP logo

ut2003's Introduction

Guide to install UT2003

#Install the files

mkdir ~/Games/ut2003
...
sudo mount -o loop CDx.iso /mount/cdrom
sudo cp -R /mount/cdrom/* ~/Games/ut2003/

#Run update script

This update script will update ut2003 and install the launcher and the ucc tool

linux32 ./ut2003_2225beta3-multilanguage.update.run --target /absolute/path/ut2003/

#CD Key

Put your cd key in a file

echo XXXXX-XXXXX-XXXXX-XXXX >> ut2003/System/cdkey

#Decompress .uz2 files

You need to decompress .uz2 files using ucc tool

for i in ../**/*.uz2 ; do ./ucc-bin decompress $i ; done

#libstdc++.so.5

If you get errors like

./ut2003-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Install libstdc++5 package

##Under 32bits (not tested)

sudo apt-get install libstdc++5

##Under 64bits

sudo apt-get install libstdc++5:i386

#Configure Render Device

If you get errors like

Can't find file for package 'WinDrv'

In System/UT2003.ini and System/User.ini replace

RenderDevice=D3DDrv.D3DRenderDevice
;RenderDevice=Engine.NullRenderDevice
;RenderDevice=OpenGLDrv.OpenGLRenderDevice

by

;RenderDevice=D3DDrv.D3DRenderDevice
;RenderDevice=Engine.NullRenderDevice
RenderDevice=OpenGLDrv.OpenGLRenderDevice

and

ViewportManager=WinDrv.WindowsClient
;ViewportManager=SDLDrv.SDLClient

by

;ViewportManager=WinDrv.WindowsClient
ViewportManager=SDLDrv.SDLClient

#Bad or no sound

If you get errors like

open /dev/[sound/]dsp: No such file or directory

Run the game with padsp:

padsp ./ut2003-bin

#ERROR: ld.so: with padsp

If you are using 64-bit system, you might still get no sound. The startup may show the following error when using padsp:

ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

To solve this, install the 32-bit version if not already installed:

sudo apt-get install libpulsedsp:i386

Then, copy the padsp script to a local (or global) padsp32 file and edit the lines that set the LD_PRELOAD variable to point to the 32-bit version of the library (use the locate command). Example:

...
if [ x"$LD_PRELOAD" eq x ] ; then
  LD_PRELOAD="/usr/lib/i386-linux-gnu/pulseaudio/libpulsedsp.so"
else
  LD_PRELOAD="$LD_PRELOAD /usr/lib/i386-linux-gnu/pulseaudio/libpulsedsp.so"
fi
...

Run the game with padsp32:

padsp32 ./ut2003-bin

#Important

ut2003 creates ~/.ut2003 directory

ut2003's People

Contributors

jdupouy avatar

Stargazers

Joshua Barrass avatar Haroldo de Oliveira Pinheiro avatar AJ Kelly avatar  avatar Stephan Sokolow avatar

Watchers

James Cloos avatar  avatar

Forkers

joshbarrass

ut2003's Issues

Instructions are incomplete

Following your instructions, I first encounter this error:

Failed to enter Entry: Can't find file for package 'TauntPack'

History:

Exiting due to error

I managed to solve it by running this command on the decompressed files...

find -iname *.itt_uax -exec rename '[email protected][email protected]@' {} +

...but now I'm stuck at this error:

Failed to enter Entry: Can't find file for package 'GameSounds'

History: 

Exiting due to error

...and, as far as I can tell, that's a problem introduced by the patch because I can't find any such file on any of my three CDs and UT2K3 installs and starts properly on my WinXP retro-gaming PC.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.