Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How to play games between different versions of Crafty

Author: Robert Hyatt

Date: 12:36:15 01/21/00

Go up one level in this thread


On January 21, 2000 at 15:15:39, Jeremiah Penery wrote:

>On January 21, 2000 at 14:56:16, Robert Hyatt wrote:
>
>>On January 21, 2000 at 13:17:25, Rafael Villarroel wrote:
>>
>>>If playing games between different versions of Crafty
>>>under Winboard, is it ok to have both versions in the same directory?
>>>I mean, could there be problems because of accesing the book,
>>>writing learn or log files, etc?
>>>Rafael
>>
>>
>>Probably.  Use the option in winboard that lets you specify a different
>>starting directory for each version.  Then you install the executable and
>>book files in the two directories and avoid the problems with both trying
>>to update a learn file at the same time and corrupting it.
>>
>>IE if position.bin gets corrupted, it will hang crafty when it tries to use
>>it.
>
>I'm not saying that it's a good thing to do, or that it won't ever cause
>problems, but I've never had any problems running two crafties against each
>other out of the same directory, using all the same files.
>
>YMMV, of course.
>
>Jeremiah


The danger is learning.  Turn it off and there won't be any problems, except
for missing log files here and there.  But with learning on, I don't take any
precautions like file locking, to prevent simultaneous updating.  Which would
be ugly when/if it happens...  as the file will definitely become corrupted.

It might just mean it leaves book earlier than it should.  Or it might hang
if the file gets corrupted in a different way.



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.