The dopewars source code and precompiled binaries for Intel and Alpha systems (in RPM format) are available from the main dopewars web page, at http://dopewars.sourceforge.net/. Just follow the link from there to the download section. "rpm" is the RedHat Package Manager, a program for simplifying installation and upgrade of programs, and is part of the RedHat Linux distribution. If you are using a different distribution, it may be still be included, however. If you do not want to use "rpm", or the installation fails, then you can obtain the source code tarball and recompile the code from scratch.
Prerequisites: dopewars relies on the GLib library for all builds; this library is used for parsing the configuration files, network and string handling, and many other purposes. On a Windows system, this is the only prequisite; the standard Windows libraries are used for everything else. On a Unix/Linux system, you will also need the screen library curses (or the equivalent, such as ncurses or cur_colr) for the text-mode client, and the GTK+ libraries for the graphical client.
The binary RPMs are built for Compaq (formerly DEC) Alpha systems running RedHat Linux 7.0, and Intel (also Intel compatibles, such as AMD, Cyrix, etc.) systems running RedHat Linux 7.1. On other systems, these binary RPMs may refuse to install, or may run but then crash with mysterious segmentation faults due to library conflicts.
This route is open to you if your system has "rpm", but the binary RPMs do not work on your system, or your machine is not an Intel or Alpha (a PowerMac, for example). It involves obtaining the RPM of the source code, and then building the binaries from it on your system.
If you don't have, or don't want to use, RPM, you can obtain the source code in gzipped, tarred ("tarball") format and recompile and install it yourself. This is also usually a necessity if you cannot become root (the superuser) on your Unix box, or if you wish to build the Windows version from source code.
Before beginning, you should ensure that you have all the necessary prequisites (see above). To compile on a Windows system, you should install the free Cygwin suite, and use the included compiler. (You could use a different C/C++ Windows compiler, but you'll have to write your project files if you do this.) On either Windows or Unix systems, you will need to get the GLib library first, available for Unix here or for Windows here.
If you cannot become root, run the configure script specifying directories for
which you have write access for both the dopewars binary and high score file
with a command such as
./configure --bindir=/home/user/dopewars
--datadir=/home/user/dopewars
Last update: 18-06-2001