Dev Menu (RSDKv4)¶
The Dev Menu is a debug menu included with RSDKv4, disabled by default. The menu includes several features useful for debugging games in the engine.
Enabling¶
The Dev Menu is normally inaccessible, however in the RSDKv4 Decompilation, it can be enabled by setting DevMenu
to true
in the settings.ini file, like so:
[Dev]
; Enable this flag to activate dev menu via the ESC key
DevMenu=true ; (1)!
; Enable this flag to activate features used for debugging the engine (may result in slightly slower game speed)
EngineDebugMode=false
; Enable this flag to force the engine to load from the scripts folder instead of from bytecode
TxtScripts=false
...
- Make sure that the decomp is not running while editing settings.ini; otherwise, your changes will be reverted upon closing the decomp.
Decomp Debug Controls¶
Key | Command |
---|---|
Esc | Opens the Dev Menu. |
Backspace | While held down, speeds up the game to 8x speed. |
F12 / Pause (F7 on Mac) | Toggles step-over mode. |
F11 / Ins (F6 on Mac) | If in step-over mode, steps over to the next frame. |
F1 | Loads the first scene in the Presentation stage list. |
F2 | Loads the previous scene in the scene list. If pressed in the first scene, it will load the last one. |
F3 | Loads the next scene in the scene list. If pressed in the last scene, it will load the first one. |
F5 | Reloads the current scene. |
F8 | Toggles visualizing active touchscreen hitboxes. |
F9 | Toggles visualizing active hitboxes. |
F10 | Toggles displaying the currently loaded palettes. |
Menu¶
You can open the Dev Menu at any time in the RSDKv4 Decompilation by pressing Esc or by selecting it in the Help & Options or pause menus.
TODO: explain each submenu
Other Effects¶
When the Dev Menu is enabled in the RSDKv4 Decompilation, the global variable options.devMenuFlag
is set to true
upon loading the GameConfig, if such global variable exists.