Difference between revisions of "SCUMM/Debug Codes"

From ScummVM :: Wiki
Jump to navigation Jump to search
(same formatting as the others)
(→‎The Dig: Tell how to force enable debug mode; from NeoDement on YouTube)
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Various LucasArts games have debug passwords and key combinations built into the original executable. <b>THESE DO NOT WORK IN SCUMMVM</b>, only in the original dos executable.
Various LucasArts games have debug passwords and key combinations built into the original executable. <b>THESE DO NOT WORK IN SCUMMVM</b>, only in the original dos executable.


The password should be entered as-is, and an activation combination pressed to enter full debug mode. Case matters! If the activation key is ctrl-D, then hold ctrl-shift-d.
The password should be entered as-is, and an activation combination pressed to enter full debug mode.


=== Common Debug Keys ===
Partially based on [http://www.lucasforums.com/showthread.php?threadid=97859 this thread].
These keys are common to most SCUMM debug modes.
* ctrl-g: Switch rooms
* ctrl-f: Toggle 'Fast Mode'
* ctrl-s: Set SCUMM variable (EGA games)
* ctrl-e: Set SCUMM variable (VGA games)


=== Maniac Mansion (original) ===
=== Maniac Mansion (Original) ===
Debug Password: !a%ifyou*ve (discovered by Tomas)<br>
Debug Password: ''!a%ifyou*ve'' (discovered by Tomas)<br>
Activation Key: F7<br>
Activation Key: ''F7''<br>
Notes:          '(ex)claim a percentage if you starve'
Notes:          '(ex)claim a percentage if you starve'


=== Maniac Mansion (enhanced) ===
==== Keys ====
Debug Password: *ch4mysocks<br>
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
Activation Key: F7<br>
|- style="background:#efefef"
Notes:          Use shift-8 for the *, not the keypad. 'Starch for my socks'
|-
!Shift-D
|Displays the running scripts
|-
!Shift-G
|Goto room
|-
!Shift-O
|Get object in room
|-
!Shift-S
|Set variable
|-
!Shift-Z
|Display hex data from memory
|-
!Shift-/
|"Something"
|-
!Esc
|Redraw screen
|}


=== Zak McKracken (original & enhanced) ===
=== Maniac Mansion (Enhanced) ===
Debug Password: *ch4mysocks<br>
Debug Password: ''*ch4mysocks''<br>
Activation Key: ctrl-g for Atari version, F7 for others<br>
Activation Key: ''F7''<br>
Notes:          Use shift-8 for the *, not the keypad. 'Starch for my socks'
Notes:          Use ''Shift-8'' for the *, not the keypad. 'Starch for my socks'


=== Loom Floppy ===
==== Keys ====
Debug Password: schwanensee<br>
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
Activation Key: F7<br>
|-
Notes:         
!Shift-D
|Displays the running scripts
|-
!Shift-G
|Goto room
|-
!Shift-O
|Get object in room
|-
!Shift-S
|Set variable
|-
!Shift-Z
|Display hex data from memory
|-
!Shift-/
|"Something"
|-
!Esc
|Redraw screen
|}


=== Loom CD ===
=== Zak McKracken and the Alien Mindbenders (Original & Enhanced) ===
Debug Password: hardyharhar<br>
Debug Password: ''*ch4mysocks''<br>
Activation Key: ctrl-D<br>
Activation Key: ''Ctrl-G'' for Atari version, ''F7'' for others<br>
Notes:
Notes:         Use ''Shift-8'' for the *, not the keypad. 'Starch for my socks'


=== Last Crusade EGA ===
==== Keys ====
Debug Password: coolwhiped<br>
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
Activation Key: F7<br>
|-
Notes:
!Shift-F
|Fast mode
|-
!Shift-G
|Goto room
|-
!Shift-L
|Set object in room
|-
!Shift-O
|Get object in room
|-
!Shift-S
|Set variable
|-
! ! (Shift and 1)
|Change actor color (original), change room color (enhanced)
|-
! @ (Shift and 2)
|Change actor color (enhanced)
|-
! [] or {}
|Change room color (original)
|}


=== Last Crusade VGA, Zak256 ===
=== Zak McKracken and the Alien Mindbenders (FM-TOWNS) ===
Debug Password: whipitgood<br>
Debug Password: ''whipitgood''<br>
Activation Key: F7<br>
Activation Key: ''F7''<br>
Notes:


