Crafty UCI?

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

Moderators: hgm, Rebel, chrisw

JohnW
Posts: 381
Joined: Thu Nov 22, 2012 12:20 am
Location: New Hampshire

Re: Crafty UCI?

Post by JohnW »

Graham Banks wrote:
bob wrote:
JohnW wrote:Anyone know where I can get the latest Crafty.exe to create a UCI?
There has never been a UCI crafty. I think wbtouci (or something like that) will let it work as a UCI engine, just like polyglot lets a UCI engine work as a winboard-compatible engine.
Chessbase used to provide some versions of Crafty configured as native engines to run in their GUI.
Haven't seen one for a while though.
I think I must of collected them from past chessbase purchases like Shredder 8, Fritz 6 etc. I currently have Crafty uci versions 17.14,19.01,20.14 and 23.01
JohnW
Posts: 381
Joined: Thu Nov 22, 2012 12:20 am
Location: New Hampshire

Re: Crafty UCI? Here it is !!!

Post by JohnW »

Sylwy wrote:
JohnW wrote:I want to be able to make a UCI engine from Crafty via the Fritz 13 GUI.
Hello man !

You need four files:

1.-the original .exe (a WB engine);
2.-the Wb2Uci.exe (you have the link);
3.-the Wb2Uci.bmp- the logo
4.- a good Wb2Uci.eng file. Here it is (how to do):

-create a .txt document;
-copy/paste the below datas:
----------------------------------------------------------------------------------
[ENGINE]
Name=Crafty 23.7
Author=Robert Hyatt, USA
Filename=Wb2Uci.exe

[OPTIONS]
Program=crafty-23.7-x86.exe (or x64- for the 64 bit engine)
Hash=128
HashCommand=hash %iM
InitString=resign 700 3
InitTime=5
MateScore=32767
OwnBook=true
TerminateHard=true
Visible=Ponder,Hash,OwnBook,Extras,Logfile,Computer
WhiteScore=true
log=off

[EXTRAS]
Tournament mode=mode|check|false|normal|tournament
Crafty log=log|check|false|off|on
Learning=learn|spin|7|0|7
NalimovPath=tbpath|string|d:\TBS
NalimovCache=cache %iM|spin|16|1|32
Swindle mode=swindle|check|false|off|on

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

-save the text;
-rename the file like Wb2Uci.eng

At the end - enter on Fritz GUI - Engine(menu)/Create UCI engine/select Wb2Uci.exe like UCI engine.

That's all !

Have a nice day !

SilvianR :wink:

NR: Crafty x64 is by error renamed on Mr.Skinner site Crafty 27.3 !!!!!
Awesome, thank you! I will give that a try
Charles Browne
Posts: 68
Joined: Sat Jul 07, 2012 3:36 pm

Re: Crafty UCI?

Post by Charles Browne »

brianr wrote: The download link is dead but there is this

http://www.general-files.org/download/g ... i.exe.html

For informational purposes, there are a few working download links on the archive site.

http://web.archive.org/web/200606212352 ... .3_B21.zip

The few links I tried on the below archive.org page also download:

http://tinyurl.com/me7b2cw
User avatar
Mithu
Posts: 213
Joined: Thu Jul 15, 2010 5:59 am

Re: Crafty UCI? Here it is !!!

Post by Mithu »

Sylwy wrote:
JohnW wrote:I want to be able to make a UCI engine from Crafty via the Fritz 13 GUI.
Hello man !

You need four files:

1.-the original .exe (a WB engine);
2.-the Wb2Uci.exe (you have the link);
3.-the Wb2Uci.bmp- the logo
4.- a good Wb2Uci.eng file. Here it is (how to do):

-create a .txt document;
-copy/paste the below datas:
----------------------------------------------------------------------------------
[ENGINE]
Name=Crafty 23.7
Author=Robert Hyatt, USA
Filename=Wb2Uci.exe

[OPTIONS]
Program=crafty-23.7-x86.exe (or x64- for the 64 bit engine)
Hash=128
HashCommand=hash %iM
InitString=resign 700 3
InitTime=5
MateScore=32767
OwnBook=true
TerminateHard=true
Visible=Ponder,Hash,OwnBook,Extras,Logfile,Computer
WhiteScore=true
log=off

