Crafty 25.3 Release

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

Moderator: Ras

rosemartine
Posts: 3
Joined: Thu Aug 29, 2019 6:19 am
Full name: Rose Martine

Re: Crafty 25.3 Release

Post by rosemartine »

Happy to hear this news. Great work. Well done guys.
Best wishes regards.
camava
Posts: 42
Joined: Tue Apr 09, 2019 8:10 pm
Full name: mario varela

Re: Crafty 25.3 Release

Post by camava »

Hello.has anyone any crafty version for android than really works ?.I have tested almost 10 versions and it never works.I have android 6 in tablet and android 9 in smartphone.
Thank you very much👍
User avatar
abik
Posts: 823
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: Crafty 25.3 Release

Post by abik »

camava wrote: Fri Sep 13, 2019 4:53 am Hello.has anyone any crafty version for android than really works ?.I have tested almost 10 versions and it never works.I have android 6 in tablet and android 9 in smartphone.
Thank you very much👍
Can you give an example of a Crafty version you tried? What GUI did you use for Android? Crafty played successfully in all the Android Chess Engine Tournaments that I ran a while back.
camava
Posts: 42
Joined: Tue Apr 09, 2019 8:10 pm
Full name: mario varela

Re: Crafty 25.3 Release

Post by camava »

abik wrote: Sat Sep 14, 2019 2:14 am
camava wrote: Fri Sep 13, 2019 4:53 am Hello.has anyone any crafty version for android than really works ?.I have tested almost 10 versions and it never works.I have android 6 in tablet and android 9 in smartphone.
Thank you very much👍
Can you give an example of a Crafty version you tried? What GUI did you use for Android? Crafty played successfully in all the Android Chess Engine Tournaments that I ran a while back.
Hi.
I tried Droidfish GUI and all versions than you can find here.
https://m.box.com/shared_item/https%3A% ... v42?page=6
and otheres versions than i can not remember from other pages.
I tried Crafty 25.3 too.
Thank you
Canoike
Posts: 125
Joined: Tue Jan 17, 2012 8:08 pm

Re: Crafty 25.3 Release

Post by Canoike »

Crafty 25.3 is not so new. I had compiled it for my linux system on september 18 2017. If you changed something, renumber it.
By the way, it would be a good idea to give a sample .craftyrc file.
Thanks for continuing this great software.

The old version I had compiled 2 years ago :

Code: Select all

./crafty25.3 
EPD Kit revision date: 1996.04.21
found computer opening book file [./bookc.bin].
hash table memory = 512M bytes (32M entries).
pawn hash table memory = 192M bytes (8M entries).
choose from book moves randomly (using weights.)
choose from 5 best moves.
  ..book random set to 1.
SYZYGY EGTB access enabled, 5 piece TBs found
EGTB probe depth set to 0
pondering enabled.
book learning enabled {-100,+100}


Crafty v25.3

machine has 4 processors

White(1): 
Steve Brown
Posts: 9
Joined: Fri Apr 25, 2025 9:40 pm
Location: USA
Full name: Steven Brown

Re: Crafty 25.3 Release

Post by Steve Brown »

MikeB wrote: Sat Aug 17, 2019 7:21 pm The official Crafty has been updated by Bob Hyatt to address two significant bugs:

Code: Select all

 *    25.3   Two bugs fixed that were significant.  First, the older syzygy    *
 *           probe code I was using had some sort of bug it seems.  I replaced *
 *           it with the most recent and that solved tb probe failures dealing *
 *           with an enpassant capture that was the only legal move.  Once     *
 *           that was fixed, I then found that I had not factored in the       *
 *           captured piece = pawn for EP captures (where I was calling the    *
 *           probe code).  This caused a new bug once the tbprobe.c code was   *
 *           updated.  That is now fixed also, leaving everything working as   *
 *           it should, so far as I know through a lot of testing.             *
Also with the changes, Crafty now supports 7 man syzygy and will even tell you if you have an incomplete tablebase as it told me.

Code: Select all

Mac-Pro:cluster.mfb michaelbyrne$ crafty
unable to open book file [./book.bin].
book is disabled
hash table memory = 256M bytes (16M entries).
pawn hash table memory = 12M bytes (512K entries).
Incomplete tablebase file KRRBBvKN..rtbz
info string Incomplete tablebase file KRRBBvKN..rtbz
SYZYGY EGTB access enabled, 7 piece TBs found
max threads set to 12.
book file disabled.
do not offer draws
decline draw offers
noise level set to 0.00 seconds.
pondering enabled.
disabled resignations.
I am honored to host the official crafty source as a courtesy to Bob since he has retired, as most of you know, and is no longer able to host his source on the UAB University servers.

