Geschrieben von: / Posted by: Morbius at 28 June 2000 14:56:11:
Als Antwort auf: / As an answer to: Comet book creation? geschrieben von: / posted by: Mogens Larsen at 28 June 2000 14:27:23:
Can anyone remember, or quote from the Comet readme, how to make a book for Comet, because I've deleted the readme file. I'm conducting a little experiment, so I need to construct a new Comet book.
Best wishes...
Mogens
Mogens,
Here is what you need:
creating user opening books
---------------------------
1.) a) use the command "nb" (new book) in order to append a desired
line in ASCII format to the file NEWBOOK.BOK; a ';' in the
first column is used as a commentary token; or
b) alternatively, you may use the command "pgn->book" to
convert a complete PGN file to ASCII book format; resulting
lines are again appended to NEWBOOK.BOK.
use a editor program to append a '?' to moves, which should be known
by COMET but not actively played (see file GRUENF.BOK)
2.) rename NEWBOOK.BOK, for instance
rename NEWBOOK.BOK CAROKANN.BOK
3.) if desired, use the command "ib" (init book) to clear the
contents of the current binary book (COMET.HBK & COMET.LBK);
this makes sense if you do not want to add the new book to
the old one but you want to replace it.
4.) use the command "zb" to load the new ASCII book into the binary
book.
Note that the size of the binary book files (COMET.HBK & COMET.LBK)
will not grow due to addition of new lines. The book is a hash table
saved on hard disk; therefore its size is constant but the
degree of used entries will vary.
Morbius