winboard engine + polyglot book

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Daniel Shawul
Posts: 4186
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

winboard engine + polyglot book

Post by Daniel Shawul »

Is it possible ? Salvo didnot have time to convert the book format to
native scorpio book format, so i am stuck with the polyglot book for CCT.
I get the sense that it should work, but i can't figure it out yet..
Any help appreciated.
User avatar
Peter Skinner
Posts: 1763
Joined: Sun Feb 26, 2006 1:49 pm
Location: Edmonton, Alberta, Canada
Full name: Peter Skinner

Re: winboard engine + polyglot book

Post by Peter Skinner »

Daniel Shawul wrote:Is it possible ? Salvo didnot have time to convert the book format to
native scorpio book format, so i am stuck with the polyglot book for CCT.
I get the sense that it should work, but i can't figure it out yet..
Any help appreciated.
Yes you can, but you need to make an ini file for Scorpio.

I have made a CCT pack for people to download, and all you need to do is edit the paths:

http://www.cctchess.com/cct2.zip

Peter
I was kicked out of Chapters because I moved all the Bibles to the fiction section.
User avatar
hgm
Posts: 28359
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: winboard engine + polyglot book

Post by hgm »

You can simply enter the name of the Polyglot book in the "Options -> General Settings" menu of WinBoard, and tick "use Polyglot book" and "first has no Own book". That should make WinBoard use the GUI book for the engine.

From the command line you would do thise with the options

winboard -polyglotBook book.bin -usePolyglotBook true -firstXBook -zp -fcp ....
Daniel Shawul
Posts: 4186
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: winboard engine + polyglot book

Post by Daniel Shawul »

I get a "polyglot book not valid" popup window. I switched to the default default.bin , and it still didnt work. I am using the CCT12 version.
User avatar
hgm
Posts: 28359
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: winboard engine + polyglot book

Post by hgm »

That is really strange. I just downloaded the WB-CCT12 version to make sure, and when I untick the 'has own book' checkboxes in the Options->Global Settings dialog, and play Fairy-Max against itself, it uses the default_book.bin like a charm.

Did you use the 'browse' option to indicate the book? Are you sure the books are in the right directory, and that there is nothing wrong with the access permissions to them. or the directories they are in?
Hugo
Posts: 782
Joined: Tue Dec 01, 2009 11:10 am

Re: winboard engine + polyglot book

Post by Hugo »

hello Daniel

my polyglot .ini

[PolyGlot]

EngineName = Shredder_12
EngineDir = .
EngineCommand = EngineDeepShredder12UCIx64.exe

Resign = True
ResignScore =800
CanPonder = true

KibitzMove = true
KibitzCommand = tellall

Log = true
LogFile = LOOP-A0.log

Book = true
Bookfile = performance.bin


[Engine]



Shredder_12.exe is the renamed PolyGlot.exe

all files are located in the same folder where the engine is located.


Regards, Clemens
(operator shredder CCT12)
User avatar
hgm
Posts: 28359
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: winboard engine + polyglot book

Post by hgm »

But according to my information Scorpio is a WinBoard engine, so it would not use Polyglot...
Daniel Shawul
Posts: 4186
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: winboard engine + polyglot book

Post by Daniel Shawul »

I put the Book.bin the the "polyglot15w" directory where the default.bin is. Should I put it somewhere else. It says "Winboard 4.4.CCT12 + fmax" in the about menu. BTW i tried fmax too it didn't work. I also tried to add scorpio.ini but it didn't work

Code: Select all


[PolyGlot]

EngineDir = "C:\Program Files\Arena\Engines\scorpio\Release\CCT\"
EngineCommand = scorpio.exe

Book = false ;
BookFile = Book.bin ; same directory as INI file, use full path otherwise

[Engine]


Daniel Shawul
Posts: 4186
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: winboard engine + polyglot book

Post by Daniel Shawul »

Wait a sec... It worked now and I figured the problem after you mention about the global settings. The path there just says "Book.bin" and when i browsed to the correct path with "C://winbordgoldpack//...etc" it worked.
But i didn't touch anything after install, so the correct path should have been set, no ?
User avatar
hgm
Posts: 28359
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: winboard engine + polyglot book

Post by hgm »

You must have a very old Gold Pack; since WinBoard 4.4.0 we do not ship Polyglot in a separate folder anymore.

But that does not solve the mystery; the winboard.ini file should have originally been supplied with the path to the book. But more recent WinBoard installs have a book that is called default_book.bin in the WinBoard folder, not default.bin (although I think it is the same book).

Perhaps the tree and ini file are still from a time that WinBoard did not support a GUI book at all. Then only Polyglot needed to use the book, and because Polyglot was run with the 'Polyglot Directory' mentioned in the Global-Settings menu as current dirctory, it would be able to find the book even if it was not specified by the full path name. But WinBoard does run with its install directory as current directory (or it would not be able to find its ini file), so it would not be able to find it unless a full path name was given.

But I am glad you solved it! 8-)