From: Marco Costalba Date: Sat, 17 Mar 2012 12:16:23 +0000 (+0100) Subject: Don't use "OwnBook" by default X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=9b2635634714558cc492d1c31db7c93127369c88;hp=7c8a8e038f0acd48a30ec7e3971c7d0efcfbf25d Don't use "OwnBook" by default Stick to UCI protocol that says: * by default all the opening book handling is done by the GUI, but there is an option for the engine to use its own book ("OwnBook" option, see below) No functional change. Signed-off-by: Marco Costalba --- diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 4735729a..4124899b 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -72,7 +72,6 @@ void benchmark(int argc, char* argv[]) { Options["Hash"] = ttSize; Options["Threads"] = threads; - Options["OwnBook"] = false; if (valType == "time") limits.maxTime = 1000 * atoi(valStr.c_str()); // maxTime is in ms diff --git a/src/ucioption.cpp b/src/ucioption.cpp index 75eb2053..fe1a4709 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -76,7 +76,7 @@ OptionsMap::OptionsMap() { o["Hash"] = UCIOption(32, 4, 8192, on_hash_size); o["Clear Hash"] = UCIOption(on_clear_hash); o["Ponder"] = UCIOption(true); - o["OwnBook"] = UCIOption(true); + o["OwnBook"] = UCIOption(false); o["MultiPV"] = UCIOption(1, 1, 500); o["Skill Level"] = UCIOption(20, 0, 20); o["Emergency Move Horizon"] = UCIOption(40, 0, 50);