Staesys
June 3rd, 2009, 02:21 AM
I hope this helps someone. I spent a lot of time searching forums and the internet. I couldn't get the loki installer to work because it couldn't find an outdated version of gtk. You could download and compile the correct version of gtk, and glibs and try again... It's a lot of fun satisfying all of the dependencies, let me tell you. This is a lot easier as all you have to do is install a couple of .deb's, copy your data files off the Quake 2 CD and edit the config file. I checked and the quake 2 files are not in Synaptic.
I downloaded and installed the quake2-data_13_all.deb from here:
http://packages.ubuntu.com/dapper/all/quake2-data/download
and the quake2_0.3-1.1ubuntu1_i386.deb from here:
http://gb.archive.ubuntu.com/ubuntu/pool/multiverse/q/quake2/
I then inserted my game CD and did the following in a terminal:
sudo sulogin
cd /usr/lib/games/quake2/baseq2
cp /media/cdrom/Install/Data/baseq2/pak0.pak .
cp /media/cdrom/Install/Data/baseq2/players/male/* players/male
cp /media/cdrom/Install/Data/baseq2/players/female/* players/female
cp /media/cdrom/Install/Data/baseq2/videos/* videos
Run the game with this line:
/usr/lib/games/quake2/./quake2.real
If you have no sound (I didn't) and there is an error such as this in the terminal:
------- sound initialization -------
loading oss sound output driver, ok
/dev/dsp: Input/output error
SNDDMA_Init: Could not mmap /dev/dsp.
To fix this, edit the config.cfg file in the .quake2/baseq2/ folder in your home folder. Find the line:
set snddriver "oss"
and change it to:
set snddriver "sdl"
You should now have sound the next time you run the game.
I have been able to run this in SDL OpenGL mode at 1024x768, full screen mode and am getting over 80FPS on my laptop with it's built in nVidia graphics controller.
To make starting the game easier, created a text file called quake2.sh containing:
/usr/lib/games/quake2/./quake2.real
...and make it executable.
You can then edit your Applications menu and add a launcher pointed to quake2.sh.
I downloaded and installed the quake2-data_13_all.deb from here:
http://packages.ubuntu.com/dapper/all/quake2-data/download
and the quake2_0.3-1.1ubuntu1_i386.deb from here:
http://gb.archive.ubuntu.com/ubuntu/pool/multiverse/q/quake2/
I then inserted my game CD and did the following in a terminal:
sudo sulogin
cd /usr/lib/games/quake2/baseq2
cp /media/cdrom/Install/Data/baseq2/pak0.pak .
cp /media/cdrom/Install/Data/baseq2/players/male/* players/male
cp /media/cdrom/Install/Data/baseq2/players/female/* players/female
cp /media/cdrom/Install/Data/baseq2/videos/* videos
Run the game with this line:
/usr/lib/games/quake2/./quake2.real
If you have no sound (I didn't) and there is an error such as this in the terminal:
------- sound initialization -------
loading oss sound output driver, ok
/dev/dsp: Input/output error
SNDDMA_Init: Could not mmap /dev/dsp.
To fix this, edit the config.cfg file in the .quake2/baseq2/ folder in your home folder. Find the line:
set snddriver "oss"
and change it to:
set snddriver "sdl"
You should now have sound the next time you run the game.
I have been able to run this in SDL OpenGL mode at 1024x768, full screen mode and am getting over 80FPS on my laptop with it's built in nVidia graphics controller.
To make starting the game easier, created a text file called quake2.sh containing:
/usr/lib/games/quake2/./quake2.real
...and make it executable.
You can then edit your Applications menu and add a launcher pointed to quake2.sh.