crafty game and log files

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Harvey Williamson, bob

Post Reply
cooldalek

crafty game and log files

Post by cooldalek » Sat Apr 07, 2007 8:35 am

I am gettting huge numbers of game.00x and log.00x files in my winboard folder. My crafty rc file (win xp op system) is as follows

egtb
tbpath=d:\tablebases\
hash=96M
hashp=48M
cache=32M
ponder on
log off
swindle on
learn 7
book on
show book
kibitz 1
exit

My PC is a pentium 2.4ghz (single CPU - 32 bit) with 1 gig of ram

User avatar
Dr.Wael Deeb
Posts: 9635
Joined: Wed Mar 08, 2006 7:44 pm
Location: Amman,Jordan

Re: crafty game and log files

Post by Dr.Wael Deeb » Sat Apr 07, 2007 8:57 am

This is a bug which was confirmed by the author as I remember,I assume that it's Crafty 21.5.....
Even if you set the log to off,it will flode your winboard folder with these files....
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….

User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 6:43 pm

Re: crafty game and log files

Post by sje » Sat Apr 07, 2007 9:23 am

If you don't want any of the game or log files, it's possible to use Crafty's shell escape command to automatically delete them. Have a shell escape in the initialization file call a batch file to do a wildcard delete of the unwanted files.

User avatar
beachknight
Posts: 3533
Joined: Tue Jan 09, 2007 7:33 pm
Location: Antalya, Turkey
Contact:

Re: crafty game and log files

Post by beachknight » Sat Apr 07, 2007 9:24 am

Have you tried with

Code: Select all

log=off 
as the first line of your crafty.rc?
hi, merhaba, hallo HT

User avatar
Dr.Wael Deeb
Posts: 9635
Joined: Wed Mar 08, 2006 7:44 pm
Location: Amman,Jordan

Re: crafty game and log files

Post by Dr.Wael Deeb » Sat Apr 07, 2007 1:08 pm

beachknight wrote:Have you tried with

Code: Select all

log=off 
as the first line of your crafty.rc?
Won't work pal....
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….

abb

logpath=\RECYCLER [Re: game.xxx/log.xxx files]

Post by abb » Sun Apr 08, 2007 5:13 pm

cooldalek (which is redundant, as all daleks are cool) wrote:I am gettting huge numbers of game.00x and log.00x files in my winboard folder. My crafty rc file (win xp op system) is ... (snip)
My (admittedly inelegant/lazy) workaround for this was to redirect all that stuff to the Recycle Bin, via Crafty's logpath command line parameter. Eg:

Code: Select all

 
crafty tbpath=TB\3-4-5\;TB\tbs logpath=\RECYCLER 
...calls Crafty, sets my tablebase directories up, and shunts all the game.00x and log.00x files over to the Recycle Bin*, where (ostensibly) they're automagically deleted someday. All other options are handled by my crafty.rc file, which is identical to this one.
    • *In Linux, you'd just set logpath=/dev/null, but I can't remember how to access the Win32 bit bucket. :(
Murder, she wrote:...pentium 2.4ghz (single CPU - 32 bit) with 1 gig of ram

When Winboarding, variations on the following batch file work fine on my (comparable) system:

Code: Select all

 
@REM  CraftyVsGnu5.bat
@echo Warning, Microsoft Windows contains products determined by the State
@echo of California to promote cancer, tooth decay, abnormal stress, 
@echo and a variety of STDs.  Use rarely and at your own risk.

start winboard_x.exe -cp -fcp='crafty-21.5-win32.exe tbpath=TB\3-4-5\;TB\tbs logpath=\RECYCLER' -fd='Engines\Crafty215' -scp='GNUChes5 xboard' -sd='Engines\GNU507'

Hope some/any of that helps.

Post Reply