Crafty 25.6

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
MikeB
Posts: 4045
Joined: Thu Mar 09, 2006 5:34 am
Location: Pen Argyl, Pennsylvania

Crafty 25.6

Post by MikeB » Sat Feb 01, 2020 3:21 pm

Bob has made a recent minor update to fix resignations and draw offers

Linux and macOS exes are available under the /src folder

https://github.com/MichaelB7/Crafty

Would be happy to include Windows exes if someone can provide them
Image

Spliffjiffer
Posts: 244
Joined: Thu Aug 02, 2012 5:48 pm
Location: Germany

Re: Crafty 25.6

Post by Spliffjiffer » Sat Feb 01, 2020 4:02 pm

Hello MikeB :-)

this is offtopic sry but you said that you wanted to release a new Honey++ after SF11 came out (if i remember correctly)...is this still your goal and by beeing offtopic already: is it possible for you to share the "Crystal-Fortress-Detection-code" by Joseph Ellis somehow or link me to somewhere i can find it, id like to play with implementing this in some compiles i plan here and there ?

greetings, Peer
Wahrheiten sind Illusionen von denen wir aber vergessen haben dass sie welche sind.

mar
Posts: 2122
Joined: Fri Nov 26, 2010 1:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Crafty 25.6

Post by mar » Sat Feb 01, 2020 4:49 pm

Is this a typo? Is it official 25.4? Are there any functional changes from previous version?
Martin Sedlak

bob
Posts: 20912
Joined: Mon Feb 27, 2006 6:30 pm
Location: Birmingham, AL

Re: Crafty 25.6

Post by bob » Sat Feb 01, 2020 5:01 pm

There was a 25.4 with SMP fixes. The last two had some various bugs fixed dealing with draw offers and such. 25.6 is now the latest official release...

User avatar
CMCanavessi
Posts: 886
Joined: Thu Dec 28, 2017 3:06 pm
Location: Argentina

Re: Crafty 25.6

Post by CMCanavessi » Sat Feb 01, 2020 5:20 pm

bob wrote:
Sat Feb 01, 2020 5:01 pm
There was a 25.4 with SMP fixes. The last two had some various bugs fixed dealing with draw offers and such. 25.6 is now the latest official release...
Is there a windows binary?
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls

User avatar
MikeB
Posts: 4045
Joined: Thu Mar 09, 2006 5:34 am
Location: Pen Argyl, Pennsylvania

Re: Crafty 25.6

Post by MikeB » Sat Feb 01, 2020 8:41 pm

Spliffjiffer wrote:
Sat Feb 01, 2020 4:02 pm
Hello MikeB :-)

this is offtopic sry but you said that you wanted to release a new Honey++ after SF11 came out (if i remember correctly)...is this still your goal and by beeing offtopic already: is it possible for you to share the "Crystal-Fortress-Detection-code" by Joseph Ellis somehow or link me to somewhere i can find it, id like to play with implementing this in some compiles i plan here and there ?

greetings, Peer
Hardware issues with the new machines - it was already to go - and now since SF dev team has done so many patches since SF 11 - not sure. Will have to see the impact on Honey - may or not be significant. Anyway - looking forward to getting the machine back. Planning on making it a dual boot with Windows so I can build macOS , Linux and windows exes and not be a burden to others. Scally will continue to do the Pi exe’s since he a pretty nice setup and it’s not a burden for him.
Image

supersharp77
Posts: 882
Joined: Sat Jul 05, 2014 5:54 am
Location: Southwest USA

Re: Crafty 25.6 Binaries Needed...HELP!!

Post by supersharp77 » Thu Feb 06, 2020 5:02 am

MikeB wrote:
Sat Feb 01, 2020 3:21 pm
Bob has made a recent minor update to fix resignations and draw offers

Linux and macOS exes are available under the /src folder

https://github.com/MichaelB7/Crafty

Would be happy to include Windows exes if someone can provide them
Exactly...Reallly need those Binaries for both 25.4 and for 25.6.....Help!!!! :) :wink:

Canoike
Posts: 119
Joined: Tue Jan 17, 2012 7:08 pm

Re: Crafty 25.6

Post by Canoike » Mon Feb 10, 2020 10:27 pm

What are these 2 epd files for in the opening directory ?
Crafty opening books are generated from a pgn file.

bob
Posts: 20912
Joined: Mon Feb 27, 2006 6:30 pm
Location: Birmingham, AL

Re: Crafty 25.6

Post by bob » Mon Feb 10, 2020 11:11 pm

For the record, 25.5 had a couple of important SMP fixes. I won't go into them here, anyone can download the source and look at main.c. It was a performance improvement, not a crash fixer. All were "Elo enhancing" fixes but not major.

25.6 I caught offering a draw in a won SYZYGY ending. Problem was, in Iterate() I can find a book move, an EGTB move, or a search result. Since the move wasn't a book move, and wasn't a search move, it was obviously an EGTB move. But Crafty used to use Nalimov tables and terminated the search after just a few plies rather than with special code. This "hole" would cause main() to conclude that since it wasn't a book move, it must be a search move. But the score was 0 since all I use in this case is won or lost (yes it uses the W/D/L tables during the search, but once in an EGTB position it doesn't return all the PV info. So you could see a draw offer every 5 moves in a won (or drawn or lost) EGTB position. Just did not cover this case when I did the SYZYGY conversion, but it is now correct.

User avatar
MikeB
Posts: 4045
Joined: Thu Mar 09, 2006 5:34 am
Location: Pen Argyl, Pennsylvania

Re: Crafty 25.6 Binaries Needed...HELP!!

Post by MikeB » Tue Feb 11, 2020 2:54 am

supersharp77 wrote:
Thu Feb 06, 2020 5:02 am
MikeB wrote:
Sat Feb 01, 2020 3:21 pm
Bob has made a recent minor update to fix resignations and draw offers

Linux and macOS exes are available under the /src folder

https://github.com/MichaelB7/Crafty

Would be happy to include Windows exes if someone can provide them
Exactly...Reallly need those Binaries for both 25.4 and for 25.6.....Help!!!! :) :wink:
I'm getting stuck right here under Mingw for Windows

Code: Select all

In file included from crafty.c:28:
tbprobe.c: In function 'prt_str':
tbprobe.c:597:5: error: declaration of non-variable '__popcnt64' in 'for' loop initial declaration
  597 |     for (int i = popcount(pieces_by_type(pos, (Color) color, (PieceType) pt));
      |     ^~~
tbprobe.c:603:5: error: declaration of non-variable '__popcnt64' in 'for' loop initial declaration
  603 |     for (int i = popcount(pieces_by_type(pos, (Color) color, (PieceType) pt));
      |     ^~~
In file included from crafty.c:13:
At top level:
iterate.c:50:14: warning: 'adjusted' defined but not used [-Wunused-variable]
   50 |   static int adjusted = 0;
      |              ^~~~~~~~
make[2]: *** [Makefile:249: crafty.o] Error 1
make[2]: Leaving directory 'C:/Users/MichaelB7/home/Github/Crafty/src'
make[1]: *** [Makefile:234: crafty-make] Error 2
make[1]: Leaving directory 'C:/Users/MichaelB7/home/Github/Crafty/src'
make: *** [Makefile:81: quick] Error 2
Image

Post Reply