Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty Annotate Function.

Author: Mike Byrne

Date: 04:23:22 04/05/05

Go up one level in this thread


On April 04, 2005 at 23:11:57, pavel wrote:

>I am trying to annotate a PGN game with crafty. I ahve read the help file, and
>trying to do it the way it's written. But it doesn't seem to to be working.
>
>http://www.cis.uab.edu/hyatt/craftydoc.html
>
>
>Initializing multiple threads.
>System is SMP, not NUMA.
>found computer opening book file [./bookc.bin].
>5 piece tablebase files found
>10544kb of RAM used for TB indices and decompression tables
>adaptive estimated NPS =   800K
>adaptive minimum hsize =    24M
>adaptive maximum hsize =   192M
>adaptive minimum psize =    24M
>adaptive maximum psize =    48M
>EGTB cache memory =   32M bytes.
>show book statistics
>
>
>Crafty v19.19 (1 cpus)
>
>White(1): annotate game1 w 1-999 1.000 30
>unable to open game1 for input
>White(1):
>
>I even renamed the pgn file to "game1". I want to do both "text mode" and the
>"html mode".
>
>This Crafty is Mike's Compiled.
>
>Thanks for any help.
>
>pavs

from annotate.c, my suggested command line help is at the bottom

=======================================================

the format of the command is as follows:                                   *
 *                                                                             *
 *      annotate filename b*w*bw*name moves margin time [n]                    *
 *                                                                             *
 *  filename is the input file where Crafty will obtain the moves to annotate, *
 *  and output will be written to file "filename.can".                         *
 *                                                                             *
 *      annotateh filename b*w*bw*name moves margin time [n]                   *
 *                                                                             *
 *  can be used to produce an HTML-compatible file that includes bitmapped     *
 *  diagrams of the positions where Crafty provides analysis.  this file can be*
 *  opened by a browser to provide much easier 'reading'.                      *
 *                                                                             *
 *      annotatet filename b*w*bw*name moves margin time [n]                   *
 *                                                                             *
 *  can be used to produce a LaTeX-compatible file that includes LaTeX chess   *
 *  fonts.  this file can be read/printed by any program that can handle LaTeX *
 *  input.                                                                     *
 *                                                                             *
 *  where b/w/bw indicates whether to annotate only the white side (w), the    *
 *  black side (b) or both (bw).  you can also specify a name (or part of a    *
 *  name, just be sure it is unique in the name tags for clarity in who you    *
 *  mean).                                                                     *
 *                                                                             *
 *  moves indicates the move or moves to annotate.  it can be a single move,   *
 *  which indicates the starting move number to annotate, or it can be a range,*
 *  which indicates a range of move (1-999 gets the whole game.)               *
 *                                                                             *
 *  margin is the difference between Crafty's evaluation for the move actually *
 *  played and for the move Crafty thinks is best, before crafty will generate *
 *  a comment in the annotation file.  1.0 is a pawn, and will only generate   *
 *  comments if the move played is 1.000 (1 pawn) worse than the best move     *
 *  found by doing a complete search.                                          *
 *                                                                             *
 *  time is time per move to search, in seconds.                               *
 *                                                                             *
 *  [n] is optional and tells Crafty to produce the PV/score for the "n" best  *
 *  moves.  Crafty stops when the best move reaches the move played in the game*
 *  or after displaying n moves, whichever comes first.  if you use -n, then it*
 *  will display n moves regardless of where the game move ranks.              *
 *                                                                             *
 *******************************************************************************
 */
=============================================
try this for text:

annotate game1.pgn w 1-999 1.000 30


try this for html:

annotateh game1.pgn w 1-999 1.000 30

best,

Michael



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.