Difference between revisions of "AGI/Debug Modes"

Jump to navigation Jump to search
1,399 bytes added ,  15:31, 17 December 2011
updating with 0.94 changes
(simple wiki-fication)
(updating with 0.94 changes)
Line 1: Line 1:
  Sierra On-Line Debug Mode FAQ
  Sierra On-Line Debug Mode FAQ
  Version 0.93 [14-Jan-06] by HWM [hwmol@hotmail]
  Version 0.94 [15-Apr-08] by HWM


  Thanks to Omer Mor, Lars Skovlund & Kelmer for their valuable information.
  Thanks to Omer Mor, Lars Skovlund & Kelmer for their valuable information.
Line 59: Line 59:
packs and other demonstrations also don't include a debug mode.
packs and other demonstrations also don't include a debug mode.


There are four major versions of AGI. AGIv0, AGIv1, AGIv2 and surprisingly,
There are three major versions of AGI. AGIv1, AGIv2 and surprisingly, AGIv3.
AGIv3.


AGIv0/AGIv1 are old and uncommon interpreters with no known debug mode. The
AGIv1 is an old and uncommon interpreter. The only games using it are the
only games using them are the self-booting first versions of King's Quest 1 &
self-booting first versions of King's Quest 2 and The Black Cauldron, which
2 and The Black Cauldron, which are rare and hardly used nowadays. Donald
are rare and hardly used nowadays. However, the AGIv1 games do have a debug
Duck's Playground uses a hybrid between AGIv1 and AGIv2, it does include a
mode, so they're included here. Donald Duck's Playground is also self-
debug mode.
booting, but in many aspects more like AGIv2, including the version number
given by Sierra (v2.001), so it's listed under AGIv2. The first release of
the first part of King's Quest is sometimes listed as AGIv0, but technically
this more a container category for the first versions of the first release
of King's Quest, not really one interpreter.


AGIv2 and AGIv3 are pretty alike and so are their debug functions. Debug-wise
AGIv2 and AGIv3 are pretty alike and so are their debug functions. Debug-wise
the only major difference is that AGIv3 does not contain the trace-function.
the only major difference is that AGIv3 does not contain the trace-function.
AGIv3 games are Gold Rush!, King's Quest 4 (AGI version), the ManHunter
AGIv3 games are Gold Rush!, King's Quest 4 (AGI version), the Manhunter
series and a certain version of The Black Cauldron. The rest of the games use AGIv2.
series and a certain version (v2.10) of The Black Cauldron. Some demos also
use AGIv3. The rest of the games use AGIv2.


==== Script Debugger ====
==== Script Debugger: AGIv1 ====


Usually, the debug mode is activated by pressing [ALT + D]. However, there
In King's Quest 2, the debug mode is activated by entering "FAST SPEAK" at
are some alternative ways/exceptions with some games. These games require a
the command line. It will be activated on room change.
certain sentence typed in, perhaps to access the debug mode on other
 
platforms. They are the following:
In The Black Cauldron, the debug mode is activated by pressing [ALT + D].
This would eventually become the standard way of activation. The debug mode
will be deactivated on room change. Also, activating the debug mode multiple
times will generate multiple input/output lines!
 
After the debug mode is activated, the following commands are available:
 
TP            -  Teleport (change room/scene/script)
SP            -  Shows position of ego *
SHOW POSITION  -  Shows position of ego *
SHOW PRIORITY  -  Shows priority of ego
SHOW FLAG      -  Shows a given flag (or rather variable)
SET FLAG      -  Sets a given flag (or rather variable)
GET OBJECT    -  Get a given object added to inventory
QUIT          -  Quit game (originally, but now locks up)
 
*  Does not work with King's Quest 2
 
==== Script Debugger: AGIv2/AGIv3 ====
 
Usually, the debug mode is activated by pressing [ALT + D]. However, there
are some alternative ways/exceptions with some games. These games require a
certain sentence to be typed in; perhaps this was done to access the debug
mode on other platforms, without redefining keys in the code. The games and
their sentences are:


  Gold Rush!      -  BIRD BOY
  Gold Rush!      -  BIRD BOY
Line 86: Line 114:
  Space Quest 2  -  DBG
  Space Quest 2  -  DBG


After the debug mode is activated, the following options are available, by
After the debug mode is activated, the following commands are available:
typing:


  TP            -  Teleport (change room/scene/script)
  TP            -  Teleport (change room/scene/script)
Line 97: Line 124:
  RESET FLAG    -  Resets a given flag
  RESET FLAG    -  Resets a given flag
  GET OBJECT    -  Get a given object added to inventory
  GET OBJECT    -  Get a given object added to inventory
Or by pushing:


  [SCROLL LOCK] -  Trace mode (only works with AGI v2)
  [SCROLL LOCK] -  Trace mode (only works with AGI v2)


These commands will work in all the AGI games with a debug mode. However some
These commands will work in all the AGI games with a debug mode. However some
games have additional commands for use with the debug mode. The next chapters
games have additional commands for use with the debug mode. The next chapters
will cover them.
will cover them.


===== Game Specific: Al Lowe games =====
===== Game Specific: Al Lowe games =====
8,014

edits

Navigation menu