[B] Setting up
Back to: Winboard FAQ, Index; Forward to: Winboard FAQ, Part C
Just run the execute file, and the Winboard setup should do the rest. Winboard comes pre-installed with GNUChess4.0 and GNUChess 5.02.
When upgrading you can uninstall the older version using Start | Settings | Control Panel | Add/Remove Programs or Start | Programs | Winboard | Uninstall Winboard. But normally there is no need to uninstall the older version, as you can just install the new one in the old place. This is because unlike other programs you don't need to worry much about messing up the Registry. See below.
Tim Mann writes “Winboard when installing adds only minimal changes to the Windows registry. It adds WinBoard to the list in Start | Settings | Control Panel | Add/Remove Programs, so that you can easily uninstall it. If you say 'yes' when asked if you want WinBoard to be your viewer for PGN and FEN files, it registers it as such.”
There are two ways to set up Winboard engines(eg Crafty) to work with Winboard. One method is run them using a command line. This is the method mentioned in the Crafty FAQ , and on Tim Mann's FAQ . A slightly better but similar method is to add a shortcut as recommended by some older sites.
Such a method would involve setting the following line as a shortcut eg.
“C:\WinBoard\winboard.exe” -cp -fcp “crafty” -fd “C:\Craftydirectory”
In this case, -cp tell Winboard to start in Chess engine mode and the “crafty” after -fcp is the name of the exe file and the words after -fd is for the directory where crafty.exe resides. If you want another Chess engine to take the other side you add similar lines except that you do -scp and -sd respectively for the exe file and directory.
Confused? Don't worry, a easier and more flexible method (which I will go into detail further down) , I believe is to alter the file Winboard.ini(which will be generated the first time you run Winboard itself). By altering the Winboard.ini file, you can select which Chess engine will run in the startup-dialog whenever you start Winboard. This will remove the need for multiple shortcuts for different programs.
Note: There is however no way to run Chess engines using zippy for ICS play (Link) via the “Winboard.ini method” as we shall soon see.
The instructions below are concerned with manually altering the winboard.ini file using notepad to setup with winboard with various engines. This can be confusing to people with no experience with such tasks. Tom's Simple Engine Manager provides a graphical user interface to make this task easier.
The instructions below are available with screen shots here . (link)
Here I will guide you through the steps needed to add Ruffian , a strong free Winboard engine. First download Ruffian. Extract the files to a directory called c:\Ruffian.
Next, open the Winboard.ini file using a text editor (like wordpad or notepad). You can find Winboard.ini in the same directory you installed Winboard. (If you cannot find the file Winboard.ini in the winboard directory, you need to run Winboard.exe once, then exit for the file to be generated.) You should see this portion at the bottom of the file.
} /firstChessProgramNames={GNUChess “GNUChes5 xboard” } /secondChessProgramNames={GNUChess “GNUChes5 xboard” } |
When you start up Winboard, you will see 2 options Gnuchess and GNUChes5 Xboard for the first dialog box, and a similar one for the second dialog box.
To add more options to the dialog box this is what you change the above to
} /firstChessProgramNames={GNUChess “GNUChes5 xboard” “ruffian” /fd=“c:\ruffian” } /secondChessProgramNames={GNUChess “GNUChes5 xboard” “ruffian” /sd=“c:\ruffian” } |
(Added lines are in italics)
Okay what does the added lines mean? It actually consists of 2 parts, one marked in red , the other marked in blue
“ruffian” /fd=“c:\ruffian”
The first part “ruffian” refers to the name of the actual executable. This is the file that ends with exe .Notice that even though the file is called ruffian.exe, I don't have to include the .exe part, though it shouldn't hurt.
Technically, the Winboard help files says that If the engine name has more than one period in it (for example, QChess1.5.exe), you must include the ”.exe” extension; otherwise you can leave it out.
To make things simple though my file names are usually simple, without underscores, periods or spaces. So instead of crafty-19.1.exe, I rename it to Crafty191.exe to avoid all problems.
But how does Winboard know where the exe file is? This is set by the next part /fd=“c:\ruffian” This line merely tells Winboard where the file ruffian.exe is. In the above example, it lies in the directory c:\ruffian.
Note the quotation marks are not strictly needed except in cases where the directory has a space in between like c:\program file\crafty , but it usually doesn't hurt.Also in cases where you the executable file actually lies in the same directory as Winboard, you don't need to add this second part.
For example the default Gnuchess engines are in the Winboard directory, as such all you need to do is to type in the executable file name and leave out specifying the path to it.
You do exactly the same for the second option “ruffian” /sd=“c:\ruffian”
The only difference is that instead of fd you use sd. (fd=first directory, sd=second directory.)
That is all that is needed. Save the Winboard.ini file as Winboard.ini (not Winboard.ini.txt) and rerun Winboard. The option will then appear as the second choice and you can click on it to select Ruffian to play.
A word of warning, while most Chess engines can be setup in the same way ,some engines require special command lines to be added.For example in the default GNUchess setup you see the addition of “Xboard”. Typically this requires you to add things like xboard or xb to signal to the engine it is being used in Winboard/xboard mode.Some others like Phalanx requires you to add commands to configure settings like hash table size, book learning options.
”“Nejmet33 xb” /fd=c:\Nejmet33
“Bringer19 /winboard” /fd=c:/Bringer19
“Phalanx22 -l- -t110768 -r800 -o-”/fd=c:\Phalanx22”
Older versions of Crafty also required you to add /xboard, but it is no longer necessary now.
For more details on what (if anything is necessary) to be added,Please go to Thomas' web page and or the more updated Leo Dijksman website and select the relevant details page.
Some other useful commands to add include the following the following
”/Xreuse” - when added will cause Winboard to restart the Chess engine after each game, instead of reusing it from game to game. This is useful in some cases with problematic engines that do not recognise the end of a game properly.
”/firstcomputerstring ””” - will suppress the sending of the computer command by Winboard to the engine. See Winboard FAQ, Part D Section [D.4.6] for why you might want to do so.
”/firstProtocolVersion=1” - will force Winboard to stop sending the protover command (which checks if the engine supports Protocol 2). This is useful in a few cases (like the old version of SOS) which have problems when the protover command is sent, but normally this is not necessary even for chess engines that support only Protocol 1.
(verify links) If you still have problems here are some other websites that might help
Lastly, you could download Configuration files by Federico Corigliano [configx.zip] - about 113kb. However, they will only work if you do the following after unzipping the file.
That should do it. This will configure each chess engine to use 32 mega Hash. Options are set such that resign is off, learning is off and book is on. [So for two Engine matches on the same computer you need about 128 megs of RAM]
Still Stuck?
If you read all the way down here and still have problems, you can download the following Winboard package at http://www.cacsi.com/chess/Winboard_Package_Aug_4th.exe from Jason Kent. Extract the whole package and a couple of engines Ruffian,Delfi, Crafty etc are included in there. More importantly, Jason as modified the winboard.ini file and the package is ready to use immediately.
Setting up Winboard engines to run in Internet Chess Servers like Freechess.org [formerly known as FICS or Free Internet Chess server], or Internet Chess Club [ICC] is possible with the use of zippy that comes with the Winboard package.Another possible and perhaps easier way is to use the new Arena , that comes with ICS support.
However it is not possible to set up Winboard Chess engines to run in YahooChess servers using normal Winboard compatible interfaces.This is because YahooChess is based on a java applet, and zippy does not work in that. In fact,this holds for most Chess servers besides FICS/ICC/Chessnet and perhaps USCL which share similar code.
There is however a project known as YICS that makes it possible to use ICS-compatible interfaces (such as xboard, Winboard, eboard, and Thief) on Yahoo! Chess. This opens the possibility of using engines that use these interfaces.
To use zippy with Winboard, you will have to alter the windows shortcut(or do it in dos mode).
The first part in black is to tell Winboard to start in ICS mode.Of course the path to Winboard.exe on your computer might vary. It could be c:\program files\Winboard\Winboard.exe \zp \ics instead for example.
/icshost=freechess.org /icshelper=timeseal - Add the server address after /icshost.(E.g. chessclub.com for ICC or server.uschesslive.org for USCL). ”/icshelper” is for the use of timeseal.
/fcp=enginename.exe /fd=c:\enginedirectory - Change “enginename” to the file name of your engine (the file ending in exe) and “c:\enginedirectory” to the directory where enginename.exe is in.
Start Winboard through the shortcut and it will run normally. You will need to enter the handle name, password, normally.
Notice that the method I advocate above to setup Chess engines to play locally, using the Winboard.ini to setup engines and then selecting them on the fly in the startup dialog box (link) cannot be used here. This is mainly because that mode is available only in Chess engine mode, and when Chess engines run on ICS they are actually running in ICS Mode.
Remember, you have to apply for and receive a approval for a computer account with each chess servers before you can use one with a registered account. Failure to do so will result in a ban. You have being warned! If you are just testing, please log in as a guest!
The line above is only the most basic command needed to log on but you will still have to manually enter the handle,password, challenge and accept matches etc. There are other zippy and winboard commands you can add to automate the running of the computer account.
First off, you could add the line ”/icslogon=ics.ini” after the above lines, and then create a file ics.ini in which you input the commands that will automatically be sent. Normally you will use this to enter Handle,password, set finger notes ,filters and challenges Here's a sample you can copy and paste in your text editor and then save as ics.ini in the Winboard directory (not your engine directory)
handlename >password
>Set 1 This account is run using Engine so and so
>Set 2 This account is run on Pentium 4 , 2 Ghz
>Set 3 Running using all 3-4-5 tablebases
>Set 4 The Operator is TheDane
>seek 5 0
The above will automatically enter the account handle and then password (but remember the warning in yellow above!), followed by setting up the fingernotes about and send a seek.However, this does not mean that it will continue to send seeks after each game.
The trick is to add the line ”-zippyGameEnd='say *handshake*\nseek 5 3 m\nseek 5 5 m\n'”
Basically after each game is finished, zippy will send the command gameend so you can use the alias server command to change it to something else (perhaps seek more games). Another way is to add the line -zippygameend= xxxxx. My line will say *handshake* and then send out 5 3 and 5 5 manual seeks.
There are many more commands to automate the running of the account, for example limiting the number of consective games to the same opponent, noplaying some accounts , but you should refer to the zippy.readme file available with Winboard for more details.
As always chances are my explanation is not clear enough, so you might want to consult other sites which tackle the same problem. A good guide on the use of zippy can be found on Mogens Larsen's home page (link) [Scroll to the bottom of the top most Window, and look under “related topics”]. Rob Keogh has a site for setting up chess engines to run on ICC. (verify link) The batch file included will also automatically reconnect if you are disconnected.
See also other questions on zippy at Tim Mann's official Xboard/Winboard FAQ
Connecting non-Winboard engines like Fritz to online Chess Servers is more difficult and involves the use of Winboard auto232 player adaptor which allows Chessbase engines to communicate with Winboard via the auto232 protocol , and when this is done, you can then connect online with Zippy as above. You can download Eberhard Börger's auto232 player with instructions on how to setup Fritz to play in ICS [Internet Chess Servers like ICC or FICS] .If you are using Win2k or XP, you can set up Borger's auto232 player without the use of any null modems cables. (broken link) Better yet refer to my articles on auto232 players. (general introduction) and specific instructions. (link) You can also find some general discussion of auto232 at Joachim Denzler's webpage.More details on auto232 (history,problems) in German.
The free Arena has already being mentioned earlier has a easy to use alternative to Winboard that allows you to use UCI and Winboard engines in FICS.
Other commercial programs like the Chess Partner interface, Chess Vision has built in interface that makes it easy to get chess engines to run online.
Chess Assistant (and the light version) allows you to connect Chess engines (Winboard engines only for the light version, UCI or Winboard for the paid version) to ICC only.
Linux users have alternatives to Xboard , as they can use Eboard and Knights. Still they support the same engines as Xboard so there is not much gain in using them.
Fritz 7 and above has built in support that allows you to log onto their own online Playchess server but not FICS.
Chessmaster 8000/9000/10000 is interesting because the engine that powers it (The King) is actually a Winboard engine. As such it can be treated like any Winboard engine and connected to Chess servers like FICS. See Winboard FAQ, Part_D, Section [D.3] for more details.
However connecting chessmaster 8000/9000/10000 to Winboard in such a manner, will cause Chessmaster to play without a opening book because it relies on the graphical user interface to provide a opening book which Winboard does not. This problem can be solved using Bookthinker (link) or use auto232 programs to connect Chessmaster to Winboard first (very complicated). Jason Kent has created a package to make use of The King (all versions) with FICS (direct link 1006K). It includes support with Bookthinker but you need to read the instructions (direct link to text file) carefully.
Similarly you need auto232 to setup Chessmaster 8000/9000/10000 to run against another auto232 supported program like Chessbase programs. Refer to Chessmaster's FAQ. [under question “Q: I've heard of something called Auto232. What is it and does Chessmaster 8000 support it? ”] Also here's a more detailed instruction by Scott Wood on CCC "How to use auto232 with Chessmaster" (link)
Lastly there is Robofics . Robofics has being ported to windows by Dann Corbit. (broken link) You will need Cgwin.dll. (broken link) I have no idea how it works except it is very old and doesn't seem to be very popular now that we have Winboard. - The successor of robofics is ICSdrone . I haven't tried it.
Strictly speaking Winboard isn't really designed for 2 people (or engines) to connect directly to play a game. Something like Netchess is more suitable. Still if you want to Winboard there are options.
Try the Winboard Network adaptor . If you are on a LAN you can try this simplified RSH server for Windows".
Here are some possible reasons