Search found 337 matches

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: 14
Views: 927

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: 30
Views: 1111

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: 30
Views: 1111

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: 30
Views: 1111

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: 30
Views: 1111

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: 30
Views: 1111

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: 30
Views: 1111

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: 530

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 ;)
by phhnguyen
Sat Jul 06, 2019 7:21 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xboard, CECP, how to handle long inits
Replies: 20
Views: 530

Re: Xboard, CECP, how to handle long inits

Both gui and engine are required to follow the protocol. If the engine violates the protocol, send a message to the user thru popup, saying that the engine violates a protocol. So that the user will be aware of why the engine is not allowed to run on your gui. If you have gui log, log it too. ... I...
by phhnguyen
Sat Jul 06, 2019 7:01 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xboard, CECP, how to handle long inits
Replies: 20
Views: 530

Re: Xboard, CECP, how to handle long inits

I have tried in cutechess (uci) to start the loading the openings book and the gaviota tablebases when receiving the command isready and after making it answer with readyok. In this case I have no problems and I can play 8 concurrent games, not sure if I would have problems with bitbases and uci on...