
Code to put polyglot in Stockfish or/and derivates.
- Waldemar-Brazil
- Posts: 32
- Joined: Mon Jan 27, 2025 6:43 pm
Re: Code to put polyglot in Stockfish or/and derivates.
The codes of stockfish changed a lot yesterday, need an update in this tutorial. 

Re: Code to put polyglot in Stockfish or/and derivates.
I uploaded the new DON Chess Engine executables
This time it has Fix for Load error also.
Including the GUI (Fritz 19, Scid and others)
and some major updates.
It has Polyglot book support also for best move and ponder move both.
here are the links:
DON 3.1 x64 AVX2.exe
https://pixeldrain.com/u/WoMCtC3H
DON 3.1 x64 BMI2.exe
https://pixeldrain.com/u/ckpkLgT9
try and let me know if it works
Thanks
Ehsan Rashid
This time it has Fix for Load error also.
Including the GUI (Fritz 19, Scid and others)
and some major updates.
It has Polyglot book support also for best move and ponder move both.
here are the links:
DON 3.1 x64 AVX2.exe
https://pixeldrain.com/u/WoMCtC3H
DON 3.1 x64 BMI2.exe
https://pixeldrain.com/u/ckpkLgT9
try and let me know if it works
Thanks
Ehsan Rashid
-
- Posts: 2257
- Joined: Wed Jun 21, 2023 6:29 am
Re: Code to put polyglot in Stockfish or/and derivates.
Thanks a loterashid wrote: ↑Wed Feb 05, 2025 3:57 pmI uploaded the new DON Chess Engine executables
This time it has Fix for Load error also.
Including the GUI (Fritz 19, Scid and others)
and some major updates.
It has Polyglot book support also for best move and ponder move both.
here are the links:
DON 3.1 x64 AVX2.exe
https://pixeldrain.com/u/WoMCtC3H
DON 3.1 x64 BMI2.exe
https://pixeldrain.com/u/ckpkLgT9
try and let me know if it works
Thanks
Ehsan Rashid

Re: Code to put polyglot in Stockfish or/and derivates.
If engine give error on loading:Sedat Canbaz wrote: ↑Wed Feb 05, 2025 4:11 pmThanks a loterashid wrote: ↑Wed Feb 05, 2025 3:57 pmI uploaded the new DON Chess Engine executables
This time it has Fix for Load error also.
Including the GUI (Fritz 19, Scid and others)
and some major updates.
It has Polyglot book support also for best move and ponder move both.
here are the links:
DON 3.1 x64 AVX2.exe
https://pixeldrain.com/u/WoMCtC3H
DON 3.1 x64 BMI2.exe
https://pixeldrain.com/u/ckpkLgT9
try and let me know if it works
Thanks
Ehsan Rashid![]()
try this in engine setting:
"NumaPolicy" Option = "none"
thanks
Re: Code to put polyglot in Stockfish or/and derivates.
Hi, yes there are definitely some modifications in the code of the new SF development, I just saw it a few moments ago, today I am going to finish the tests with Dark SisTer 9.0 (positional mode), and SpecTral 9.0 tactical, I will release this pair of engines today and tomorrow I will calmly see how to integrate polyglot to SF.
Regards
Regards
- Waldemar-Brazil
- Posts: 32
- Joined: Mon Jan 27, 2025 6:43 pm
Re: Code to put polyglot in Stockfish or/and derivates.
Thx! I made this, the parameters were added but the book wasnt read.
options.add("Book1", Option(false));
options.add("Book1 File", Option("", [](const Option& o) {
polybook[0].init(o);
return std::nullopt;
}));
options.add("Book1 BestBookMove", Option(false));
options.add("Book1 Depth", Option(255, 1, 350));
options.add("Book2", Option(false));
options.add("Book2 File", Option("", [](const Option& o) {
polybook[1].init(o);
return std::nullopt;
}));
options.add("Book2 BestBookMove", Option(false));
options.add("Book2 Depth", Option(255, 1, 350));
Cya!!!!!!!!

options.add("Book1", Option(false));
options.add("Book1 File", Option("", [](const Option& o) {
polybook[0].init(o);
return std::nullopt;
}));
options.add("Book1 BestBookMove", Option(false));
options.add("Book1 Depth", Option(255, 1, 350));
options.add("Book2", Option(false));
options.add("Book2 File", Option("", [](const Option& o) {
polybook[1].init(o);
return std::nullopt;
}));
options.add("Book2 BestBookMove", Option(false));
options.add("Book2 Depth", Option(255, 1, 350));
Cya!!!!!!!!
Re: Code to put polyglot in Stockfish or/and derivates.
Ok, great! Give me one day please, the test is still running.
Regards!
Regards!
Re: Code to put polyglot in Stockfish or/and derivates.
At the moment you can download the new Spectral tactical 9.0 and the new Dark SisTer (Positional Mode) 9.0 here: https://t.me/chessenginesac
Re: Code to put polyglot in Stockfish or/and derivates.
Hi Waldemar, you can now download the new Stockfish PB. I reviewed it before posting it on my Telegram channel on GUIs: Cuteches and Fritz.
Regards;
Regards;
- Waldemar-Brazil
- Posts: 32
- Joined: Mon Jan 27, 2025 6:43 pm
Re: Code to put polyglot in Stockfish or/and derivates.
Thx! Using it and checking what codes were included or modified for the use of bin books for me be able to compile too. 
