Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Standard Opening Book Format

Author: Robert Hyatt

Date: 07:54:41 09/25/98

Go up one level in this thread


On September 24, 1998 at 21:17:30, Peter McKenzie wrote:

>Is there a standard format for opening books, so that they can be exchanged
>between programs?
>
>If not, is anyone interested in defining such a format?
>
>Regards,
>Peter


If you mean the "binary form" then no.  Most use hash signatures to match
positions.  If you don't use the same random number generate the hash
signatures, this won't work.  If you don't use the same piece "indices"
this won't work (ie in crafty I use a 43bit value to represent a piece,
where the upper bit says "this slides like a rook or bishop". This gives
my piece values as follows:

P=1, N=2, K=3, B=5, R=6, Q=7.  Now I can "AND" with 4 and if that is non-
zero, this is a "slider".  Problem here is that most would use P=1, N=2,
B=3, R=4, Q=5, K=6.  And that would index the random numbers differently
again causing problems.

We do have a portable book format, however.  It is called "PGN"...

:)



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.