Polyglot not doing what it is supposed to - book compile
Posted: 06 Jun 2010, 08:03
Hi,
I am compiling a very small book of high quality moves and am using Polyglot as the compilation tool. Because the book is quite small (all positions are being hand checked), I have been doing a lot of manual checking of the resulting book - both using SCID as well as running the book in my actual application (results in my application and SCID are indentical).
I was noticing during my checking process that a number of moves were missing from my compiled book, and even entire games. I have re-read the Polyglot documentation thoroughly and have even tried variations on my line commands, all to no avail.
Below is the contents of a test PGN file (2 games only) that illustrate the two problems I am having
[Event "Novy Vremya tourney-4 1899-1900"]
[Site "corr"]
[Date "1899.??.??"]
[Round "?"]
[White "Chigorin, Mikhail Ivanovich"]
[Black "Tabunshchikov, Vasily Ivanovich"]
[Result "1-0"]
[ECO "C37"]
[EventDate "1899.??.??"]
[EventType "corr"]
[Source "ChessBase"]
1. e4 e5 2. f4 exf4 3. Nf3 g5 4. Bc4 g4 5. O-O gxf3 6. Qxf3 Qf6 7. d3 Bc5+ 8.
Kh1 Nc6 9. Nc3 Nge7 10. Bxf4 d6 11. Nb5 Bb6 12. Qg3 Qg6 1-0
[Event "USA-USSR tele-match"]
[Site "?"]
[Date "1955.??.??"]
[Round "?"]
[White "Byrne, Robert (GM"]
[Black "Keres, Paul (EST)"]
[Result "0-1"]
[ECO "C39"]
[EventDate "1955.??.??"]
[EventType "corr"]
[Source "ChessBase"]
1. e4 e5 2. f4 exf4 3. Nf3 g5 4. h4 g4 5. Ne5 Nf6 6. Bc4 d5 7. exd5 Bg7 8. d4
Nh5 9. O-O Qxh4 10. Qe1 Qxe1 11. Rxe1 O-O 12. Nc3 Nd7 0-1
I am using the following line command in an attempt to successfully compile the two games above into the test book:
polyglot make-book -pgn test.pgn -bin test.bin -min-game 1 -uniform
After the test book compiles, it only contains the first 7 ply of the first game, and none at all of the second game. I have tried various ways of getting around the problem, including using the entire original games, using the -max-ply parameter, duplicating the games three times over and getting rid of the min-game 1 parameter and getting rid of the uniform parameter.
Nothing works and I am continually left with an incomplete book. These issues are magnified in the proper book, with lines missing that I know are there, plus other openings suddenly ending at an earlier ply than they should.
Can anyone tell me what is going wrong here please?
I am compiling a very small book of high quality moves and am using Polyglot as the compilation tool. Because the book is quite small (all positions are being hand checked), I have been doing a lot of manual checking of the resulting book - both using SCID as well as running the book in my actual application (results in my application and SCID are indentical).
I was noticing during my checking process that a number of moves were missing from my compiled book, and even entire games. I have re-read the Polyglot documentation thoroughly and have even tried variations on my line commands, all to no avail.
Below is the contents of a test PGN file (2 games only) that illustrate the two problems I am having
[Event "Novy Vremya tourney-4 1899-1900"]
[Site "corr"]
[Date "1899.??.??"]
[Round "?"]
[White "Chigorin, Mikhail Ivanovich"]
[Black "Tabunshchikov, Vasily Ivanovich"]
[Result "1-0"]
[ECO "C37"]
[EventDate "1899.??.??"]
[EventType "corr"]
[Source "ChessBase"]
1. e4 e5 2. f4 exf4 3. Nf3 g5 4. Bc4 g4 5. O-O gxf3 6. Qxf3 Qf6 7. d3 Bc5+ 8.
Kh1 Nc6 9. Nc3 Nge7 10. Bxf4 d6 11. Nb5 Bb6 12. Qg3 Qg6 1-0
[Event "USA-USSR tele-match"]
[Site "?"]
[Date "1955.??.??"]
[Round "?"]
[White "Byrne, Robert (GM"]
[Black "Keres, Paul (EST)"]
[Result "0-1"]
[ECO "C39"]
[EventDate "1955.??.??"]
[EventType "corr"]
[Source "ChessBase"]
1. e4 e5 2. f4 exf4 3. Nf3 g5 4. h4 g4 5. Ne5 Nf6 6. Bc4 d5 7. exd5 Bg7 8. d4
Nh5 9. O-O Qxh4 10. Qe1 Qxe1 11. Rxe1 O-O 12. Nc3 Nd7 0-1
I am using the following line command in an attempt to successfully compile the two games above into the test book:
polyglot make-book -pgn test.pgn -bin test.bin -min-game 1 -uniform
After the test book compiles, it only contains the first 7 ply of the first game, and none at all of the second game. I have tried various ways of getting around the problem, including using the entire original games, using the -max-ply parameter, duplicating the games three times over and getting rid of the min-game 1 parameter and getting rid of the uniform parameter.
Nothing works and I am continually left with an incomplete book. These issues are magnified in the proper book, with lines missing that I know are there, plus other openings suddenly ending at an earlier ply than they should.
Can anyone tell me what is going wrong here please?