command synopsis !command....................... passes command to a shell. adaptive NPS a b c d........... enables adaptive hash mode. alarm on|off................... turns audible alarm on/off. analyze........................ analyze a game in progress. annotate....................... annotate game autotune....................... SMP search tuning (help autotune for details) batch on|off................... on disables async I/O for batch file usage bench.......................... runs performance benchmark. black.......................... sets black to move. book........................... controls book cache=n........................ sets tablebase cache size. clock.......................... displays/adjusts chess clock times. display........................ displays chess board. display [n].................... sets display options draw accept|decline............ decline always declines. draw offer|nooffer............. nooffer never offers a draw. draw dynamic <0|1>............. enables/disables dynamic draw scores. echo........................... echos output to display. edit........................... edit board position. egtb........................... enables endgame database probes. egtbd.......................... set min remaining depth to allow probes. epdhelp........................ info about EPD facility. end............................ terminates program. evaluation..................... adjust evaluation terms. exit........................... restores STDIN to keyboard. force move..................... forces specific move. hash n......................... sets transposition table size. (n bytes, nK bytes or nM bytes). hashp n........................ sets pawn hash table size. history........................ display game moves. import filename................ imports learning data (.lrn files). info........................... displays program settings. input filename................. sets STDIN to filename, reverts back on exit. kibitz n....................... sets kibitz mode n on ICS. learn n|clear.................. enables/disables learning (100 = default). clear clears all learned information level moves time inc........... sets ICS time controls. linelength n................... sets line length to n. A really large value will produce 1 line PVs, making parsing easier list........................... update/display GM/IM/computer lists. lmp base scale................. LMP pruning move counts lmr min max bias moves scale... LMR reduction matrix generator load file title................ load a position from problem file, starting with line containing title, ending on exit. log on|off..................... turn logging on/off. mode normal|tournament......... toggles tournament mode. move........................... initiates search (same as go). name........................... sets opponent's name. new............................ initialize and start new game. null m n....................... null move R = M + depth / n. noise n........................ no status until n nodes searched. operator seconds............... sets operator time per move. output long|short.............. sets move display format to long or SAN perf........................... times the move generator/make_move. perft.......................... tests the move generator/make_move. personality save|load fn....... saves/loads a personality file. pgn option value............... set PGN header information. phash n........................ sets path hash table size. ponder on|off.................. toggle pondering off/on. ponder move.................... ponder "move" as predicted move. rating a b..................... sets Crafty rating to a, opponent to b (affects draw score/contempt) read [filename]................ read moves in (from [filename] if given.) reada [filename]............... read moves in (from [filename]]) and append. (appends to current game history.) reset n........................ reset game to move n. resign......................... ends current game recording Crafty as winner. resign m n..................... set resign threshold to m pawns. n = # of moves before resigning. savegame [filename]............ saves game in PGN format (to filename). savepos [filename]............. saves position in FEN string (to filename). score.......................... print evaluation of position. screen [filename] margin....... screen a file of EPD positions by searching them and culling positions with score outside the window {-margin, margin} (use st=n to set time) sd n........................... sets absolute search depth. search move.................... search specified move only. selective min max.............. set null move depths. setboard FEN................... sets board position to FEN position. settc.......................... set time controls. show book...................... toggle book statistics. skill n........................ set skill level to n smp............................ sets SMP parameters (help smp for details) sn n........................... sets absolute search node limit. speech on|off.................. enables (disables) audio output. st n........................... sets absolute search time. swindle on|off................. enables/disables swindle mode. tags........................... list PGN header tags. test file [N].................. test a suite of problems. time........................... time controls. timebook....................... out of book time adjustment trace n........................ display search tree below depth n. usage percentage............... adjusts Crafty's time usage up or down. whisper n...................... sets ICS whisper mode n. white.......................... sets white to move. wild n......................... sets ICS wild position (7 for now). xboard......................... sets xboard compatibility mode. Type "help command" to see more detailed help information, if it is available. Note that help is not available for all possible commands. The analyze command puts Crafty into a mode where it will search forever in the current position. When a move is entered, crafty will make that move, switch sides, and again compute, printing analysis as it searches. You can back up a move by entering "back" or you can back up several moves by entering "back n". Note that n is the number of moves, counting each player's move as one (ie n plies, not n full moves). annotate[h|t] filename side moves margin time [n] Filename is the input file with game moves, while the output will be written to filename.can. The input file is PGN-compatible with one addition, the ability to request that alternative moves also be analyzed at any point. To do this at the point where you have alternative moves, simply include them in braces {move1, move2}, and Crafty will then search them also. Side can be b/w/bw to indicate whether to annotate only the white side (w), the black side (b) or both (bw). Side can also be the players name, where Crafty will then use the players name and the PGN tags to discover which you want the annotation done for. Moves indicates which moves to annotate. A single value says start at the indicated move and go through the entire game. A range (20-30) annotates the given range only. Margin is the difference between the search value for the move played in the game, and the best move crafty found, before a comment is generated (pawn=1.0). Time is the time limit per move in seconds. If the optional "n" is appended, this produces N best moves/scores/PV's, rather than just the very best move. It won't display any move that is worse than the actual game move played, but you can use -N to force Crafty to produce N PV's regardless of how bad they get. Using 'annotateh' produces an HTML file with bitmapped board displays where analysis was displayed. Using "annotatet" will cause the output to be written in a LaTex (.tex) format. The autotune command can be used to configure various SMP search parameters for your specific hardware and target time limit. Note that before you run this command, you MUST set the max number of threads you want to use (most likely the number of physical processor cores on your machine.) Crafty actually runs a parallel search over a small set of positions repeatedly, and to properly tune things, it needs to use the max configuration you will ever want to use. If you forget, autotune will refuse to run. The command is: autotune