Do you have the book file, cfish.bin, in the same folder as the cfish binary? If not, you'll need to supply a path to the file. Does your GUI produce a log file that records what is being sent back and forth?Ovyron wrote: ↑Fri Jul 19, 2019 2:07 amThat may be what the GUI isn't doing. Is there a way to send those commands directly to the engine after it is loaded? I think I'd need to send it:
setoption name BookFile value cfish.bin
And then it'd use the book. But despite seeing cfish.exe in task manager, I don't see any command prompt window where I can send commands to the engine after the GUI loads it.
I can't see how that command could be sent to the engine after it is started by the GUI. One option that would work would be to edit the Cfish source code to include the path you want, and then compile the engine yourself.
Here's what the process looks like without a GUI. My book file, Performance.bin, is located in the same directory as the engine binary.
Code: Select all
$ ./cfish
Cfish 010719 64 BMI2 NUMA by Syzygy based on Stockfish
info string NUMA enabled.
setoption name BookFile value Performance.bin
info string Book loaded: Performance.bin
ucinewgame
info string Binding thread 0 to node 0.
go
bestmove e2e4
quit