Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: crafty.rc file

Author: Robert Hyatt

Date: 10:48:19 05/26/99

Go up one level in this thread


On May 26, 1999 at 13:07:46, Chris Carson wrote:

>On May 26, 1999 at 12:49:26, Michael Fuhrmann wrote:
>
>>1. I'm trying to stop Crafty from creating log and game files. But
>> after creating a crafty.rc file (with the log off instruction) and launching
>>the program with Winboard, Crafty doesn't make any moves. What
>> am I doing wrong?
>>
>>2. When I tried to delete the game and log files that Crafty created, some of
>>the files could not be deleted. How come?
>
>1. Be sure you have a <CR> "Carriage Return" after the
>   last line.  If you do not, the last command in your
>   crafty.rc file will hang.
>
>   Be sure you have created the book.bin and the books.bin
>   in your crafty directory.  See the documentation if you
>   have not.
>
>2. Be sure to exit winboard and crafty.  The files should be
>   freed up after that.
>
>Best Regards,
>Chris Carson


Also notice that "log=off" should be a _command line option_ rather than
something you put in the crafty.rc file...  why?  Because by the time the
crafty.rc file is read, the engine has initialized and the log.nnn and game.nnn
files are already open.  Once it sees log=off, it won't write any more stuff
into them, but each game will produce a new pair of files.  Put it on the
command line and this doesn't happen at all.  Note that you will _always_ have
a game.nnn (game.001) file, because crafty writes the game history there.  But
with log=off, the next game will overwrite this file.



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.