Opening Books (Ctg Format)

How to add a new line to my opening book

Postby elcriollito » 26 Mar 2008 07:19

How i would add a new line to my opening book
Image

on this example I want to add to the black side 9..h6 to my opening book so my engine will use with out consuming time,this move is out of the book

How do I do
Image
"The winner of the game is the player who makes the next-to-last mistake."
- Tartakover -
http://chess2u.googlepages.com/
User avatar
elcriollito
Moderator
Moderator
 
Posts: 420
Joined: 09 Oct 2007 19:14
Location: Cuba

Re: Opening Books ctg.

Postby feeeeeesh » 26 Mar 2008 19:22

hi Kevin,

good thing book makers joining this forum, and your book is very deep.

good job
feeeeeesh
Banned User
Banned User
 
Posts: 11
Joined: 23 Dec 2007 12:35

Making/tuning a book

Postby elcriollito » 29 Mar 2008 20:38

I think this is very usefull to have here under the opening topic

Author :Dagh Nielsen

Let me try to give a brief introduction to book making and tuning, as it applies to the Chessbase ctg books.

There are essentially 4 components in making/tuning a book:

1) Choosing and importing games to the book.
2) Choosing which openings/lines to play by coloring red and green.
3) Expanding the book by manually adding green moves to the lines you have chosen to play
(or maybe by "adding priority analysis" or games).
4) Adjusting the weights of moves, often done automaticly through play on the playchess.com server,
but can also be done manually.

Any combination of these 4 can be applied by the book-maker to reach a desired result.

The very basic behaviour of any opening book is that it recognizes a position and decides that it will tell
which move to play, instead of letting the engine decide. The task of the book-maker is to decide in which
positions he wants the book to make that decision, and to make sure that the book makes a good decision
Smile

Very obvious, but there's several ways to go about it, since different parameters in the book determine how
it makes those decisions. You would want to play around with these parameters so they match your general
approach - what parts of 1-4 above do you use, and where do you put in most of your efforts. Also, what are
the playing conditions, etc.

The parameters are:

"Tournament book" - I think it is essential to turn this ON, or your color marking will not have any effect as
far as I understand.

"Variety of play" - Should book only play move with the best stat, or also try others?

"Influence of learn value" - This concerns the weights associated to the moves. If you play on server, and
a move gives some bad results and thus gets a negative weight, then the book will tend to avoid this
move if you put this parameter in the high end.

"Learning strength" - How fast do you want the weights to be changed? One bad result or several bad
(good) results are needed before the weight of a move changes a lot?

"Minimum games" - how many times does a move need to be "played" in your book (based on the
imported games) before the book will consider the stats of the moves in order to reach a decision?

And then one of the most important "parameters" in my view: Move coloring. If you make a move green,
a higher preference is given to this move. If you color a move red (and at least one other move in the
position is green), the book will not make this move.

Before going on to some practical hints and considerations, just one general remark: How would
YOU determine the success of your opening book? This can be answered in as many ways as there
are book makers, and I think it is sensible to think about it once in a while while you work on your book.
Is blitz Elo on playchess server your success criteria (or maybe only slow game Elo?)? Do you find
it funny to make weird lines work out OK? Do you want a broad book playing "everything", or do you
want a narrow book focusing on a few pet lines?

Fun can be had in many ways, and while I also find it very funny to compete on Elo, it is certainly
also funny sometimes to give yourself a few personal challenges, like, "I really want this crazy gambit
to work out OK", or, "I want my book to know this opening to depth 30 in all lines!", or whatever.
My point is, success (and fun!) is how YOU define it, not ONLY Elo Smile

OK, some practical hints and considerations:

1) Most people agree that the decision on which games to base your book on is quite important.
They should be high quality Smile Once they are in, there's sadly no way getting them out.
I think one good approach is using a collection of recent high level games from the playchess server.
These games have been played by engines using already very strong books Smile

2) One can also take some already made (by another person) book, and use this as basis for further
tweaking/expansion (for personal use only ). For example, the Rybka book by Jeroen Noomen and the Takker TourbookII are quite strong, but some lines are not really covered by these. Instead, one could use a more broad book like for example the Fritz 9 book as start. Either way, the advantage of this approach is that then one can focus on a few pet lines and improve them, while your book is also covered reasonably well in lines you do not care to work further on. But in the end, I think most people will want to make their own book from scratch Smile There is also a chance that this will give higher diversity on the playchess server Smile

