Game Specific Files

From AGI Wiki
Jump to: navigation, search

The game-specific files are what makes an AGI game unique. Together they make up the collection of resources that make the game what it is. In order to run an AGI game, you need all of these files. The game-specific files for a version 2 game are as follows:

File Purpose

VOL.x

where x is a number 0-15; these files store the logic, AGI View Resource, picture, and sound resources for the game. Most games only have a few of these files, rather than the maximum 16; in fact, many fan games only have a single VOL.0 file.

LOGDIR

tells the interpreter where in the VOL files to find each logic resource for the game

PICDIR

tells the interpreter where in the VOL files to find each picture resource for the game

VIEWDIR

tells the interpreter where in the VOL files to find each view resource for the game

SNDDIR

tells the interpreter where in the VOL files to find each sound resource for the game

WORDS.TOK

contains all of the words that the game's parser will recognize; these words can be used as the argument to the said test command

OBJECT

gives names and initial rooms for the game's inventory items; also says how many animated objects can be used in a given room