loadGameFile
option is set, XBoard loads the specified
game file at startup. The file name - specifies the standard
input. If there is more than one game in the file, XBoard
pops up a menu of the available games, with entries based on their PGN
(Portable Game Notation) tags.
If the loadGameIndex
option is set to ‘N’, the menu is suppressed
and the N th game found in the file is loaded immediately.
The menu is also suppressed if matchMode
is enabled or if the game file
is a pipe; in these cases the first game in the file is loaded immediately.
Use the pxboard shell script provided with XBoard if you
want to pipe in files containing multiple games and still see the menu.
If the loadGameIndex specifies an index -1, this triggers auto-increment
of the index in matchMode
, which means that after every game the
index is incremented by one, causing each game of the match to be played
from the next game in the file. Similarly, specifying an index value of -2
causes the index to be incremented every two games, so that each game
in the file is used twice (with reversed colors).
The rewindIndex
option causes the index to be reset to the
first game of the file when it has reached a specified value.
matchMode
.
See loadPositionIndex
and loadGameIndex
.
default: 0 (no rewind).
saveGameFile
is set.
loadPositionFile
option is set, XBoard loads the
specified position file at startup. The file name - specifies the
standard input. If the loadPositionIndex
option is set to N,
the Nth position found in the file is loaded; otherwise the
first position is loaded.
If the loadPositionIndex specifies an index -1, this triggers auto-increment
of the index in matchMode
, which means that after every game the
index is incremented by one, causing each game of the match to be played
from the next position in the file. Similarly, specifying an index value of -2
causes the index to be incremented every two games, so that each position
in the file is used twice (with the engines playing opposite colors).
The rewindIndex
option causes the index to be reset to the
first position of the file when it has reached a specified value.