The "Play by Elo" Crafty version will continue as a separate branch which I will update in the near future - but I cannot today as I will be off to a wedding in few hours.

If those who are to compile crafty 25.3 for Windows , 64bit, 32 bit with bmi2, popcnt and plain - that would be greatly appreciated

You may drop off the executables below and I will gather them and make a release on Github from the compiled versions.

https://www.dropbox.com/request/OM3yOz4Qvb4XLUSQpcwh

Please note that Crafty should only be used with "real cores" and when you compile crafty, that's setting can be adjusted in the makefile "-DCPUS=x", where x represents the number of real cores on your computer.

SOURCE:
https://github.com/MichaelB7/Crafty
I recently downloaded crafty25.3.exe from your Github page, and found the elo feature does not work. I added "elo = 1500" to the crafty.rc file, but when I run crafty25.3.exe in a Windows command prompt window, I get the message

ERROR "elo = 1500" is unknown rc-file option

I tried many permutations of that command, including

elo = "1500"
elo 1500
elo "1500"

but they all produce the same result.

I have found Crafty to be a very strong non-neural net chess engine. It beats Stockfish 11, the last version that did not use a neural net, every time at 15 seconds per move. I believe that a chess engine programmed with human chess knowlege is more likely to play human-like moves, and I would like to use Crafty with the elo feature enabled. I would appreciate any help you can provide.
AndrewGrant
Posts: 1952
Joined: Tue Apr 19, 2016 6:08 am
Location: U.S.A
Full name: Andrew Grant

Re: Crafty 25.3 Release

Post by AndrewGrant »

Steve Brown wrote: Mon Apr 28, 2025 2:09 am I have found Crafty to be a very strong non-neural net chess engine. It beats Stockfish 11, the last version that did not use a neural net, every time at 15 seconds per move. I believe that a chess engine programmed with human chess knowlege is more likely to play human-like moves, and I would like to use Crafty with the elo feature enabled. I would appreciate any help you can provide.
That claim simply cannot be true?
Steve Brown
Posts: 9
Joined: Fri Apr 25, 2025 9:40 pm
Location: USA
Full name: Steven Brown

Re: Crafty 25.3 Release

Post by Steve Brown »

AndrewGrant wrote: Mon Apr 28, 2025 3:24 am
Steve Brown wrote: Mon Apr 28, 2025 2:09 am I have found Crafty to be a very strong non-neural net chess engine. It beats Stockfish 11, the last version that did not use a neural net, every time at 15 seconds per move. I believe that a chess engine programmed with human chess knowlege is more likely to play human-like moves, and I would like to use Crafty with the elo feature enabled. I would appreciate any help you can provide.
That claim simply cannot be true?
Aside from your reply being of no help whatsoever, on what basis do you accuse me of lying? I set up several games between Crafty 25.3 and Stockfish 11 on the Arena chess GUI, and Crafty won all games impressively. Feel free to try that yourself. Note that the current version of Stockfish is 17, and version 11 was the current version several years ago, before Stockfish began using a neural network in its evaluation. Crafty is a direct descendent of Cray Blitz, which won several world computer championships.

I really would like help getting the elo feature of Crafty to work.
User avatar
Graham Banks
Posts: 43846
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Crafty 25.3 Release

Post by Graham Banks »

Stockfish 11 64-bit 3499
Crafty 25.3 64-bit 2929

Your results sound fake to me. Sorry.
gbanksnz at gmail.com
Steve Brown
Posts: 9
Joined: Fri Apr 25, 2025 9:40 pm
Location: USA
Full name: Steven Brown

Re: Crafty 25.3 Release

Post by Steve Brown »

Graham Banks wrote: Mon Apr 28, 2025 5:26 am Stockfish 11 64-bit 3499
Crafty 25.3 64-bit 2929

Your results sound fake to me. Sorry.
The results I got were the results I got playing the two engines against each other on my computer. I don't know why Crafty 25.3 beat Stockfish 11 despite being more than 500 elo points lower. Maybe the Arena GUI skewed the results in an unforeseen way.