Crafty v19.17 SE PB release ...

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Crafty v19.17 SE PB release ...

Postby Michael Byrne » 12 Oct 2004, 05:05

October 11, 2004
Crafty v19.17 SE PB


Crafty v19.17 SE PB (based on "Crafty" , chess program by the world renowned
champion chess programmer, Dr Robert Hyatt, Professor, University of Alabama)
is now released. The PB indicates that this Crafty version is personality book
enabled. This new features allows you to use a custom book for each personality
that will automatically load when that personality is selected via the command
"krafty <personality>, e.g. "krafty fischer" will automatically select the
customize Fischer personality and the Fischer.bin opening book. It will also
automatically load the correct personality book when the user uses the random
personality command "krafty ranper <xx> <xx>" . Toplay the F24 GM personalties
at random use "krafty ranper <xx> <xx>"

Available for download with this release are opening boks for all 24 GM
personalities included in Crafty 19.17 SE PB. With the advent of this new
feature , I am planning many GM personalities in the new future.

These GM opening books will provide a sensation that you are perhaps actually
playing this GM right in own home. For example, The Fischer.bin book is a
special book based on actual moves played by Booby Fischer in recorded games.
This is perhaps the closest sensation of playing the World Champion Bobby
Fischer that most of us will ever have. I even hand tuned the Fischer book to
even play the correct moves in the correct percentage of time that Bobby
actually played that move in a given position. You will find that Bobby's
opening repertoire was fairly narrow, but he knew this lines inside out.

Many of us know that Fischer played e4 nearly all the time, the Sicilian against
e4 but how about when he played against the Sicilian

[d] rnbqkb1r/pp3ppp/3ppn2/8/3NP3/2N5/PPP2PPP/R1BQKB1R w KQkq - 0 6

Doesn't work here, Volker

[diag]rnbqkb1r/pp3ppp/3ppn2/8/3NP3/2N5/PPP2PPP/R1BQKB1R[/diag]


What move would Fischer played here?

Fischer played 6. g4! in six of the 8 games when playing against the Sicilian,
Scheveningen, Keres Attack (B81)

The Crafty SE [Fischer} personality will likewise play g4 88% of the time in
this position.

http://www.chessgames.com/perl/chessopening?eco=B81

The use of these books are transparent to the user once you have them properly
setup. For example if you load a GM personality (say "fischer" ) via crafty.rc
the Fischer.bin , Crafty SE will offload the current small opening book
(books.bin) and replace with it Fischer.bin.

