Dramatically Improve Game Performance for Devs and Players! (MV and MZ) (second big discovery, GPU related)

Oir

Veteran
Veteran
Joined
Dec 19, 2020
Messages
104
Reaction score
47
First Language
English
Primarily Uses
RMMV
Apologies if I'm misunderstanding. Is this a setting that a player tweaks on their own computer in order to run the game better? Or is this a setting that the dev makes to the game which forces any player's computer to use the better GPU?
 

KillerGin

Freddie
Veteran
Joined
Dec 18, 2015
Messages
568
Reaction score
524
First Language
English
Primarily Uses
N/A
Apologies if I'm misunderstanding. Is this a setting that a player tweaks on their own computer in order to run the game better? Or is this a setting that the dev makes to the game which forces any player's computer to use the better GPU?

This is a setting the player, or Dev, tweaks on their own computer.

I also ask at the end, if the Engine Devs can fix this....
 
  • Like
Reactions: Oir

Arthran

Villager
Member
Joined
Jun 25, 2021
Messages
16
Reaction score
8
First Language
English
Primarily Uses
RMMZ
I also ask at the end, if the Engine Devs can fix this....

I don't think that this is necessarily something that the Engine devs have control over. "Game.exe" is actually just "nw.exe" (nwjs) renamed, which is basically a modified version of the Chromium web browser. So your system is treating it like it's a web browser, instead of like it's a game.

I think the issue is actually either a Chromium thing, or an Nvidia thing. However, in the game folder, there is a file called "package.json", which allows you to specify particular flags that you want it to run chromium with. Perhaps there is a flag that will force it to run on the dedicated GPU. If so, then devs can add that flag into the file before they distribute their games, and then end users don't have to change any settings on their side. But I didn't really dig into that, since I don't have an integrated GPU and am unable to test any of this stuff anyway.

BTW, you can actually test to see which GPU RPG Maker games are using on your system. If you go into any RM game directory and open the package.json file that I mentioned, and find the line that says:

"main": "index.html",

and then change it to:

"main": "chrome://gpu",

Then run Game.exe it will give you a report about the various graphics settings that it is using. If you look for a line that says "GL_Renderer" then you can see which GPU it would have tried to use. Of course, you'll want to change the package.json file back to normal once you're done.
 
Last edited:

DanielTsc

Villager
Member
Joined
Jul 20, 2020
Messages
14
Reaction score
9
First Language
English
Primarily Uses
RMMZ
I thought I was the only one having this issue on RPG Maker MZ with integrated GPU on my laptop.

If I run my game using only vanilla RPG Maker MZ, my game runs fine on 60 FPS.

But if I use Visustella's Battle Core Plugin, the battles drop down to 40 FPS, even if I disable most of it's features.

The game only runs smoothly if I use my dedicated GPU. How am I supposed to launch commercially such a simple game made on this simple 2D engine if it needs a good GPU to work properly?

I am really disappointed with RPG Maker, for real :/
 

Arthran

Villager
Member
Joined
Jun 25, 2021
Messages
16
Reaction score
8
First Language
English
Primarily Uses
RMMZ
But if I use Visustella's Battle Core Plugin, the battles drop down to 40 FPS, even if I disable most of it's features.
...
I am really disappointed with RPG Maker, for real :/

RPG Maker isn't really responsible for the impact that 3rd party plugins are having on your game. You should probably be directing your complaints to VisuStella, instead of RPG Maker as a whole. VisuStella plugins consume more resources than they actually need to, because they overwrite large chunks of your engine with obfuscated code, which requires constant additional, superfluous function calls and memory operations in order to deobfuscate at run time. Disabling features in the plugin doesn't actually stop it from continually executing that extra code, even for the features that you aren't using.

How am I supposed to launch commercially such a simple game made on this simple 2D engine if it needs a good GPU to work properly?
Most people who buy games do have dedicated video cards. Integrated GPUs aren't for gaming, and most people who are using an integrated GPU are aware of that.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
2,173
Reaction score
1,164
First Language
English
Primarily Uses
RMMV
The game only runs smoothly if I use my dedicated GPU. How am I supposed to launch commercially such a simple game made on this simple 2D engine if it needs a good GPU to work properly?
It's not such simple 2D - the Effekseer particle animations need a GPU to work with. As far as marketing it...this was already said by Arthran, but who exactly do you think your market is? Are there secret gamers who want to buy games but only have trash computers? :stickytongue:

Anyone using Steam or Itch who has actually played something on their computer knows you need a dedicated graphics card. I suppose there are probably some people who just buy whatever cheapest PC from a store and download this Steam thing they heard about, but beyond that this is all pretty common knowledge.
 

DanielTsc

Villager
Member
Joined
Jul 20, 2020
Messages
14
Reaction score
9
First Language
English
Primarily Uses
RMMZ
RPG Maker isn't really responsible for the impact that 3rd party plugins are having on your game. You should probably be directing your complaints to VisuStella, instead of RPG Maker as a whole. VisuStella plugins consume more resources than they actually need to, because they overwrite large chunks of your engine with obfuscated code, which requires constant additional, superfluous function calls and memory operations in order to deobfuscate at run time. Disabling features in the plugin doesn't actually stop it from continually executing that extra code, even for the features that you aren't using.


Most people who buy games do have dedicated video cards. Integrated GPUs aren't for gaming, and most people who are using an integrated GPU are aware of that.

You are absolutely right. I shouldn't have directed my complaint towards RPG Maker, as it is not an issue from it.

But, anyway, the newest versions of Visustella are fine now. They have improved a lot their perfomance and the game is running smoothly even with weak GPUs.

But it does feel sad that basic stuff like animated enemies still need a plugin to work...
 

Latest Threads

Latest Posts

Latest Profile Posts

I want to learn Javascript to create a custom menu, but I don't really know where to start.
One uncomfortable truth that has withstood the test of time, is how most people will stand by while they see a crime happening, unless it's illegal to stand by. We probably wouldn't have stories about "special heroes" or games about heroes if the "everyday common folk" were largely capable of being heroes. Heroes face dangers that most people are not willing to.
I'm having toooo much fun designing the new MP (Mental Psyche) system. I've only worked it out for enemies so far, but it's fun to stun them, then go after their MP and delete them instead to farm for better item drops.
anyone know of a place I can promote my game? sorta like game awards but for indie devs, like a place where I can drop a trailer and like stir up some hype
Doing RPG Maker News for 17th October 2021

Forum statistics

Threads
115,882
Messages
1,093,697
Members
151,126
Latest member
LAB00M
Top