Page 1 of 1
error while loading Xiangqi UCI engines from "Engine" menu
Posted:
27 Mar 2012, 18:38
by tvt2020
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"
Re: error while loading Xiangqi UCI engines from "Engine" me
Posted:
29 Mar 2012, 09:02
by H.G.Muller
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).
Re: error while loading Xiangqi UCI engines from "Engine" me
Posted:
29 Mar 2012, 21:33
by tvt2020
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"'
Re: error while loading Xiangqi UCI engines from "Engine" me
Posted:
29 Mar 2012, 22:07
by tvt2020
Thanks for your help, It works now.
/adapterCommand='UCI2WB "%fd\\%fcp"'
/uxiAdapter='UCCI2WB -noini "%fd\\%fcp"'
Re: error while loading Xiangqi UCI engines from "Engine" me
Posted:
29 Mar 2012, 22:09
by H.G.Muller
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!