Page 1 of 1
How to clear engine menu
Posted:
10 Mar 2019, 21:02
by Roland Chastain
Hello! How can I clear engine items in Engine menu? There are some engines that I removed from the list, and the name still appears in the submenu. I looked in configuration files but didn't find where that kind of data are stored.
By the way, in "Tournament" window, in the engines listbox, there is an empty string at the top. OK, I can live with that.
Regards.
Roland
Re: How to clear engine menu
Posted:
11 Mar 2019, 10:23
by H.G.Muller
You mean the 'recently used engines' in the Engine main menu? I did not make any special provision for deleting those; they will be pushed out by other engines if they do not get used anymore. (And deleting engines from the list was not really supposed to be a frequent operation.) If you want to clear the list, you can start WinBoard with the additional option -recentEngineList "" . (Normally this is a comma-separated list of the 'tidy names' or nicknames of the engines as they would appear in the Load Engine listbox.) The option -recentEngines can be used to control the maximum number of such menu items. (I think I configured it for 6, in the binary download.)
The empty line in the engine listbox actually serves a purpose: it shows the 'group name' of the displayed engines, and double-clicking it would 'close' the group and show you the surrounding group. It is only empty when you are at the outermost level of grouping. To group engines you would have to use the Edit Engine List menu, and surround engines you want to group with lines
# GROUPNAME
...
# end
Then initially only the GROUPNAME will appear in the list, and the group can be opened by ouble-clicking it.
Re: How to clear engine menu
Posted:
11 Mar 2019, 19:41
by Roland Chastain
Thank you for the very useful answer. All problems solved.
Re: How to clear engine menu
Posted:
11 Mar 2019, 22:05
by Roland Chastain
Another little question (too little for a new thread). When I run a tournament, several times it stops and waits at the beginning of a game, until I click on the "Two machines" menu item. Is it the expected behaviour?
Re: How to clear engine menu
Posted:
12 Mar 2019, 07:37
by H.G.Muller
No, this is not expected behavior. The tournament should run all the way to completion after you clicked 'Machine Match' to start it. There can be a pause between two games (controlled by the Match Pause item in the tournament dialog). I guess the Machine White/Black and Two Machines items should really be greyed out even between tourney games, like they are during a game; the only thing the user should be able to do is take WinBoard out of tourney mode (by clicking on Machine Match again). This would finish the current game (which can always be aborted by clicking New Game or quitting WinBoard). The tournament will continue to exist (as the tourney file), and can always be restarted.