3) By choosing a good base of games, you are already on your way to a fine book. You can then let it
play a lot of server games in order to tune the weights, and you will have a fine book in the end.
HOWEVER! You will only get so far doing this. To further improve your book (and make it more personal!),
you need to get some dirt under your nails Smile This means analysing played games, or variations
you want your engine to play, and then expand the book in these lines by adding green moves.
And maybe choosing which variations/moves NOT to play by marking these moves red. Improving
your book in this way is an endless task, but also where all the fun lies IMHO Smile You can ALWAYS
further improve your book by doing some work in your personal analysis laboratory.

4) In Fritz 9, you can choose some keyboard shortcuts for coloring moves under "tools - customize".
This can save you a lot of time and frustration.

5) Parameters - There are as many preferred ways to combine these as there are bookmakers. I suggest
playing around with them so they fit your CURRENT task. To make an analogy, Magnus Carlsen and his
trainer for some time defined success as how much Magnus learned, and not the score on the tournament
table. Likewise, for some time, you can "experiment" with new lines and choose loose parameters, and
maybe later, when you have drawn some conclusions from the games and added some analysed moves
and you are satisfied with the result, you can go back to some "bests of the bestests setting" Smile

6) Go and kibbitz some games in the engine room on the playchess server. They will get added automaticly
to one of your databases. You can then either import these into your book, or just use them as inspiration
for further manual research. Some people on the server are paranoid about kibbitzers following them and
thus learning all their secrets Smile Well, I really have no opinion on this, and I understand the pros and cons.
I don't know if it would be a good idea if they made a "no kibbitzers" playing mode.

7) Maybe get some good friends on the server and exchange games with them. Not all people are too
paranoid, or maybe you just want to conspire with others and help justify the paranoia Razz

At any rate, have fun book-cooking and competing! And in a few years time when you have grown
exhausted from this, maybe we can meet in normal playing room and have a good old-fashioned game
of human blitz Very Happy

A couple of links for additional thoughts:

Interview with Rybka book author Jeroen Noomen:

http://www.rybkachess.com/docs/INTERVIE ... AUTHOR.htm

Author :Dagh Nielsen
"The winner of the game is the player who makes the next-to-last mistake."
- Tartakover -
http://chess2u.googlepages.com/
User avatar
elcriollito
Moderator
Moderator
 
Posts: 420
Joined: 09 Oct 2007 19:14
Location: Cuba

Making a Book .ctg

Postby elcriollito » 29 Mar 2008 20:45

Making a good book:
1. You have to create an empty book and an empty database first.
Give them names so that you can recognize them easily!

-> The empty database is for the games you will import into the book later.
2. Take your big database and search for games.

This games should be like the following:
- Make sure that you take only wins!
- Use only mated games!

Ok when you now have your big database in front of you do following:
1. Search first for white wins:
Eco: B00-C99 , 1-0 , Checkmate, 1-80 moves , Elo of players is not important
When you have these games copy them into the empty new database

2. Now you can search for black wins:
Search against every white opening only one black answer
An example: 1. e4 c5 or 1. d4 Nf6 -> if you have only 1 answer on every move
then your book does not become so big, because big books make your hardware
slower
My suggestions for openings as black:
1. e4 c5; 1. d4 Nf6; 1. c4 e5; 1. Nf3 c5; 1. b3 c5; 1.f4 c5; 1. g3 e5;
1. Nc3 c5; 1.b4 c6; 1.g4 e5;
But first search only for all black wins you can find:
Eco: A00 - E99; 0-1 ; Ckeckmate; 1-80 moves; Elo : both 2400-9999
If you have these games copy them too in the new database where the white wins
already are

When you have now copied all games in the new database , please open your
empty book
1. Import all games in it (might take some time)
2. Make Priority Analysis as following: First with the white wins
+ Repertoire White
Then for the black wins (Repertoire Black activate)

