MZ Need help adding CGMZ Encyclopedia to VisuStella Main Menu Core

Hello,

I am trying to add CGMZ Encyclopedia to VisuStella Main Menu Core, mainly for the bestiary. I am aware that VisuStella has its own bestiary plugin, however when I change the UI size in the RPG Maker MZ database, the windows get all screwed up for the VisuStella bestiary, and there is no easy way to resize them. From testing, the CGMZ Encyclopedia scales just fine, so I'd rather use that. I am using other VisuStella menu plugins, so would like to just slide CGMZ Encyclopedia in. When I was testing non-VisuStella quest journal plugins, someone had given me advice on Discord on how to add non-VisuStella plugins to the VisuStella menu, but I can't find that post anymore.

Ideally it goes under datalog as well.

EDIT: Wow, I figured it out. The documentation for CGMZ Encyclopedia tells you to run SceneManager.push(CGMZ_Scene_Encyclopedia); in the parameter settings for CGMZ Menu Command Window (which I'm not using). So, I went to plugin list in RPG Maker MZ - VisuMainMenuCore - Command Window List, then I copied the credits page entry and pasted it at the bottom of that list. Then, I opened that pasted entry, changed "symbol" entry to "CGMZencyclopedia" (so I remember what it is), then where it says "JS: Run Code", open that and pasted SceneManager.push(CGMZ_Scene_Encyclopedia);

Then it also has a "STR: Text" entry in the now "CGMZencyclopedia" entry, where you put what you want it to be named in the menu. I named it Encyclopedia. Tested and it's working!

EDIT2: This edit is mostly for myself, in case I need to do this for another game in the future. But I am guessing this requires you have VisuStella's Credits plugin active as well.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-adding-cgmz-encyclopedia-to-visustella-main-menu-core.179073/