diff --git a/.gitignore b/.gitignore index fbb525e634..55d79859a8 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,8 @@ public/piece/spatial public/piece/alpha target bin/.translate_version +bin/polyglot +bin/stockfish data/ dist/ node_modules/ diff --git a/bin/install-polyglot b/bin/install-polyglot index 3ec30face2..0103abcdcf 100755 --- a/bin/install-polyglot +++ b/bin/install-polyglot @@ -5,15 +5,14 @@ cd local git clone https://github.com/ddugovic/polyglot.git cd polyglot git checkout learn +git checkout 2d5bbd35dd1c44a1a7556793e16b9070047848fb . cd src touch configure.ac aclocal.m4 configure Makefile.am Makefile.in ./configure --disable-assert make cd ../.. +cp -a polyglot/src/polyglot Stockfish/src/stockfish ../bin/ -git clone https://github.com/ddugovic/chess960-opening-book.git -polyglot/src/polyglot make-book -pgn chess960-opening-book/chess960_book_3moves.pgn -bin chess960.bin -min-game 1 -uniform wget ftp://ftp.cs.kent.ac.uk/pub/djb/pgn-extract/eco.pgn -polyglot/src/polyglot make-book -pgn eco.pgn -bin eco.bin -min-game 1 -polyglot/src/polyglot merge-book -in1 eco.bin -in2 chess960.bin -out book.bin +../bin/polyglot make-book -pgn eco.pgn -bin eco.bin -min-game 1 cd .. diff --git a/conf/polyglot.ini b/conf/polyglot.ini index be3994e061..54df154a32 100644 --- a/conf/polyglot.ini +++ b/conf/polyglot.ini @@ -3,23 +3,23 @@ LogFile = logs/polyglot.log Log = false -EngineDir = /home/dand/Programs/lila/local/Stockfish/src +EngineDir = bin EngineCommand = stockfish Book = true BookLearn = false -BookFile = /home/dand/Programs/lila/local/book.bin +BookFile = local/eco.bin Resign = false ResignScore = 600 QueenNeverResigns = true HandleDraws = false -ContemptScore = 100 +ContemptScore = 300 [Engine] Write Debug Log = false -SyzygyPath = /home/dand/Programs/lila/local/tb +SyzygyPath = local/tb SyzygyProbeDepth = 1 Syzygy50MoveRule = true SyzygyProbeLimit = 5