This tool was mainly tested with Sf6. Any uci engines that supports multipv mode and depth, multipv, score cp/mate and time values output in its analysis line can be used by this tool.
The exe is from python source code and is using python-chess library to parse moves and positions of the pgn file. If somebody is interested the script source that is not easy to understand is available . Just send a PM or post here. I am still refactoring the code, but seems this is already workable.
Unfortunately the hash is defaulted to 32mb. I will create a new compile with settable hash size on version 34. In the meantime just try this. See download link below.
Sample run.
Code: Select all
enter engine filename? sf6.exe
enter pgn filename? 1.pgn
enter number of threads to be used by the engine? 1
enter analysis time/pos in ms? 10000
enter the move number to start the analysis? 15
enter the move number to end the analysis? 40
[pgn]
[Event "FIDE World Cup 2015"]
[Site "Baku AZE"]
[Date "2015.09.27"]
[Round "6.1"]
[White "Giri, Anish"]
[Black "Svidler, Peter"]
[Result "0-1"]
[Annotator "Stockfish 6 64 POPCNT (10.0s/pos @thread=1)"]
[ECO "C92"]
1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 O-O 8.c3 d6 9.h3 Bb7 10.d4 Re8 11.Nbd2 exd4 12.cxd4 Nd7 13.Nf1 Na5 14.Bc2 Bf6 15.Rb1 c5 16.d5 Nc4 17.b3 Nce5 18.N3h2 Ng6 19.Ng3 Bc8 $14 { +0.38/19 } ( { Better is } 19...Bc3 20.Bd2 Bxd2 21.Qxd2 Nf6 22.Nhf1 Bc8 $10 { +0.22/19 } ) ( { A fine line to try is } 19...Be5 20.Ne2 Bf6 21.Bd2 b4 22.Ng3 Nh4 $14 { +0.28/19 } ) ( { White is threatening } 19...-- 20.Nf5 Bc3 21.Nxd6 Bxe1 22.Qxe1 Bxd5 23.Nxe8 { +0.63/21 } ) 20.Rf1 $10 { +0.12/21 } ( { Better is } 20.Nf5 Nb6 21.Ng4 Bxf5 22.exf5 Ne5 23.Nxf6+ $14 { +0.32/21 } ) ( { Another possiblity is } 20.Ng4 Bc3 21.Bd2 Bxd2 22.Qxd2 Nf6 23.Ne3 $14 { +0.25/21 } ) 20...Nb6 $14 { +0.29/20 } ( { Better is } 20...Bc3 21.Bd2 Bxd2 22.Qxd2 Nf6 23.Rfe1 a5 $10 { +0.12/20 } ) ( { Another interesting line is } 20...b4 21.Ng4 Bc3 22.Bd2 Bxd2 23.Qxd2 Nf6 $10 { +0.15/20 } ) ( { White is threatening } 20...-- 21.Bd2 b4 22.Ng4 Bd4 23.Be3 Nde5 24.Nxe5 { +0.29/20 } ) 21.Ng4 $1 Bxg4 22.hxg4 $1 h6 23.Nf5 Ne7 24.Ne3 b4 $14 { +0.25/19 } ( { Better is } 24...Nd7 25.Qd3 Be5 26.a4 Nf6 27.f3 Bd4 $10 { +0.01/18 } ) ( { A good alternative is } 24...Qc7 25.Qd3 c4 26.bxc4 bxc4 27.Qe2 Ng6 $10 { +0.10/18 } ) ( { White is threatening } 24...-- 25.Qd3 Ng6 26.Nf5 c4 27.Qg3 cxb3 28.axb3 { +0.30/20 } ) 25.g3 a5 26.Kg2 a4 $1 27.bxa4 $1 Qd7 28.Qd3 $10 { -0.12/21 } ( { Better is } 28.a3 Nxa4 29.Qd3 Ng6 30.e5 Bxe5 31.axb4 $10 { +0.22/19 } ) ( { One that deserves attention is } 28.Rb3 Nxa4 29.a3 Rab8 30.Qd3 Ng6 31.f4 $10 { +0.03/19 } ) ( { Black is threatening } 28.-- Nxa4 29.Bd2 Ra7 30.Bb3 Rb8 31.Qe2 Qc7 { -0.31/20 } ) 28...Ng6 $1 29.Nf5 $15 { -0.34/21 } ( { Better is } 29.a3 c4 30.Nxc4 Nxc4 31.Qxc4 Qxg4 32.Bd1 $10 { +0.00/20 } ) ( { Not good is } 29.Qb5 $2 { due to } 29...Qxb5 30.axb5 Rxa2 31.Bb3 Ra5 $15 { -0.46/20 } ) ( { Black is threatening } 29.-- Nxa4 30.Bd2 Nb2 31.Qe2 Rxa2 32.f4 Na4 { -1.05/21 } ) 29...Nxa4 30.Bxa4 $15 { -1.33/22 } ( { Better is } 30.Qf3 $1 Nc3 31.Nxh6+ Kf8 32.g5 Be5 33.Nf5 $15 { -0.27/18 } ) ( { Worthy of consideration is } 30.Bd2 Nb6 31.Qe2 Nxd5 32.Bb3 Nb6 33.Rbc1 $15 { -0.69/18 } ) ( { Black is threatening } 30.-- Nc3 31.Qf3 Qd8 32.g5 Bxg5 33.Ra1 Bxc1 { -2.40/19 } ) 30...Rxa4 31.Rh1 Ne7 $15 { -1.05/24 } ( { Better is } 31...Rxa2 32.g5 hxg5 33.Qf3 Re5 34.Bb2 Rxb2 $15 { -1.21/21 } ) 32.g5 $17 { -2.31/25 } ( { Better is } 32.Bb2 Nxf5 33.gxf5 Qe7 34.Bxf6 Qxf6 35.Qc2 $15 { -0.99/21 } ) ( { Also practical is } 32.a3 bxa3 33.Bxa3 Nxf5 34.exf5 c4 35.Qf3 $15 { -1.21/21 } ) ( { Black is threatening } 32.-- Nxf5 33.gxf5 Rxa2 34.Rf1 Bd4 35.Bf4 Qe7 { -2.43/22 } ) 32...hxg5 33.Ne3 $17 { -2.77/21 } ( { Better is } 33.Nxe7+ Qxe7 34.a3 Qxe4+ 35.Qxe4 Rxe4 36.axb4 $17 { -2.33/22 } ) ( { Also sufficient is } 33.a3 Nxf5 34.exf5 bxa3 35.Bxa3 Rd4 36.Qb5 $17 { -2.37/22 } ) ( { Black is threatening } 33.-- Nxf5 34.exf5 Rxa2 35.Rf1 Bd4 36.Rxb4 cxb4 { -4.35/23 } ) 33...Rxa2 34.Bd2 $19 { -3.60/19 } ( { Better is } 34.Qb3 Rea8 35.Qd1 Qb5 36.Ng4 Qe2 37.Qxe2 $17 { -2.52/19 } ) ( { Also playable is } 34.Rb3 Ng6 35.Qb1 Ra1 36.Qd3 Ne5 37.Qc2 $17 { -2.67/19 } ) ( { Black is threatening } 34.-- Ng6 35.Nf5 Ne5 36.Qb3 Rea8 37.Ne3 g6 { -3.33/22 } ) 34...Ng6 35.Nf5 Ne5 36.Qe2 g6 37.Nh6+ Kg7 38.Nf5+ Kg8 39.Nh6+ Kg7 40.Nf5+ gxf5 41.Qh5 Ng6 0-1
[/pgn]
Download:
http://www.mediafire.com/download/md35d ... er_v33.rar