Opening book in bin-format

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Alex_Schmidt
Posts: 11
Joined: Sat Nov 01, 2014 6:09 pm

Opening book in bin-format

Post by Alex_Schmidt » Wed Aug 17, 2016 10:10 am

Until now I've been using the database functionality of Scid vs. PC (with Linux Mint). Now I would like to use Scid vs. PC also for the analysis of my games.
There exist a number of very good opening books in ctg and abk format but (in my opinion) only a few in bin forrmat.
Is there a possibility to convert ctg or abk to bin opening books?
Google brings a number of bin books which seem to be a bit out-dated and are rather limited in size and length of opening lines.
Thanks in advance for some ideas!

Vinvin
Posts: 4694
Joined: Thu Mar 09, 2006 8:40 am
Full name: Vincent Lejeune

Re: Opening book in bin-format

Post by Vinvin » Wed Aug 17, 2016 11:04 am

Alex_Schmidt wrote:Until now I've been using the database functionality of Scid vs. PC (with Linux Mint). Now I would like to use Scid vs. PC also for the analysis of my games.
There exist a number of very good opening books in ctg and abk format but (in my opinion) only a few in bin forrmat.
Is there a possibility to convert ctg or abk to bin opening books?
Google brings a number of bin books which seem to be a bit out-dated and are rather limited in size and length of opening lines.
Thanks in advance for some ideas!
I don't know tools ton convert ctg and abk to .bin (polyglot) book. But there are tools to create a .bin book from a a PGN file : https://fr.chess.com/download/view/crea ... essanalyse

I searched for good books some days ago, I found this :
There are 4 books in folder "Scid\bin\books" :

Code: Select all

2.494.048 Elo2400.bin
  346.736 gm2600.bin
1.487.264 Performance.bin
1.475.664 varied.bin
There are 2 books here (DC is very big!) : http://rebel13.nl/download/books.html
ProDeo.bin 3.5 MB
DC.BIN 1600 MB

There are books in various formats here :
http://americanfoot.free.fr/echecs/hsbook.htm

Sedat Canbaz made strong (but short) books (a lot of formats but not .bin):
https://sites.google.com/site/computers ... rfect2015x

More information about .bin (polyglot) book here : https://chessprogramming.wikispaces.com/Polyglot

jefk
Posts: 398
Joined: Sun Jul 25, 2010 8:07 pm
Location: the Netherlands
Contact:

Re: Opening book in bin-format

Post by jefk » Wed Aug 17, 2016 12:20 pm

agree, you have to be aware that .bin engine books
usually are not polyglot books (which i found out when
comparing Prodeo winboard with Prodeo Uci with polyglot).
Engine books don't load in polyglot, and loading a polygot
book as (winboard) engine book can crash the engine..(*)

If .bin is the standard for polyglot then i would suggest engine programmers use another extension to avoid confusion, but
this will ofcourse lead to some aggressive reactions i suppose ..
:)

To convert from Arena format to pgn there is a tool abk2pgn
which you can find here:
http://chessprograms.260mb.com/
scroll to further downwards to find it.
NB i presume the game results (in the pgn games) which are
used in the Arena book are saved again to pgn with abk2pgn
because this is important when making a polyglot (or .ctg) book.

good luck anyway

jef

PS engines as Crafty and -the outdated- Yace can use the nags
(!! ! or ?) in a pgn file, when generating a book; but this
(sometimes useful) feature is not present in Polyglot, i think.

PS2 (*) the Prodeo.bin is a -good- polyglot book, the mainbook.bin
and tournament.bin on Ed Schroders site are engine books)
jefk

fantasmadel50
Posts: 112
Joined: Thu Apr 30, 2015 5:36 pm

Re: Opening book in bin-format

Post by fantasmadel50 » Wed Aug 17, 2016 2:35 pm

Buenas a todos , Komodo por ej es mas fuerte jugando con su libro .bin interno, o jugando con un libro cargado en la gui.? Gracias por responder. Good to all, ie Komodo is stronger playing with his book internal .bin, or playing with a book loaded in the gui.? Thanks for answering.

jefk
Posts: 398
Joined: Sun Jul 25, 2010 8:07 pm
Location: the Netherlands
Contact:

Re: Opening book in bin-format

Post by jefk » Wed Aug 17, 2016 3:52 pm

[quote="fantasmadel50"] ie Komodo is stronger playing with his book internal .bin, or playing with a book loaded in the gui.? Thanks for answering.[/quote]

depends on which book you have for the GUI..
And/or whether you use a polyglot book (instead of
engine book or GUI book); don't know how good the pure engine
book is for the latest Komodo, but here you can find a polyglot book tailormade for Komodo apparently , and a strong GM book (GM2001)

