Author: Marc Lacrosse
Date: 10:28:31 08/09/05
Go up one level in this thread
On August 09, 2005 at 09:43:03, Thorsten Czub wrote:
>yes. please give an example.
>i need more information about this.
>
>I remember i had winboard once (in the past) but i had to
>EDIT always the winboad.ini
>
>please give your example.
Here it is :
You need :
1. Winboard
There are several interesting modified versions but good old native 4.2.7
version can be found on Tim Mann's page at http://www.tim-mann.org/xboard.html .
It works perfectly.
2. Polyglot 1.3
Both an UCI-to-Winboard and an opening book manager by Fabien Letouzey. Download
both Polyglot and the exact cygwin1.dll that is required for the Polyglot
version that you will use at Leo Dijksman's http://wbec-ridderkerk.nl/ (go to
the download page). Do not try to use another cygwin1.dll subversion!
As an exemple here is the directory structure that I use on a USB key
1. a \WB directory for winboard and related files (I renamed the executable as
w427.exe)
2. a subdirectory of the former : \WB\PG13 for polyglot and related files (I
renamed the executable as pg13.exe)
3. a subdirectory of the former one for each engine I will use
as an example : \WB\PG13\Fruit21 for my favorite one (did you hear of it?)
For each combination of an engine with a given set of UCI parameters and a given
opening book you will have to create a dedicated .ini file in the \PG13
directory and a pair of lines in \WB\winboard.ini.
Imagine that you have created (with polyglot) an opening book called
GMdraws.bin. You put it the \WB\PG13 directory.
For Fruit to play with 128 MB hash tables, otherwise default UCI parameters,
using your GMdraws.bin book, you create a F21-gmdraws.ini (you may give it any
name of your choice) that you place in Polyglot's \PG13 directory. In this file
you put :
[PolyGlot]
EngineName = Fruit 21 - DefUCI128 - GMdraws
EngineDir = .\Fruit21
EngineCommand = Fruit_21.exe
Book=true
BookFile=gmdraws.bin
Log = false
LogFile =
[Engine]
Hash = 128
OwnBook = false
You could add any other values for adjustable UCI parameters of the chosen
engine in the [Engine] section.
The [Polyglot] section is self-explanatory. The first line is the name that will
appear in the winboard window and in recorded PGN games.
If you wish that an engine will use its own book management you choose
"Book=false" in the first section and put the engine-specific UCI-command for
the engine to use its own book(s) in the second section (you have to find the
adequate command in the engine documentation).
For calling the engine from WB, you have to modify the winboard .ini file. Near
the end of this file you will find two sections :
/FirstChessProgramNames={
}
and :
/secondChessProgramNames={
}
Between each {} pair you have engine definitions with one line per engine.
For adding your Fruit with 128MB and gmdraws book, you add the following line in
the first section (anywhere between the accolades, on its own line):
F21-gmdraws /fd='.\pg13' /fcp='pg13.exe F21-gmdraws.ini'
In the second section you add similarly :
F21-gmdraws /sd='.\pg13' /scp='pg13.exe F21-gmdraws.ini'
fd and sd : directory where polyglot executable is located (and you see that
relative locations are accepted)
fcp and scp : the playing program executable (in our case pg13.exe with the ini
file which gives polyglot instructions on how to launch the Fruit engine)
If you wish Fruit or another UCI program to play with other parameters you
create another .ini file in \pg13 and add a pair of lines in winboard.ini
telling Polyglot to launch this new .ini file.
All this has only to be done once : when you launch winboard you have a
graphical selection for choosing against which engine you will play or among
which engines a match is to be played.
I hope this will help you ...
The winboard.hlp file and the Polyglot documentation will help you to refine
all this.
Marc
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.