error while loading Xiangqi UCI engines from "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

error while loading Xiangqi UCI engines from "Engine" menu

Postby tvt2020 » 27 Mar 2012, 18:38

I'm not sure if this is a bug or not but I got a fatal error message while trying to load Xiangqi UCI engine from the "Engine" menu. The error message"Variant xiangqi not supported by ggchess-uci-x64-u820091"


The engine works fine if I mannually update first engine section in xq.ini
"UCI2WB ggchess1124.exe C:\WinBoard-4.6.0\engines"
tvt2020
 
Posts: 48
Joined: 22 Jul 2010, 17:52

Re: error while loading Xiangqi UCI engines from "Engine" me

Postby H.G.Muller » 29 Mar 2012, 09:02

Hard to say without additional information. From the error it sounds like WinBoard was using Polyglot as an adapter, rather than UCI2WB. When you tried to install through the Load Engine dialog, was WinBoard started with the file @xq.ini for settings? I think it is this file that specifies a new -adapterCommand option, replacing Polyglot by UCI2WB for the -fUCI, -sUCI options (which are added when you tick 'UCI' in the Load Engine dialog).
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: error while loading Xiangqi UCI engines from "Engine" me

Postby tvt2020 » 29 Mar 2012, 21:33

I'm using the shortcut from the Start menu "Winboard XQ Startup (Orential)" to open Winboard 4.6.0. I found the lines below in winboard.ini under the User\AppData\Roaming folder.
/adapterCommand='polyglot -noini -ec "%fcp" -ed "%fd" -uci NalimovCache=%defaultCacheSizeEGTB -uci GaviotaTbCache=%defaultCacheSizeEGTB'
/uxiAdapter='UCCI2WB -noini "%fd\\%fcp"'
tvt2020
 
Posts: 48
Joined: 22 Jul 2010, 17:52

Re: error while loading Xiangqi UCI engines from "Engine" me

Postby tvt2020 » 29 Mar 2012, 22:07

Thanks for your help, It works now.

/adapterCommand='UCI2WB "%fd\\%fcp"'
/uxiAdapter='UCCI2WB -noini "%fd\\%fcp"'
tvt2020
 
Posts: 48
Joined: 22 Jul 2010, 17:52

Re: error while loading Xiangqi UCI engines from "Engine" me

Postby H.G.Muller » 29 Mar 2012, 22:09

Hmm, the idea was that the settings of /adapterCommand in the ini file from the roaming folder would be overruled by those in the xq.ini file (which is on the command line of the 'oriental' menu shortcut). But it could be that I forgot to include an option for this. (I could not find it in the xq.ini file I am using.)

The xq.ini file should have contained a line

/adapterCommand="UCI2WB %fcp %fd"

which would cause automatic invocation of UCI2WB rather than Polyglot when you install with the /fUCI option (as the Load Engine dialog does,when you tick the 'UCI' checkbox). I will make sure the next release of WinBoard contains this line in the xq.ini file!
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 16 guests