Introduction
WinBoard is capable of operating with many different chess engines. You can play chess against a compatible engine, set up matches between two engines, or (advanced users only) run an automated computer player on an ICS.
Typically, the main difficulty in installing a new chess engine for use by WinBoard comes in getting the engine itself running and setting its options appropriately. The connection to WinBoard is relatively straightforward.
WinBoard-compatible chess engines are Win32 command line programs that you can run by hand in an MS-DOS Prompt box and type human-readable commands to. WinBoard connects to an engine simply by starting the engine up in the background and communicating with it through a pair of pipes. Therefore the basic procedure for installing an engine is:
1. Get a copy of the engine and any supporting files it needs.
2. Install and configure the engine as a command-line program by following the instructions that come with it. Try it out by running it from the command line in an MS-DOS Prompt box and make sure it works.
3. Optional, but recommended: Try out the WinBoard plus engine combination by running WinBoard with the proper command line arguments in an MS-DOS Prompt box.
4. Create a shortcut on your desktop or Start menu to run the engine with WinBoard.
5. Optionally edit your WinBoard.ini file to add the engine to the drop-down lists on WinBoard's startup dialog.
This document cannot explain steps 1 and 2 in detail for all engines, but we will take you through all five steps in outline, using Crafty as an example.
Example: Crafty
1. Choose a directory to put Crafty in. We'll use C:\Program Files\Crafty
in this example. Download your copy of Crafty into this directory from its author's FTP site, ftp://ftp.cis.uab.edu/pub/hyatt
. At this writing, you will need at least the following files:
read.me
(where * is replaced by the largest number there)
v15/crafty.doc
v15/crafty.faq
v15/wcrafty-15.*.exe
common/start.zip
(or another book).
common/medium.zip
2. The first three files are documentation that you can read with a text editor. Read the read.me file first and follow the instructions carefully. This will take some time. Do not write to the author of WinBoard if you have trouble with the instructions in the Crafty read.me. Try running Crafty from an MS-DOS Prompt box and make sure it works before you go on.
3. Optional, but recommended: In an MS-DOS Prompt box, cd
to the directory where WinBoard is installed, typically "C:\Program Files\WinBoard"
. Then type the following command line. Use the actual name of the wcrafty file you downloaded, not an *
, and if your browser changed the first period to an underscore when you downloaded the file, make that change in the command line too.
WinBoard /cp /fcp=WCrafty-15.* /fd="C:\Program Files\Crafty" /scp=WCrafty-15.* /sd="C:\Program Files\Crafty"
WinBoard should start up, with Crafty running as its chess engine. Check that you can play chess against Crafty.
4. To make a shortcut or Start menu entry for Crafty: Right-click on the desktop and select New/Shortcut. Use the Browse button to find your winboard.exe file and get its name into the Command Line box. (It usually will be "C:\Program Files\WinBoard\winboard.exe".) Click in the Command Line box and hit the End key to go to the end. Add the following to the end of the command line, after the closing quotation mark. Use the actual name of the wcrafty file you downloaded, not an *
, and if your browser changed the first period to an underscore when you downloaded the file, make that change in the command line too.
/cp /fcp=WCrafty-15.* /fd="C:\Program Files\Crafty"
/scp=WCrafty-15.* /sd="C:\Program Files\Crafty"
Press Next, choose a name for the shortcut, and press Finish. You can now use this shortcut to run WinBoard with Crafty. Double-click it to check that it works. You can drag or copy the shortcut into your Start menu if you like.
5. To add Crafty as an option in the WinBoard Startup dialog, edit your WinBoard.ini file with Notepad or another plain text editor, carefully following the example shown under /firstChessProgramNames above.
For more information
If you would like to run an automated computer player on the ICS, see the separate file zippy.README
. If you would like to write your own engine to interface to WinBoard, see the separate file engine-intf.html
, and join the mailing list mentioned there. Both files are included in the WinBoard distribution. You might also want to get the source code for WinBoard. It is available from the author's Web page, http://www.tim-mann.org/chess.html.