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.


Look at the source code:


   // 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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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