Game and position files are found in a directory named by the
CHESSDIR
environment variable. If this variable is not set, the
current working directory is used. If CHESSDIR
is set,
XBoard actually changes its working directory to
$CHESSDIR
, so any files written by the chess engine
will be placed there too.