firstly I've only got this running with x86 ubuntu 17.04 server but should work with all x86 distros, haven't even tried x64 as the bins x86 n my server only got 4gb ram anyway so didn't see point in stuffing round with it.
so first ya gonna need some files:
pak0.pk3 (from original q3a disc)
sega.pk3
dcmaps (i use dc-mappackv2.1.pk3)
some game cfg files
linuxq3apointer-1.16n.x86.tar (the tar not run)
all of these are availbe on my dropbox with link to in download section besides pak0.pk3 and cfg files.
so get all of them on ya linux box.
no do
Code: Select all
mkdir /home/username/.q3a/
now copy the linuxq3apointer-1.16n.x86.tar into the .q3a dir and untar with
Code: Select all
tar vxsf linuxq3apointer-1.16n.x86.tar
it should extract all of the update to the dir, then copy the needed files to the ~/.q3a/baseq3/ dir, being:
pak0.pk3
sega.pk3
dcmaps.pk3
and cfg files for games.
ya pretty much done, just run the bin directly in /home/username/.q3a/bin/x86/glibc-2.0/q3ded with desired settings, tho to make things easier lets make a script to just run.
so make a script in ya home/username folder
Code: Select all
nano /home/username/ffa.sh
Code: Select all
#!/bin/sh
screen -d -m /home/username/.q3a/bin/x86/glibc-2.0/q3ded +set dedicated 2 +set net_port 27960 +exec ffa1.cfg
then make it excutable with chmod +x /ffa.sh and run, should have a server going (for testing u got the .sh script right maybe take out the screen -d -m part to make sure runs right instead of having to swap between screen sessions.
to setup other game types just copy the ffa.sh to another name eg. ctf.sh and edit the net_port ##### and the +exec ###.cfg it loads.
done. of course need to port forward on ya router.
tho with this u must run the script ea boot, i played round trying to get it running as a service but the os didnt like seeing the exec command as part of it n refused to run as service, dam id using a clashing switch. if you know a way to get round this please let me no as be handy to have it run as a service instead of manually invoked.
you could also setup some pointers with ln to save type absolute path, but i didnt bother as once the first sh script run just cp it and change the port and cfg it loads.
enjoy!