How to clear engine menu

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

How to clear engine menu

Postby Roland Chastain » 10 Mar 2019, 21:02

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
Roland Chastain
 
Posts: 65
Joined: 24 Feb 2019, 12:45
Location: France

Re: How to clear engine menu

Postby H.G.Muller » 11 Mar 2019, 10:23

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.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: How to clear engine menu

Postby Roland Chastain » 11 Mar 2019, 19:41

Thank you for the very useful answer. All problems solved.
Roland Chastain
 
Posts: 65
Joined: 24 Feb 2019, 12:45
Location: France

Re: How to clear engine menu

Postby Roland Chastain » 11 Mar 2019, 22:05

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?
Roland Chastain
 
Posts: 65
Joined: 24 Feb 2019, 12:45
Location: France

Re: How to clear engine menu

Postby H.G.Muller » 12 Mar 2019, 07:37

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.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 35 guests