Page 1 of 9

about using winboard

Posted: Sun Feb 25, 2018 9:32 am
by Uri Blass
H.G.Muller said in another thread that winboard is the best GUI.

How do you measure it?

I practically use arena3.5 because I see a simple and easy way to install new developement version of stockfish.

Is there a simple way in winboard to install a new stockfish that is not slower than doing it in arena?

In arena I simply click on engines->install new engines and I can go to the directory that the engine is in it and choose it.

I do not see an option to do it in winboard4.8 that is the version that I see in the head of the page in the winboard forum so I suppose to be practically the version that they suggest to use.

http://www.open-aurec.com/wbforum/viewf ... 15c0a70917

Re: about using winboard

Posted: Sun Feb 25, 2018 9:37 am
by Kotlov
In Russian language this situation(with HGM) sounds like:
"Всяк кулик своё болото хвалит." (every wader praises own swamp)

Re: about using winboard

Posted: Sun Feb 25, 2018 9:56 am
by syzygy
Kotlov wrote:In Russian language this situation(with HGM) sounds like:
"Всяк кулик своё болото хвалит." (every wader praises own swamp)
In Dutch we say Wij van WC-eend adviseren WC-eend (We, the people at Toilet Duck, recommend Toilet Duck).
https://www.youtube.com/watch?v=YsvHeLUOoxs

Re: about using winboard

Posted: Sun Feb 25, 2018 10:00 am
by Kotlov
syzygy wrote:Wij van WC-eend adviseren WC-eend (We, the people at Toilet Duck, recommend Toilet Duck).
https://www.youtube.com/watch?v=YsvHeLUOoxs
lol ))

Re: about using winboard

Posted: Sun Feb 25, 2018 10:06 am
by hgm
Uri Blass wrote:In arena I simply click on engines->install new engines and I can go to the directory that the engine is in it and choose it.
In WinBoard you have to click on Engines -> Load 1st/2nd Engine, browse to the executable. In WinBoard 4.8 you would have to tick the UCI checkbox; it doesn't have autodetection of the protocol, since people reported to me that this often gives problems in GUIs that do use it.

In the development version I did implement an experimental auto-detect, and the protocol checkboxes have been replaced by a single combobox, with auto-detect as default setting. So it is pretty similar.

Image

Of course 'installing' for this operation is really a misnomer: 'installing' means downloading the software, and unpacking it in the folder where you want it so that the executable becomes available, and can find its support files. What is described here is really 'registering' the engine for use by the GUI.

It is sort of an embarrasment that the user has to do this at all. (And has to do it for every GUI he wants to use the engine in separately.) Under Linux, when you install a new engine through the package manager, it would automagically appear in the listbox of registered engines on the left part of the dialog, and after Engine -> Load 1st/2nd Engine the user would merely have to click on the engine name there. No browsing would be necessary.
SzG wrote:It is almost the same procedure as in Arena. The only difference, and I admit it is an uncomfortable one, is that the engines are not sorted in alphabetical oreder, you have to rearrange the engine list manually.
OK, I hear you. But the problem is that not everyone might want to sort the engines alphabetically. Other legitimate ways of sorting would be on frequency of use, release date, playing strength... So much is possible that it is hard to do something that would please everyone.

I imagine that, as a tester, you have a huge engine list, so that it is essential to preserve a good ordering. But that is not a typical use case.

If the user would want to group the engines to have a hierarchical engine list through which he can navigate by opening/closing groups, rather than having to scroll way down a long list, it becomes almost impossible to automatically place an engine.

Re: about using winboard

Posted: Sun Feb 25, 2018 12:58 pm
by Ras
Uri Blass wrote:H.G.Muller said in another thread that winboard is the best GUI.
Given that the Winboard website http://hgm.nubati.net/ has been completely unmaintained for years (not even https available!) and offers 4.8.0, or instead links to a forum post where 4.8.0 is also latest stable, the first barrier is actually obtaining a current binary at all.

At least 4.8.0 is only a nice GUI for people who also happen to think that vi is a nice editor.

Re: about using winboard