When you have done that then look for the openings you want to play
Here are my suggestions: Mark them in your opening book as green and
all other alternatives as red
When you play white:
e4 c5 Nf3 d6 d4 c:d4 N:d4 Nf6 Nc3
->a6 -> Be3
->Nc6 -> f3
->g6 -> Be3
->e6 -> g4
->Nbd7 -> Be3
->Bd7 -> Bg5
->e5 -> Bb5
->Qc7 -> Be2
->Qa5 ->Bd2
->h6 ->Be3
->b6 ->Bb5+
->Be6 -> N:e6
e4 c5 Nf3 Nc6 d4 c:d4 N:d4
->e6 ->Nc3
->g6 ->c4
->d6 ->Nc3
->e5 ->Nd4-b5
->Qb6 ->Nd4-b3 These are all not the main variations
->d5 ->e4:d5 Black's main variation is Nf6
->Qc7 ->Nb1-c3 Answers against it you can see underneath
->Qa5 -> Nb1-c3
->a6 ->c4
->N:d4 ->Q:d4
->Ne5 ->Nc3


-> Nf6 Nc3
Black's moves after Nc3:
->d6 ->f3
->e5 -Nd4-b5 (strong for black)
->e6 -Nd4:c6
-a6 -N:c6
-g6 -N:c6
-Qb6 -Nb3
-Qc7 -Ndb5
-Qa5 -f3
-Rb8 -Be2
-h6 -N:c6
-d5 -Bb5
e4 c5 Nf3 e6 d4 c:d4 N:d4
->Nc6 -> Nc3
->a6 ->Bd3
->Nf6 ->Nc3
->Bc5 ->Be3
->d6 ->Nc3
->Qb6 ->Nc3
->Qc7 ->Bd3
->d5 ->Bb5
->e5 ->Nf3

If black plays e4 e6 then you mark in the book: d4
You go on like this:
e4 c6 d4
e4 d5 e:d5
e4 Nf6 e5 Nd5 d4
e4 e5 Nf3 Nf6 N:e5
e4 e5 Nf3 Nc6 Bb5
e4 d6 d4
e4 Nc6 d4
e5 g5 d4
e4 g6 d4

If you are black play as following:
e4 c5 Nf3 Nc6 d4 c:d4 N:d4 Nf6 Nc3 e5
d4 Nf6 c4 e6
d4 Nf6 Nf3 e6
c4 e5
b3 c5
b4 c6
Nf3 c5

Good luck!!!
"The winner of the game is the player who makes the next-to-last mistake."
- Tartakover -
http://chess2u.googlepages.com/
User avatar
elcriollito
Moderator
Moderator
 
Posts: 420
Joined: 09 Oct 2007 19:14
Location: Cuba

Good to Know this

Postby elcriollito » 29 Mar 2008 21:39

Chess Opening's Statistics

These statistics show the percentages of games won by white and black and the amount of games drawn from over 500000 matches since 1991. This page should give you a good idea on what openings and variations are the most successful for white and black.



White's Best 10 Openings (Based on White Win % minus Black Win %)

Position-Opening-Difference %

1 Queen's Gambit +16
=2 English Opening +14
=2 King's Indian Attack +14
4 Ruy Lopez +13
=5 Four Knight's Defence +12
=5 Giucco Piano +12
=5 Ponziani's Opening +12
8 Bishop's Opening +11
=9 Benko Opening +9
=9 Blackmar Diemer Gambit +9


White's Worst 10 Openings (Based on White Win % minus Black Win %)

Position Opening Difference %
1 Dresden Variation -56
2 Alapin's Opening -42
3 Konstantinopolsky Opening -22
=4 Anderssen's Opening -18
=4 Van't Kruijs Opening -18
6 Mason's Variation -17
7 Saragossa Opening -15
8 Grob Opening -13
9 Deprez Opening -9
10 Bird's Opening -4

Black's Best 10 Openings (Based on Black Win % minus White Win %)

Position Opening Difference %
=1 Nimzo Indian -3
=1 Pirc Defence -3
=1 Sicilian Defence -3
4 French Defence -5
=5 Alekhine Defence -6
=5 Robatsch Defence -6
=7 Fred Defence -7
=7 Nimzowitsch Defence -7
9 Rat -8
10 Caro-Kann -9

Black's Worst 10 Openings (Based on Black Win % minus White Win %)

