Give me Direction in Debugging

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
brettalandavis
Posts: 7
Joined: Wed May 11, 2011 4:16 pm

Give me Direction in Debugging

Post by brettalandavis »

I've figured out from various places how to turn on developer mode. Could someone tell me how to use the "jump" feature, though? I can get a few of the developer keys to work (turning on and off light, for example) but can't get jumping to work.

In another thread, someone mentioned loading ResidualVM in Terminal? Is this part of it?

Thanks for your help!
User avatar
giucam
Posts: 139
Joined: Mon Mar 21, 2011 9:20 am

Post by giucam »

Yes, you must open residual from a terminal to be able to feed it the parameters needed for some debug keys like jump.
brettalandavis
Posts: 7
Joined: Wed May 11, 2011 4:16 pm

Post by brettalandavis »

giucam wrote:Yes, you must open residual from a terminal to be able to feed it the parameters needed for some debug keys like jump.
I suppose my question is more, "what do I actually type in terminal"? The debugging info describes the command simply as J. Do I type J and then press "enter" or how does it work? I've tried various combinations but must be missing it.

Or can someone point me to where this has been spelled out clearly?

Thanks for holding my hand through this!
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

Ctrl+G: Simple room-jump, just puts Manny in set x.
J: Game-part-jump, puts Manny in location x, with the items to complete a puzzle. (dm puts him in the morgue with the items for that puzzle).

The room-names are different for the two, (the morgue is mg for Ctrl+g for instance).

Using them is simple:

With the game-window selected, press the proper keys, then go to the terminal, type in the room-name (either "Manny's Office" or "mo" for instance), press enter, voila.
brettalandavis
Posts: 7
Joined: Wed May 11, 2011 4:16 pm

Post by brettalandavis »

einarj wrote: Using them is simple:

With the game-window selected, press the proper keys, then go to the terminal, type in the room-name (either "Manny's Office" or "mo" for instance), press enter, voila.
This is exactly the sort of thing I was looking for! I'm trying this right now, but something's not working right. I launch the game from Terminal (with "open /applications/residual.app") but once I'm in the game, neither "J" nor "cntrl + g" seem to work in this way. I'm pressing both in the residual game window and then clicking over to the Terminal window and typing the various codes found at http://www.grim-fandango.com/hacking.php. But Terminal just says "command not found."

What am I doing wrong?
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

dont use "open ..." use "/applications/residual.app/Contents/Mac OS/residual" That should use the terminal as console.
Post Reply