ExaChess interface UCI to program

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

smcracraft
Posts: 737
Joined: Wed Mar 08, 2006 8:08 pm
Location: Orange County California
Full name: Stuart Cracraft

ExaChess interface UCI to program

Post by smcracraft »

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.
User avatar
maksimKorzh
Posts: 771
Joined: Sat Sep 08, 2018 5:37 pm
Location: Ukraine
Full name: Maksim Korzh

Re: ExaChess interface UCI to program

Post by maksimKorzh »

smcracraft
Posts: 737
Joined: Wed Mar 08, 2006 8:08 pm
Location: Orange County California
Full name: Stuart Cracraft

Re: ExaChess interface UCI to program

Post by smcracraft »

Yes, it would seem so.

Thank-you.
Ras
Posts: 2487
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: ExaChess interface UCI to program

Post by Ras »

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: 737
Joined: Wed Mar 08, 2006 8:08 pm
Location: Orange County California
Full name: Stuart Cracraft

Re: ExaChess interface UCI to program

Post by smcracraft »

Thanks.
User avatar
Roland Chastain
Posts: 640
Joined: Sat Jun 08, 2013 10:07 am
Location: France
Full name: Roland Chastain

Re: ExaChess interface UCI to program

Post by Roland Chastain »

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!
Qui trop embrasse mal étreint.