Curses To You, HGM

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

Curses To You, HGM

Postby Adam Hair » 06 Sep 2010, 02:53

Thanks to the blatant and incessant promotion of Winboard by HGM :x , I have left the Arena and started wandering
in the world of .ini files and .bin books. :evil: May you develop male pattern baldness of the chin, Harm Geert!

Seriously, I have decided to start using Winboard 4.4.4 and PSWBTM. I have worked out a way of configuring
UCI engines, but I would like to find out if there is a smarter way of doing this. First, I add the UCI engine using the
Engine Manager feature of PSWBTM and the parameter "WBopt /%sIsUCI=true". Then I copy the polyglot_1st.ini file to
the PG folder, rename the .ini file and edit it. Lastly, I change the parameter in Engine Manager to _PG\enginename.ini and also direct PSWBTM to the polyglot38.exe file in the Winboard folder.

Do any of you do the configuration in a different ( and simpler ) way?

By the way, I hope that your beard remains full and curly, Harm :)

Adam
Adam Hair
 
Posts: 7
Joined: 12 Apr 2010, 20:58

Re: Curses To You, HGM

Postby H.G.Muller » 06 Sep 2010, 08:44

The recommended way is different, but in preparing this message I just discovered I goofed in preparing the 4.4.4 installer package. This is supposed to contain two versions of polyglot, called polyglot38.exe, and polyglot.exe. The latter is the one automatically used when using /fUCI (or from PSWBTM the /%sIsUCI=true) options, and was supposed to be Polyglot 1.4.46b. It seems, however, that it is just another copy of Polyglot 1.4.38x. I must at some time have tried something out in the wrong folder, from which the distribution is prepared (I have dozens of folders on my system called "WinBoard", and containing the same files, just different versions...). What a mess. :(

The dual Polyglots were (err, should have been...) included because there is a different need for users that were already using WB+Polyglot, and had existing polyglot.ini files around they wanted to keep, and first-time users, that still had to make all polyglot.ini files from scratch. Polyglot 1.4.46b served the needs of the latter much better, by highly simplifying what you want to do here.

Let me tell you how it is supposed to work:

After specifying the "WBopt /%sIsUCI=true", click "Save", "Save Changes", and then "Launch Engine". WinBoard will fire up, and you select "Engine #1 Settings..." from the "Options" menu. This will pop up a dialog where you can aconfigure the engine settings. In this dialog, there is a checkbox (with the Polyglot options) "Persist". Make sure it is checked. When you leave WinBoard then, Polyglot will automatically have made a polyglot.ini file (with a name derived from the engine name) in the _PG folder, and use it next time when you use that same engine.

So you will never have to move, copy or edit polyglot.ini files. In fact you would not even have to be aware they exist (or even that Polyglot exists). Invoking Polyglot is always done through the WB /fUCI option, and altering the contents of the polyglot.ini file (or looking at the current contents) is always done through the WinBoard menu dialog for Engine Settings.

To use this method, you would first have to download the appropriate Polyglot version, though, at http://alpha.uhasselt.be/Research/Algeb ... .4.46b.exe (direct link), and rename it to polyglot.exe in the WinBoard folder (deleting the existing polyglot.exe). I am really extremely sorry about this...

The polyglot38.exe was intended for use with existing polyglot.ini files, pretty much in the way you are doing now (except you first have to create an existing ini file by hand through first making, and then copying the polyglot_1st.ini). They would just point PSWBTM to polyglot38.exe, and give the name of their existing polyglot.ini file (which would likely not be in the _PG folder, but that would not matter, as long as they gave the correct path name) in the "parameters" field.

So under the circumstances (not having Polyglot 1.4.46b) you did found the optimum solution, but it is very much more cumbersome than was intended. I will in any case fix the download, and think about how to best provide a way for people that have already downloaded to get the correct Polyglot.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Curses To You, HGM

Postby Adam Hair » 06 Sep 2010, 11:48

H.G.Muller wrote:The recommended way is different, but in preparing this message I just discovered I goofed in preparing the 4.4.4 installer package. This is supposed to contain two versions of polyglot, called polyglot38.exe, and polyglot.exe. The latter is the one automatically used when using /fUCI (or from PSWBTM the /%sIsUCI=true) options, and was supposed to be Polyglot 1.4.46b. It seems, however, that it is just another copy of Polyglot 1.4.38x. I must at some time have tried something out in the wrong folder, from which the distribution is prepared (I have dozens of folders on my system called "WinBoard", and containing the same files, just different versions...). What a mess. :(

The dual Polyglots were (err, should have been...) included because there is a different need for users that were already using WB+Polyglot, and had existing polyglot.ini files around they wanted to keep, and first-time users, that still had to make all polyglot.ini files from scratch. Polyglot 1.4.46b served the needs of the latter much better, by highly simplifying what you want to do here.

Let me tell you how it is supposed to work:

After specifying the "WBopt /%sIsUCI=true", click "Save", "Save Changes", and then "Launch Engine". WinBoard will fire up, and you select "Engine #1 Settings..." from the "Options" menu. This will pop up a dialog where you can aconfigure the engine settings. In this dialog, there is a checkbox (with the Polyglot options) "Persist". Make sure it is checked. When you leave WinBoard then, Polyglot will automatically have made a polyglot.ini file (with a name derived from the engine name) in the _PG folder, and use it next time when you use that same engine.

So you will never have to move, copy or edit polyglot.ini files. In fact you would not even have to be aware they exist (or even that Polyglot exists). Invoking Polyglot is always done through the WB /fUCI option, and altering the contents of the polyglot.ini file (or looking at the current contents) is always done through the WinBoard menu dialog for Engine Settings.

To use this method, you would first have to download the appropriate Polyglot version, though, at http://alpha.uhasselt.be/Research/Algeb ... .4.46b.exe (direct link), and rename it to polyglot.exe in the WinBoard folder (deleting the existing polyglot.exe). I am really extremely sorry about this...

The polyglot38.exe was intended for use with existing polyglot.ini files, pretty much in the way you are doing now (except you first have to create an existing ini file by hand through first making, and then copying the polyglot_1st.ini). They would just point PSWBTM to polyglot38.exe, and give the name of their existing polyglot.ini file (which would likely not be in the _PG folder, but that would not matter, as long as they gave the correct path name) in the "parameters" field.

So under the circumstances (not having Polyglot 1.4.46b) you did found the optimum solution, but it is very much more cumbersome than was intended. I will in any case fix the download, and think about how to best provide a way for people that have already downloaded to get the correct Polyglot.


Thank you very much for looking into this. From previous posts you had made, I knew you intended the process to be
as you described above. I just could not get it to work that way, and I thought the problem was me.
Adam Hair
 
Posts: 7
Joined: 12 Apr 2010, 20:58

Re: Curses To You, HGM

Postby Tuvoc » 07 Sep 2010, 21:49

Adam Hair wrote:Thanks to the blatant and incessant promotion of Winboard by HGM, I have left the Arena and started wandering
in the world of .ini files and .bin books. May you develop male pattern baldness of the chin, Harm Geert!

Seriously, I have decided to start using Winboard 4.4.4 and PSWBTM. I have worked out a way of configuring
UCI engines,


:D even worse, I was encouraged to boot up my long forgotten Ubuntu installation that I hadn't used for several months, and compile XBoard :shock:

It was a journey and a half, many missing libraries etc, reading the error messages, figuring out what was missing, and finally, huge satisfaction in having the very latest XBoard installed

And then Miguel helped me with command line parameters to connect to HG's online server. An incredibly helpful person. :)

I wouldn't attempt to run engine matches, that would be way beyond my understanding of XBoard/Winboard, but I'm able to connect to HG's server under Linux now for his monthly tournaments and for ad-hoc matches.

I really enjoy Linux, but for chess matches with multiple engines, a step too far.
Tuvoc
 
Posts: 76
Joined: 27 Sep 2004, 21:16


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 12 guests