Geschrieben von:/Posted by: Dann Corbit at 05 May 2004 05:15:11:
Als Antwort auf:/In reply to: Re: book for Fruit? geschrieben von:/posted by: Lance Perkins at 04 May 2004 23:47:28:
You can ask Leo to use the default book that comes with BookThinker. Its the same book that Thinker uses in Leo's tournament and elsewhere.
You can also ask Leo to use the custom book that he built which he is now using to play TheKing in the premier division. With this book, TheKing is currently in 1st place in that division. With the same book, TheKing finished 2nd place in the pervious edition of the premier division.
If you want your own book, you need to download and install ChessThinker. This comes with the MakeBook program which you will use to create the opening book for BookThinker.
The usage is simple: MakeBook PgnFile
Your program has lots of problems with perfectly legal pgn files.
After stripping to the bare essentials, a few defects show up.
It does not understand underpromotion.
It does not know how to deal with an unfinished game. (*)
It does not understand quoting rules (e.g. this causes a problem):
[Black "CM 9000 [Utz12n], XP1800+ 64MB"]
The underpromotion thing makes it really broken. The others are easily fixed by a filter. I suspect that by making the book cut off early enough it will not get to the underpromotion rules.
Here is some sample output:
E:\PROGRA~3\winboard\thinker>parse < book.pgn |analyze |makebook
MakeThinkerBook 2.1a
usage : MakeThinkerBook [-max-plies] pgn-file
example: MakeThinkerBook -30 GM_Games.pgn
Error at line 3127, move 83(W): h8=N+
Error at line 4205, move 54(B): f1=B
Error at line 5027, move 25(B): *
Error at line 5406, move 1(W): ,
Error at line 8263, move 41(W): *
Error at line 9221, move 1(W): ,
Error at line 9695, move 74(W): h8=R
Error at line 9743, move 55(W): b8=B
Error at line 10904, move 74(W): f5#
Error at line 12590, move 72(B): c1=R
Error at line 12661, move 63(B): d1=N
Error at line 13907, move 1(W): ,
Error at line 13925, move 1(W): ,
Error at line 14130, move 100(W): e8=N+
Error at line 14342, move 1(W): ,
Error at line 14380, move 82(W): e8=B
Error at line 14450, move 46(B): c1=R
Error at line 14543, move 73(W): *
Error at line 14794, move 91(W): g8=N
Error at line 15218, move 90(B): h1=R
Error at line 15985, move 41(B): e5#
Error at line 16093, move 58(W): a8=R
Error at line 18883, move 50(W): g4#
Error at line 19473, move 81(W): d8=R
Error at line 20740, move 52(B): d1=R
Error at line 22167, move 63(W): h8=B
Error at line 23862, move 48(W): d8=N+
Error at line 25336, move 86(W): f8=N
Error at line 27400, move 67(B): *
Error at line 27803, move 73(B): *
Error at line 31054, move 56(W): g8=R+
Error at line 32422, move 119(W): d8=N+
Error at line 33853, move 18(B): *
Error at line 35374, move 74(B): e1=B
Error at line 36087, move 113(W): h8=R
Error at line 37990, move 64(B): h1=R
Error at line 38997, move 60(B): a1=R
Error at line 39090, move 107(W): b8=R
Error at line 39481, move 61(W): h4#
Error at line 39550, move 101(B): e1=R
Error at line 39713, move 82(W): b8=N+
Error at line 40934, move 57(B): d1=R+
Error at line 42721, move 55(W): h8=N
Error at line 42924, move 1(W): ,
Error at line 44369, move 109(B): d1=N+
Error at line 45756, move 52(W): g8=B+
Error at line 46248, move 88(B): g1=N+
Error at line 46297, move 1(W): ,
Error at line 47606, move 63(W): c8=R
Error at line 47728, move 56(W): a8=R
Error at line 48672, move 1(W): ,
Error at line 48951, move 65(W): c8=R+
Error at line 50108, move 107(B): g1=R
Error at line 52877, move 1(W): ,
Error at line 54608, move 65(W): h8=R
Error at line 57638, move 1(W): ,
Error at line 57981, move 45(W): a8=R
Error at line 60444, move 169(B): g1=R
Error at line 61681, move 53(B): e1=N+
Error at line 61885, move 1(W): ,
Error at line 63770, move 69(W): f8=N+
Error at line 64243, move 1(W): ,
Error at line 67587, move 76(B): h1=N+
Error at line 68653, move 1(W): ,
Error at line 68677, move 1(W): ,
Error at line 68726, move 1(W): ,
Error at line 68748, move 1(W): ,
my ftp site {remove http:// unless you like error messages}