1

I have downloaded the latest stockfish and I am running it on the command line. There is a hidden command 'd' which displays the current board. Also, the "debug on" command is not implemented, even though it is part of the UCI protocol.

Is there a list somewhere of all commands, all "un-implemented" commands, and/or command line switches for stockfish.

I have already downloaded and read the UCI protocol.

And before someone sugests it, I would like to write my own GUI, so downloading arena and just running it isn't an option.

2

Look at the source code:

https://github.com/official-stockfish/Stockfish/blob/master/src/uci.cpp

   // Additional custom non-UCI commands, mainly for debugging
      else if (token == "flip")  pos.flip();
      else if (token == "bench") bench(pos, is, states);
      else if (token == "d")     sync_cout << pos << sync_endl;
      else if (token == "eval")  sync_cout << Eval::trace(pos) << sync_endl;

Your "d" command is there, and others.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.