[EXTRAS]
Tournament mode=mode|check|false|normal|tournament
Crafty log=log|check|false|off|on
Learning=learn|spin|7|0|7
NalimovPath=tbpath|string|d:\TBS
NalimovCache=cache %iM|spin|16|1|32
Swindle mode=swindle|check|false|off|on

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

-save the text;
-rename the file like Wb2Uci.eng

At the end - enter on Fritz GUI - Engine(menu)/Create UCI engine/select Wb2Uci.exe like UCI engine.

That's all !

Have a nice day !

SilvianR :wink:

NR: Crafty x64 is by error renamed on Mr.Skinner site Crafty 27.3 !!!!!
Just how/where do you get all this info from? :lol:
User avatar
Sylwy
Posts: 4466
Joined: Fri Apr 21, 2006 4:19 pm
Location: IASI - the historical capital of MOLDOVA
Full name: SilvianR

Re: Crafty UCI? Here it is !!!

Post by Sylwy »

Mithu wrote:
Just how/where do you get all this info from? :lol:
Hey man !

Simple ! By years & passion face to computer chess. Simple ?

Best to you !

SilvianR :wink:
User avatar
Sylwy
Posts: 4466
Joined: Fri Apr 21, 2006 4:19 pm
Location: IASI - the historical capital of MOLDOVA
Full name: SilvianR

Re: An extra info

Post by Sylwy »

Hello !

For the 64 bit version you need the Wb2Uci.exe from 23 June 2007 (245.760 bytes). You can find it in this archive (of Mr. Jim Ablett):

http://kirr.homeunix.org/chess/engines/ ... W/ARCHIVE/

Just rename it from Shallow.... in "Wb2Uci.exe" !

Have a nice day !

SilvianR :wink:
phenri
Posts: 284
Joined: Tue Aug 13, 2013 9:44 am

Re: An extra info

Post by phenri »

Sylwy wrote:Hello !

For the 64 bit version you need the Wb2Uci.exe from 23 June 2007 (245.760 bytes). You can find it in this archive (of Mr. Jim Ablett):

http://kirr.homeunix.org/chess/engines/ ... W/ARCHIVE/

Just rename it from Shallow.... in "Wb2Uci.exe" !

Have a nice day !

SilvianR :wink:
Good to know. Thank you
User avatar
Sylwy
Posts: 4466
Joined: Fri Apr 21, 2006 4:19 pm
Location: IASI - the historical capital of MOLDOVA
Full name: SilvianR

Re: An extra info

Post by Sylwy »

phenri wrote:
Sylwy wrote:Hello !

For the 64 bit version you need the Wb2Uci.exe from 23 June 2007 (245.760 bytes). You can find it in this archive (of Mr. Jim Ablett):

http://kirr.homeunix.org/chess/engines/ ... W/ARCHIVE/

Just rename it from Shallow.... in "Wb2Uci.exe" !

Have a nice day !

SilvianR :wink:
Good to know. Thank you
Because I like the complete information:

don't forget to put into the folder the associated files with the original WB .exe:

-the configuration file (.rc);
-the book.

SilvianR :wink:
User avatar
Mithu
Posts: 213
Joined: Thu Jul 15, 2010 5:59 am

Re: An extra info

Post by Mithu »

Thank you Maestro Ruxy!
I have a doubt for you (or anyone who can help). I am unable to see a way to get this option working Evaluation asymmetry which is documented here http://www.cis.uab.edu/hyatt/craftydoc.html -

evaluation asymmetry 25 will increase the king safety scores for the opponent only, meaning it will pay less attention to its own king safety than to that of its opponent. This will make it play more aggressively.
Any idea how I can get it to be tuned as a tweak-able parameter?
TIA... :roll:
jarkkop
Posts: 198
Joined: Thu Mar 09, 2006 2:44 am
Location: Helsinki, Finland

Re: An extra info

Post by jarkkop »

You can use Crafty's personalities feature and create your own crafty.cpf text file which crafty loads when it starts. You can can almost any parameters in evaluation code.

use

pers save

to get default file to edit

and

pers list

to what you can change and the current values.