Xoids v1.1 INSTALLATION Game Requirements ================= The game is native to Sun4 architecture, so there may be a few problems with system dependencies, but hopefully not too many. I did use the BSD rand() function, which may or may not give you problems. Most importantly, you MUST HAVE the Xpm library already installed in order to compile! The routines in this library are fantastic for writing games, so if you don't have it, then get it from ftp.x.org (look in contrib/libraries). Platforms ========= Known to Run On --------------- SunOS 4.1.x SunOS 5.x (Solaris 2.x) OSF/1 Linux (kernel 2.0, XFree86 3.1.2) Heard to Run On --------------- FreeBSD These machines are represented in the Imakefile. If you have a different machine, you should add your own to the Imakefile (simple). Please let me know if you get it to run on another machine and how you modified the code. Compiling and Installing With 'xmkmf' ===================================== You may very well need to change 'Imakefile' to reflect the path of your XPM include and library directories. 1. Read the section 'Caveats and Notices' below! 2. xmkmf -a OR, if this doesn't work, try: xmkmf 3. make depend 4. make clean 5. make all 6. make install Compiling and Installing Without 'xmkmf' ======================================== If you do not have 'xmkmf' or it is not working for you, you can do things the old-fashioned way and copy the supplied Makefile.noX to Makefile and modify it so that all the paths are hunky-dory. Once you've modified the Makefile, then just type "make [arch]" where arch is your architecture. If you try typing "make" with no argument, then the makefile will try to match your system up with a known architecture. I usually use "make sun4" for example. I have also provided a "generic" architecture which may be a good starting point for compilation. Caveats and Notices =================== The game defaults to a 960 x 800 window, so if your screen can't handle that, change the WINDOW_HEIGHT and WINDOW_WIDTH definitions near the top of oids.h before issuing the make command. I have taken great pains to ensure that the frame rate of the game is independent of your window size, so for maximum playability you should make the window as large as possible. Miscellaneous Notes =================== Thanks to John Kilburg for supplying an Imakefile (new to v1.1). Disclaimer ========== This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.