Posted: Sun Feb 25, 2018 4:03 pm
by Evert
Ras wrote:[...] people who also happen to think that vi is a nice editor.
I agree vi is crap. However, (g)vim is awsome.

Re: about using winboard

Posted: Sun Feb 25, 2018 4:21 pm
by MikeGL
SzG wrote:
Uri Blass wrote: In arena I simply click on engines->install new engines and I can go to the directory that the engine is in it and choose it.

I do not see an option to do it in winboard4.8 that is the version that I see in the head of the page in the winboard forum so I suppose to be practically the version that they suggest to use.
In WinBoard you go to 'Engine', then 'Load engine' where you can browse to the engine's directory and select the engine. THen you can choose an alias for the engine in the same window and also select its protocol. Then under 'First engine settings' you can set its parameters.
It is almost the same procedure as in Arena. The only difference, and I admit it is an uncomfortable one, is that the engines are not sorted in alphabetical oreder, you have to rearrange the engine list manually.

BTW, I use WB 4.9 which can be downloaded at http://hgm.nubati.net/WinBoard-AA.zip.
Thanks a lot for the link. Isn't the C++ source required inside the .zip file once binary is being released?

I downloaded it and tried to navigate and
analyze something. But upon my first 2 minutes I encountered a
minor bug, not sure if this bug is also present on older versions.

Image

The bug is reproducible, just unpack the winboard directory,
without the 3 engines (CrazyWa, Fair-Max, Stockfish) because I have a seperate engine directory used by Arena. So I installed those Arena UCI
engines (SF9, Critter, etc) into Winboard and all went fine, then tried to
analyze using those UCI engines. Click Mode (menu) > Analysis Mode
(Ctrl+A), the engine will run and analyze the position on its Engine#1
window, then try to stop the Analysis by going again to Mode > Analysis
Mode then click (to remove the tick and disable Analysis), you would be
bombarded with messagebox shown in above picture.

Difficult to exit the GUI program once those thousands of msgbox'es appears on your screen. Because the focus is on the
OK button of msgbox and all Menus are blocked out (disabled),
hence only way to kill it is via TaskMgr.exe and killing manually the SF engine, killing the UCI2WB.exe and also killing winboard.exe manually.

But I understand this is a dev version, so no big deal.

Re: about using winboard

Posted: Sun Feb 25, 2018 4:33 pm
by styx
Ras wrote:
Uri Blass wrote:H.G.Muller said in another thread that winboard is the best GUI.
Given that the Winboard website http://hgm.nubati.net/ has been completely unmaintained for years (not even https available!) and offers 4.8.0, or instead links to a forum post where 4.8.0 is also latest stable, the first barrier is actually obtaining a current binary at all.

At least 4.8.0 is only a nice GUI for people who also happen to think that vi is a nice editor.
And still there is no good alternative available for playing an engine in Linux OSs. I tried them all. The GUI looks a bit old-fashioned and sometimes is unstable (the whole GUI crashes when there's a problem with an engine) but the functionality is very good (variants!).

For analysis you use SCID, for engine tournaments you use cutechess, but for playing an engine, you use xboard. Pychess comes close, but it's not quite there.

Re: about using winboard

Posted: Sun Feb 25, 2018 4:39 pm
by hgm
Pressing Analyze Mode when already analyzing is supposed to toggle the second engine on and off for analysis (so you can analyze with two engines at once). To switch off analysis you select the mode you want next (e.g. Edit Game).

Apparently Fairy-Max is still selected as second engine, and because you actually removed it from the install WinBoard's attempts to start it run into an error, which is reported in the popup. I am not sure why there are so many popups, I would not have expected WinBoard to try again if launching an engine fails. When launching the first engine fails, it would switch back to game-viewer mode (all engine functions grayed out), but there is no seperate single-engine and two-engine mode. Perhaps I should make it keep track of whether the second engine is valid, and just ignore any later attempts to invoke it (until a new one is loaded through Load Second Engine).

Note that this is a situation that would not normally encountered. I don't know what other GUIs would do when the executable of an 'installed' engine would be deleted, and you then try to use it.

The UI could possibly be improved by changing the menu text of the Analyze Mode into something like 'Double Analysis' when analysing with one engine.