Replies: 1 comment
-
For me it works fine with current dev (on linux), both when compiled on my own as well as from the build you linked. I suspect that there might be some indentation, special characters, or the like in your file that breaks it. If you can't find an issue, please try to use the existing variants.ini unedited. If this does not show the same issue when loaded, one can be quite certain that there is something problematic with your file. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In honor of my late friend Eric Angelini, I would like to implement and study Castle Chess. (It's exactly like normal chess except that Black wins if they castle long (... O-O-O), while White wins if Black loses castling rights, e.g., because the king or rook has to move or is taken.)
The current
variants.ini
file does have a section:and now I also found
parse_attribute("castlingWins", v->castlingWins);
inparser.cpp
,and related code in
position.cpp
, andvariant.h
.But I tried first on the online playground, and then I downloaded the executable (fairy-stockfish-largeboard_x86-64.exe) and made a variants.ini file with just the above 3 lines in it, but when I do
it says
So the option is not recognized. (EDIT: Finally I also tried the latest builds from the "release" actions, and it still says "Invalid option: castlingWins", although that shouldn't occur with the current
parser.cpp
file mentioned above.If I can, I would like to help, but I don't see where the problem is...
Thanks in advance for any leads.
Beta Was this translation helpful? Give feedback.
All reactions