Running Q2 on Ubuntu?
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
The easiest way:
0a. `su` (become root)
0b. `mount /dev/hdb /cdrom` (mount CD)
1. `mkdir -p /usr/local/games/quake2/baseq2 && /usr/local/games/quake2`
2. `cp -R /cdrom/quake2/baseq2/* baseq2`
3. `wget ftp://ftp.idsoftware.com/idstuff/quake2 ... 2.0.tar.gz`
4. `tar xfz quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz`
5. `./quake2`
If you're going to run a dedicated server, give R1Q2 a try. The client is pretty nice too, but you'll have to build it from source (compiles rather cleanly though).
0a. `su` (become root)
0b. `mount /dev/hdb /cdrom` (mount CD)
1. `mkdir -p /usr/local/games/quake2/baseq2 && /usr/local/games/quake2`
2. `cp -R /cdrom/quake2/baseq2/* baseq2`
3. `wget ftp://ftp.idsoftware.com/idstuff/quake2 ... 2.0.tar.gz`
4. `tar xfz quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz`
5. `./quake2`
If you're going to run a dedicated server, give R1Q2 a try. The client is pretty nice too, but you'll have to build it from source (compiles rather cleanly though).
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
You could do it as described here but I usually find it much easier to download and run the installer from the NVIDIA website. Beware! On a Debian box running x.org and thus probably on Ubuntu too, you need to run the installer with -x-module-path=/usr/lib/xorg/modules because the drivers are kept in a non-standard place.
-
- Posts: 6926
- Joined: Thu Feb 10, 2000 8:00 am
-
- Posts: 22175
- Joined: Sun Oct 14, 2001 7:00 am
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Q2, being so old, uses the deprecated Open Sound System (OSS). OSS allows only one application at a time to access the sound card. If you run a sound daemon like KDE's aRts or GNOME's Esound/ESD (`ps aux | perl -ne 'print if /arts|esd/i'`) you can rest assured Q2 will never produce a sound. ALSA however emulates OSS pretty well, while still being able to multiplex the sound card.riddla wrote:Got no sound either, probably has to do with the onboard sound. I'll try an old SBLive tonight.
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
-
- Posts: 1975
- Joined: Mon Jan 24, 2005 10:14 pm
It's still Linux, which will never be simple. Sure, it's easy to browse the internet and send emails, but it's still Linux. You still have to know Linux to use it for much of anything good. Linux as far as I know never has and never will be simple.riddla wrote:Figuring out this nvidia driver install indeed looks like a bitch though. I thought Ubuntu was supposed to be simple?
-
- Posts: 4108
- Joined: Sat Dec 14, 2002 8:00 am
-
- Posts: 17020
- Joined: Fri Dec 01, 2000 8:00 am
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
You might want to give NoCheat a try, instead of the original Q2 binary. It comes with a somewhat more up to date OGL driver (set vid_ref glx).
-
- Posts: 1
- Joined: Tue Sep 12, 2006 2:31 am
Simpler still
If you'll check your /etc/apt/sources.list to see if it shares some basic similarities to the one here. Then you may have a little better luck with this method.
To break it down to the command line code check your sources.list to see if it's near that particular sources.list (I'm not sure which repository this package is in so I'm kind of spitballing as to whether that list will work) or even replace it and run these commands.
sudo apt-get update
sudo apt-cache search quake2
If you're given some results that contain these two lines:
quake2 - improved version of id Software's Quake II engine
quake2-data - Installer for Quake II data files
Then you may be in luck. The good thing about installing these two packages is that generally you'll find packages can solve problems where simple source code and leg work can create more. The downside is that with the package your install is fairly vanilla in nature.
Ok, with that aside we install the packages
sudo apt-get install quake2 quake2-data
The program will, at this stage, respond to the command quake2 from anywhere in the terminal but we still don't have the q2 data files needed to get the game going. That's where the original help comes into play.
First since this is fairly simple, let's find the baseq2 folder on the system:
locate baseq2
You'll be presented with a list of folders. On my system the path to baseq2 was /usr/share/games/quake2/baseq2 but your mileage may vary depending on how you installed.
If you're like me you had a little trouble getting the mixed-media CD-ROM to mount properly in Ubuntu. I found it was best to get to the files via the GUI, drag and drop the folder to the terminal window, thereby copying the path to baseq2 to your command line.
You should be presented with a command line containing the path to baseq2 on the CD-ROM. Add these commands/qualifiers to that line.
cp -rf /path/to/baseq2/on/cdrom/* /path/to/baseq2/on/hd/
That should settle it. While this is a bit longer to type out it's actually pretty simple to install. I'm unsure whether it will really fix your problem, riddla, but I've found that if you can use the package manager to install these things it tends to do with with a little more knowledge about your system than when you try to do it via source.
Hope that helps!
To break it down to the command line code check your sources.list to see if it's near that particular sources.list (I'm not sure which repository this package is in so I'm kind of spitballing as to whether that list will work) or even replace it and run these commands.
sudo apt-get update
sudo apt-cache search quake2
If you're given some results that contain these two lines:
quake2 - improved version of id Software's Quake II engine
quake2-data - Installer for Quake II data files
Then you may be in luck. The good thing about installing these two packages is that generally you'll find packages can solve problems where simple source code and leg work can create more. The downside is that with the package your install is fairly vanilla in nature.
Ok, with that aside we install the packages
sudo apt-get install quake2 quake2-data
The program will, at this stage, respond to the command quake2 from anywhere in the terminal but we still don't have the q2 data files needed to get the game going. That's where the original help comes into play.
First since this is fairly simple, let's find the baseq2 folder on the system:
locate baseq2
You'll be presented with a list of folders. On my system the path to baseq2 was /usr/share/games/quake2/baseq2 but your mileage may vary depending on how you installed.
If you're like me you had a little trouble getting the mixed-media CD-ROM to mount properly in Ubuntu. I found it was best to get to the files via the GUI, drag and drop the folder to the terminal window, thereby copying the path to baseq2 to your command line.
You should be presented with a command line containing the path to baseq2 on the CD-ROM. Add these commands/qualifiers to that line.
cp -rf /path/to/baseq2/on/cdrom/* /path/to/baseq2/on/hd/
That should settle it. While this is a bit longer to type out it's actually pretty simple to install. I'm unsure whether it will really fix your problem, riddla, but I've found that if you can use the package manager to install these things it tends to do with with a little more knowledge about your system than when you try to do it via source.
Hope that helps!