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 » Tue Jul 16, 2013 10:33 pm

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 » Fri Jul 19, 2013 3:54 am

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 » Fri Jul 19, 2013 1:35 pm

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 » Fri Jul 19, 2013 7:25 pm

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 » Fri Jul 19, 2013 7:32 pm

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 » Fri Jul 19, 2013 8:11 pm

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 » Fri Jul 19, 2013 8:23 pm

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 » Fri Jul 19, 2013 9:23 pm

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 » Fri Jul 19, 2013 11:42 pm

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 » Sat Jul 20, 2013 1:03 am

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

Post Reply