Crafty 19.0x versions, Need Help

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Crafty 19.0x versions, Need Help

Postby juan dela cruz » 30 Nov 2006, 23:46

Why are these versions not included in Leo's Winboard Engines site? Are these releases "commercial"? Bob Hyatt only shares the sources which are pretty hard to compile. Crafty 19.03 and 19.04 are strong engines comparable with Gandalf 6.0 assuming you set it with the right personality (as reported on other forums). Is there a Winboard version since I could only find Chessbase compiles. I'm running personal tests on special chess engine versions (UCI/WB). If it's not free, I'll just have to search again for other sources. I know Dann Corbit has an archive but his site is frequently down.

Juan
juan dela cruz
 
Posts: 31
Joined: 29 Jun 2006, 18:47
Location: PHILIPPINES

Re: Crafty 19.0x versions, Need Help

Postby Jim Ablett » 01 Dec 2006, 15:05

Hello Juan,

I compiled some just for you :D

Intel Compiler 9.1 PGO builds. Will detect and use 2-cpus if
detected.


http://www.eggdisk.com/files/113228_gtzop/crafty19.3_win32_ja.zip

http://www.eggdisk.com/files/113229_fr9fu/crafty19.4_win32_ja.zip


Regards,
Jim.
___________________________
http://jimablett.net63.net/
Jim Ablett
 
Posts: 721
Joined: 27 Sep 2004, 10:39
Location: Essex, England

Re: Crafty 19.0x versions, Need Help

Postby juan dela cruz » 01 Dec 2006, 19:19

Jim Ablett wrote:Hello Juan,

I compiled some just for you :D

Intel Compiler 9.1 PGO builds. Will detect and use 2-cpus if
detected.


http://www.eggdisk.com/files/113228_gtzop/crafty19.3_win32_ja.zip

http://www.eggdisk.com/files/113229_fr9fu/crafty19.4_win32_ja.zip


Regards,
Jim.

--------------------------------------------------------------------------------

Jim,

Many thanks amigo, It's just my lucky day. I was already thinking of sending you a pm on how to compile the sources. You just read my mind. Big brother, I owe you one.

Juan
juan dela cruz
 
Posts: 31
Joined: 29 Jun 2006, 18:47
Location: PHILIPPINES

Re: Crafty 19.0x versions, Need Help

Postby Jim Ablett » 01 Dec 2006, 20:14

Glad to help.

Crafty 19.03 and 19.04 are strong engines comparable with Gandalf 6.0 assuming you set it with the right personality (as reported on other forums)


What are the personality settings you mentioned?

Jim.
___________________________
http://jimablett.net63.net/
Jim Ablett
 
Posts: 721
Joined: 27 Sep 2004, 10:39
Location: Essex, England

Re: Crafty 19.0x versions, Need Help

Postby juan dela cruz » 01 Dec 2006, 21:28

I hope I'm not asking much, but as far as my studies are concern I still haven't stopped trying to compile the Bob Hyatt sources. Could you give me just a tip how to compile it in Windows, like commandline options and linking too- with or without PGO.

The MSVS 2005 Std. Edition I got doesn't have the PGO components and I don't have an idea if the Intel Compiler 9.1 trial version I have has this function too. But just a small tip will do, to guide me in the right direction. I was informed that Crafty code of Bob Hyatt needs some editing of line scripts, and still trying my best.

I'm not in a hurry though....but as you said to me before...I'm already hooked to this hobby of yours....not to mention the familiar loudpeaker in my ear while tinkering this crafty code on my pc.....my nagging wife. I hope other guys here aren't the same as mine. I'm just telling a story Jim...but it's true.

Thanks for hearing my story.

Just for you, I'll ask permission from Daniel Charles or Gajendra Singh to add as guest engines your Crafty 19x compiles on the SuperLeague tournaments (superchessengines.com). I'll just have to tweak the right personality for these engines first.

Juan
juan dela cruz
 
Posts: 31
Joined: 29 Jun 2006, 18:47
Location: PHILIPPINES

Re: Crafty 19.0x versions, Need Help

Postby Jim Ablett » 01 Dec 2006, 22:38

Hi Juan,

Older versions of Crafty use slightly different compile switches.

