mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Retire Polyglot Book management
Book handling belongs to GUI, we kept this code for historical reasons, but nowdays there is really no need of this old, (mostly) unused and especially incorrect designed functionality. It is up to the GUI to choose the book (far easier for the user) and to select the book parameters. In no place, including fishtest, TCEC, rating lists, etc. the "own book" is used, moreover currently SF is released without any book and even if in the future we bundle a book in the release package, it will be the GUI that will take care of it. This corrects a wrong design decision that Galurung and later Stockfish inherited from what was common practice many yeas ago. No functional change.
This commit is contained in:
@@ -57,15 +57,12 @@ void init(OptionsMap& o) {
|
||||
o["Write Debug Log"] << Option(false, on_logger);
|
||||
o["Write Search Log"] << Option(false);
|
||||
o["Search Log Filename"] << Option("SearchLog.txt");
|
||||
o["Book File"] << Option("book.bin");
|
||||
o["Best Book Move"] << Option(false);
|
||||
o["Contempt Factor"] << Option(0, -50, 50);
|
||||
o["Min Split Depth"] << Option(0, 0, 12, on_threads);
|
||||
o["Threads"] << Option(1, 1, MAX_THREADS, on_threads);
|
||||
o["Hash"] << Option(32, 1, 16384, on_hash_size);
|
||||
o["Clear Hash"] << Option(on_clear_hash);
|
||||
o["Ponder"] << Option(true);
|
||||
o["OwnBook"] << Option(false);
|
||||
o["MultiPV"] << Option(1, 1, 500);
|
||||
o["Skill Level"] << Option(20, 0, 20);
|
||||
o["Emergency Move Horizon"] << Option(40, 0, 50);
|
||||
|
||||
Reference in New Issue
Block a user