Setting UCI-like engine options from the XBoard menu

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

Moderators: hgm, Andres Valverde

Setting UCI-like engine options from the XBoard menu

Postby H.G.Muller » 05 Jan 2009, 19:26

I have made an experimental version of XBoard that supports a feature option="..." command, and displays a menu dialog with controls, and send them back to the engine as option ... command when the user changes them. The exact format is as we discussed elsewhere. ( http://www.open-aurec.com/wbforum/viewt ... 75&start=9 )

For those who want to play with it, the sources are on my website as pradu.tar.gz

You can also find a version of Fairy-Max there to which I added lots dummy (= non-functional) option features, just to test if everything works. It is called dummymax.c , and must be compiled with the -DLINUX option.

Everything seems to work, but I don't see any useful application for it, unless the engine would save the option settings. In that case XBoard can be used as an interface for editing engine settings in dialog form. Otherwise, all settings ae gone as soon as you exit XBoard, and you would have to redo everything for the next game...

I would like to have some feedback if people find this useful, or that I'd better take it out again.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Setting UCI-like engine options from the XBoard menu

Postby Miguel A. Ballicora » 08 Jan 2009, 05:21

H.G.Muller wrote:I have made an experimental version of XBoard that supports a feature option="..." command, and displays a menu dialog with controls, and send them back to the engine as option ... command when the user changes them. The exact format is as we discussed elsewhere. ( http://www.open-aurec.com/wbforum/viewt ... 75&start=9 )

For those who want to play with it, the sources are on my website as pradu.tar.gz



Could you provide a direct link? I cannot find it.

Thanks,
Miguel


You can also find a version of Fairy-Max there to which I added lots dummy (= non-functional) option features, just to test if everything works. It is called dummymax.c , and must be compiled with the -DLINUX option.

Everything seems to work, but I don't see any useful application for it, unless the engine would save the option settings. In that case XBoard can be used as an interface for editing engine settings in dialog form. Otherwise, all settings ae gone as soon as you exit XBoard, and you would have to redo everything for the next game...

I would like to have some feedback if people find this useful, or that I'd better take it out again.
User avatar
Miguel A. Ballicora
 
Posts: 160
Joined: 03 Aug 2005, 02:24
Location: Chicago, IL, USA

Re: Setting UCI-like engine options from the XBoard menu

Postby H.G.Muller » 08 Jan 2009, 09:42

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 33 guests