Page 1 of 2
Is there a current tool like the old "GameAnalyzer" ?
Posted: Tue Jul 16, 2013 10:33 pm
by User923005
Thomas McBurney wrote a utility called GameAnalyzer:
http://home.pacific.net.au/~tommyinoz/gameanalyser.html
It insists upon a Winboard debug log file. There used to be a converter for it called LGDEBPGN.exe, but that converter no longer works since it is some ancient Pascal code compiled for 16 bit OS.
I would like to be able to crawl through the annotated files from CCRL and CEGT to collect surprise positions, where one engine got the shock of its life.
While tools like Arena can load these files and show a graphical representation of the scores, I would have to manually hunt for the positions of interest.
Now, I could write a tool to do this, but if one has already been created by someone, that would obviously be a big time saver.
Does such a tool exist?
Re: Is there a current tool like the old "GameAnalyzer" ?
Posted: Fri Jul 19, 2013 3:54 am
by User923005
C program to fix CCRL files for use with GameAnalyzer:
Code: Select all
// gafix.exe < Komodo_5_1_MP_64-bit_4CPU.commented.[155].pgn > fixed.pgn
#include <stdio.h>
#include <string.h>
char string[32767];
char strang[32767];
int main(void)
{
while (fgets(string, sizeof string, stdin))
{
char *where;
while (where = strstr(string, "s}"))
{
where[0] = ' ';
}
printf(string);
}
return 0;
}
Re: Is there a current tool like the old "GameAnalyzer" ?
Posted: Fri Jul 19, 2013 1:35 pm
by ChessDrone
User923005 wrote:C program to fix CCRL files for use with GameAnalyzer:
Code: Select all
// gafix.exe < Komodo_5_1_MP_64-bit_4CPU.commented.[155].pgn > fixed.pgn
#include <stdio.h>
#include <string.h>
char string[32767];
char strang[32767];
int main(void)
{
while (fgets(string, sizeof string, stdin))
{
char *where;
while (where = strstr(string, "s}"))
{
where[0] = ' ';
}
printf(string);
}
return 0;
}
For the uninitiated, how to implement this code to use?
Regards
Re: Is there a current tool like the old "GameAnalyzer" ?
Posted: Fri Jul 19, 2013 7:25 pm
by User923005
You can compile it with a free compiler like gcc.
It will create a command line tool (no GUI).
You take the pgn file and redirect it to the executable and redirect the output to a new pgn file that GameAnalyzer will be able to understand.
If you do that, then you can run the report tool on it and find positions where an engine got surprised.
Very likely, if you collect enough of them, you can use them to find weaknesses in any given engine.
Re: Is there a current tool like the old "GameAnalyzer" ?
Posted: Fri Jul 19, 2013 7:32 pm
by ChessDrone
Thank you
Re: Is there a current tool like the old "GameAnalyzer" ?
Posted: Fri Jul 19, 2013 8:11 pm
by User923005
If you don't know how to perform compiles, I can send you a binary.
If you want me to send you a binary, tell me if you need 32 or 64 bit.
Re: Is there a current tool like the old "GameAnalyzer" ?
Posted: Fri Jul 19, 2013 8:23 pm
by ChessDrone
With pleasure. x64 sir
Re: Is there a current tool like the old "GameAnalyzer" ?
Posted: Fri Jul 19, 2013 9:23 pm
by User923005
I sent you a pm.
I need your email address to send you the binary.
Re: Is there a current tool like the old "GameAnalyzer" ?
Posted: Fri Jul 19, 2013 11:42 pm
by User923005
file is sent.
Re: Is there a current tool like the old "GameAnalyzer" ?
Posted: Sat Jul 20, 2013 1:03 am
by ChessDrone
I will try it later. Thank you a lot
Good night