Debug mode

From RRU Knowledge Base
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

A debug mode is a user interface implemented in some programs to allow developers to quickly view, test, and/or manipulate the program in some way for debugging purposes. Currently, two LEGO video games for Windows are known to have debug modes, both of which enable an extensive amount of debug keys. The two sections below list all known debug keys for each game.

LEGO Island

Debug mode in LEGO Island can be activated by typing ogel during gameplay. Once activated, you can press the keys below to use debugging features:

Key Effect
A
Plays the diving sequence from the second floor of the Information Center's elevator
C+00 to 69
Moves the viewpoint to a specific waypoint for a single frame (unless the player is in an interaction that locks the camera). For a complete list of waypoints, see here.
D
Temporarily lowers the viewpoint; walking into any barriers will reset the viewpoint level
F
Switches model quality to low
G+1
  • If this debug key is used before the Brickster has escaped, the game will crash.
  • If used after the Brickster has escaped but before the ambulance chase, the music cuts off and a skateboard will spawn at waypoint 50. The player must get to the skateboard quickly (somewhere between 16 and 23 seconds) or else the game will crash.
    • During this time the player gains the ability to fly and pass through walls. Pressing J and K tilts the camera along the X-axis, while I and M tilts the camera along the Y-axis.
    • Once the player has gotten on the skateboard, the island resets back to normal. However, getting off the skateboard prevents the player from moving, and attempting to accept any missions will crash the game.
  • If used during the ambulance chase, the same as above will happen, except the skateboard will spawn in front of the post office, where it first spawns during normal gameplay before the player first uses it.
  • If used during the brick hunt, the game will crash.
  • If used during the helicopter chase, the skateboard spawns at waypoint 50 and the player again gains flight intangibility; however, the game will not crash after any length of time until the player attempts to get on the skateboard.
G+2 to 5
Skips the game's current act to a point within the Brickster quest:
  • 2: Brickster escape
  • 3: Helicopter chase
  • 4: Good ending
  • 5: Bad ending
