MZ Visustella Options Core: Launch Game With Stretch Screen - True

Hello friends,

I need help with configuring my Visustella Options Core. There are a few launch options I want my players to have so I don't have to leave a note telling them what to change themselves. For example, removing the Touch UI and defaulting Always Dash to Off.

I've figured out how to do this by editing the correct setting in the Options Core plugin settings. All you have to do (except in the case of enabling Full Screen on launch) is find the correct setting and change a line from false to true. However, this does not seem to work with Stretch Screen. I have tested it with a new config file in playtest pre-deployment, and also deployed builds of the game. Stretch Screen is starting as set to "Off" no matter what I do.

Here is what I did:

Open Plugin Settings -> Visustella Options Core -> Parameters: Options Categories -> Line 1 (General) -> Options List -> Line 23 (Stretch Screen) -> Data - JS: Default Value
JavaScript:
// Declare Constants
const config = arguments[0];
const symbol = arguments[1];

// Perform Actions
ConfigManager[symbol] = false;

^^ Change to:
JavaScript:
// Declare Constants
const config = arguments[0];
const symbol = arguments[1];

// Perform Actions
ConfigManager[symbol] = true;

This does not appear to work.

For reference, in case it helps with the solution, I will also post the way I got the game to launch in Full Screen, as the method is a little different. Perhaps I did it wrong. However, I don't know that this has anything to do with the Stretch Screen problem, as Stretch Screen has always defaulted to Off whether I had the Full Screen code changed or not.

Same method as above, get to the Data - JS: Default Value for Full Screen (line 22):

JavaScript:
// Declare Constants
const config = arguments[0];
const symbol = arguments[1];

// Perform Actions
ConfigManager[symbol] = !!Graphics._isFullScreen();

^^ Change to:

JavaScript:
// Declare Constants
const config = arguments[0];
const symbol = arguments[1];

// Perform Actions
ConfigManager[symbol] = !Graphics._isFullScreen();

If it's not apparent, I removed a single ! from:

!!Graphics._isFullScreen();

Please let me know if anyone has the solution to this issue.

Thanks for reading!

Original thread: https://forums.rpgmakerweb.com/threads/visustella-options-core-launch-game-with-stretch-screen-true.152209/