https://github.com/michaeldv/donna_opening_books/
jefk

fantasmadel50
Posts: 112
Joined: Thu Apr 30, 2015 5:36 pm

Re: Opening book in bin-format

Post by fantasmadel50 » Wed Aug 17, 2016 9:54 pm

Muchas gracias JEF , Usted sabría decirme como hago para que komodo10.1 , tome su libro .bin .? Hay que escribir alguna ruta en el book path ,o es que lo toma automáticamente ? Yo tengo el komodo10.1 y trae dentro de su configuración del motor un libro .bin. Muchas gracias JEF thank you very much, you can tell me how I do that komodo10.1, take your .bin book.? You have to write a book on the route path, or is it automatically takes? I have the komodo10.1 and brings in its engine configuration .bin book. Thank you very much

jefk
Posts: 398
Joined: Sun Jul 25, 2010 8:07 pm
Location: the Netherlands
Contact:

Re: Opening book in bin-format

Post by jefk » Thu Aug 18, 2016 1:22 pm

[quote="fantasmadel50"], you can tell me how I do that komodo10.1, take your .bin book.? You have to write a book on the route path, or is it automatically takes? I have the komodo10.1 and brings in its engine configuration .bin book. Thank you very much[/quote]

because the komodo,bin (in the komodo_book.zip) is
a Polyglot book, you have to define the engine (K10.1)
as polyglot engine (install polyglot.exe and then specify
as engine komodo.exe in the polyglot.ini); similar
the book is specified in the polyglot.ini file. Then run it
as Uci engine with engine-book; that should do work..
(it might also be an idea to read the readme.txt
if that's listed somewhere in the polyglot zip download)

jef

PS to avoid confusion with Polyglot books, just as an idea
(especially HGM) in future it might be worthwile/
useful/to change the extension from eg. .bin to .plg or so.
(but if Hgm says 'no' then it's no-go i presume); in such a
case (.plg books) engine books will be easier recognized
as .bin books, although their formats still then might
be different sometimes, ofcourse.

PS
jefk

User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 8:48 am

Re: Opening book in bin-format

Post by velmarin » Thu Aug 18, 2016 1:43 pm

jefk wrote:
fantasmadel50 wrote:, you can tell me how I do that komodo10.1, take your .bin book.? You have to write a book on the route path, or is it automatically takes? I have the komodo10.1 and brings in its engine configuration .bin book. Thank you very much
because the komodo,bin (in the komodo_book.zip) is
a Polyglot book, you have to define the engine (K10.1)
as polyglot engine (install polyglot.exe and then specify
as engine komodo.exe in the polyglot.ini); similar
the book is specified in the polyglot.ini file. Then run it
as Uci engine with engine-book; that should do work..
(it might also be an idea to read the readme.txt
if that's listed somewhere in the polyglot zip download)

jef

PS to avoid confusion with Polyglot books, just as an idea
(especially HGM) in future it might be worthwile/
useful/to change the extension from eg. .bin to .plg or so.
(but if Hgm says 'no' then it's no-go i presume); in such a
case (.plg books) engine books will be easier recognized
as .bin books, although their formats still then might
be different sometimes, ofcourse.

PS
I wonder why it is impossible to see their answers with quotes.
What you do wrong?

jefk
Posts: 398
Joined: Sun Jul 25, 2010 8:07 pm
Location: the Netherlands
Contact:

Re: Opening book in bin-format

Post by jefk » Thu Aug 18, 2016 2:52 pm

velmarin wrote:
I wonder why it is impossible to see their answers with quotes.
What you do wrong?
dunno, you mean my quote layout ?
should be clear no ?
in this forum i just press quote , login, and post
a reply; then first i select the quote text.
Maybe it doesn't look perfect, but it should be understandable.
(not so interested in going through all the faqs for this bb(?)forum)
jef
PS but no at least removed check from 'Disable BBCode in this post'
let's see what happens :)
jefk

User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 8:48 am

Re: Opening book in bin-format

Post by velmarin » Thu Aug 18, 2016 4:22 pm

jefk wrote:
velmarin wrote:
I wonder why it is impossible to see their answers with quotes.
What you do wrong?
dunno, you mean my quote layout ?
should be clear no ?
in this forum i just press quote , login, and post
a reply; then first i select the quote text.
Maybe it doesn't look perfect, but it should be understandable.
(not so interested in going through all the faqs for this bb(?)forum)
jef
PS but no at least removed check from 'Disable BBCode in this post'
let's see what happens :)
Now reads correct, thank you. :D

Post Reply