"set interface" string modification request.

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

"set interface" string modification request.

Postby matematiko » 27 Feb 2010, 15:16

Mr. Muller,

Upon connection to an ICS server, WinBoard sends the string:
set interface WinBoard
or if using and engine (Crafty for example):
set interface WinBoard + Crafty21.exe

The problem is that polyglot is not an engine but yet WinBoard sends the string:
set interface WinBoard + polyglot.exe

Will be possible for WinBoard to detect that is using polyglot, extract the name of the engine from polyglot's ini file and send the string accordingly? Like for example:
set interface WinBoard + polyglot.exe + Rybka3x64.exe
or just:
WinBoard + Rybka3x64.exe

It will be nice if the ".exe" is stripped from the engine name as well from polyglot, resulting in:
set interface WinBoard + polyglot + Rybka3x64
or
set interface WinBoard + Rybka3x64

Best regards,

matematiko

EDIT: Ok I found a post I made in Feb. 2010 requesting exactly what WinBoard does now. My own request is now biting my butt. Never mind then, I will work around it.
Last edited by matematiko on 03 Aug 2012, 02:29, edited 1 time in total.
One that does not live to serve, does not deserve to live.
matematiko
 
Posts: 219
Joined: 07 Dec 2008, 17:11
Location: Texas

Re: "set interface" string modification request.

Postby H.G.Muller » 27 Feb 2010, 16:26

Well, it would not do that if you started UCI engines with the -fUCI option.

There is something that could be improved, though: the programVersion string is created before the engine is started, in order to be able to use it as a header to the debug file. Most engines (especially engines running under Polyglot) do send their name to WinBoard in the myname feature, and this is the name you will see in the title bar, the PGN etc. But to the ICS, even though the connection to that is made only after the engine is started, it still sends the initially made programVersion.

I will make it such that after processing the features, WB will redo the programVersion string, so that the name reported by the engine itself will be sent to the ICS as part of interface string, rather than the tidied-up value of the -fcp option.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: "set interface" string modification request.

Postby matematiko » 27 Feb 2010, 16:57

Thank you very much.

Silly as it sounds, I guess I need to read what the -fUCI option does, cause I have never used it before. A quick assumption is that this option will allow me to use an UCI engine in WinBoard without polyglot, if this is the case, can I still use a polyglot book?

Cheers,

matematiko
One that does not live to serve, does not deserve to live.
matematiko
 
Posts: 219
Joined: 07 Dec 2008, 17:11
Location: Texas

Re: "set interface" string modification request.

Postby H.G.Muller » 27 Feb 2010, 17:50

You would still use Polyglot, but WinBoard would invoke it automatically. In WinBoard 4.4.2 Polyglot would also be instructed to use the Polyglot book specified in WinBoard. But this is not very useful, as WinBoard would already be using that same book as GUI book, so Polyglot + the UCI engine would never be requested to provide a move as long as you stay in book.

In the development version the book setting is therefore not automatically relayed to Polyglot (unless you configure it to be relayed through changing the adapterCommand), and you could set an independent book through the Engine#1 Settings dialog.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 23 guests