Next: , Previous: Configuration file, Up: Invocation


3.6 Output files

GNU Chess produces several output files:

Adapter log file
This file is written by the adapter. The name of the file is specified by the following option in gnuchess.ini:

LogFile = FILENAME

The file is produced if option --uci is not specified and if the following variable is set in gnuchess.ini:

Typically, this file is named adapter.log, but any other name will do the job.

Log = true

log.nnn
This file is written if command name was requested. The contents are the opponent's name and the game in coordinate algebraic notation.
game.nnn
This file is written if command name was requested. The contents are the opponent's name and the game in portable game notation (PGN).
players.dat
This file is written if command name was requested. The contents are the statistics of games. This is the format of each line:

opponent-name wins loses draws

gnuchess.debug
This file contains internal information that is useful for debugging purposes. For this file to be written, it is necessary to define preprocessor directive DEBUG. Hence, when installing the program, instead of
          ./configure
          make
          make install
     

Use the following commands:

          ./configure CFLAGS=-DDEBUG
          make
          make install
     

When analysing a bug, this file could be very helpful. Users are encouraged to provide it.