Any way to change resolution to 2560x1440 ?

MZ provides now the option to change resolution which is nice. But the maximum width x height is 2000x2000.
Is there any way to change it to 2560x1440?
Because it is now built-in, most 3rd-party plugins (such as Yanfly) have removed the resolution feature.
You could create a new plugin file and add the following:
Code:
Graphics.resize(2560, 1440);

Not sure how well mz performs at that resolution though. Also, your package.json file will need to have these values added also or the game will open at the size specified in the editor. When you save your game it will overwrite the values in the package.json file with the width and height from the editor.

edit: might need some additional code to make it resize after load instead of during/before.

edit edit:
Code:
Scene_Boot.prototype.resizeScreen = function() {
    const screenWidth = $dataSystem.advanced.screenWidth;
    const screenHeight = $dataSystem.advanced.screenHeight;
    Graphics.resize(screenWidth, screenHeight);
    this.adjustBoxSize();
    this.adjustWindow();
};
^ this is the default function that sets your game screen resolution. put that in the plugin file and replace the values accordingly. 🙂

Hope that helps :*
You could create a new plugin file and add the following:
Code:
Graphics.resize(2560, 1440);

Not sure how well mz performs at that resolution though. Also, your package.json file will need to have these values added also or the game will open at the size specified in the editor. When you save your game it will overwrite the values in the package.json file with the width and height from the editor.

edit: might need some additional code to make it resize after load instead of during/before.

edit edit:
Code:
Scene_Boot.prototype.resizeScreen = function() {
    const screenWidth = $dataSystem.advanced.screenWidth;
    const screenHeight = $dataSystem.advanced.screenHeight;
    Graphics.resize(screenWidth, screenHeight);
    this.adjustBoxSize();
    this.adjustWindow();
};
^ this is the default function that sets your game screen resolution. put that in the plugin file and replace the values accordingly. 🙂

Hope that helps :*
Thanks I will try with it!

Original thread: https://forums.rpgmakerweb.com/threads/any-way-to-change-resolution-to-2560x1440.126846/