Page 1 of 1

Polyglot books are compatible with Crafty?

PostPosted: 15 Jan 2009, 07:23
by ChessKnight
Is polyglot .bin books are compatible with Crafty, as crafty book format is also .bin?

Re: Polyglot books are compatible with Crafty?

PostPosted: 15 Jan 2009, 08:11
by Guenther Simon
ChessKnight wrote:Is polyglot .bin books are compatible with Crafty, as crafty book format is also .bin?


No, Crafty has its own format. Same ist true for all other programs, with
own bin books. *bin* is just an abbreviation for any binary format.

Guenther

Re: Polyglot books are compatible with Crafty?

PostPosted: 15 Jan 2009, 08:35
by ChessKnight
Guenther Simon:

Thanks for reply.

Is there any easiest way to know polyglot .bin book is compatible with which chess engines?

reg

Re: Polyglot books are compatible with Crafty?

PostPosted: 15 Jan 2009, 18:06
by Guenther Simon
ChessKnight wrote:Guenther Simon:

Thanks for reply.

Is there any easiest way to know polyglot .bin book is compatible with which chess engines?

reg


What do you really mean by compatible here? If you mean it in the normal sense it means that another program can use it natively.
In this case the answer is just Fruit plus all derivates and may be a few open source programs which use the Polyglot book code.

If you just mean, that _you_ can use it _somhow_ for other programs.
Then the answer is _all_ programs, by calling either Polyglot or by using a GUI, which contains the Polyglot book code.

Guenther

Re: Polyglot books are compatible with Crafty?

PostPosted: 15 Jan 2009, 21:23
by Michel
and may be a few open source programs which use the Polyglot book code.


I want to reiterate that closed source programs can use PG books just as easily. The full
specification is here

http://alpha.uhasselt.be/Research/Algeb ... ormat.html

There is also some public domain sample code which is sufficient to probe a book.

Re: Polyglot books are compatible with Crafty?

PostPosted: 16 Jan 2009, 06:03
by ChessKnight
Guenther Simon wrote:Guenther Simon:

What do you really mean by compatible here? If you mean it in the normal sense it means that another program can use it natively.
In this case the answer is just Fruit plus all derivates and may be a few open source programs which use the Polyglot book code.

If you just mean, that _you_ can use it _somhow_ for other programs.
Then the answer is _all_ programs, by calling either Polyglot or by using a GUI, which contains the Polyglot book code.

Guenther


Initially I mean Chess Engine's native book, which you replied "No, Crafty has its own format. Same ist true for all other programs, with own bin ooks. *bin* is just an abbreviation for any binary format. " - It means native books are not compatible.

But, according to your reply quoted as above, if we specify in polyglot.ini

[Polyglot]
EngineName = Chess Engine
EngineCommand = ChessEngine.exe
Book=true
BookFile = polyglot-book.bin


[Engine]
Book=false

In this case, will chess-engine gonna use polyglot-book through polyglot.exe?

reg,

Re: Polyglot books are compatible with Crafty?

PostPosted: 16 Jan 2009, 07:55
by Michel
It should be

Code: Select all
[Polyglot]
EngineName = Chess Engine
EngineCommand = ChessEngine.exe
Book=true
BookFile = polyglot-book.bin


[Engine]
OwnBook=false


For the moment the engine needs to be a UCI engine for this to work. The GUI can be both UCI or WB.

Re: Polyglot books are compatible with Crafty?

PostPosted: 16 Jan 2009, 08:28
by H.G.Muller
And I could add that for native WB engines, (or in fact any engine, as Polyglot makes UCI engines pose as WB engines), you can let WinBoard / XBoard use the Polyglot book on behalf of the engine.

Re: Polyglot books are compatible with Crafty?

PostPosted: 16 Jan 2009, 09:44
by Michel
And I could add that for native WB engines, (or in fact any engine, as Polyglot makes UCI engines pose as WB engines), you can let WinBoard / XBoard use the Polyglot book on behalf of the engine.


Yes you are right of course!

Re: Polyglot books are compatible with Crafty?

PostPosted: 16 Jan 2009, 12:20
by ChessKnight
H.G.Muller and Michel:

Thanx!