dopewars and Microsoft Windows

dopewars runs natively on Win32 systems (Windows 7 or later). It runs by default as a dopewars client, using the familiar Windows interface, but the traditional text-mode client is also available on Windows, as well as the dopewars server and AI players.

Binaries can be obtained from the main download site, or dopewars can be built from source code.

In virtually all respects, the Unix and Win32 versions of dopewars should be identical. Both will accept the same command line parameters and configuration options. However, since the standard Unix paths for the high score file and configuration files do not translate well to Windows, by default the program will look for the high score file dopewars.sco in the current user's application data directory (e.g. C:\Users\foo\AppData\Local\dopewars\), and will read a global configuration file dopewars-config.txt from the directory in which the dopewars binary was installed, followed by a per-user configuration file of the same name in the AppData directory.

The dopewars server can function as a Windows service when run with the -N flag. One way to set this up is to use the sc create utility from a command prompt, e.g.

sc create dopewars binpath= "C:\Program Files\dopewars-1.6.2\dopewars.exe -N"

Note that this will run dopewars as the Local System user, so will look for high score/config files (and create a log file) in the corresponding AppData directory, e.g. C:\Windows\System32\config\systemprofile\AppData\Local.


Last update: 05-12-2020
Valid XHTML 1.1