ExaChess interface UCI to program

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
smcracraft
Posts: 706
Joined: Wed Mar 08, 2006 7:08 pm
Location: Orange County California
Full name: Stuart Cracraft
Contact:

ExaChess interface UCI to program

Post by smcracraft » Sat Oct 20, 2018 5:42 pm

Hi,

I've decided to add support in my program (which is unamed) for UCI to, specifically, ExaChess Lite (v4.0.2)

(If there is a more recent version of ExaChess Lite or another free but better interface, let me know.

So the question is: where is the specific definition of the commands that UCI parses which I need to provide?

Thanks ahead.

maksimKorzh
Posts: 81
Joined: Sat Sep 08, 2018 3:37 pm
Location: Ukraine
Full name: Maksim Korzh
Contact:

Re: ExaChess interface UCI to program

Post by maksimKorzh » Sat Oct 20, 2018 5:53 pm


smcracraft
Posts: 706
Joined: Wed Mar 08, 2006 7:08 pm
Location: Orange County California
Full name: Stuart Cracraft
Contact:

Re: ExaChess interface UCI to program

Post by smcracraft » Sun Oct 21, 2018 2:39 am

Yes, it would seem so.

Thank-you.

Ras
Posts: 1393
Joined: Tue Aug 30, 2016 6:19 pm
Full name: Rasmus Althoff
Contact:

Re: ExaChess interface UCI to program

Post by Ras » Sun Oct 21, 2018 7:47 am

The UCI spec given above is outdated (from 2004), here is a more current one (from 2006):

http://download.shredderchess.com/div/uci.zip

There's one important gotcha where UCI is very different from CECP: "isready" has to be answered at any time, also during search. The 2006 version also specifies an arbitrary amount of space or tab between items.
Rasmus Althoff
https://www.ct800.net

smcracraft
Posts: 706
Joined: Wed Mar 08, 2006 7:08 pm
Location: Orange County California
Full name: Stuart Cracraft
Contact:

Re: ExaChess interface UCI to program

Post by smcracraft » Mon Oct 22, 2018 9:28 am

Thanks.

User avatar
Roland Chastain
Posts: 341
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: ExaChess interface UCI to program

Post by Roland Chastain » Wed Oct 24, 2018 5:23 pm

Hello! My two cents. Of course it's good to have the protocol specification under the elbow, but the most useful and reliable information comes from the GUI itself. You need a little program which reads the GUI commands and write them to the console or to a file. That way you will learn which commands the GUI actually uses.
Unfortunately I can't try ExaChess, since it looks to be for Mac, and I am under Windows.
Good luck!

Post Reply