MZ Help editing menu windows

Hi all,

I'm trying to edit the main menu and I had a some questions.

The only thing I can figure out is that (I'm assuming) I apply the edits to rmmz_scenes.js but I'm not even 100% sure about that.

1. How do change the x and y coordinates of a window within the menu?
2. How do I change the orientation of a window within the menu?
3. How do I change the height and width of a window within the menu?
4. How do I add a picture for the background of the menus?

Thanks in advance for the assistance
Each of the main menu windows has a function it's created with and usually a secondary function which handles the size and everything.
JavaScript:
Scene_Menu.prototype.goldWindowRect = function() {
    const ww = this.mainCommandWidth();
    const wh = this.calcWindowHeight(1, true);
    const wx = this.isRightInputMode() ? Graphics.boxWidth - ww : 0;
    const wy = this.mainAreaBottom() - wh;
    return new Rectangle(wx, wy, ww, wh);
};
This handles the gold window. ww is window width, wh is window height, wx is its x-position, wy is its y-position. They are using other functions/positions as anchors. You don't have to do that. You can set hard pixel related coordinates, though this might eventually run into issues if you use a non basic screen size for your game.
Thank you for answer.

Forgive my ignorance here though but, will the same thing apply to the other windows too? And if they don't have some of those options, can I just add those options to them?

And the resolution I'm planning on using is either 1280x720 or 1920x1080. Will that make things too difficult?

Thanks! 🙂
It applies to most windows, not all of them. There are a few exceptions which are handled differently. But for the menu it's all the same.

As long as it's a fixed resolution it's not an issue to use direct coordinates and sizes. Just as soon as it's variable it's better to stick with a formula rather than direct numbers.
Thanks, I appreciate your help.

I'll give it all a go. I wanna see if I can learn to build my menu myself before I post a request for someone to a custom one for me.
No problem.
I'm currently working on a plugin to customize the vanilla menus of the game. It's going to come with a few different visual setups for each menu aswell as other functions. So if your idea isn't too specific I can try to include it in the plugin in case things don't work out as you want them to.

Original thread: https://forums.rpgmakerweb.com/threads/help-editing-menu-windows.126839/