=== Monkey Island 1 ===
==== Keys ====
Debug Password: hardyharhar<br>
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
Activation Key: ctrl-D<br>
|-
Notes:
!Shift-F
|Fast mode
|-
!Shift-G
|Goto room
|-
!Shift-S
|Set variable
|}


=== Monkey Island 2 ===
=== Indiana Jones and the Last Crusade (EGA) ===
Debug Password: monkeyspit<br>
Debug Password: ''coolwhiped''<br>
Activation Key: ctrl-D<br>
Activation Key: ''F7''<br>
Notes:


=== Fate of Atlantis ===
==== Keys ====
Debug Password: shinymetal<br>
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
Activation Key: ctrl-D<br>
|-
Notes:
!Shift-F
|Fast mode
|-
!Shift-G
|Goto room
|-
!Shift-L
|Set object
|-
!Shift-O
|Activate object, eg open door
|-
!Shift-S
|Set variable
|-
!Shift-Z
|Display z-plane
|}
 
=== Indiana Jones and the Last Crusade (VGA) ===
Debug Password: ''whipitgood''<br>
Activation Key: ''F7''<br>
 
==== Keys ====
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
|-
!Shift-F
|Fast mode
|-
!Shift-G
|Goto room
|-
!Shift-S
|Set variable
|}
 
=== Loom (Floppy) ===
Debug Password: ''schwanensee''<br>
Activation Key: ''F7''<br> 
Note: Schwanensee means "Swan Lake" in German     
 
==== Keys ====
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
|-
!Shift-G
|Goto room
|}
 
=== Loom (CD) ===
Debug Password: ''hardyharhar''<br>
Activation Key: ''Ctrl-Shift-D''<br>
 
==== Keys ====
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
|-
!Shift-S
|Set variable
|-
!Shift-F
|Fast mode
|-
!Shift-G
|Goto room
|}
 
=== The Secret of Monkey Island ===
Debug Password: ''hardyharhar''<br>
Activation Key: ''Ctrl-Shift-D''<br>
Notes: Works for demo versions too, except standalone PC demo.
 
==== Keys ====
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
|-
!Shift-G
|Goto room
|}
 
==== CD Keys ====
In addition to the above key, the CD version supports these keys:
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
|-
!Ctrl-E
|Examine/set a SCUMM variable
|-
!Ctrl-F
|Fast mode
|-
!Ctrl-O
|Pick up object from room
|-
!Ctrl-L
|Enter a bootparam
|-
!1
|Change character
|-
![7-8]
|Change text color
|}
 
=== Monkey Island 2: LeChuck's Revenge ===
Debug Password: ''monkeyspit''<br>
Activation Key: ''Ctrl-Shift-D''<br>
 
==== Keys ====
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
|-
!Ctrl-E
|Set variable
|-
!Ctrl-F
|Fast mode
|-
!Ctrl-G
|Goto room
|-
!Ctrl-O
|Pick up object in room x
|-
!Ctrl-L
|Enter a bootparam
|-
!1
|Change character
|-
![2-6]
|Pick up animations
|-
![7-8]
|Change text color
|}
 
=== Indiana Jones and the Fate of Atlantis ===
Debug Password: ''shinymetal''<br>
Activation Key: ''Ctrl-Shift-D''<br>
 
==== Keys ====
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
|-
!Ctrl-E
|Set variable
|-
!Ctrl-F
|Fast mode
|-
!Ctrl-G
|Goto room
|-
!Ctrl-O
|Pick up object in room x
|-
!Ctrl-L
|Enter a bootparam
|}


=== Day of the Tentacle ===
=== Day of the Tentacle ===
Debug Password: swordfish<br>
Debug Password: ''swordfish''<br>
Activation Key: ctrl-D<br>
Activation Key: ''Ctrl-Shift-D''<br>
Notes:
 
==== Keys ====
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
|-
!Ctrl-E
|Set variable
|-
!Ctrl-F
|Fast mode
|-
!Ctrl-G
|Goto room
|-
!Ctrl-O
|Pick up object in room x
|-
!Ctrl-L
|Enter a bootparam
|}
 
=== Sam & Max Hit the Road ===
Sam & Max ''does not'' have an enabled debug code. The code should be stored in SCUMM variable 111, but is never set.
 
However, it can be re-enabled (in the original DOS/English CD release) by opening <code>SAMNMAX.001</code> in a hex editor and changing the string of bytes <code>0C692622</code> (located at offset 0x3995) to <code>06696969</code>.
 
Activation Key: ''Ctrl-D''
 
