{"name":"Olivia_MetaControls","status":true,"description":"<MetaControls> for RPG Maker MV version 1.6.1.","parameters":{"":"","ATTENTION!!!":"READ THE HELP FILE","Common Event on New Game":"0","Common Event on Load":"0","Variables on Save":"","Map ID":"0","Map X":"0","Map Y":"0"}}, {"name":"erri120_AlwaysWinCoinTosses","status":true,"description":"Alwayswincointosses","parameters":{}}, {"name":"fullscreen","status":true,"description":"","parameters":{}}, {"name":"ShiftEnemies","status":true,"description":"","parameters":{}} ]; У тех у кого проблема с модом фуллскрин, заменяйте в блокноте ваш текст на мой.
I had major problems getting the game to launch with this due to the poor instructions. I finally figured it out by mirroring the lines of code above. Basically, if you open that plugins.js file and paste this over the last three lines, they should read exactly like this:
{"name":"Olivia_MetaControls","status":true,"description":"<MetaControls> for RPG Maker MV version 1.6.1.","parameters":{"":"","ATTENTION!!!":"READ THE HELP FILE","Common Event on New Game":"0","Common Event on Load":"0","Variables on Save":"","Map ID":"0","Map X":"0","Map Y":"0"}}, {"name":"erri120_AlwaysWinCoinTosses","status":true,"description":"","parameters":{}} ];
So when he said to use the comma, it means deleting the ]; from the previous line and replacing it with a , and then pasting the code that has an ending line of ]; which I guess tells the game to stop reading for more code and allows it to launch...
when adding more mods add this one last, put {"name":"erri120_AlwaysWinCoinTosses","status":true,"description":"","parameters":{}}, under Save":"","Map ID":"0","Map X":"0","Map Y":"0"}},
this is because mods like rein of new gods and widescreen mod and the widescreen compatibility mod under rein of new gods change the plugin.sj file. also the comma at the end of {"name":"erri120_AlwaysWinCoinTosses","status":true,"description":"","parameters":{}}, is important otherwise black screen
{"name":"Olivia_MetaControls","status":true,"description":"<MetaControls> for RPG Maker MV version 1.6.1.","parameters":{"":"","ATTENTION!!!":"READ THE HELP FILE","Common Event on New Game":"0","Common Event on Load":"0","Variables on Save":"","Map ID":"0","Map X":"0","Map Y":"0"}}, {"name":"erri120_AlwaysWinCoinTosses","status":true,"description":"","parameters":{}}, under Save":"","Map ID":"0","Map X":"0","Map Y":"0"}}, what did i do wrong
Can someone share what the whole code is meant to look like for it to work? This is what I have and its not working for some reason:
(function() { const __old_Game_Interpreter_command122 = Game_Interpreter.prototype.command122; const toSearch = [ 14, // variable "coin_flip" 14, // variable "coin_flip" 0, // SET the variable 2, // set the variable to a RANDOM value 1, // SUCCESS 2 // FAILURE ]; const toReplace = [ 14, // variable "coin_flip" 14, // variable "coin_flip" 0, // SET the variable 0, // use a CONSTANT value 1 // SUCCESS ]; // partial replacement Game_Interpreter.prototype.command122 = function() { if (this._params.length !== toSearch.length) { return __old_Game_Interpreter_command122.bind(this)(); } for (let i = 0; i < toSearch.length; i++) { if (this._params[i] !== toSearch[i]) { return __old_Game_Interpreter_command122.bind(this)(); } } this._params = toReplace.slice(); return __old_Game_Interpreter_command122.bind(this)(); }
{"name":"Olivia_MetaControls","status":true,"description":"<MetaControls> for RPG Maker MV version 1.6.1.","parameters":{"":"","ATTENTION!!!":"READ THE HELP FILE","Common Event on New Game":"0","Common Event on Load":"0","Variables on Save":"","Map ID":"0","Map X":"0","Map Y":"0"}}
has anyone tried this on steam deck yet? trying to get the mod working with no luck. is it a software lock on the steam deck or am i just messing it up??
Can you be more specific? There should be a "plugins.js" file in www/js like shown in the screenshot below: Just paste {"name":"erri120_AlwaysWinCoinTosses","status":true,"description":"","parameters":{}} in the last line before the closing }; (and make sure to add a comma , at the end of the previous line)
44 comments
{"name":"erri120_AlwaysWinCoinTosses","status":true,"description":"Alwayswincointosses","parameters":{}},
{"name":"fullscreen","status":true,"description":"","parameters":{}},
{"name":"ShiftEnemies","status":true,"description":"","parameters":{}}
];
У тех у кого проблема с модом фуллскрин, заменяйте в блокноте ваш текст на мой.
{"name":"Olivia_MetaControls","status":true,"description":"<MetaControls> for RPG Maker MV version 1.6.1.","parameters":{"":"","ATTENTION!!!":"READ THE HELP FILE","Common Event on New Game":"0","Common Event on Load":"0","Variables on Save":"","Map ID":"0","Map X":"0","Map Y":"0"}},
{"name":"erri120_AlwaysWinCoinTosses","status":true,"description":"","parameters":{}}
];
So when he said to use the comma, it means deleting the ]; from the previous line and replacing it with a , and then pasting the code that has an ending line of ]; which I guess tells the game to stop reading for more code and allows it to launch...
Update: it works! Thanks for creating this mod.
can you please help?
{"name":"erri120_AlwaysWinCoinTosses","status":true,"description":"","parameters":{}},
under Save":"","Map ID":"0","Map X":"0","Map Y":"0"}},
this is because mods like rein of new gods and widescreen mod and the widescreen compatibility mod under rein of new gods change the plugin.sj file. also the comma at the end of {"name":"erri120_AlwaysWinCoinTosses","status":true,"description":"","parameters":{}}, is important otherwise black screen
{"name":"erri120_AlwaysWinCoinTosses","status":true,"description":"","parameters":{}},
under Save":"","Map ID":"0","Map X":"0","Map Y":"0"}},
what did i do wrong
(function() {
const __old_Game_Interpreter_command122 = Game_Interpreter.prototype.command122;
const toSearch = [
14, // variable "coin_flip"
14, // variable "coin_flip"
0, // SET the variable
2, // set the variable to a RANDOM value
1, // SUCCESS
2 // FAILURE
];
const toReplace = [
14, // variable "coin_flip"
14, // variable "coin_flip"
0, // SET the variable
0, // use a CONSTANT value
1 // SUCCESS
];
// partial replacement
Game_Interpreter.prototype.command122 = function() {
if (this._params.length !== toSearch.length) {
return __old_Game_Interpreter_command122.bind(this)();
}
for (let i = 0; i < toSearch.length; i++) {
if (this._params[i] !== toSearch[i]) {
return __old_Game_Interpreter_command122.bind(this)();
}
}
this._params = toReplace.slice();
return __old_Game_Interpreter_command122.bind(this)();
}
{"name":"Olivia_MetaControls","status":true,"description":"<MetaControls> for RPG Maker MV version 1.6.1.","parameters":{"":"","ATTENTION!!!":"READ THE HELP FILE","Common Event on New Game":"0","Common Event on Load":"0","Variables on Save":"","Map ID":"0","Map X":"0","Map Y":"0"}}
,{"name":"erri120_AlwaysWinCoinTosses","status":true,"description":"","parameters":{}}
];
})();
What would I need to fix? These coins are a nightmare!!
Just paste {"name":"erri120_AlwaysWinCoinTosses","status":true,"description":"","parameters":{}} in the last line before the closing }; (and make sure to add a comma , at the end of the previous line)