Latest UCI spec?

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
MartinBryant
Posts: 69
Joined: Thu Nov 21, 2013 12:37 am
Location: Manchester, UK
Full name: Martin Bryant

Latest UCI spec?

Post by MartinBryant »

I have a copy of the UCI spec dated April 2006 from the ShredderChess website.
Has it been updated/maintained since then? If so, does anyone have a link?

The reason I ask is that we seem to have certain additions like 'SyzygyPath' nowadays but have these been officially adopted or are they just de-facto standards by now?
User avatar
phhnguyen
Posts: 1434
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Latest UCI spec?

Post by phhnguyen »

I guess that is the latest version due to that site is from the authors and UCI has only one update about 2004.

'SyzygyPath' is just an option and there is no standard for that name and engines' developers are free to use any string they want. In fact, most engines use 'SyzygyPath' since it is simple, clear but some others use other strings such as 'SyzygyTbPath'. For other options, it is worse, for example, people may use 'SyzygyProbeDepth', 'Syzygy Probe Depth', 'Syzygy Depth'...

I have worked with those issues for BanksiaGUI. I don't want my users to have to set Syzygy paths manually for all their engines, say, over 100 ones. Thus I need to detect the option for automatically setting the Syzygy path. I have used the simple trick: match the option name with two words, "syzygy" and "path". If anyone uses something different than that, bad luck for him ;)
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
User avatar
MartinBryant
Posts: 69
Joined: Thu Nov 21, 2013 12:37 am
Location: Manchester, UK
Full name: Martin Bryant

Re: Latest UCI spec?

Post by MartinBryant »

Thanks for the reply Nguyen. Ironically it was my first attempt at using Banksia this morning that prompted my question! :D

Back in 2006-8 I wrote my own GUI because Arena was missing some functionality that I wanted and I remember the issues I had then coping with the numerous interpretations of the rather loose UCI spec, so I feel your pain! :wink:

It seems bizarre that nobody has updated it in 15 years?!?! :?
There have been numerous postings in this forum over the years discussing interpretation of the spec and surely it would make sense that the conclusions/best-practice/advice from those discussions were captured in the spec? It would certainly make the job easier for GUI writers!
I'm sure it would be a thankless job but perhaps a small team of dedicated volunteers could bring it up to date and iron out some of the creases?
Ras
Posts: 2487
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: Latest UCI spec?

Post by Ras »

MartinBryant wrote: Sun Aug 08, 2021 10:34 pmIt seems bizarre that nobody has updated it in 15 years?!?! :?
That's also an upside of UCI - it's stable and doesn't get "improved", becoming ever more convoluted until you have basically no support in the wild for most of the features so that from a user POV, every engine becomes a snowflake - and that's not what users want.
Rasmus Althoff
https://www.ct800.net
User avatar
CMCanavessi
Posts: 1142
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: Latest UCI spec?

Post by CMCanavessi »

Ras wrote: Mon Aug 09, 2021 12:26 am
MartinBryant wrote: Sun Aug 08, 2021 10:34 pmIt seems bizarre that nobody has updated it in 15 years?!?! :?
That's also an upside of UCI - it's stable and doesn't get "improved", becoming ever more convoluted until you have basically no support in the wild for most of the features so that from a user POV, every engine becomes a snowflake - and that's not what users want.
It also has some issues that could be vastly improved though... maybe it's time for chess programmers to get together and come up with a new up to date standard. Things have changed A LOT recently.
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls
AndrewGrant
Posts: 1754
Joined: Tue Apr 19, 2016 6:08 am
Location: U.S.A
Full name: Andrew Grant

Re: Latest UCI spec?

Post by AndrewGrant »

CMCanavessi wrote: Mon Aug 09, 2021 12:52 am
Ras wrote: Mon Aug 09, 2021 12:26 am
MartinBryant wrote: Sun Aug 08, 2021 10:34 pmIt seems bizarre that nobody has updated it in 15 years?!?! :?
That's also an upside of UCI - it's stable and doesn't get "improved", becoming ever more convoluted until you have basically no support in the wild for most of the features so that from a user POV, every engine becomes a snowflake - and that's not what users want.
It also has some issues that could be vastly improved though... maybe it's time for chess programmers to get together and come up with a new up to date standard. Things have changed A LOT recently.
One update per 15 years is a nice compromise.

I'll never touch xboard due to its ever-changing nature.
#WeAreAllDraude #JusticeForDraude #RememberDraude #LeptirBigUltra
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Latest UCI spec?

Post by Ferdy »

MartinBryant wrote: Sun Aug 08, 2021 10:34 pm Thanks for the reply Nguyen. Ironically it was my first attempt at using Banksia this morning that prompted my question! :D

Back in 2006-8 I wrote my own GUI because Arena was missing some functionality that I wanted and I remember the issues I had then coping with the numerous interpretations of the rather loose UCI spec, so I feel your pain! :wink:

It seems bizarre that nobody has updated it in 15 years?!?! :?
There have been numerous postings in this forum over the years discussing interpretation of the spec and surely it would make sense that the conclusions/best-practice/advice from those discussions were captured in the spec? It would certainly make the job easier for GUI writers!
I'm sure it would be a thankless job but perhaps a small team of dedicated volunteers could bring it up to date and iron out some of the creases?
I have a github repo on uci, you may raise an issue or open a topic for discussion.