Page 1 of 1

Tool to analyse all games in a PGN file

PostPosted: 13 Apr 2008, 10:14
by Onno Garms
Does anybody know a tool to analyse all games in a PGN file automatically?

By analysing, I mean what Shredder GUI does in analysis: print evaluation by some engine for every position in the game and print the move that the engine would play. Those are inserted as comments into the PGN notation.

Shredder does so for one game. You have so save the annotation and start analysis of the next game manually. scid seems to have the same problem.

I'm looking for a tool that takes a pgn file as input, does an analysis of all games and writes another pgn file as output. This would enable me to analyse several games over night.

Does such a tool exist?

Re: Tool to analyse all games in a PGN file

PostPosted: 13 Apr 2008, 13:47
by Harald Johnsen
Perhaps http://chessdb.sourceforge.net/tutorial ... engine.php
I've not tried but apprently it can annotate more than one game.

HJ.

Re: Tool to analyse all games in a PGN file

PostPosted: 13 Apr 2008, 14:09
by Onno Garms
In another thread I found that Volker did such annotation. He used scid. As this does not work with my version of scid (3.6.1, latest from sourceforge) I'm currenty trying to upgrade to 3.6.22 (from http://prolinux.free.fr/scid/)

Re: Tool to analyse all games in a PGN file

PostPosted: 14 Apr 2008, 21:24
by bob
Crafty does this automatically.

The only issue is that it is best to have the "Name" tag in the PGN, and that the name be consistent. Then you can do something like:

annotateh games.pgn Hyatt 1-999 .5 60

(or whatever annotate options you want). It will annotate each game in the file, one by one, and always annotate for the side playing "Hyatt". Otherwise, you will have to use this:

annotateh games.pgn bw 1-999 .5 60

which will annotate every game for _both_sides which will take about twice as long to complete.