John Merlino made a new obk book making tool (MakeBook_v3.20), where you can set different percentages for the book weights (the three dot's). When making an obk book and choosing the option 'weights by frequency', you can now specify how much percentage a move has to be played, to get one, two, three or no dot's assigned. And you can set different criteria for the white moves and for the black moves. John Merlino is still working on updates for the MakeBook tool, to include an option to delete zero weight branches.
The tool was originally used for making corrections to existing obk books for Chessmaster 9000 and later versions of Chessmaster.
By the way you can only install Chessmaster 9000 on Windows 10 32-bit system.
But you can copy the program files, and the documents files of Chessmaster 9000, once you have installed it, to the program files and documents folder on a Windows 10 64-bit system. And run Chessmaster 9000 in Windows 10 64-bit this way.
You can convert the obk books to pgn with obk2pgn and remove sidelines (moves with no dot's), by searching for games with a '?' in the annotation and deleting them. That's a great approach for making repertoires for over the board games. There is no limitation for game length with MakeBook_V3.20 when making obk books from a pgn database. So, if you choose for example depth=999, you get the complete games in the obk book. When you convert the obk books to pgn with obk2pgn, end then convert to cbh format in Chessbase and create a search booster, you can search for games with a '?', and delete these games. Then you only have the main lines. You can even find the original games with these lines, (with game statics), if you add the games together with the original games, and search for doubles with exactly the same moves in Chessbase.
Obk2pgn works great to convert obk books to pgn, as long there are no games with underpromotion included in the pgn where the obk books are created from. Obk2pgn doesn't have problems with all lines with underpomotions to convert to pgn, but many lines with underpomotions gives problems. An as soon as there is a problem obk2pgn just shuts down and the obk book is not converted to pgn.
Here is an example of a obk book where obk2pgn is unable to convert it to pgn:
https://drive.google.com/file/d/1-7FXY- ... sp=sharing
I searched for games with underpromotion with pgn-extract in a big pgn database, and I made a obk book from these games with this script
Code: Select all
makebook_v3.2 command=import depth=80 outbook=underpromotions_book.obk < underpromotions.pgn
I can also use the tool obk2bin and use the option-p to include a pgn file, (with informant symbols according the book weights in the obk book). Obk2bin is included with the download OpenBook http://goneill.co.nz/chess.php
This tool has no problems with converting obk books to pgn when there are games with underpromotion. But there is a limitation of maximum 100 ply. And the informant symbols in the resulting pgn (according the weights in the obk book), are not as accurate as when converting the obk book to pgn with obk2pgn.
So, I prefer obk2pgn, but I don't find a Source code of obk2pgn, so it will be very difficult to change something about it, to solve the failure for converting obk books, when there are lines with underpromotion.
There are Source codes included in the OpenBook folder.
I think what would be most realistic to achieve is to debug obk2bin included in the OpenBook folder. So, it works like obk2pgn, and also doesn't have this limitation of 100 ply.
Here is a link to my google drive with the obk book tools I use:
https://drive.google.com/file/d/1-7CzvJ ... sp=sharing
The obk2pgn tools and the MakeBook tool. The Chessmaster-80 file is also included, and the OpenBook folder with obk2bin and the source codes.
Read the readme files and example files to see how to use the tools.
I hope someone can help me with this because I want this to work. To filter out the main lines in a big pgn database. For the complete games and not only for the opening.