|
From: | address@hidden |
Subject: | Re: Issue: Registration of UCI engines to play variants |
Date: | Tue, 05 Nov 2019 20:50:46 -0500 |
A quick look at that thread you linked to also pointed to questions regarding the xboard mac app. So you know, uci2wb is already bundled/installed in the app itself so a simple -fuci flag will solve that problem. I replaced polyglot with the then version of uci2wb a long while ago. Regards, Josh Pettus Sent from my LG K20, an AT&T 4G LTE smartphone ------ Original message------ From: Johannes Czech Date: Tue, Nov 5, 2019 5:32 PM To: address@hidden; Cc: address@hidden; Subject:Re: Issue: Registration of UCI engines to play variants Thank you very much H.G. Muller for your detailed
response.
The engines you use are UCI, which means they can only run through a protocol adapter that translates UCI to XBoard's native pcommunication protocol (CECP). So things depend on which such adapter(s) you have installed on your machine, and whether XBoard is configured to use them. Now by default we configure XBoard to use the Polyglot adapter. Which is an old and well-tested UCI adapter. BUT... Polyglot is 'rule-aware', and only supports normal Chess (and its shuffle sub-variant Chess960). Actually UCI itself officially only supports normal Chess(960), and has no provisions for other variants. We developed an extension to UCI for communicating variant support (the UCI_Variants option), and engines like Fairy-Stockfish and CrazyAra (hopefully) use that extension. But Polyglot does not (and would object to any game that does not strictly follow the rules of normal Chess anyway). It just ignores the fact that the engine it mediates for can do any other thing than Chess(960), and hides that to the GUI. To play Crazyhouse you can use UCI2WB instead, a rule-unaware protocol adapter which can thus handle any variant, and does support the UCI_Variants option. You would have to configure XBoard to use it in response to the -fUCI option, though. For this you would have to run XBoard once with the command xboard -adapterCommand {uci2wb debug "%fcp" "%fd"} (assuming uci2wb is installed in a place where the OS can find it, like /usr/local/bin/). After that the -fUCI option would also work for other variants the UCI engine claims to play through its UCI_Variants option. Op Ma, 4 november, 2019 4:29 pm schreef Johannes Czech:Dear XBoard-Developers, thank you for awesome work in creating an open-source cross platform chess variant GUI. I tried setting up the UCI-chess variant engine */Multi-Variant-Stockfish/* (https://github.com/ddugovic/Stockfish) and the neural network engine /*CrazyAra*/ (https://github.com/QueensGambit/CrazyAra) using the python version in XBoard to play crazyhouse. However, I encountered the following error messages for both of them: /*"Error: Variant crazyhouse not supported by |
[Prev in Thread] | Current Thread | [Next in Thread] |