Using custom opening books

350 views
Skip to first unread message

DJ Dekker

unread,
May 2, 2015, 3:21:50 PM5/2/15
to pico...@googlegroups.com
Picochess comes with ten opening books, which is great. It is also easy to replace them with your own books if you would like to.

I've compiled five new Polyglot opening books based on Chessbase and the instructions in Steve Maughan's video. Each of these five opening books deals with one volume of the Encyclopaedia of Chess Openings (ECO). Nothing fancy, no tuning for best performance, just some simple opening books containing main lines with some variations.

After creating the .bin books I replaced a-fun.bin, b-anand.bin, c-korchnoi.bin, d-larsen.bin and e-pro.bin by:

a-flank.bin (A00-A99)
b-semiopen.bin (B00-B99)
c-open.bin (C00-C99)
d-closed.bin (D00-D99)
e-indian.bin (E00-E99)

This could be an easy way to train specific kinds of openings while still keeping the more universal opening books like gm1950 or the Stockfish book.

Shivkumar Shivaji

unread,
May 2, 2015, 3:24:49 PM5/2/15
to pico...@googlegroups.com
Can you do me a favor and do a git pull of the opening books or send them to me via email?

We can make these part of the official picochess tree! Opening practice is a good idea.

Thanks, Shiv

--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

DJ Dekker

unread,
May 2, 2015, 3:33:23 PM5/2/15
to pico...@googlegroups.com
Hi Shiv,

Sure! You can download them in a zip file from my Dropbox:


Greetings,
DJ




You received this message because you are subscribed to a topic in the Google Groups "PicoChess" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/picochess/0gTmUiHkYJw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to picochess+...@googlegroups.com.

Stefano

unread,
May 3, 2015, 5:26:17 AM5/3/15
to pico...@googlegroups.com
Great job DJ!
How can we try these books before they will be integrated in picochess?
Is it enough to copy them replacing some others in their relevant folder or all the program has to be re-compiled to generate a new executable image?
Thanks
Stefano

DJ Dekker

unread,
May 3, 2015, 7:57:04 AM5/3/15
to pico...@googlegroups.com
Hi Stefano,

Yes, it's enough to copy them into the opening books folder. You don't need a new image file.

First type the following at the command line:

cd /opt/picochess/books

Now you download the opening books that you'd like to have (there are five of them). For example, to download a-flank.bin you would type:

To download the other four files simply change a-flank into b-semiopen, c-open, d-closed or e-indian (press arrow-up and change the appropriate part of the command).

Now make sure that you have no two files in the /opt/picochess/books directory starting with the same letter. You can find out by listing the contents of the directory:

ls -al

You will see that the original books (a-fun.bin, b-anand.bin etc.) are still there. If you would like to keep them, create a folder to move them into:

sudo mkdir ../backupbooks

And move the appropriate opening books into this new folder:

sudo mv a-fun.bin b-anand.bin c-korchnoi.bin d-larsen.bin e-pro.bin ../backupbooks

If you don't want to keep them, you can simply remove them.

If you installed all five new books, the mapping for the extra black queen in starting position has now become as follows:
A3 - no book
B3 - Flank Openings
C3 - Semi-open Games (except French Defense)
D3 - Open Games (including French Defense)
E3 - Closed and Semi-closed Games (including Grünfeld)
F3 - Indian Games (except Grünfeld)
G3 - GM2001
H3 - Varied
H4 - GM1950
G4 - Performance
F4 - Stockfish 2.11


Op zondag 3 mei 2015 11:26:17 UTC+2 schreef Stefano:

Stefano

unread,
May 3, 2015, 8:10:26 AM5/3/15
to pico...@googlegroups.com
Very clear DJ !
Dank u wel.
Dui
Stefano

Mete Yücel

unread,
May 3, 2015, 12:43:27 PM5/3/15
to pico...@googlegroups.com
Hello Decker,
Will this new opening book will come with the next update?

D.J. Dekker

unread,
May 3, 2015, 1:00:01 PM5/3/15
to pico...@googlegroups.com
Hi Mete,

I don't know. It's up to the developers what to add to the next versions and when to release them. Besides that, it may take some time to test the new books.


-------- Oorspronkelijk bericht --------
Van: Mete Yücel <yuece...@googlemail.com>
Datum:03-05-2015 18:43 (GMT+01:00)
Aan: pico...@googlegroups.com
Cc:
Onderwerp: Re: Using custom opening books

Hello Decker,
Will this new opening book will come with the next update?

Shivkumar Shivaji

unread,
May 22, 2015, 12:24:03 PM5/22/15
to pico...@googlegroups.com
Hi DJ,

Can you make a pull request with the new opening books. Others like your book selection too as it is ECO based. I will merge it right in when you submit.

Thanks!, Shiv

You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages