Making extra in-game menu box

Not sure how it's called. To clarify, by menu boxes I mean these things:

1648283060272.png


I'm making a fangame and want it to be playable for people who arent in the fandom or forgot how some things work. I want to make an extra 'box' which would serve as an encyclopedia for those who haven't read the warrior cats book (on which I'm basing my game). I'd also like to divide the encyclopedia into categories like hierarchy, ranks, series summary etc. Basically the thing I want to make would look somewhat like this:

1648283452330.png


Basically something similar to what Quest Log has to offer: a new menu box with categories.
It's probably doable with common events, but I have no idea how to do it. Is there any plugin/script for that? Thank you all in advance.

PS I'm basically still a newbie and don't know any programming language, just a few very very basic basics from Python
RM2k(3) do not support "normal" script extensions. You'd need to write and compile a patch, which I believe involves hex-editing (advanced!). Patch EULA for RM2003 here (not sure about RM2000):

Instead I suggest you do this using Show Picture/Move Picture commands in a looping Autorun event. This tutorial was written for MZ, but describes the general logic:
RM2k3 doesn't have an option to directly check input in a Conditional Branch. You can use the Key Input Processing command to store a pressed button code in a variable, then check that variable.
The entries in the default menu normally can not be extended. Well, there IS the possibility to write a very big patch in x86-Assembler to achieve it, but I've seen nobody doing this yet, it'd be very insane type and amount of work. Besides that you could make the encyclopedia to be an item in the inventory that calls an event or you include it somewhere else more fitting if possible.


In case you plan to replace the entire menu of RPG2003-1.12 with custom event-stuff, I suggest to apply this patch to RPG_RT.exe of your game (there are many tools that handle IPS-patching, ask a search-engine and pick your favorite or use a web-based patcher). Don't worry about the filename ("[...]_109"), this file is compatible with every version since 1.09, except when used in combination with ManiacPatch newer than mp210414.

It changes the behaviour of cancel-/menu-button (ESC, INS, X, C, V, B, N) when the player is allowed to open the default menu, skips the call and activates switch #1017 instead which you can use as condition in a common-event containing your custom-menu's process. That will give you a strong layer of security, most custom-menus made in RPG2000/2003 are very easy to break without this.

[A very barebones usage-example]
Code:
CommonEvent [0001:CustomMenu] :: Triggered at [Autostart] :: Switch [1017] needed

<>Control Menu: Disallow    << This is needed to pause menu-checking-processing of the engine
<>...
<>...                       << Insert your menu's eventcode here
<>...
<>Control Menu: Allow       << This is needed to allow player to use menu again later
<>Set Switch [1017] = OFF   << The switch the menu runs on has to be deactivated at very-end
<>

~炬燵あ
I could create a patch to replace one of the default menu entries with something that just flips a switch. (In fact such patches already exist for 1.08 but not for 1.09+.)

Is there a command in the regular menu options that you'd be willing to sacrifice? "Wait ON/OFF" perhaps?
What "Wait ON/OFF" does anyways?
It controls whether enemies can take actions while you are in the middle of deciding what skill or item to select or not.
Oh, well. I'd be able to sacrifice Wait ON/OFF, alongside with Row and Formation.
I did a thing. Or more precisely, two things. A port to 1.09~1.12 of bugmenot's patch ("SROA Switch") mentioned by Cherry that replaces "Status", "Row", "Order" and "Wait OFF/ON" with switches.

Originally there also was a variant without "Row" ("SOA"), another one with "Row" and "Wait" ("Row-ATB")... another one with "Status" and "Wait" ("SA")... and... another one with "Wait" only ("A"). If anything like that is needed, it could be adjusted.

★ https://archive.org/download/RPGMakerPatch_MenuSwitches/SROA_112.ips

And since you didn't mention "Status" to be replaced, I also made a new variant of it that leaves this command untouched but changes the others (and of course, I'm calling it "ROA").

★ https://archive.org/download/RPGMakerPatch_MenuSwitches/ROA_112.ips

Switch-IDs
[Status: 1009], [Row: 1007], [Order: 1010], [Wait: 1008]

~炬燵あ
OK so you did what I wanted to do. Thanks for taking that off my shoulders!
Oh, wow, thanks! It'll be really helpful!
@Froggo32 Just in case you or someone else is using my patch SwitchOnMenuCall I've mentioned in post #3, I highly recommend updating it with this new file. Alternatively you can also put a switch-operation-command right at the point where your game starts that is accessing a switch with an ID high enough (SOMC's ID or higher).

This is to prevent data in the game-application's memory getting corrupted if not enough switches-data is initialized. If you are already utilizing switches with higher IDs in your code before players even have a chance to do a menu-call, everything is fine.

~炬燵あ

Original thread: https://forums.rpgmakerweb.com/threads/making-extra-in-game-menu-box.146134/