H
Switches model quality to high
L+0 or 1
Changes lighting based on current camera orientation
N
Toggles the viewpoint being locked at the current position. Player movement is still possible while locked.
P
Toggles scenery objects (plants and streetlights) on or off
S
Toggles music on or off. When toggling off, music stops automatically; when toggling on, entering or leaving a building is needed to re-enable.
U
Temporarily raises the viewpoint; walking into any barriers will reset the viewpoint level
V+A
Automatically moves the player to and plays each interaction in an act or location in a pre-defined order
X
Switches model quality to normal
Tab ↹
Shows the game's frame rate
Numpad /
Switches the players character to the Brickster. Clicking on scenery objects and buildings causes them to deconstruct. Clicking on the pizzeria will crash the game. Note that this will persist in the save file it's used on.
Numpad *
Switches the player to the next playable character from the one they were playing as. In order: Pepper, Mama, Papa, Laura, Nick, and then back to Pepper.
The following keys work without the "ogel" cheat
Numpad +
or
Numpad -
Pressing these keys cycles up or down through a list of characters, causing any loaded characters that get selected to appear in front of the player (flashing for a frame if they're active in the world, or staying frozen in the air in their last position if inactive). If the character being played as is selected, the viewpoint will move forward and up to that point. The player's actual location remains the same, and they can move around and make the viewpoint move linked to them but in its new location; however, like with the D and U debug keys, running into a barrier will reset the viewpoint.

The following is a list of characters assigned to each slot:

  1. The Infomaniac
  2. Laura Brick
  3. Nick Brick
  4. Papa Brickolini
  5. Mama Brickolini
  6. Pepper Roni
  7. Unknown
  8. Bumpy Kindergreen (shark-riding)
  9. Unknown
  10. Unknown
  11. Unknown
  12. Unknown
  13. Unknown
  14. Unknown
  15. Unknown
  16. Unknown
  17. Unknown
  18. Unknown
  19. Unknown
  20. Ghost moaning sound (follows ghost in racetrack dome, no character model)
  21. Unknown
  22. Unknown
  23. Unknown
  24. Unknown
  25. Unnamed maintenance man with sunglasses
  26. Unnamed maintenance man with blue visor
  27. Unknown
  28. Unnamed surfer man with black hair
  29. Bumpy Kindergreen
  30. Dorothy Funberg
  31. Glen Funberg
  32. Shiney Dorris
  33. Bradford Brickford
  34. Poly Gone
  35. Red Greenbase
  36. Gideon Worse
  37. Unnamed woman in swimsuit with flower hair (found in jetski track and helicopter chase
  38. Unknown
  39. Ghost (found wandering in racetrack dome)
  40. Unknown
  41. Unknown
  42. Flying Legando "?" 1
  43. Flying Legando "L"
  44. Flying Legando "E"
  45. Flying Legando "G"
  46. Jack O'Trades
  47. Flying Legando "?" 2
  48. Bill Ding (jet ski building)
  49. Bill Ding (buggy building)
  50. Bill Ding (helicopter building)
  51. Bill Ding (race car building)
  52. Captain D. Rom
  53. Return
  54. Enter
  55. Doctor Clickitt
  56. Nancy Nubbins
  57. Nubby Stevens
  58. Ed Mail
  59. Buck Pounds
  60. Maggie Post
  61. Unnamed maintenance woman (found waving flag at the racetrack[verify])
  62. Snap Lockit
  63. Valerie Stubbins
  64. Rhoda Hogg
  65. Studd Lincoln
  66. The Brickster

LEGO Rock Raiders

In LEGO Rock Raiders, the quickest way to enable debug mode is to run the game using the -programmer executable parameter (despite its name, the -debug parameter does not enable any of the debug keys).

Debug mode can also be activated by editing Lego.cfg. This method reliable activates all available debug keys:

  1. Extract LegoRR1.wad
  2. Open Lego.cfg
  3. Find AllowDebugKeys, by default at line 115
  4. Change its value from FALSE to TRUE
  5. Save, and rebuild LegoRR1.wad
Key Effect
F6 
Toggles fallin mode on or off. When off, landslides will only occur at areas specified in the Fallin map
F10
Inverts the direction of lighting
F11
Disables all building and vehicle prerequisites
F12
Disables all NERPs functions, such as mission objectives, tutorial scripts, and slimy slug emerges
⇧ Shift+A
Tells a Rock Raider to get get a sonic blaster from the Tool Store and place it where the mouse pointer was at the time the key was pressed. This also activates debug key A.
Left Ctrl+D
Instantly fails the current level
Left Ctrl+F
Toggles frame rate monitor on or off
Left Ctrl+G
Toggles memory monitor on or off
Left Ctrl+S
Instantly completes the current level. This also activates debug key S.
Right Ctrl+S
Instantly failsthe current level with the unused crystal failure reason "Too many Energy Crystals have been stolen for you to be able to complete this mission." This also activates debug key S.
Left ⇧ Shift+U
Triggers Advisor_Anim_Point_N
Right ⇧ Shift+U
Will end a looping advisor animation if one is playing
Spacebar+Esc
Quits the game when in a level
1
Primary selected Rock Raider goes to eye view (menu doesn't change)
2
Primary selected Rock Raider goes to shoulder view (menu doesn't change)
3
Primary selected Rock Raider goes to top view (menu doesn't change)
4
Primary selected unit will be selected by the radar for tracking
5
  • Makes cursor light shrink and grow starting from its default state. May grow to a much larger radius if used after exiting and then entering a level after prior use.
  • If a unit that changes its model when upgraded selected, it will change the first number in the upgrade code. This will change the model, but it does not appear to grant it that upgrade.
6
  • Makes cursor light grow and shrink starting from a separate counter than the normal cursor light uses. May grow to a much larger radius if used after exiting and then entering a level after prior use.
  • If a unit that changes its model when upgraded selected, it will change the second number in the upgrade code. This will change the model, but it does not appear to grant it that upgrade.
7
If a unit that changes its model when upgraded selected, it will change the third number in the upgrade code. This will change the model, but it does not appear to grant it that upgrade.
8
If a unit that changes its model when upgraded selected, it will change the fourth number in the upgrade code. This will change the model, but it does not appear to grant it that upgrade.
9
Decreases 3D sound fall off
0
Increases 3D sound fall off
A
Creates a landslide at mousepoint. Any materials designated at the selected block in the CryOre map will also be generated if A is tapped twice in a row, and will repeat generation for every time tapped after that until all current landslides end.
B
Pushes any Rock Raider or Monster at mousepoint east-northeast (one half-tile to the map's absolute top per every one tile to the absolute right)
E
Makes a monster emerge from any wall at mousepoint except solid rock
F
Take 40 health points off all units selected
H
Creates a spider web at mousepoint on any single tile with two walls non-diagonally adjacent to it and across from each other
J
Creates an electric fence at mousepoint. Placement rules are the same as when placing one normally, meaning the electric fence must be no more than two blocks away non-diagonally from a building or another electric fence.
L
Instantly exits the level to the results screen
M
Toggles music on or off
O
Decreases oxygen level. Using this key to completely deplete the oxygen during mission briefing will softlock the game.
R
Rotates the cursor light
S
Toggles sound on or off
U
Ends Advisor_Anim_Point_N
Y
Triggers the CrystalFound InfoMessage; clicking this message's go to button points to the northwest corner of the map at (5,5), although no crystal has actually been created
Z
  • Shakes the screen like when dynamite explodes when in top view.
  • Makes the primary selected Rock Raider eat while in any view.
End
Toggles power to the currently selected building on or off. Using this on a Tool Store or Power Station toggles the "Turn Power Off/On" button from being grey and unusable to being usable, as these buildings normally can't be turned off.
Numpad3
Destroys connections between any walls at mousepoint, except border rock. Walls exposed this way show as shades of pink on the radar instead of purple.
Numpad 7
Sets game speed to the maximum of 300% (note that changing the game speed through the menu only allows up to 200% speed to be set)
Numpad 8
Decreases game speed
Numpad 9
Increases game speed
Numpad Del
Destroys any walls at mousepoint, except border rock
Non-Debug Keys
Esc
Brings up pause menu
P
Brings up the pause menu
X
Strafes right in eye or shoulder view of any unit that can strafe
Z
Strafes left in eye or shoulder view of any unit that can strafe (if debug keys are enabled, a Rock Raider will eat instead)