Yeah I did it here.SzG wrote:Hi Ferdy,
I guess you shall set the suite type to epd somehow. Default suite type is pgn.
Code: Select all
-openings file=%startfile% order=random format=epd
Moderators: hgm, Rebel, chrisw
Yeah I did it here.SzG wrote:Hi Ferdy,
I guess you shall set the suite type to epd somehow. Default suite type is pgn.
Code: Select all
-openings file=%startfile% order=random format=epd
Damn, that is clearly a regression caused by this commit: https://github.com/cutechess/cutechess/ ... 2306127f7fFerdy wrote:I tried to run atomic variant game match using epd as opening file. There was a warning.
The game continues from start position.Code: Select all
Warning: The opening suite is incompatible with the current chess variant
Be aware of crazyhouse epd.ilari wrote:Damn, that is clearly a regression caused by this commit: https://github.com/cutechess/cutechess/ ... 2306127f7fFerdy wrote:I tried to run atomic variant game match using epd as opening file. There was a warning.
The game continues from start position.Code: Select all
Warning: The opening suite is incompatible with the current chess variant
Maybe I should remove the variant check completely and only return an error if the starting FEN and/or the opening moves aren't compatible with the variant. I'll write a fix later today.
Code: Select all
q1Q~N4/k2R4/ppppP1pb/3B4/3P4/3p1P2/PP4PP/R1B2RK1[PPNNNBrq] b - -
Code: Select all
[PPNNNBrq]
Code: Select all
Q~
Code: Select all
q1Q~N4/k2R4/ppppP1pb/3B4/3P4/3p1P2/PP4PP/R1B2RK1/PPNNNBrq b - -
Code: Select all
/PPNNNBrq
Code: Select all
...
option name UCI_Chess960 type check default false
...
Cutechess supports Crazyhouse FENs like this:Ferdy wrote:Be aware of crazyhouse epd.
Winboard:The on-hand pieces are inCode: Select all
q1Q~N4/k2R4/ppppP1pb/3B4/3P4/3p1P2/PP4PP/R1B2RK1[PPNNNBrq] b - -
The promoted pawn to queen isCode: Select all
[PPNNNBrq]
found in c8 square. This is the same as in Lichess server.Code: Select all
Q~
Lichess server:The on-hand pieces are inCode: Select all
q1Q~N4/k2R4/ppppP1pb/3B4/3P4/3p1P2/PP4PP/R1B2RK1/PPNNNBrq b - -
could be mistaken as new rank.Code: Select all
/PPNNNBrq
But perhaps just use the winboard format where Sjaak, TJChess and Imortal have supported.
Code: Select all
rnbqkbnr/pppp2pp/8/4p3/8/6P1/PPPPPP1P/RNBQKB1R w Pn KQkq - 0 4
Thanks, and it is good to know the zh fen recognized by cutechess, would stay away from zh opening epd use then at this time.ilari wrote:I've fixed the bug. Will update cutechess-cli release in the next few days.
Cutechess supports Crazyhouse FENs like this:
Code: Select all
rnbqkbnr/pppp2pp/8/4p3/8/6P1/PPPPPP1P/RNBQKB1R w Pn KQkq - 0 4
CuteChess already has this code in uciengine.cpp:Ferdy wrote:I am developing an atomic xboard engine and would like to have atomkraft as sparring partner.
It would be nice if you can support this uci engine.
From uci command.But this engine would play atomic by default.Code: Select all
... option name UCI_Chess960 type check default false ...
UCI_Atomic option could be used to inform cutechess that the game will be played under that variant for uci engines.
Code: Select all
static QString variantFromUci(const QString& str)
{
if (str.size() < 5 || !str.startsWith("UCI_"))
return QString();
QString variant;
if (str == "UCI_Chess960")
variant = "fischerandom";
else
variant = str.mid(4).toLower();
if (!Chess::BoardFactory::variants().contains(variant))
return QString();
return variant;
}
Thanks it actually works even without UCI_Atomic.ilari wrote:CuteChess already has this code in uciengine.cpp:Ferdy wrote:I am developing an atomic xboard engine and would like to have atomkraft as sparring partner.
It would be nice if you can support this uci engine.
From uci command.But this engine would play atomic by default.Code: Select all
... option name UCI_Chess960 type check default false ...
UCI_Atomic option could be used to inform cutechess that the game will be played under that variant for uci engines.So UCI_Atomic should work.Code: Select all
static QString variantFromUci(const QString& str) { if (str.size() < 5 || !str.startsWith("UCI_")) return QString(); QString variant; if (str == "UCI_Chess960") variant = "fischerandom"; else variant = str.mid(4).toLower(); if (!Chess::BoardFactory::variants().contains(variant)) return QString(); return variant; }
Nice thanks for the update.ilari wrote:Cutechess-cli is now at version 0.8.2: https://github.com/cutechess/cutechess/ ... /cli-0.8.2
This is a good update for those users that play non-standard variants like Crazyhouse.