If you use the random personality feature "krafty ranper 23-46", it randomly
selects one of the personalities and it will then load the appropriate book for
that personality ( as described above., it will offload the existing small
guiding book (standard crafty call this "books.bin" (or which ever personality
book file is loaded in its place), and loads the appropriate GM personality to
match the style that is playing.

Only the Fischer book is hand tuned at this time. The opening books for the
other 24 GM's were created using standard automation tools. The other books will
play all the moves the GM played - but each move he played will be rated nearly
equal a this time. Later on, I might have opportunity to had tune more of these
books. These books will still stay with moves played by the GM until the game
goes outside their standard opening play. At that point, the Crafty's regular
book will kick in. The automated books play all the moves by GM, but not in the
true percentages actually played by the GM when faced with a given position.

The hand tuned Fischer book took me about 8 hours to complete using the Bookup
program.

If you prefer to have your own GM books, I created a tool to generate all the
books automatically. All you need is 24 pgn files, one representing each GM,
alekhine.pgn , etc. The prefix of the pgn files have to be spelled exactly as I
spelled the personality in Crafty SE (alekhine.pgn) . Run this tool in the same
folder as the pgn file, it will create 24 book.bin's - each will be named after
the personality 'alekhine.bin' etc. Crafty SE will open the appropriate book
file whenever you start that krafty personality. Either by typing "krafty
alekhine" in the crafty.rc file or using the the random personality option
"krafty ranper 23 46" The personality books are not just for the GM
personalities, you also have separate books for the non GM personalities - the
method is the same.

If just need to create a book for one personality, start crafty in the console
window, change to the personality that you want to create the book for - say
"krafty euwe" -- then use the same book creation command as regular crafty
"book create euwe.pgn 40 1 0" (if these options are your preference I like
making books where all it will the possibility to play every move that GM ever
played in a given position see Crafty readme for more details about book
creation).

One last thing, you have to mark every move played by the GM in the pgn file
with an "!" (exclamation point) for that move to marked as playable in the [gm
book].bin file.

Enjoy playing the style of all the great GM's past. Present and future!

Best Regards,

Michael Byrne

Bob Hyatt's Crafty Copyright Notice is at the bottom of the readme in the zip
file attached.[/diag]
Michael Byrne
 
Posts: 13
Joined: 26 Sep 2004, 20:50
Location: Pocono Mtn, PA USA

Leo - check your mail -- thanks! (nt)

Postby Michael Byrne » 12 Oct 2004, 05:06

.
Michael Byrne
 
Posts: 13
Joined: 26 Sep 2004, 20:50
Location: Pocono Mtn, PA USA

Masters Books

Postby Pablo » 13 Oct 2004, 15:43

Hello Michael:
I am afraid your zipped Crafty 10.17 SE-SB do not include books mentioned at the readme file.
Suggest to have a look.
Best,
Pablo :(
Pablo
 
Posts: 242
Joined: 26 Sep 2004, 21:57
Location: Santiago-Chile

Re: Masters Books

Postby Anonymous » 13 Oct 2004, 17:31

Pablo Urzua wrote:Hello Michael:
I am afraid your zipped Crafty 10.17 SE-SB do not include books mentioned at the readme file.
Suggest to have a look.
Best,
Pablo :(


The readme does not say the books are in the same zip file. The books are in a separate zip file. This is the download link ...

http://www.crafty-chess.com/pbbooks.zip
Anonymous
 

Re: Crafty v19.17 SE PB release ...

Postby Anonymous » 13 Oct 2004, 17:49

I'm puzzled about how to use the new features. Namely,

1) if I want to use the "Fischer" personality, must I include the line

krafty Fischer

in crafty.rc configuration file? I'd guess I must.

2) of course I want the personality to use the opening book Fischer.bin. Have I to rename this file to books.bin? I'd assume not- if I understand well the "readme" file, the engine would use the Fischer.bin anyway.

So, why it is the legend "crafty [standard]" what appears in the winboard window? I'd assume it had to be "crafty [Fischer]" or the like.

And, why is the Fischer personality playing, again and again, opening lines absolutely foreign to Bobby Fischer?

There must be something I still don't understand. :?

Telmo
Anonymous
 

Re: Crafty v19.17 SE PB release ...

Postby Michael Byrne » 14 Oct 2004, 03:18

[quote="Telmo"]I'm puzzled about how to use the new features. Namely,

1) if I want to use the "Fischer" personality, must I include the line

krafty Fischer

in crafty.rc configuration file? I'd guess I must.

2) of course I want the personality to use the opening book Fischer.bin. Have I to rename this file to books.bin? I'd assume not- if I understand well the "readme" file, the engine would use the Fischer.bin anyway.

So, why it is the legend "crafty [standard]" what appears in the winboard window? I'd assume it had to be "crafty [Fischer]" or the like.
==============================================
Something does not seem right. Are you still having trouble using the Fischer.bin ? If yes, send me everything you can about your set up, GUI ,crafty.rc file and log from your games. Turn "log on" by typing "log on" - also add the line "show book" in crafty.rc and I'll take a look.

Best,

Michael
mfbyrne_pa@msn.com
Michael Byrne
 
Posts: 13
Joined: 26 Sep 2004, 20:50
Location: Pocono Mtn, PA USA

Re: Crafty v19.17 SE PB release ...

Postby Michael Byrne » 14 Oct 2004, 03:40

fyi -- this is what lofg should look like if you fischer loaded correctly and you play 1.e4

Random search depth is 2 ply.

