Skip to content

Setting up Fairy Stockfish on lishogi

Fabian Fichter edited this page Mar 3, 2023 · 14 revisions

To set up a lishogi bot with Fairy-Stockfish, it is recommended to use the lishogi bot client https://github.com/TheYoBots/Lishogi-Bot. Follow the instructions in its readme to set up your bot account and your bot client.

See @Fairy-Stockfish on lishogi for an example of a bot set up with Fairy-Stockfish.

Configuration

NNUE

If you want to use NNUE networks to improve the strength of your Fairy-Stockfish bot, make sure to define the EvalFile option in the usi_options section according to https://github.com/fairy-stockfish/Fairy-Stockfish/wiki/Settings#evalfile.

You can download a Shogi NNUE network from patreon to use together with the latest release of Fairy-Stockfish.

If you instead want to use one of the NNUE networks from well known shogi engines, commonly named nn.bin, please use Fairy-Stockfish 13.1, since more recent releases use a different architecture, and rename the nn.bin to be starting with shogi, e.g., shogi.nnue, so that the engine knows it can use this network for shogi.

Some options for downloading strong shogi NNUE networks: