Search found 369 matches

by phhnguyen
Wed Jul 10, 2019 11:38 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Need help to make Crafty work
Replies: 31
Views: 4055

Re: Need help to make Crafty work

The 'force' problem is endemic to CECP. In particular the initial specs did not specify whether an interrupted search should print a move or not. There will always be a race condition when sending 'force' to a thinking engine, as the think could end spontaneously, and the move it results in could t...
by phhnguyen
Wed Jul 10, 2019 7:36 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Need help to make Crafty work
Replies: 31
Views: 4055

Re: Need help to make Crafty work

something wrong here. (1) Crafty ALWAYS sends "feature reuse=0". Just checked the source. I am using 3 versions of Crafty. The 1st one 23.6 I have downloaded from somewhere as a Mac OS binary. Yes, it sent "feature reuse=1". I will discard it. I downloaded two others in form of source code and comp...
by phhnguyen
Wed Jul 10, 2019 1:33 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Banksia - Yet another Chess Tournament Manager
Replies: 32
Views: 6203

Banksia version 1.5

I have just released version 1.5 to support WinBoard protocol and Polyglot opening books. So far all main/big chess functions are completed. For coming versions I have been working on a special function to auto generate Json files which are mainly used to configure engines and control tournaments. H...
by phhnguyen
Tue Jul 09, 2019 2:49 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Need help to make Crafty work
Replies: 31
Views: 4055

Re: Need help to make Crafty work

I would grab the latest "official" crafty 25.2. Crafty 25 welcomes then "scares" me a bit by a warning when I enter command "new": unable to open book file [./book.bin]. book is disabled unable to open book file [./books.bin]. Crafty v25.3 machine has 8 processors White(1): new NOTICE: new command ...
by phhnguyen
Tue Jul 09, 2019 2:43 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Need help to make Crafty work
Replies: 31
Views: 4055

Re: Need help to make Crafty work

That refers to a command from before the setboard command. I think there is a race condition happening here. Crafty gets the "go" before it has processed "setboard", and then Crafty is still in the initial position, that's why it comes up with e4 as move. Later, when it has processed "setboard", it...
by phhnguyen
Tue Jul 09, 2019 1:10 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Need help to make Crafty work
Replies: 31
Views: 4055

Re: Need help to make Crafty work

I would grab the latest "official" crafty 25.2. If you don't have one, I can send you you one, does your CPU support bmi2 , if not I will send you a popcnt version/ If you prefer to compile your self, here's the last official source. 25.3 only added a rudimentary play by Elo option and is not offic...
by phhnguyen
Tue Jul 09, 2019 1:00 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Need help to make Crafty work
Replies: 31
Views: 4055

Re: Need help to make Crafty work

* Banksia sends a 'cores' command, but Crafty did not specify 'feature cores=1' Does it have to? From http://hgm.nubati.net/CECP.html : cores N Specifies the engine can use at most N search threads in is parallel search. Only sent when the engine requested it through feature smp=1. And from the log...
by phhnguyen
Tue Jul 09, 2019 12:43 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Need help to make Crafty work
Replies: 31
Views: 4055

Re: Need help to make Crafty work

I see several irregularities in the log: * The 'variant' command is usually only sent for variants != normal, as the 'new' command already switches the variant to 'normal'. Not all engines might therefore recognize 'normal' as argument of the 'variant' command. * Banksia sends a 'cores' command, bu...
by phhnguyen
Mon Jul 08, 2019 3:27 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Need help to make Crafty work
Replies: 31
Views: 4055

Need help to make Crafty work

I am working to support Winboard protocol for my chess tool (Banksia - a chess tournament manager) and testing with Crafty (version 23.6, compiled by XCode for MacOS). However, that engine runs so weirdly with my chess tool and losing many test games because of making illegal moves or timeout. I gue...
by phhnguyen
Sat Jul 06, 2019 8:57 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xboard, CECP, how to handle long inits
Replies: 20
Views: 2899

Re: Xboard, CECP, how to handle long inits

lol, deeply I agreed. I cannot say I am happy to work with Crafty. I have been tracing some issues between Crafty and my program. It is... a nightmare for GUI developers ;)