after screening, the following moves can be played
move played % score learn CAP sortv P% P
c5! 284838 39 0.40 0.13 -655.36 14001.0 81 Y
e5! 186240 26 0.18 -0.19 -655.36 13194.0 8 Y
Nf6! 20531 2 0.08 -0.24 -655.36 12605.8 5 Y
d6! 29234 4 0.24 0.00 -655.36 12987.0 0 Y
Nc6 5886 0 0.08 0.00 -655.36 5065.1 0 Y
d5 15867 2 0.18 0.00 -655.36 5000.1 0 Y
Nh6 44 0 0.18 0.00 -655.36 4944.6 0 Y
Na6 21 0 0.18 0.00 -655.36 4944.5 0 Y
c6 48189 6 0.40 0.00 -655.36 4893.6 0 Y
g6 21320 2 0.39 0.00 -655.36 4809.3 0 Y
b5 62 0 0.36 0.00 -655.36 4764.6 0 Y
b6 1455 0 0.39 0.00 -655.36 4739.5 0 Y
g5 174 0 0.39 0.00 -655.36 4735.0 0 Y
a6 524 0 0.40 0.00 -655.36 4726.2 0 Y
f5 76 0 0.40 0.00 -655.36 4724.7 0 Y
h6 61 0 0.40 0.00 -655.36 4724.6 0 Y
a5 56 0 0.40 0.00 -655.36 4724.6 0 Y
f6 48 0 0.40 0.00 -655.36 4724.6 0 Y
h5 33 0 0.40 0.00 -655.36 4724.5 0 Y
e6 97490 13 0.24 -0.34 -655.36 4503.3 0 Y
book moves {c5, e5, Nf6, d6}
moves considered {c5, e5, Nf6, d6}
move played % score sortv P% P
c5! 284838 39 0.40 175324.5 81 Y
e5! 186240 26 0.18 17316.0 8 Y
Nf6! 20531 2 0.08 10822.5 5 Y
d6! 29234 4 0.24 12987.0 0 Y

Against e4 - Fischer will play one of these four moves. Note 1....c5 - Fischer played 1. ...c5 81% of the time and so will this book.

The Fischer book will play this line

1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Bg5 e6 7. f4 Be7 8.
Qf3 Qc7 9. O-O-O Nbd7 10. g4 b5 11. Bxf6 Nxf6 12. g5 Nd7 13. a3 Rb8 14. h4
b4 15. axb4 Rxb4 16. Bh3 O-O 17. Nf5 Nc5 18. Nxe7+ Qxe7 19. h5 Bb7 20. h6
Bxe4


after 7.f4 fischer played ne7 68% of the tiime and so will the fischer book

Your log should like this on the 7th move

Random search depth is 5 ply.

after screening, the following moves can be played
move played % score learn CAP sortv P% P
Be7! 3806 39 1.23 0.00 -655.36 13342.4 68 Y
Qb6! 2888 30 1.64 0.00 -655.36 12759.6 29 Y
b5! 959 10 1.28 0.00 -655.36 12552.9 0 Y
Nbd7 742 7 1.09 0.00 -655.36 4654.2 0 Y
Nc6 157 1 1.04 0.00 -655.36 4542.2 0 Y
Qc7 672 7 1.34 0.00 -655.36 4427.5 0 Y
Bd7 63 0 1.17 0.00 -655.36 4409.2 0 Y
h6 278 2 1.36 0.00 -655.36 4307.4 0 Y
book moves {Be7, Qb6, b5}
moves considered {Be7, Qb6, b5}
move played % score sortv P% P
Be7! 3806 39 1.23 284512.0 68 Y
Qb6! 2888 30 1.64 121336.0 29 Y
b5! 959 10 1.28 12552.0 0 Y
Michael Byrne
 
Posts: 13
Joined: 26 Sep 2004, 20:50
Location: Pocono Mtn, PA USA

correct usage of "krafty" command

Postby Michael Byrne » 15 Oct 2004, 00:51

correct usage of krafty command :

"krafty fischer" -> note lower case , this is correct...

"krafty Fischer" -> note upper case with the name Fischer - this is NOT correct ...

all personalities are lower case -- for nothing else, when you test it in consolde mode, you do not have to use caps ...almost all crafty commands are lower case, the one exception is "SE <on/off>" in Crafty SE versions

in the crafty.rc file place all krafty command near the bottom (but before "exit"!)

Best,

Michael
Michael Byrne
 
Posts: 13
Joined: 26 Sep 2004, 20:50
Location: Pocono Mtn, PA USA

Re: correct usage of "krafty" command

Postby Anonymous » 16 Oct 2004, 01:45

Michael Byrne wrote:correct usage of krafty command :

"krafty fischer" -> note lower case , this is correct...

"krafty Fischer" -> note upper case with the name Fischer - this is NOT correct ...


Ouch, so obvious! :shock:


Michael wrote:all personalities are lower case -- for nothing else, when you test it in consolde mode, you do not have to use caps ...almost all crafty commands are lower case, the one exception is "SE <on/off>" in Crafty SE versions

in the crafty.rc file place all krafty command near the bottom (but before "exit"!)

Best,

Michael


Thanks a lot for your explanation and your work :D

Telmo
Anonymous
 


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 22 guests