[For a commercial game] Force fullscreen, disable F3, Fullscreen On/Off in options

I would like a plugin that forces fullscreen on by default, Disables the F3 key, and adds Fullscreen on/off option in the options menu above Always Dash.
I would like a plugin that forces fullscreen on by default, Disables the F3 key, and adds Fullscreen on/off option in the options menu above Always Dash.
I try pressing F3, but what F3 do?
I agree, it would be awesome if a legit plugin like that was available, but I've not heard of one.

The closest I've found for VXAce was Yanfly's plugin which can increase the resolution to 640x480, not fullscreen scaling but still an improvement. Ive read it is possible to make it larger but that involves messing around with the .exe file which invalidates the license or something like that - so not an option for serious commercial projects. 
I try pressing F3, but what F3 do?
F3 only works in fullscreen mode which you can activate with F4.
For force fullscreen try this: http://forums.rpgmakerweb.com/index.php?/topic/46847-default-to-full-screen/#entry475925
Thanks but no thanks, i want it all as one script.
Thanks but no thanks, i want it all as one script.
Any particular reason why?
Any particular reason why?
Because n my opinion it just wouldn't work as separate plugins.Although I admit I have NO programming experience at all.
Bump
Bump
Bump
Bump
try this

Spoiler
/*=============================================================================
* Fullscreen_Options.js
*=============================================================================*/

/*:=============================================================================
* @plugindesc v1.0 Add fullscreen option, force fullscreen in Stretch Mode and disable F3.
* @author Krimer
*
* @param fullscreenOptionName
* @desc Fullscreen option name
* Default: Fullscreen
* @default Fullscreen
*
* @param forceFullscreen
* @desc Force fullscreen during first game start? true or false Default: false
* @default false
*
* @help
* "config.rpgsave" from "save" folder must be deleted to perform clean
* first start.
* After clean first start the "config.rpgsave" would be created
* and all changes in 'Options' would be saved there.
* =============================================================================*/

(function() {

var parameters = PluginManager.parameters('Fullscreen_Options');
var fullscreenOptionName = String(parameters['fullscreenOptionName']) || 'Fullscreen';
var forceFullscreen = String(parameters['forceFullscreen']);

/* Alias */
var _ConfigManager_makeData_Alias = ConfigManager.makeData;
ConfigManager.makeData = function() {
var config = _ConfigManager_makeData_Alias.call(this);
config.callFullscreen = this.callFullscreen;
return config;
};

/* Alias */
var _ConfigManager_applyData_Alias = ConfigManager.applyData;
ConfigManager.applyData = function(config) {
this.callFullscreen = this.readFlag(config, 'callFullscreen');
_ConfigManager_applyData_Alias.call(this, config);
};

/* Overwrite */
Graphics._defaultStretchMode = function() {
return true;
};

/* Overwrite */
Graphics._onKeyDown = function(event) {
if (!event.ctrlKey && !event.altKey) {
switch (event.keyCode) {
case 113: /* F2 */
event.preventDefault();
this._switchFPSMeter();
break;
case 115: /* F4 */
event.preventDefault();
this._switchFullScreen();
break;
}
}
};

/* Alias */
var _Scene_Title_start_Alias = Scene_Title.prototype.start;
Scene_Title.prototype.start = function() {
if (ConfigManager.callFullscreen && StorageManager.exists(-1)) {
Graphics._requestFullScreen();
} else if (!ConfigManager.callFullscreen && StorageManager.exists(-1)) {
Graphics._cancelFullScreen();
}
if (!StorageManager.exists(-1) && eval(forceFullscreen)){
Graphics._switchFullScreen();
ConfigManager.callFullscreen = eval(forceFullscreen);
}
ConfigManager.save();
_Scene_Title_start_Alias.call(this)
};


/* Alias */
var _Window_Options_addGeneralOptions_Alias = Window_Options.prototype.addGeneralOptions;
Window_Options.prototype.addGeneralOptions = function() {
this.addCommand(fullscreenOptionName, 'callFullscreen');
_Window_Options_addGeneralOptions_Alias.call(this)
};

/* Alias */
var _Window_Options_processOk_Alias = Window_Options.prototype.processOk;
Window_Options.prototype.processOk = function() {
_Window_Options_processOk_Alias.call(this)
var index = this.index();
var symbol = this.commandSymbol(index);
if (ConfigManager.callFullscreen && symbol == "callFullscreen") {
Graphics._requestFullScreen();
} else if (!ConfigManager.callFullscreen && symbol == "callFullscreen") {
Graphics._cancelFullScreen();
}
};
})();

Add like regular plugin with "Fullscreen_Options.js" as name of the file.


And look at the help, there is information about first game start. 
Add like regular plugin with "Fullscreen_Options.js" as name of the file.


And look at the help, there is information about first game start. 


Ah thanks! Works like a charm. Would it be fine with you if I share/redistribute this plugin to others?
Would it be fine with you if I share/redistribute this plugin to others?

Yes, no problem.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/for-a-commercial-game-force-fullscreen-disable-f3-fullscreen-on-off-in-options.54806/