Here is an article written by the greatly talented Serge, about how to go deeper into the LucasArts engine and enable develper mode in Grim Fandango, which was featured on his old SCUMM Revisited site. To access the developer mode he talks about, use bgbennyboy's launcher to launch the game. It may also be worth visiting LucasHacks, which contains various other LucasArts related hacking tools.
This article will go through a few of the ways to get further into
the LucasArts engines. Developer modes, additional parameters, etc.
etc. First, let's look extensively at Grim Fandango. Then a small
look at how to play CMI in a window. Please note that this stuff is
NOT for beginners. Although it's easy to enter developer mode, it
may screw up your game totally (normally a reinstall should take care
of that :) - I don't take any responsibility and provide no support for
this. Be warned. Now that you're all scared away, let's move on
to the dangerous info ;)
But we will, anyway. You may have noticed that executing
"GRIMFANDANGO.EXE -?" displays a lot of arguments you may
send to the Grim Fandango executable. Some of them look quite
interesting don't they? Well, there are only a few of them that will
actually do anything (such as -s, loading the most recently saved
game) - unless you enter development mode!
You can enter the development mode of
Grim Fandango by going to the registry. Find the Grim Fandango
key (usually in HKEY_LOCAL_MACHINE/Software/LucasArts Entertainment
Company LLC/Grim Fandango/v1.0) and add a new string value in it. Call
this new string value good_times, and give it the value "trUE".
Now you'll be able to use all the locked arguments of GRIMFANDANGO.EXE.
|Runs Grim Fandango in windowed mode, rather than full screen. This
crashed on my computer. However, there is a different way of going to
windowed mode when developer mode is turned on. While playing the game,
go to options, and choose the old 3D Hardware Options item. Then pick
the item saying "DIBSection Windowed Display" and do as
prompted. This worked on my comp. Woohoo! :)
|Logs messages to debug.log. This only works if you have the proper
debuglog.dll in your Grim Fandango directory. Maybe it won't even work
when that condition is met - I haven't tested. If you want to try anyway,
download the debugging patches from the download
|Logs resource info to a file called resource.log in your Grim
directory. This works without debuglog.dll. Question is if it's very
interesting to anyone who isn't writing a game in GrimE ;).
|After Grim Fandango starts, this will invoke the chore tool, which
is an interface used for setting up walking boxes, actor chores etc.
Only problem is, it requires choreface.dll, which isn't included with
the release version of Grim Fandango. Quite clever, aren't they? - LucasArts.
|I guess this does what the window says: Sets the maximum memory usage
to whatever you specify (-m 2048 = 2MB). Used for testing the game with
lower amounts of memory than what the test machine has.
|I already mentioned this one. It works without the registry modification,
and is used for loading the most recently saved game (it's what the launcher
program calls to achieve this).
|Allows you to pass parameters to the BOOT script (the one called
_system.lua). As I haven't got this script decompiled yet, I can't tell you
whether there actually are any useable parameters.
|This allows you to add an additional data directory to Grim Fandango.
Normally, the game will load resources from the CD Resource dirs, the
Grim directory, and the Grim\Scripts directory (if you have
TextAllowed=trUE in the registry - see the Secret and Less Secret Issues
part of the SCUMM Revisited help file). So, with this you can add, say,
Grim\MyData by running GRIM.EXE -p MyData.
|Accellerated z-buffers. I have no idea how accellerated these are. I
noticed no difference when running the game with this parameter.
Lots of ingame keys are turned on when you enter development mode. Stuff
|Allows you to enter Lua code and send it directly to the engine for
execution (try stuff like
SayLine("I killed Guybrush
DrawLine(0,0,640,480)) Note that
Lua is case-sensitive!
|Will allow you to choose any room you want to jump to, either using
the full name (such as "Manny's Office") or a shortcut, which
is the .set name of the room (e.g. "mo"). The rooms are as
|Glottis' Dog House
|Chowchilla Charlie's Suit
|Black Robe Inventory
|Siberian Coat Inventory
|Nautical Uniform Inventory
|White Dinner Jacket Inventory
|Army Uniform Inventory
|Work suit inventory
|Manny's DOD Office
|Stairs Outside the DOD
|Highway Ramp outside DOD
|Glottis' Mechanics Shop
|Alley behind DOD
|El Marrow Main Street
|Don Copal's Office
|Land of the Living Diner
|DOD Packing Room
|Domino Hurley's Office
|Festival of the Dead
|El Marrow Skyline from Forest
|Petrified Forest Signpost Fork
|Petrified Forest Spider Web
|Petrified Forest "Maze"
|Lobby for Beaver Room
|Beaver Warning Sign
|Gate Outside Beaver Dam
|tree pump room
|Tree Pump Machinery Room
|Rubacava Rubamat Exterior
|Rubacava Rubamat Interior
|Cafe Calavera Office
|Cafe Calavera Coat Check
|Cafe Calavera Bar
|Cafe Calavera Casino
|Cafe Calavera Exterior
|Cafe Calavera Ledge
|temp hub room
|blue casket wide
|Blue Casket Wide Shot
|Blue Casket Exterior
|Blue Casket Exterior
|Blue Casket interior
|Blue Casket Interior
|Blue Casket kitchen
|Blue Casket Kitchen
|Tattoo Shop Exterior
|Tattoo Shop Interior
|Rubacava Elevator Station
|Rubacava Police Station
|bridge police side
|Rubacava Bridge - Police Side
|Rubacava City Gate
|Security Officer Carla
|Kitty Track Betting Area
|Kitty Track Overview Window
|Kitty Track Stairs
|Kitty Track Hallway (Sanspoof)
|The Bees' Dry Dock
|high roller hall
|High Rollers Lounge Hall
|high roller lounge
|High Rollers Lounge
|high roller kitchen
|High Rollers Lounge Kitchen
|high roller pantry
|High Rollers Lounge Pantry
|high roller elevator
|High Rollers Lounge Elevator
|High Rollers Wine Cellar
|High Rollers Dillopede
|High Rollers Dillopede Hall
|Swanky Maximino's Office
|Rubacava Police Station Int.
|Rubacava Lighthouse Exterior
|extend o bridge
|Velasco's Storage Room
|Cafe Calavera Balcony
|Betting Ticket Printer
|Deck of Lola
|Inside the Lola
|engine room interior
|Lola Engine Room
|Engines Porthole - Dock
|Engines Porthole - Ocean
|end of the world
|End of the World Overview
|End of the World Airlock
|End of the World Mines
|temp factory hub
|End of the World Factory Hub
|Number 9 Tickets Vault Door
|End of the World Ashtray Room
|Domino at the End of the World
|Mining Foreman's Office
|Anchor at Conveyor Belt
|Glottis hanging on the Lamancha
|Lamancha over the Edge of the World
|Crane and Conveyor Belt
|Crane Track Overview
|Outer Number 9 Tickets Vault
|Inner Number 9 Tickets Vault
|undernath [sic!] the Lola
|9th Underworld Temple Gate
|temple back stairs
|Temple Back Stairs
|Mayan Truck Depot
|Mayan Mechanics Kitchen
|Bone Wagon Garage
|Velasco's Storage Room Int.
|New LSA Headquarters
|LSA Headquarters Sewer
|Sewer outside Theater
|El Marrow Theater Backstage
|Tunnel Outside Florist's Shop
|Florist's Shop Exterior
|Florist's Shop Interior
|le mans lobby
|Le Man's Lobby
|Le Man's Foyer
|El Marrow Neon Ledge
|Meadow outside Greenhouse
|Meadow outside Greenhouse
|mayan train station
|Station Before 9th Underworld
|Turns on/off walking boxes.
|Turns on/off lighting (i.e., when off, Manny (and the other actors)
won't be shaded according to shadows etc.)
|Displays the background image name in the lower left corner
|Creates a door. May require choreface.dll
|Turns on cursor - you can move the cursor along the y and z axis
using the arrow keys, Alt+arrow up/down moves the cursor along the
Home places Manny as close to the cursor as he
|Creates a new object. May require choreface.dll
|Prints the value of a variable.
|Changes back and forth between view points.
|Allows you to run a Lua script.
|Moves back and forth between rooms (Note: This will often force
you to change CD).
|Displays/Hides object names.
|Enables/disables the Sector Editor (which probably requires
choreface.dll and thus can't be used for anything).
|Positions Manny at his home position in the current room.
|Jumps to specific spots in the game. Some of these - don't know
if I have them all:
|Manny and Meche dialogue
|Locked up in Glottis' Shop (Salvador).
|Petrified Forest (Glottis rips his heart out)
|Spider Web (Glottis' heart)
|High Roller Kitchen
Here are some annotations for Grim Fandango in SCUMM revisited. Use these while viewing the voice files, and they will tell you what line of dialogue every file is. Very useful!
GF Voice Annotations