Updated configuration to use relative paths and disable book support for chess960.

pull/1046/head
Daniel Dugovic 2015-09-30 21:49:28 -05:00
parent 099a74d6d1
commit 204cbfbbfe
3 changed files with 9 additions and 8 deletions

2
.gitignore vendored
View File

@ -12,6 +12,8 @@ public/piece/spatial
public/piece/alpha
target
bin/.translate_version
bin/polyglot
bin/stockfish
data/
dist/
node_modules/

View File

@ -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 ..

View File

@ -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