DISCLAIMER: I can't program in C, but.... I've had a look at the ImportGame routine in import.c.
The routine appears to fail with a "return 0" if it can't find a : in the name line. When exporting to .gam format, gnubg writes the players line without a :, for example, gnubg ianshaw 1) 52: 13/8 24/22 64: 8/2 6/2 This means that gnubg can't even import the files it creates. It would seem to be relatively easy to change this routine, so that instead of returning 0, it uses some sensible defaults for sz0 sz1 n0 n1. If : not found then search for " " instead. By default, the players should be set to "Player 0" and "Player 1" if no sensible names can be found. This should find the gaps between the players. The score can be assumed to be 0 0. The game can be assumed to be Game 1, if not specified, and the match length as 0 (unlimited). I've got a whole stack of .gam files, and I'd love to able to analyse them. Regards, Ian Shaw _______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
