mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 01:03:09 +00:00
Changed the default eval file path so that more GUIs can use Stockfish NNUE.
This commit is contained in:
parent
4d4c80d7fd
commit
7a13d4ed60
1 changed files with 2 additions and 5 deletions
|
@ -81,11 +81,8 @@ void init(OptionsMap& o) {
|
||||||
o["Syzygy50MoveRule"] << Option(true);
|
o["Syzygy50MoveRule"] << Option(true);
|
||||||
o["SyzygyProbeLimit"] << Option(7, 0, 7);
|
o["SyzygyProbeLimit"] << Option(7, 0, 7);
|
||||||
// Evaluation function file name. When this is changed, it is necessary to reread the evaluation function at the next ucinewgame timing.
|
// Evaluation function file name. When this is changed, it is necessary to reread the evaluation function at the next ucinewgame timing.
|
||||||
#if defined(__linux__)
|
// Without the preceding "./", some GUIs can not load he net file.
|
||||||
o["EvalFile"] << Option("eval/nn.bin", on_eval_file);
|
o["EvalFile"] << Option("./eval/nn.bin", on_eval_file);
|
||||||
#else
|
|
||||||
o["EvalFile"] << Option("eval\\nn.bin", on_eval_file);
|
|
||||||
#endif
|
|
||||||
// When the evaluation function is loaded at the ucinewgame timing, it is necessary to convert the new evaluation function.
|
// When the evaluation function is loaded at the ucinewgame timing, it is necessary to convert the new evaluation function.
|
||||||
// I want to hit the test eval convert command, but there is no new evaluation function
|
// I want to hit the test eval convert command, but there is no new evaluation function
|
||||||
// It ends abnormally before executing this command.
|
// It ends abnormally before executing this command.
|
||||||
|
|
Loading…
Add table
Reference in a new issue