Difference between revisions of "Adventure Game Interpreter Specifications"

From AGI Wiki
Jump to navigationJump to search
Line 5: Line 5:
 
''This document is a collection of all the information currently known about the structure and operation of the Adventure Game Interpreter, used in 1984--1989 for a variety of adventure games published by Sierra On-Line such as Space Quest I and II, and Leisure Suit Larry in the Land of the Lounge Lizards.''
 
''This document is a collection of all the information currently known about the structure and operation of the Adventure Game Interpreter, used in 1984--1989 for a variety of adventure games published by Sierra On-Line such as Space Quest I and II, and Leisure Suit Larry in the Land of the Lounge Lizards.''
  
 +
== [[AGI Specifications: Chapter 1 - Introduction]] ==
  
== 1. Introduction ==
+
: [[AGI Specifications: Chapter 1 - Introduction#1|1.1  About this Document]]
 +
: [[AGI Specifications: Chapter 1 - Introduction#2|1.2  Audience]]
 +
: [[AGI Specifications: Chapter 1 - Introduction#3|1.3  Conventions Used in this Document]]
 +
: [[AGI Specifications: Chapter 1 - Introduction#4|1.4  What's Still Missing]]
 +
: [[AGI Specifications: Chapter 1 - Introduction#5|1.5  Change Log]]
 +
: [[AGI Specifications: Chapter 1 - Introduction#6|1.6  Credits]]
  
=== 1.1 About this document ===
+
== [[AGI Specifications: Chapter 2 - Overview]] ==
=== 1.2 Audience ===
 
=== 1.3 Conventions used in this document ===
 
=== 1.4 What's still missing ===
 
=== 1.5 Change log ===
 
=== 1.6 Credits ===
 
  
== 2. General AGI overview ==
+
: [[AGI Specifications: Chapter 2 - Overview#1|2.1  Versions of the AGI Interpreter]]
 +
: [[AGI Specifications: Chapter 2 - Overview#2|2.2  AGI Game Files]]
 +
: [[AGI Specifications: Chapter 2 - Overview#3|2.3  LOGIC, PICTURE, SOUND, and VIEW Data Files]]
 +
: [[AGI Specifications: Chapter 2 - Overview#4|2.4  What is Ego?]]
 +
: [[AGI Specifications: Chapter 2 - Overview#5|2.5  AGI Commands]]
 +
: [[AGI Specifications: Chapter 2 - Overview#6|2.6  Debug Modes]]
 +
: [[AGI Specifications: Chapter 2 - Overview#7|2.7  Priority Bands and Control Lines]]
  
=== 2.1 Versions of the AGI interpreter ===
+
== [[AGI Specifications: Chapter 3 - AGI Internals]] ==
=== 2.2 AGI game files ===
 
=== 2.3 LOGIC, PICTURE, SOUND, and VIEW data files ===
 
=== 2.4 What is Ego? ===
 
=== 2.5 AGI commands ===
 
=== 2.6 Debug modes ===
 
=== 2.7 Priority bands and control lines ===
 
  
== 3. AGI internals ==
+
: [[AGI Specifications: Chapter 3 - AGI Internals#1|3.1  How the Interpreter Works]]
 +
: [[AGI Specifications: Chapter 3 - AGI Internals#2|3.2  Variable Types]]
 +
: [[AGI Specifications: Chapter 3 - AGI Internals#3|3.3  Variables Used by the Interpreter]]
 +
: [[AGI Specifications: Chapter 3 - AGI Internals#4|3.4  Flags Used by the Interpreter]]
 +
: [[AGI Specifications: Chapter 3 - AGI Internals#5|3.5  Memory Organization]]
 +
: [[AGI Specifications: Chapter 3 - AGI Internals#6|3.6  Game IDs and Loaders]]
 +
: [[AGI Specifications: Chapter 3 - AGI Internals#7|3.7  Encrypted AGI Data]]
 +
: [[AGI Specifications: Chapter 3 - AGI Internals#8|3.8  Player Input Parsing]]
 +
: [[AGI Specifications: Chapter 3 - AGI Internals#|93.9  AGI Interpreter Versions]]
 +
: [[AGI Specifications: Chapter 3 - AGI Internals#10|3.10  Version Differences]]
  
=== 3.1 How the interpreter works ===
+
== [[AGI Specifications: Chapter 4 - The LOGIC Language]] ==
=== 3.2 Variable types ===
 
=== 3.3 Variables used by the interpreter ===
 
=== 3.4 Flags used by the interpreter ===
 
=== 3.5 Memory organization ===
 
=== 3.6 Game IDs and loaders ===
 
=== 3.7 Encrypted AGI data ===
 
=== 3.8 Player input parsing ===
 
=== 3.9 AGI interpreter versions ===
 
=== 3.10 Version differences ===
 
  
== 4. The LOGIC language ==
+
: [[AGI Specifications: Chapter 4#1|4.1  LOGIC Syntax]]
 +
: [[AGI Specifications: Chapter 4#2|4.2  Reference of the LOGIC Commands]]
 +
: [[AGI Specifications: Chapter 4#3|4.3  Discussion of Sample LOGIC Code from KQ4]]
  
=== 4.1 LOGIC syntax ===
+
== [[AGI Specifications: Chapter 5 - Resource Formats]] ==
=== 4.2 Reference of the LOGIC commands ===
 
=== 4.3 Discussion of sample LOGIC code from KQ4 ===
 
  
== 5. Formats of the resource files ==
+
: [[AGI Specifications: Chapter 5 - Resource Formats#1|5.1  Directory Files]]
 +
: [[AGI Specifications: Chapter 5 - Resource Formats#2|5.2  Format of VOL Files (version 2)]]
 +
: [[AGI Specifications: Chapter 5 - Resource Formats#3|5.3  Version 3 Resource Storage]]
 +
: [[AGI Specifications: Chapter 5 - Resource Formats#4|5.4  Sample Code]]
  
=== 5.1 Directory files ===
+
== [[AGI Specifications: Chapter 6 - LOGIC Resources]] ==
=== 5.2 Format of Vol files (version 2) ===
 
=== 5.3 Version 3 resource storage ===
 
=== 5.4 Sample code ===
 
  
== 6. LOGIC resources ==
+
: [[AGI Specifications: Chapter 6 - LOGIC Resources#1|6.1  Introduction]]
 +
: [[AGI Specifications: Chapter 6 - LOGIC Resources#2|6.2  Command List and Argument Types]]
 +
: [[AGI Specifications: Chapter 6 - LOGIC Resources#3|6.3  LOGIC Resource Format]]
 +
: [[AGI Specifications: Chapter 6 - LOGIC Resources#4|6.4  Sample Code]]
  
=== 6.1 Introduction ===
+
== [[AGI Specifications: Chapter 7 - PICTURE Resources]] ==
=== 6.2 Command list and argument types ===
 
=== 6.3 LOGIC resource format ===
 
=== 6.4 Sample code ===
 
  
== 7. PICTURE resources ==
+
: [[AGI Specifications: Chapter 7 - PICTURE Resources#1|7.1  Introduction]]
 +
: [[AGI Specifications: Chapter 7 - PICTURE Resources#2|7.2  PICTURE Resource Format]]
 +
: [[AGI Specifications: Chapter 7 - PICTURE Resources#3|7.3  Implementation]]
 +
: [[AGI Specifications: Chapter 7 - PICTURE Resources#4|7.4  Using Higher Resolution Modes]]
 +
: [[AGI Specifications: Chapter 7 - PICTURE Resources#5|7.5  Sierra's Picture Editor]]
 +
: [[AGI Specifications: Chapter 7 - PICTURE Resources#6|7.6  Sample Code]]
  
=== 7.1 Introduction ===
+
== [[AGI Specifications: Chapter 8 - VIEW Resources]] ==
=== 7.2 PICTURE resource format ===
 
=== 7.3 Implementation ===
 
=== 7.4 Using higher resolution modes ===
 
=== 7.5 Sierra's picture editor ===
 
=== 7.6 Sample code ===
 
  
== 8. VIEW resources ==
+
: [[AGI Specifications: Chapter 8 - VIEW Resources#1|8.1  Introduction]]
 +
: [[AGI Specifications: Chapter 8 - VIEW Resources#2|8.2  VIEW Resource Format]]
 +
: [[AGI Specifications: Chapter 8 - VIEW Resources#3|8.3  VIEW Table]]
 +
: [[AGI Specifications: Chapter 8 - VIEW Resources#4|8.4  VIEW Test Commands]]
 +
: [[AGI Specifications: Chapter 8 - VIEW Resources#5|8.5  Sample Code]]
  
=== 8.1 Introduction ===
+
== [[AGI Specifications: Chapter 9 - SOUND Resources]] ==
=== 8.2 VIEW resource format ===
 
=== 8.3 VIEW table ===
 
=== 8.4 VIEW test commands ===
 
=== 8.5 Sample code ===
 
  
== 9. SOUND resources ==
+
: [[AGI Specifications: Chapter 9 - SOUND Resources#1|9.1  Introduction]]
 +
: [[AGI Specifications: Chapter 9 - SOUND Resources#2|9.2  Sound in the IBM PCjr]]
 +
: [[AGI Specifications: Chapter 9 - SOUND Resources#3|9.3  Sound in the Apple IIgs]]
 +
: [[AGI Specifications: Chapter 9 - SOUND Resources#4|9.4  Sound in Other Platforms]]
 +
: [[AGI Specifications: Chapter 9 - SOUND Resources#5|9.5  SOUND Resource Format (PCjr version)]]
 +
: [[AGI Specifications: Chapter 9 - SOUND Resources#6|9.6  SOUND Resource Format (IIgs version)]]
 +
: [[AGI Specifications: Chapter 9 - SOUND Resources#7|9.7  Playing the Sounds on a Sound Card]]
 +
: [[AGI Specifications: Chapter 9 - SOUND Resources#8|9.8  Sample code]]
  
=== 9.1 Introduction ===
+
== [[AGI Specifications: Chapter 10 - Other Game Data]] ==
=== 9.2 Sound in the IBM PCjr ===
 
=== 9.3 Sound in the Apple IIgs ===
 
=== 9.4 Sound in other platforms ===
 
=== 9.5 SOUND resource format (PCjr version) ===
 
=== 9.6 SOUND resource format (IIgs version) ===
 
=== 9.7 Playing the sounds on a sound card ===
 
=== 9.8 Sample code ===
 
  
== 10. Other game data ==
+
: [[AGI Specifications: Chapter 10 - Other Game Data#1|10.1  Format of the OBJECT File]]
 +
: [[AGI Specifications: Chapter 10 - Other Game Data#2|10.2  Format of WORDS.TOK]]
 +
: [[AGI Specifications: Chapter 10 - Other Game Data#3|10.3  Sample Code]]
  
=== 10.1 Format of the object file ===
+
== [[AGI Specifications: Chapter 11 - Other Information]] ==
=== 10.2 Format of words.tok ===
 
=== 10.3 Sample code ===
 
  
== 11. Other information ==
+
: [[AGI Specifications: Chapter 11 - Other Information#1|11.1  The AGDS Package]]
 
+
: [[AGI Specifications: Chapter 11 - Other Information#2|11.2  The Making of the Thunderstorm Educational Program]]
=== 11.1 The AGDS package ===
+
: [[AGI Specifications: Chapter 11 - Other Information#3|11.3  Other AGI Interpreters]]
=== 11.2 The making of the Thunderstorm educational Program ===
 
=== 11.3 Other AGI interpreters ===
 

Revision as of 02:06, 5 December 2013

by Peter Kelly, ptrkelly@ozemail.com.au (editor)

Version 3.0 updated by Claudio Matsuoka, claudio@helllabs.org

v3.0, 22 May 1999

This document is a collection of all the information currently known about the structure and operation of the Adventure Game Interpreter, used in 1984--1989 for a variety of adventure games published by Sierra On-Line such as Space Quest I and II, and Leisure Suit Larry in the Land of the Lounge Lizards.

AGI Specifications: Chapter 1 - Introduction

1.1  About this Document
1.2  Audience
1.3  Conventions Used in this Document
1.4  What's Still Missing
1.5  Change Log
1.6  Credits

AGI Specifications: Chapter 2 - Overview

2.1  Versions of the AGI Interpreter
2.2  AGI Game Files
2.3  LOGIC, PICTURE, SOUND, and VIEW Data Files
2.4  What is Ego?
2.5  AGI Commands
2.6  Debug Modes
2.7  Priority Bands and Control Lines

AGI Specifications: Chapter 3 - AGI Internals

3.1  How the Interpreter Works
3.2  Variable Types
3.3  Variables Used by the Interpreter
3.4  Flags Used by the Interpreter
3.5  Memory Organization
3.6  Game IDs and Loaders
3.7  Encrypted AGI Data
3.8  Player Input Parsing
93.9  AGI Interpreter Versions
3.10  Version Differences

AGI Specifications: Chapter 4 - The LOGIC Language

4.1  LOGIC Syntax
4.2  Reference of the LOGIC Commands
4.3  Discussion of Sample LOGIC Code from KQ4

AGI Specifications: Chapter 5 - Resource Formats

5.1  Directory Files
5.2  Format of VOL Files (version 2)
5.3  Version 3 Resource Storage
5.4  Sample Code

AGI Specifications: Chapter 6 - LOGIC Resources

6.1  Introduction
6.2  Command List and Argument Types
6.3  LOGIC Resource Format
6.4  Sample Code

AGI Specifications: Chapter 7 - PICTURE Resources

7.1  Introduction
7.2  PICTURE Resource Format
7.3  Implementation
7.4  Using Higher Resolution Modes
7.5  Sierra's Picture Editor
7.6  Sample Code

AGI Specifications: Chapter 8 - VIEW Resources

8.1  Introduction
8.2  VIEW Resource Format
8.3  VIEW Table
8.4  VIEW Test Commands
8.5  Sample Code

AGI Specifications: Chapter 9 - SOUND Resources

9.1  Introduction
9.2  Sound in the IBM PCjr
9.3  Sound in the Apple IIgs
9.4  Sound in Other Platforms
9.5  SOUND Resource Format (PCjr version)
9.6  SOUND Resource Format (IIgs version)
9.7  Playing the Sounds on a Sound Card
9.8  Sample code

AGI Specifications: Chapter 10 - Other Game Data

10.1  Format of the OBJECT File
10.2  Format of WORDS.TOK
10.3  Sample Code

AGI Specifications: Chapter 11 - Other Information

11.1  The AGDS Package
11.2  The Making of the Thunderstorm Educational Program
11.3  Other AGI Interpreters