This is an old revision of the document!
Direct Menu Patch
Direct Menu Patch is a patch made by bugmenot and expanded by KotatsuAkira for several RPG Maker 2000 and 2003 versions. When set, it allows opening sub-menus of the main menu by specifying values in variables 3326 and 3327, and then attempting to open the menu through the command or by pressing the cancel button on a map.
The EasyRPG Player supports this patch by specifying it in the EasyRPG.ini or through command line. The IDs to use for the command can be specified this way, with the ID written in the EasyRPG.ini corresponding to the variable 3326, and said ID + 1 corresponding to the variable 3327.
The TestGame-2003 includes a test case for the Direct Menu Patch, which can be used as reference if needed:
For the sake of explanation, we will assume the Direct Menu Patch is set with the variable values of the original patch.
Current implementation issues: EasyRPG Player issue #3578
The variable 3326 dictates which menu should be opened:
| Value of variable 3326 | Menu to open |
|---|---|
| 1 | Inventory |
| 2 | Skills |
| 3 | Equipment |
| 4 | Status (2003 only) |
| 5 | Order (2003 only) |
| Other value | Default menu |
If the value is set to 4 or 5 in a 2000 game, the default menu will instead be opened. EasyRPG Player allows opening the status menu through this command even if the game is a 2000 game, though the order menu cannot be opened this way and instead opens the default menu.
If the menu to open is set to Skills, Equipment or Status, the variable 3327 will dictate on which hero page the menu should open:
| Value of variable 3327 | Hero page |
|---|---|
| 1~4 | Party member 1~4 |
| Negative value | Hero of the selected ID*(-1) |
| Other value | Party member 1 |
If the menu to open is set to Skills, Equipment, Status or Order, and that the party is empty, the default menu will be opened instead.
If the menu to open is set to Skills, Equipment or Status on an empty member slot and that the party is not empty, the first party member page will be opened instead.
If the menu to open is set to Equipment or Status on a hero not in the party, it will not be possible to scroll between heroes (as the hero is not a party member). Additionally, the original patch will not render the FaceSet of the selected hero if they are not in the party.
References and further reading
- Direct Menu Patch on Makerpendium (German)