UPDATE [20080901] - In -current OpenBSD, work is underway to port openarena (itself an ioquake3 port) for native Quake 3 (alike) gameplay under OpenBSD. Openarena comes complete with full (free) game content but its ioquake3 engine can run the original Quake 3 and missionpack data just fine. When this porting work is finished (ie, the port is imported into the OpenBSD cvs repository), I will update this page with instructions on how to setup a native server and a client on OpenBSD.
Steps to installing a dedicated Quake 3 server on OpenBSD-3.2beta (20021003 snapshot)
!!! IMPORTANT NOTE !!!
These instructions apply to i386 ONLY ! The dedicated Quake 3 Arena server binary is just that : a binary. This binary only runs on i386, dont bother trying the following on any other arch.
Requirements :
Steps :
cd /usr/ports/emulators/redhat/base && make install
Note that it will take a considerable amount of time to download all rpm's. You could try installing a package to save some time. Also, since OpenBSD 3.4, all binary compatibility is enabled or disabled through a sysctl(8). To enable the use of Linux binaries use :
sysctl kern.emul.linux=1
This can be set permanently in /etc/sysctl.conf, see the manpage (sysctl.conf(5)) for more info.
mkdir -p /usr/local/games/quake3/baseq3 && cd /usr/local/games/quake3
ftp -a ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-1.32.x86.run -o q3.bin
Note : Any mirror will do, this is the official iD Software FTP server. Just make sure you get the file. This version has a filesize of 30973557 and the MD5 checksum should be 5c4853976224e6f3d1c815075392f3d9. Please note that iD may release other, newer, versions in time. These instructions may be incorrect for newer versions. In such a case, try to find out how to continue from the steps below or drop me an e-mail and I'll update this document.
cp /mnt/Quake3/baseq3/pak0.pk3 /usr/local/games/quake3/baseq3/
cp /mnt/baseq3/pak0.pk3 /usr/local/games/quake3/baseq3/
mkdir missionpack; cp /mnt/Setup/missionpack/pak0.pk3 missionpack/
mkdir tmp; tail -n +$(head -n 2 q3.bin|grep skip|cut -f2 -d'=') q3.bin|tar xvvzf - -C tmp
mv tmp/bin/x86/q3ded .; mv tmp/baseq3/pak?.pk3 baseq3/; mv tmp/missionpack/pak?.pk3 missionpack/; rm -rf tmp q3.bin
q3ded +exec <your_config_file_here>
echo '/usr/bin/su <username> -c "cd /usr/local/games/quake3 && /usr/local/bin/screen -d -m ./q3ded +exec <your_config_file_here>"' >> /etc/rc.local