==== Keys ====
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
|-
!Ctrl-E
|Set variable
|-
!Ctrl-F
|Fast mode
|-
!Ctrl-G
|Goto room
|-
!Ctrl-O
|Pick up object in room x
|-
!Ctrl-L
|Enter a bootparam
|}


=== Full Throttle ===
=== Full Throttle ===
Debug Password: matilda (swordfish for PC Demo)<br>
Debug Password: ''matilda'' (''swordfish'' for PC Demo)<br>
Activation Key: Ctrl-D<br>
Activation Key: ''Ctrl-Shift-D''<br>
Notes:
 
==== Keys ====
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
|-
!Ctrl-E
|Set variable
|-
!Ctrl-F
|Fast mode
|-
!Ctrl-G
|Goto room
|-
!Ctrl-O
|Pick up object in room x
|-
!Ctrl-L
|Enter a bootparam
|}
 
=== The Dig ===
The Dig ''does not'' have an enabled debug code. The code should be stored in SCUMM variable 89, but is never set.
 
However, it can be re-enabled (in the original DOS/English CD release) by opening <code>DIG.LA1</code> in a hex editor and changing the string of bytes <code>44002F424F4F542E3030372F633A5C646967</code> (located at offset 0x236D) to <code>590000000000000000000000000000000000</code> (thanks to NeoDement on YouTube!).
 
Activation Key: ''Ctrl-D''
 
==== Keys ====
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
|-
!Ctrl-E
|Set variable
|-
!Ctrl-F
|Fast mode
|-
!Ctrl-G
|Goto room
|-
!Ctrl-O
|Pick up object in room x
|-
!Ctrl-L
|Enter a bootparam
|}


=== Curse of Monkey Island ===
=== The Curse of Monkey Island ===
Debug Password: matilda<br>
Debug Password: ''matilda''<br>
Activation Key: Ctrl-D<br>
Activation Key: ''Ctrl-Shift-D''<br>
Notes:          The first key on entering a screen is ignored! (?)
Notes:          The first key on entering a screen is ignored! (?)


=== The Dig / Sam and Max ===
==== Keys ====
Debug Password:<br>
{|border="1"  cellspacing="0" cellpadding="2" class="wikitable"
Activation Key:<br>
|-
Notes:          Neither The Dig nor Sam and Max have an enabled debug code. The code should be stored in SCUMM variables 89 and 111 respectively, but this are never set.
!Ctrl
|Hold to speed up the game
|-
!Shift-A
|Choose a different actor
|-
!Shift-F
|Actor follows walk boxes
|-
!Shift-I
|Actor ignores walk boxes
|-
!F9
|Play low pickup animation
|-
!F10
|Play high pickup animation
|-
!Shift-B
|Make actor face to the back
|-
!F
|Make actor face to the front
|-
!7
|Decrease actor talk color
|-
!8
|Increase actor talk color
|}

Latest revision as of 12:24, 16 November 2022

Various LucasArts games have debug passwords and key combinations built into the original executable. THESE DO NOT WORK IN SCUMMVM, only in the original dos executable.

The password should be entered as-is, and an activation combination pressed to enter full debug mode.

Partially based on this thread.

Maniac Mansion (Original)

Debug Password: !a%ifyou*ve (discovered by Tomas)
Activation Key: F7
Notes: '(ex)claim a percentage if you starve'

Keys

Shift-D Displays the running scripts
Shift-G Goto room
Shift-O Get object in room
Shift-S Set variable
Shift-Z Display hex data from memory
Shift-/ "Something"
Esc Redraw screen

Maniac Mansion (Enhanced)

Debug Password: *ch4mysocks
Activation Key: F7
Notes: Use Shift-8 for the *, not the keypad. 'Starch for my socks'

Keys

Shift-D Displays the running scripts
Shift-G Goto room
Shift-O Get object in room
Shift-S Set variable
Shift-Z Display hex data from memory
Shift-/ "Something"
Esc Redraw screen

Zak McKracken and the Alien Mindbenders (Original & Enhanced)

Debug Password: *ch4mysocks
Activation Key: Ctrl-G for Atari version, F7 for others
Notes: Use Shift-8 for the *, not the keypad. 'Starch for my socks'

Keys

Shift-F Fast mode
Shift-G Goto room
Shift-L Set object in room
Shift-O Get object in room
Shift-S Set variable
! (Shift and 1) Change actor color (original), change room color (enhanced)
@ (Shift and 2) Change actor color (enhanced)
[] or {} Change room color (original)