Position Opening Difference %
1 Damiano Defence -67
2 Lasker Simul Special -43
=3 Benoni Defence -23
=3 Gunderam Defence -23
=3 Polish Defence -23
=3 St George's Defence -23
=7 Borg Defence -22
=7 Budapest Gambit -22
9 Dutch Defence -20
10 Philidor's Defence -19

10 Most Drawish Openings (Based on openings with the highest Draw %)

Position Opening Draw %
=1 Bogo-Indian Defence 40
=1 English Opening 40
=1 Four Knight's Defence 40
=1 Grunfeld Defence 40
=1 King's Indian Attack 40
6 Torre Attack 39
7 Reti's Opening 37
8 Petroff's Defence 36
=9 Nimzo Indian 35
=9 Three Knight's Defence 35

10 Least Drawish Openings (Based on openings with the lowest Draw %)

Position Opening Draw %
1 Damiano Defence 3
2 Borg Defence 10
3 Blackburne Gambit 12
=4 Blackmar Diemer Gambit 15
=4 Grob Opening 15
6 St George's Defence 17
7 Konstantinopolsky Opening 18
8 Mason's Variation 19
9 King's Gambit 20
=10 Centre Game 21
=10 Fred Defence 21
=10 Polish Defence 21
"The winner of the game is the player who makes the next-to-last mistake."
- Tartakover -
http://chess2u.googlepages.com/
User avatar
elcriollito
Moderator
Moderator
 
Posts: 420
Joined: 09 Oct 2007 19:14
Location: Cuba

tips for your Own Opening Book

Postby elcriollito » 30 Mar 2008 06:29

It may seem rude, it may seem unhelpful, but actually this will be the most on-point advice you will ever get.
From beginning to end, the advice others are giving is pitifully narrow-focused. Think for yourself,
ignore so-called experts, approach book-making as though you are completely new to computer chess,
don't be afraid to be original and wildly unconventional. You don't need anyone's approval.
If you are reading this, you already have the brainpower to figure things out for yourself. Use it.

Start with nothing, a blank slate. Pour yourself a tall adult beverage, light up a cigar.
Let your mighty imagination range over the possibilities. Visualize what you would like an opening
book to do. Think strategically. Let your ideas flow. Connect the dots. Execute against a plan, and
keep at it every day.

In due course you will possess a world-class book.

Nelson Hernandez
Member, 7th Freestyle Tournament Champion Team
"The winner of the game is the player who makes the next-to-last mistake."
- Tartakover -
http://chess2u.googlepages.com/
User avatar
elcriollito
Moderator
Moderator
 
Posts: 420
Joined: 09 Oct 2007 19:14
Location: Cuba

Opening CTG Books Making/Tuning

Postby elcriollito » 30 Mar 2008 06:32

What I make:

1 - I analyze a played game with Rybka.
2 - I look better lines.
3 - When I think that I have a good line,I click
with the right button on the first move
of the line and I choose “promote variation”.
4 - Again I click with the right button on the game
and I choose “Delete All comentary”.
5 - I record the line that I found good. Before the record,
it goes to appear a window, and in this window I click in “reset”.
6 - Click in Edit-openings books- import games.
7 - Go to the directory where recorded the game with your variant
and click on it.
8 - It appears a window. In this window I choose “games 1 - 1”,
“Eco relative length=80” and click in “OK” I have doubts on
some procedures in the use of this window.
9 - If everything are right, yourline is already in the original book.
10 - Look your line in book and places the moves of your interest
as “main moves”. To make this, click on the moves with the button
right.

Sorry by the bad Enghish.

Paulo Soares
"The winner of the game is the player who makes the next-to-last mistake."
- Tartakover -
http://chess2u.googlepages.com/
User avatar
elcriollito
Moderator
Moderator
 
Posts: 420
Joined: 09 Oct 2007 19:14
Location: Cuba

Re: Opening Books

Postby feeeeeesh » 10 Apr 2008 20:53

i strongly disagree with remark that "good games" are needed to create good book.....its completly oposite to my research. thank you
feeeeeesh
Banned User
Banned User
 
Posts: 11
Joined: 23 Dec 2007 12:35

Where are my games?

Postby elcriollito » 11 Apr 2008 02:13

