jonkr wrote: ↑Wed Nov 24, 2021 7:28 pm
RubiChess wrote: ↑Wed Nov 24, 2021 6:53 pm
jonkr wrote: ↑Wed Nov 24, 2021 6:14 pm
CMCanavessi :
There is no console mode built into the windows version. To create the standard console is only automatic when built for it, so never bothered. The Linux version is compiled for console-mode only though.
So the better question seems to be (and I also had this question when I tested with SlowChess): How does a GUI like Arena manage to start the slow.exe without displaying its GUI but instead get access to its stdin and stdout streams. And how can a Windows user do this with Windows tools? Maybe not possible.
Regards, Andreas
On startup Slow checks if there is a pipe setup with fgets on stdin, if there is, it doesn't call CreateWindow and setup the own GUI window. So if an external UI (eg. Arena) supports sending commands to engines you could interact via uci commands that way. (Without a GUI communicating there would be no way to interact with the engine if it didn't show the own GUI).
Thanx for the explanation. So here's request time x 2
a) can you add an option to start it in console or uci mode? -c or -uci or whatever
b) when the engine loads, i see the following
info string 9 bitbases loaded.
info string 14 neural nets loaded.
info string 34237 opening positions loaded.
readyok
it will show "9 bitbases loaded" wether I use syzygy or not, which is fine because the bitbases file is in the engine's directory. But it would be nicer (maybe) if when using syzygy, it would print another message like "xxx syzygy bases loaded" or something like that, just to be sure they are being correctly found and loaded
And another question, if both bitbases and syzygy are loaded, does it use both? if not, which ones are used? and if yes, when does the engine use one or the other?