Question for Polyglot book experts

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Question for Polyglot book experts

Postby Guenther Simon » 02 Jan 2007, 10:23

Hello,

Is there a way to let Polyglot show somehow the
content of a Polyglot book in whatever way?

Regards,
Guenther
User avatar
Guenther Simon
 
Posts: 794
Joined: 26 Sep 2004, 19:49
Location: Regensburg, Germany

Re: Question for Polyglot book experts

Postby Marc Lacrosse » 05 Jan 2007, 11:33

Guenther Simon wrote:Hello,

Is there a way to let Polyglot show somehow the
content of a Polyglot book in whatever way?

Regards,
Guenther


Yes, there is, but it is a little bit of a pain...

In the following explanation, commands are in bold and my comments in normal text.
I suppose you do it under Windows and you wish to test mybook.bin.

Before proceeding you have to choose an UCI engine of your like (the engine will be silently running all along the procedure).

You have to make a myengine.ini polyglot ini file for this engine with the following items in the [Polyglot] section :
Book = true
BookFile = mybook.bin


In the [Engine] section of the ini file do put :
OwnBook = false

Then launch the engine in a console box :
Polyglot myengine.ini

Then type the following commands (each one followed by "enter") :

xboard initialises xboard mode
protover 2 switches to winboard protocol "2"
nopost so you won't see continuous engine output
new so you go to startposition
analyze switch to "analyze" mode

Then you have to enter the position for which you would like to see book moves with their relative probabilities.

The easyest way is :
setboard FEN

Another way to do it is to go the desired position through entering moves from the startposition (one at a time, with enter after each move). either in SAN (=PGN) notation either in "coordinate" notation (e2e4). No takeback is possible. If you do a mistake you have to issue new and go at new from the startposition.

Once you have reached the questioned position (through setboard or through entering moves) do type bk and you will get all moves stored in your book file.

If you wish to test another position : new and you enter the new position.

At any time if you issue post you will see the analysis output of the silently running engine. Then nopost would switch it back off.

To leave "analyze mode" : exit
To end completely : quit

So you are done.

All these are standard winboard 2 commands but the manual is a bit difficult...

Marc
Marc Lacrosse
 
Posts: 116
Joined: 29 Jan 2005, 09:04
Location: Belgium

Re: Question for Polyglot book experts

Postby Guenther Simon » 05 Jan 2007, 11:56

Marc Lacrosse wrote:
Guenther Simon wrote:Hello,

Is there a way to let Polyglot show somehow the
content of a Polyglot book in whatever way?

Regards,
Guenther


Yes, there is, but it is a little bit of a pain...

[snipped the valuable description...]


Thanks a lot for description Marc!

Best regards,
Guenther
User avatar
Guenther Simon
 
Posts: 794
Joined: 26 Sep 2004, 19:49
Location: Regensburg, Germany

Re: Question for Polyglot book experts

Postby juan dela cruz » 06 Jan 2007, 06:00

Marc,

It seems that you are the only expert I know of with this polyglot books and which I consider the best. Will there be another version of your performance.bin?

Please excuse for asking this other question. Aside from what you mentioned to Gunther Simon, will it be possible for us to copy the entire book moves in a txt file so that we can view it externally?

Juan
juan dela cruz
 
Posts: 31
Joined: 29 Jun 2006, 18:47
Location: PHILIPPINES

Re: Question for Polyglot book experts

Postby Marc Lacrosse » 06 Jan 2007, 17:52

juan dela cruz wrote:Marc,
It seems that you are the only expert I know of with this polyglot books and which I consider the best.


Thanks for the appreciation but there are many other "experts" of these books : Salvo Spitalieri, Dann Corbit, Leo Dijksman, ...

I also feel that Fabien Letouzey put very original and powerful functions for the building of such books in his wonderful Polyglot utility.

Unfortunately we miss editing tools for handtuning these books ...

juan dela cruz wrote:Will there be another version of your performance.bin?


Probably not in the forecoming months.

I tried but could not success in making a definitely better "general" book.

Probably if I once publish a new book it will be more of a dedicated one for a precise engine, with a less broad repertoire.

At the moment I am very busy with my correspondence games (I engaged for a bit too many simultaneously) and with a little testing for beta versions of some program.

juan dela cruz wrote:Please excuse for asking this other question. Aside from what you mentioned to Gunther Simon, will it be possible for us to copy the entire book moves in a txt file so that we can view it externally?
Juan


Unfortunately not.
There is no other way to see the real content of a PG book than the one that I described here ..

Regards.

Marc
Marc Lacrosse
 
Posts: 116
Joined: 29 Jan 2005, 09:04
Location: Belgium


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 20 guests