MV Creating resolution options using Yanfly's Options Core

I'm trying to implement resolution options like those seen in most PC games. The goal is to have four options (960x540, 1920x1080, 2880x1620, 3840x2160) which will increase the size of the window to the specified amounts.
I realize this doesn't actually change the game's native resolution, but that isn't a problem as I've already addressed the blurriness issue.

1768628505713.png


The image above shows the path I'm using to create new menu options. The window in the far right is the one that matters as it is there where the code needs to be placed (and where I'm having trouble).

I imagine this actually pretty simple but I'm having a hard time making sense of how to use the "Functions".
Thanks in advance.
I'm trying to implement resolution options like those seen in most PC games. The goal is to have four options (960x540, 1920x1080, 2880x1620, 3840x2160) which will increase the size of the window to the specified amounts.
I realize this doesn't actually change the game's native resolution, but that isn't a problem as I've already addressed the blurriness issue.

View attachment 358146

The image above shows the path I'm using to create new menu options. The window in the far right is the one that matters as it is there where the code needs to be placed (and where I'm having trouble).

I imagine this actually pretty simple but I'm having a hard time making sense of how to use the "Functions".
Thanks in advance.
You can just press F4 to turn it to Full Screen mode
Did you try copying an existing option with different values (like Battle Animation Speed, I think) and just editing it. Then you'd need to just change the name in Draw (and maybe copy paste more choices) anc change the codes in Process Ok

EDIT: Oh and also in cursor left/right, if that's enough to change the setting
You can just press F4 to turn it to Full Screen mode
That's not really a helpful answer.
I didn't check the maths on the resolutions they want, but I imagine OP mentioning "blurriness" and having specific resolution targets likely means they don't want to stretch the image to full screen. They likely want integer scaling.
That's not really a helpful answer.
I didn't check the maths on the resolutions they want, but I imagine OP mentioning "blurriness" and having specific resolution targets likely means they don't want to stretch the image to full screen. They likely want integer scaling.
It was actually because they already said they have fixed the blurry issue you brought up for some reason. They just want to have other resolutions for different monitors so the window fits. F4 fixes this. Maybe read what they wrote first before coming at others.
Having checked the math, it is integer scaling 👍
I unfortunately don't know how to enable this feature in Yanfly's option core, but I found this plugin (it's in the videos description)


It does mean you'll now need to pivot from how to enable resolutions in option core to how to hook into this plugin in options core, but might be slightly easier.
Just wanted to make sure my response was at least somewhat helpful.

Good luck!
Since the YF core can set the resolution, I imagine an extension to that process can be linked to system variables to change the resolution via options. The catch would be if the windows need adjustments due to the resizing (I know mine would...) and whether or not the game can shift the resolution without requiring a game restart.

Worth looking into, but I don't think I have the bandwidth right now.

Original thread: https://forums.rpgmakerweb.com/threads/creating-resolution-options-using-yanflys-options-core.182010/