-
-
Notifications
You must be signed in to change notification settings - Fork 200
User defined variants in WinBoard
Fabian Fichter edited this page Mar 3, 2023
·
9 revisions
If you have not done already, follow the steps in https://github.com/fairy-stockfish/Fairy-Stockfish/wiki/Graphical-user-interfaces#xboardwinboard to set up an up-to-date (>=4.9) Winboard or XBoard together with Fairy-Stockfish.
- Download the variants.ini from the latest release.
- Open variants.ini with a text editor and add the variants you wish from https://github.com/fairy-stockfish/Fairy-Stockfish/wiki/Variant-configuration by copying and pasting the code into the variants.ini, or add your own variant configuration in the file.
- Now go back to Winboard.
- Go to
Engines
>Edit Engine List...
and copy&paste your entry for Fairy-Stockfish into a new line, e.g.,"Fairy-SF" -fcp "C:\fairy-stockfish-largeboard_x86-64.exe"
. As a preparation for the next step, you should set the working directory (-fd
) for the engine separately instead of including it in the path of the engine, e.g.,"Fairy-SF" -fcp "fairy-stockfish-largeboard_x86-64.exe" -fd "C:\"
. - In order to load the variants.ini file, you need to add
load variants.ini
to the command. E.g.,"Fairy-SF-custom" /variant=indiangreat -fcp "fairy-stockfish-largeboard_x86-64.exe load variants.ini" -fd "C:\"
. This assumes that the variants.ini is in the same directory as the engine. - Modify the
/variant=...
part from step 5 to the name of the variant you want to play. - Click on
Engines
>Load New 1st Engine...
and double click on the name of the line you just added, e.g.,Fairy-SF-custom
. - If your variant has unorthodox rules for which Winboard does not allow you to put in the moves, go to
Options
>General...
and uncheckTest Legality
. If you do this, be careful to not make illegal moves on the board, otherwise you might need to reload Fairy-Stockfish or restart Winboard to recover it.