README for Quake Server port
----------------------------

NOTE: For those who used my old port of quakeserver (v1.01), this is radically
different.  It now uses the BSD/OS unix dedicated binary, which eliminates
the need for the Linux emulation and improves stability.


This port, as installed, contains the following directory structure

/usr/local/quakeserver/readme.port		this file
/usr/local/quakeserver/readme.unixded		unix server readme
/usr/local/quakeserver/qserver.sh		shell script to run the
						server
/usr/local/quakeserver/unixded			server binary
/usr/local/quakeserver/quakeserver.log		server logfile
/usr/local/quakeserver/quakeserver.in		server console named pipe
/usr/local/quakeserver/id1/pak0.pak		quake shareware datafile

This will run a shareware Quake server on UDP port 26000, binding to all
addresses on the machine.  For server options, read the readme.unixded file
and look at the suggestions in qserver.sh.

The startup procedure for the server is:

/usr/local/etc/rc.d/quakeserver.sh runs the server as user 'quakerun'. 
Input is redirected from the named pipe 

/usr/local/quakeserver/quakeserver.in

and output is redirected to

/usr/local/quakeserver/quakeserver.log.

You can see the output of the console by viewing quakeserver.log, and feed
commands to the server by echoing them into quakeserver.in.

One of the frequently asked questions about this port is how to run a
registered server.  It's pretty simple.  If you want to run just a shareware
server, copy the files from the ID1/ subdirectory of an installed copy of
Quake into /usr/local/quakeserver/id1/.  Remember to make all filenames
lowercase.

If you want to run a shareware and registered server in tandem, you will
need to have a machine with multiple IP addresses (using aliasing or other
methods).  Copy the files from the ID1/ subdirectory to a new directory
under /usr/local/quakeserver/ (such as reg/), and run two servers. 
Presuming that your machine has two addresses 10.10.10.10 and 10.10.10.11,
the lines to launch the server would be :

/usr/local/quakeserver/unixded -ip 10.10.10.10
/usr/local/quakeserver/unixded -ip 10.10.10.11 -game reg

Which would give you a shareware game on 10.10.10.10 and a registered game
on 10.10.10.11.

--
j.
