Hi Graham
Yes I read that!
Bryan
Chess Engines with Opening Book
Moderators: hgm, Rebel, chrisw
-
- Posts: 430
- Joined: Mon Apr 03, 2006 10:10 am
- Location: England
Re: Chess Engines with Opening Book
What's my next move? - to the fridge for another beer !!
-
- Posts: 2488
- Joined: Tue Aug 30, 2016 8:19 pm
- Full name: Rasmus Althoff
Re: Chess Engines with Opening Book
CT800 doesn't have a config file, but the internal book can be disabled via the standard UCI "ownbook" command.
Rasmus Althoff
https://www.ct800.net
https://www.ct800.net
-
- Posts: 1470
- Joined: Mon Apr 23, 2018 7:54 am
Re: Chess Engines with Opening Book
Is it possible for other engines to use it?Dann Corbit wrote: ↑Thu Oct 25, 2018 9:17 pm The Cerebellum book used by Brainfish is external. It is not part of the executable. It is just an advanced book made by mini-maxing a huge pile of chess data.
It is a more sophisticated format than polyglot books (and the data is better than most polyglot books), but I still consider it to be rather primitive.
-
- Posts: 12541
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: Chess Engines with Opening Book
Yes, there is a library for it.jp wrote: ↑Fri Oct 26, 2018 5:50 amIs it possible for other engines to use it?Dann Corbit wrote: ↑Thu Oct 25, 2018 9:17 pm The Cerebellum book used by Brainfish is external. It is not part of the executable. It is just an advanced book made by mini-maxing a huge pile of chess data.
It is a more sophisticated format than polyglot books (and the data is better than most polyglot books), but I still consider it to be rather primitive.
However, only the "reduced" book is free. You have to pay for the full version.
If you look at Sedat's book contests, it is no longer the strongest book.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
-
- Posts: 4607
- Joined: Wed Oct 01, 2008 6:33 am
- Location: Regensburg, Germany
- Full name: Guenther Simon
Re: Chess Engines with Opening Book
In a first attempt I wanted to write the same, but then I remembered that the very first versions of Brainfish really hadDann Corbit wrote: ↑Thu Oct 25, 2018 9:17 pmThis is not really accurate.
The Cerebellum book used by Brainfish is external. It is not part of the executable. It is just an advanced book made by mini-maxing a huge pile of chess data.
the book compiled into the binary. (I still have one of them here)
Actually this is more or less just a gimmick, which has only disadvantages.
https://rwbc-chess.de
trollwatch:
Talkchess nowadays is a joke - it is full of trolls/idiots/people stuck in the pleistocene > 80% of the posts fall into this category...
trollwatch:
Talkchess nowadays is a joke - it is full of trolls/idiots/people stuck in the pleistocene > 80% of the posts fall into this category...
-
- Posts: 2488
- Joined: Tue Aug 30, 2016 8:19 pm
- Full name: Rasmus Althoff
Re: Chess Engines with Opening Book
The main problem of course is that modifying the book requires a recompile so that it can't be replaced easily. For me, the reason is that the embedded target hardware doesn't have a file system, which leaves a bytewise C array as only useful option. The PC version just has the same code for the book.
Rasmus Althoff
https://www.ct800.net
https://www.ct800.net
-
- Posts: 4889
- Joined: Thu Mar 09, 2006 6:34 am
- Location: Pen Argyl, Pennsylvania
Re: Chess Engines with Opening Book
The current cerebellum book is in polyglot format and can be used by any GUI that reads that format - either directly or through the polyglot adapter. As an example, I just tested the Cerebellum book from brainfish and it works with Komodo under the xBoard GUI. With brainfish, of course, you can use two books,the cerebellum book and a separate polyglot book attached to the GUI.jp wrote: ↑Fri Oct 26, 2018 5:50 amIs it possible for other engines to use it?Dann Corbit wrote: ↑Thu Oct 25, 2018 9:17 pm The Cerebellum book used by Brainfish is external. It is not part of the executable. It is just an advanced book made by mini-maxing a huge pile of chess data.
It is a more sophisticated format than polyglot books (and the data is better than most polyglot books), but I still consider it to be rather primitive.
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: Chess Engines with Opening Book
It is quite easy to link arbitrary files in an executable.Ras wrote: ↑Fri Oct 26, 2018 9:46 amThe main problem of course is that modifying the book requires a recompile so that it can't be replaced easily. For me, the reason is that the embedded target hardware doesn't have a file system, which leaves a bytewise C array as only useful option. The PC version just has the same code for the book.
https://www.linuxjournal.com/content/em ... rsion-5967
EDIT I assume that with fmemopen you can even get an ordinary FILE pointer to the embedded file so that the required code changes are minimal.
Ideas=science. Simplification=engineering.
Without ideas there is nothing to simplify.
Without ideas there is nothing to simplify.
-
- Posts: 2488
- Joined: Tue Aug 30, 2016 8:19 pm
- Full name: Rasmus Althoff
Re: Chess Engines with Opening Book
Yeah, that's also an option. I also need to convert the book from the variant based edit format to the position based runtime format, so there has to be a converter program in-between anyway, and that puts out an autogenerated C file with data, metadata and some defines. xxd can do that for files that don't need a conversion.
Rasmus Althoff
https://www.ct800.net
https://www.ct800.net