Zak McKracken and the Alien Mindbenders (FM-TOWNS)

Debug Password: whipitgood
Activation Key: F7

Keys

Shift-F Fast mode
Shift-G Goto room
Shift-S Set variable

Indiana Jones and the Last Crusade (EGA)

Debug Password: coolwhiped
Activation Key: F7

Keys

Shift-F Fast mode
Shift-G Goto room
Shift-L Set object
Shift-O Activate object, eg open door
Shift-S Set variable
Shift-Z Display z-plane

Indiana Jones and the Last Crusade (VGA)

Debug Password: whipitgood
Activation Key: F7

Keys

Shift-F Fast mode
Shift-G Goto room
Shift-S Set variable

Loom (Floppy)

Debug Password: schwanensee
Activation Key: F7
Note: Schwanensee means "Swan Lake" in German

Keys

Shift-G Goto room

Loom (CD)

Debug Password: hardyharhar
Activation Key: Ctrl-Shift-D

Keys

Shift-S Set variable
Shift-F Fast mode
Shift-G Goto room

The Secret of Monkey Island

Debug Password: hardyharhar
Activation Key: Ctrl-Shift-D
Notes: Works for demo versions too, except standalone PC demo.

Keys

Shift-G Goto room

CD Keys

In addition to the above key, the CD version supports these keys:

Ctrl-E Examine/set a SCUMM variable
Ctrl-F Fast mode
Ctrl-O Pick up object from room
Ctrl-L Enter a bootparam
1 Change character
[7-8] Change text color

Monkey Island 2: LeChuck's Revenge

Debug Password: monkeyspit
Activation Key: Ctrl-Shift-D

Keys

Ctrl-E Set variable
Ctrl-F Fast mode
Ctrl-G Goto room
Ctrl-O Pick up object in room x
Ctrl-L Enter a bootparam
1 Change character
[2-6] Pick up animations
[7-8] Change text color

Indiana Jones and the Fate of Atlantis

Debug Password: shinymetal
Activation Key: Ctrl-Shift-D

Keys

Ctrl-E Set variable
Ctrl-F Fast mode
Ctrl-G Goto room
Ctrl-O Pick up object in room x
Ctrl-L Enter a bootparam

Day of the Tentacle

Debug Password: swordfish
Activation Key: Ctrl-Shift-D

Keys

Ctrl-E Set variable
Ctrl-F Fast mode
Ctrl-G Goto room
Ctrl-O Pick up object in room x
Ctrl-L Enter a bootparam

Sam & Max Hit the Road

Sam & Max does not have an enabled debug code. The code should be stored in SCUMM variable 111, but is never set.

However, it can be re-enabled (in the original DOS/English CD release) by opening SAMNMAX.001 in a hex editor and changing the string of bytes 0C692622 (located at offset 0x3995) to 06696969.

Activation Key: Ctrl-D

Keys

Ctrl-E Set variable
Ctrl-F Fast mode
Ctrl-G Goto room
Ctrl-O Pick up object in room x
Ctrl-L Enter a bootparam

Full Throttle

Debug Password: matilda (swordfish for PC Demo)
Activation Key: Ctrl-Shift-D

Keys

Ctrl-E Set variable
Ctrl-F Fast mode
Ctrl-G Goto room
Ctrl-O Pick up object in room x
Ctrl-L Enter a bootparam

The Dig

The Dig does not have an enabled debug code. The code should be stored in SCUMM variable 89, but is never set.

However, it can be re-enabled (in the original DOS/English CD release) by opening DIG.LA1 in a hex editor and changing the string of bytes 44002F424F4F542E3030372F633A5C646967 (located at offset 0x236D) to 590000000000000000000000000000000000 (thanks to NeoDement on YouTube!).

Activation Key: Ctrl-D

Keys

Ctrl-E Set variable
Ctrl-F Fast mode
Ctrl-G Goto room
Ctrl-O Pick up object in room x
Ctrl-L Enter a bootparam

The Curse of Monkey Island

Debug Password: matilda
Activation Key: Ctrl-Shift-D
Notes: The first key on entering a screen is ignored! (?)

Keys

Ctrl Hold to speed up the game
Shift-A Choose a different actor
Shift-F Actor follows walk boxes
Shift-I Actor ignores walk boxes
F9 Play low pickup animation
F10 Play high pickup animation
Shift-B Make actor face to the back
F Make actor face to the front
7 Decrease actor talk color
8 Increase actor talk color