Thanks for clarifying that the wb engines should handle the saving of the settings.hgm wrote:WinBoard does not keep settings of engines. The engine is responsible for remembering its own settings. This seems the best way to do it, as only the engine knows what the options actually mean, and thus can make a distinction between options that it wants to allow the user to change the default for, and options that it considers 'volatile', which should always start at the 'factory setting'.
Engines that want to allow changing their defaults (i.e. the values they start with next time you invoke it) should implement a SaveSettings button option; WB protocol defines a special type of button for this (called -save in stead of the normal -button) that causes the contents of the dialog to be flushed to the engine before sending it the button signal (in case there were still changes that were not OK'ed in the dialog). The engine could then update its own ini file according to this. An engine could even define several kind of -save buttons, e.g. one for saving only harmless preferences, such as the name of a log file, and one to save 'life-threatening' options like piece values.
For UCI engines of course Polyglot would be responsible for saving the option settings in the polyglot.ini file. (Or in a custom polyglot.ini file, the name of which can be chosen by the user through a -string option.)
Of course the settings cannot only be changed from the menu, but also from the command line, to allow tournment managers like PSWBTM to alter them in accordance to information stored in their engine database. The /firstOptions and /secondOptions are provided to pass the list of (non-default) option settings you want for the first and second engine.
Wrt uci engines ,it would be better if they would adopt to the newer wb protocol.
No one would need to use polyglot

Of couse polyglot shouldn't save any settings at all.
Users can edit and use different ini-files.
One can even use a tool like polyglotGUI
http://es.geocities.com/winboard_chess/
Best
Fonzy