Here are the command lines I use + the few modifications to files you have to make for version 20.14 to get it to compile with Intel compiler. This should also work with MSVC++, just replace 'icl' with 'cl' and remove specific Intel '/Q' commands.

Drop all your Crafty files into >
Program Files\Intel\Compiler\C++\9.1\IA32\Bin

then open a command prompt in bin directory .


First a few lines you have to add/change >

---------------------------------------------------

add '#define inline __inline' to 'chess.h'

add 'typedef unsigned long DWORD_PTR;' to 'utility.c'

comment out 'dgt.c' from 'crafty.c'

----------------------------------------------------
Type in command prompt window >


For single cpu/smp version

Code: Select all
icl -o crafty.exe crafty.c egtb.cpp /DNT_i386 /DWIN32 /DCPUS=2 /DSMP /G7 /Ox /Qipo /QxK /MT /Qparallel



For single cpu only

Code: Select all
icl -o crafty.exe crafty.c egtb.cpp /DNT_i386 /DWIN32 /G7 /Ox /Qipo /QxK /MT /Qparallel


----------------------------------------------------

To compile PGO's add '/Qprof_gen' to command line, compile it, run it from the 'bin' directory - run the Crafty 'bench' command and also play a few games. This will generate the necessary 'profile'.

Now compile again but replace '/Qprof_gen' with '/Qprof_use'.
This will produce a 'profile guided optimized' binary.


Hope this gets you started.

Jim.
___________________________
http://jimablett.net63.net/
Jim Ablett
 
Posts: 721
Joined: 27 Sep 2004, 10:39
Location: Essex, England

Re: Crafty 19.0x versions, Need Help

Postby juan dela cruz » 02 Dec 2006, 05:11

Jim Ablett wrote:Glad to help.

Crafty 19.03 and 19.04 are strong engines comparable with Gandalf 6.0 assuming you set it with the right personality (as reported on other forums)


What are the personality settings you mentioned?

Jim.

-----------------------------------------------------------------------------

These 32-bits on single cpu:
Crafty 19.03 Petrosian 2667
Crafty 19.03 Stein 2672
Crafty 19.04 Fischer 2686
Crafty 19.04 Stein 2676
On the basis that Prodeo 1.1 is 2736, the mentioned versions are much stronger than the 19.1x series based on my history files.

I have no exact info on the personality settings of these files but it may be similar to the approach of Mike Burne on the Crafty Classic 2004 version (with personality) or even Rebel. I just read an option to use a certain crafty.cpf (crafty personality file) in any case a user wants to edit parameters. This could be the key file needed. I'll search for a sample and try some luck with the infos I got.

Anyway, thanks again for the compiling tips. This is my second tutorial from you. It would be a good start.

Juan
juan dela cruz
 
Posts: 31
Joined: 29 Jun 2006, 18:47
Location: PHILIPPINES

Re: Crafty 19.0x versions, Need Help

Postby juan dela cruz » 03 Dec 2006, 20:06

Jim,

Just to share some information to you and other Crafty fans out there who may benefit from this topic, a friend sent me this idea concerning the "crafty.cpf". And I quote:

.... download crafty 19.17 SE PB from Leo's Crafty page if you don't already have it . Start it in console mode and type personality save crafty . Hit enter . A crafty.cpf file will be generated . Close and restart crafty in console mode . Now it will load the cpf file . The file generated is of course for default options . Edit it to load your desired parameters . ( it works with 19.17 SE PB . Many later versions generate the cpf file but crash on loading it .But everything is fine with 19.17 SE PB. I have not tried earlier versions . ) Piece values don't appear in console but they are there in the cpf file and can be edited ( defaults are 100 for pawn, 300 for knight , 300 for bishop , 500 for rook and 900 for queen )...... Now I could play test using parameters from Mike Byrne's Crafty Classic 2004 personalities....

I hope some people will benefit from this Crafty topic. Crafty is one of the best free WB engines and has gone along way eversince Cray Blitz.

BTW, I haven't resumed yet compiling again the codes, but testing your compiles, they sure are comparable with Bryan Hoffman's engines.

Juan
juan dela cruz
 
Posts: 31
Joined: 29 Jun 2006, 18:47
Location: PHILIPPINES


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 19 guests