I wonder where are my yahoo games saved on my pc

Does Fritz saved those played games at yahoo in some folder?

I know that when u play at playchess.com they all are saved,but where are yahoo games saved? Any GURU know?

this is the top of a iceberg that I want to discover?
"The winner of the game is the player who makes the next-to-last mistake."
- Tartakover -
http://chess2u.googlepages.com/
User avatar
elcriollito
Moderator
Moderator
 
Posts: 420
Joined: 09 Oct 2007 19:14
Location: Cuba

Re: Opening Books

Postby jason1.methews » 11 Apr 2008 04:27

If you have game which ends in mate. The yahoo game will be saved in the folder "My Documents\ChessBase\CompBase" in file autoplay. If the game didn't ended in mate you will find these games in folder My Documents\ChessBase,


Any Problem let me know.

-Sunny.
User avatar
jason1.methews
Senior Member
Senior Member
 
Posts: 28
Joined: 13 Oct 2007 14:24

Re: Opening Books

Postby chesslover_not_enemy » 14 Apr 2008 16:26

u r right sunny as usual. welcome back may friend
chesslover_not_enemy
 

Where are my saved games

Postby elcriollito » 15 Apr 2008 19:27

tks Jashon1 and Dene for helping me with this question

now, this for all who wants to know


--------------------Where are my saved Internet Games played?--------------------------






How to get my saved Internet Games at Playchess?
http://www.PlayChess.com

Fritz GUI (Fritz11)
-File
-Open Database
-Click Games (maybe will open in the same page)
-Open Database (even the Icon fot this option,or the option thru File>Open>Database>.cbh)
*Autosave.cbh
*MyInternetGames.cbh
*MyInternetKibitzing.cbh
*MyInternetMachineGames.cbh

where------------------------------->

*MyInternetGames.cbh : Games played by me on the playchess
*MyInternetKibitzing.cbh : Games that I am observing on any table
*MyInternetMachineGames.cbh : Games played with my engine chess

-----------------------------YAHOO CHESS ENGINE---------------------------------------
http://www.yahoo.com

How to get my saved yahoo games

Open game database option in Fritz, then look under:

'ChessBase\CompBase\Autoplay.cbh' ...
The following instruction will be like this

-Fritz GUI (Fritz11)
-File
-Open Database
-Click Games (maybe will open in the same page)
-ChessBase
-CompBase
*Autoplay.cbh
*EngMatch.cbh
*EngTourn.cbh

where -------------------------------->
*Autoplay.cbh :Games played by my chess engine at yahoo
*EngMatch.cbh :Games played between 2 engines match in my pc
*EngTourn.cbh :Games played in a engine chess tournament at my pc
"The winner of the game is the player who makes the next-to-last mistake."
- Tartakover -
http://chess2u.googlepages.com/
User avatar
elcriollito
Moderator
Moderator
 
Posts: 420
Joined: 09 Oct 2007 19:14
Location: Cuba

Re: Opening Books

Postby navigetor22 » 21 Apr 2008 02:46

Hi all! Can anyone, please recomend books to be used with Naum 3 and Zaapa-ll for fritz interface. :) You guys are very helpfull! Thank you very much!
User avatar
navigetor22
New Member
New Member
 
Posts: 4
Joined: 24 Mar 2008 23:03

Re: Opening Books ctg.

Postby navigetor22 » 22 Apr 2008 02:58

Help please! any advisement as to which books to use with Nahum 3 and Zappa ll with Fritz 10. :Bravo thanks, very much!
User avatar
navigetor22
New Member
New Member
 
Posts: 4
Joined: 24 Mar 2008 23:03

Re: Opening Books ctg.

Postby dene » 22 Apr 2008 07:34

navigetor22 wrote:Help please! any advisement as to which books to use with Nahum 3 and Zappa ll with Fritz 10. :Bravo thanks, very much!



If you dont already have a good opening book, why not try Kevin Frayer's opening book, you can download it here .. http://www.frayerchess.com/

It's updated regular.

User avatar
dene
Co-Admin
Co-Admin
 
Posts: 407
Joined: 04 Oct 2007 07:46
Location: United Kingdom

PreviousNext

Return to CTG Opening Books

Who is online

Users browsing this forum: No registered users and 0 guests