Not logged inCSS-Forum
Forum CSS-Online Help Search Login
CSS-Shop Impressum Datenschutz
Up Topic Hauptforen / CSS-Forum / Crafty Eröffnungsbuch
- - By Klaus Meier Date 2014-03-05 16:49
Hallo,

Das Schachprogramm Crafty von Dr. Hyatt finde ich ganz gut.
Gen hätt eich jedochein anderes Eröffnungsbuch als das original book.bin das für Crafty vorgesehen ist.

Wie kann das Eröffnungsbuch book.bin verändert werden ?

Gibt es eine Möglichkeit ein Eröffnungsbuch das im im .ctg Format vorliegt, in
das book.bin Format für Crafty zu konvertieren ?

book.ctg --> book.bin

Grüße
K.M.
Parent - By Chess Player Date 2014-03-06 11:02
lies bitte hier: auszug aus den sourcen...

Code:
*******************************************************************************
*                                                                             *
*   BookUp() is used to create/add to the opening book file.  typing "<file>  *
*   create" will erase the old book file and start from scratch,              *
*                                                                             *
*   The format of the input data is a left bracket ("[") followed by any title*
*   information desired, followed by a right bracket ("]") followed by a      *
*   sequence of moves.  The sequence of moves is assumed to start at ply=1,   *
*   with white-to-move (normal opening position) and can contain as many moves*
*   as desired (no limit on the depth of each variation.)  The file *must* be *
*   terminated with a line that begins with "end", since handling the EOF     *
*   condition makes portable code difficult.                                  *
*                                                                             *
*   Book moves can either be typed in by hand, directly into book_add(), by   *
*   using the "book create/add" command.  Using the command "book add/create  *
*   filename" will cause book_add() to read its opening text moves from       *
*   filename rather than from the keyboard                                    *
*                                                                             *
*   In addition to the normal text for a move (reduced or full algebraic is   *
*   accepted, ie, e4, ed, exd4, e3d4, etc. are all acceptable) some special   *
*   characters can be appended to a move.                                     *
*                                                                             *
*      ?? ->  Never play this move.  since the same book is used for both     *
*             black and white, you can enter moves in that white might play,  *
*             but prevent the program from choosing them on its own.          *
*      ?  ->  Avoid this move except for non-important games.  These openings *
*             are historically those that the program doesn't play very well, *
*             but which aren't outright losing.                               *
*      =  ->  Drawish move, only play this move if drawish moves are allowed  *
*             by the operator.  This is used to encourage the program to play *
*             drawish openings (Petrov's comes to mind) when the program needs*
*             to draw or is facing a formidable opponent (deep thought comes  *
*             to mind.)                                                       *
*      !  ->  Always play this move, if there isn't a move with the !! flag   *
*             set also.  This is a strong move, but not as strong as a !!     *
*             move.                                                           *
*      !! ->  Always play this move.  This can be used to make the program    *
*             favor particular lines, or to mark a strong move for certain    *
*             opening traps.                                                  *
*                                                                             *
*  {Play nn%} is used to force this specific book move to be played a specific*
*             percentage of the time, and override the frequency of play that *
*             comes from the large pgn database.                              *
*                                                                             *
*******************************************************************************
Parent - - By Thomas Plaschke Date 2014-03-06 23:06
Mit den Quelldateien wird außerdem die Datei crafty.hlp geliefert. Die Datei als Textdatei öffnen und nach <book> (mit größer/kleiner-Zeichen) suchen.

Viel Spaß!

Th. Plaschke

P.S.: Auch wenn Crafty häufig als schwaches Programm geschmäht wird - ich finde das Programm nach wie vor super! 
Parent - - By Klaus Meier Date 2014-03-07 13:14
Thomas Plaschke schrieb:

Mit den Quelldateien wird außerdem die Datei <code>crafty.hlp</code> geliefert. Die Datei als Textdatei öffnen und nach <code><book></code> (mit größer/kleiner-Zeichen) suchen.

Viel Spaß!

Th. Plaschke

P.S.: Auch wenn Crafty häufig als schwaches Programm geschmäht wird - ich finde das Programm nach wie vor super! 


Ja finde ich auch noch super !
Vielleicht finde ich mit euren Hinweisen dann noch einen Weg, wie das Crafty Eröffnungsbuch auf einfache Weise
erweitert und verändert werden kann.
Vielen Dank für die Tipps wegen dem Buch.
K.M.
Parent - By Klaus Meier Date 2014-03-07 19:17
Hab es jetzt gefunden
"book create"
macht aus einer pgn-Datei
dann das gewünschte Eröffnungsbuch.
Funktioniert ganz prima
Vielen Dank für die Hinweise.
K.M.
Up Topic Hauptforen / CSS-Forum / Crafty Eröffnungsbuch

Powered by mwForum 2.29.3 © 1999-2014 Markus Wichitill