Is there a current tool like the old "GameAnalyzer" ?

Discussion about chess-playing software (engines, hosts, opening books, platforms, etc...)
User923005
Posts: 616
Joined: Thu May 19, 2011 1:35 am

Is there a current tool like the old "GameAnalyzer" ?

Post 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?
User923005
Posts: 616
Joined: Thu May 19, 2011 1:35 am

Re: Is there a current tool like the old "GameAnalyzer" ?

Post 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;
}
ChessDrone
Posts: 78
Joined: Mon Jan 28, 2013 10:56 am

Re: Is there a current tool like the old "GameAnalyzer" ?

Post 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
User923005
Posts: 616
Joined: Thu May 19, 2011 1:35 am

Re: Is there a current tool like the old "GameAnalyzer" ?

Post 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.
ChessDrone
Posts: 78
Joined: Mon Jan 28, 2013 10:56 am

Re: Is there a current tool like the old "GameAnalyzer" ?

Post by ChessDrone »

Thank you :difus_drinks
User923005
Posts: 616
Joined: Thu May 19, 2011 1:35 am

Re: Is there a current tool like the old "GameAnalyzer" ?

Post 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.
ChessDrone
Posts: 78
Joined: Mon Jan 28, 2013 10:56 am

Re: Is there a current tool like the old "GameAnalyzer" ?

Post by ChessDrone »

With pleasure. x64 sir :)
User923005
Posts: 616
Joined: Thu May 19, 2011 1:35 am

Re: Is there a current tool like the old "GameAnalyzer" ?

Post by User923005 »

I sent you a pm.
I need your email address to send you the binary.
User923005
Posts: 616
Joined: Thu May 19, 2011 1:35 am

Re: Is there a current tool like the old "GameAnalyzer" ?

Post by User923005 »

file is sent.
ChessDrone
Posts: 78
Joined: Mon Jan 28, 2013 10:56 am

Re: Is there a current tool like the old "GameAnalyzer" ?

Post by ChessDrone »

:difus_drinks
I will try it later. Thank you a lot
Good night :difus_lazy2
Post Reply