Difference between revisions of "Game Specific Files"

From AGI Wiki
Jump to navigationJump to search
(Created page with "{{AGIWiki}} 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 ...")
 
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{AGIWiki}}
 
 
 
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:
 
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:
  
Line 8: Line 6:
 
|-
 
|-
 
|
 
|
[[Vol file|VOL.''x'']]
+
[[AGI VOL File|VOL.''x'']]
 
|
 
|
where ''x'' is a number 0-15; these files store the [[Logic|logic]], [[view]], [[Picture|picture]], and [[Sound|sound]] resources for the game. Most games only have a few of these files, rather than the maximum 16; in fact, many [[Fan Made Games|fan games]] only have a single VOL.0 file.
+
where ''x'' is a number 0-15; these files store the [[AGI Logic Resource|logic]], [[AGI View Resource]], [[AGI Picture Resource|picture]], and [[AGI Sound Resource|sound]] resources for the game. Most games only have a few of these files, rather than the maximum 16; in fact, many [[Fan AGI Game List|fan games]] only have a single VOL.0 file.
 
|-
 
|-
 
|
 
|
[[Directory files|LOGDIR]]
+
[[AGI DIR Files|LOGDIR]]
 
|
 
|
tells the [[interpreter]] where in the VOL files to find each logic resource for the game
+
tells the [[AGI Interpreter|interpreter]] where in the VOL files to find each logic resource for the game
 
|-
 
|-
 
|
 
|
[[Directory files|PICDIR]]
+
[[AGI DIR Files|PICDIR]]
 
|
 
|
tells the [[Interpreter|interpreter]] where in the VOL files to find each picture resource for the game
+
tells the [[AGI Interpreter|interpreter]] where in the VOL files to find each picture resource for the game
 
|-
 
|-
 
|
 
|
[[Directory files|VIEWDIR]]
+
[[AGI DIR Files|VIEWDIR]]
 
|
 
|
tells the [[Interpreter|interpreter]] where in the VOL files to find each view resource for the game
+
tells the [[AGI Interpreter|interpreter]] where in the VOL files to find each view resource for the game
 
|-
 
|-
 
|
 
|
[[Directory files|SNDDIR]]
+
[[AGI DIR Files|SNDDIR]]
 
|
 
|
tells the [[Interpreter|interpreter]] where in the VOL files to find each sound resource for the game
+
tells the [[AGI Interpreter|interpreter]] where in the VOL files to find each sound resource for the game
 
|-
 
|-
 
|
 
|
 
[[WORDS.TOK]]
 
[[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|said]] test command
+
contains all of the words that the game's parser will recognize; these words can be used as the argument to the [[AGI Said Command|said]] test command
 
|-
 
|-
 
|
 
|
[[OBJECT file|OBJECT]]
+
[[AGI OBJECT File|OBJECT]]
 
|
 
|
gives names and initial [[Room|rooms]] for the game's [[Inventory object|inventory items]]<nowiki>; also says how many </nowiki>[[Animated object|animated objects]] can be used in a given [[Room|room]]
+
gives names and initial [[AGI Room|rooms]] for the game's [[AGI Inventory Items|inventory items]]; also says how many [[AGI Animated Object|animated objects]] can be used in a given [[AGI Room|room]]
 
|}
 
|}

Latest revision as of 12:55, 24 March 2019

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