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
569
Reaction score
528
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

Veteran
Veteran
Joined
Jun 25, 2021
Messages
53
Reaction score
41
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
17
Reaction score
10
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

Veteran
Veteran
Joined
Jun 25, 2021
Messages
53
Reaction score
41
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,824
Reaction score
1,649
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
17
Reaction score
10
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 Profile Posts

My new 49" monitor has been dispatched from the warehouse. Will it arrive tomorrow? The day after? I love that we can track packages now, even if it does only tell me when it's left that end and when it's arrived at the local centre. As long as it doesn't end up in Melbourne again, which has happened before ...
My friend's doing a surprise stream of my game Origin Hunt on Twitch here ! Feel free to stop by :yhappy:
Me, designing it a long time ago: Having an optional boss fight as a random chance to trigger when you fish in a certain spot with a certain type of bait is fun! Cool idea!
Me, trying to playtest everything again: oh god just let me see the boss, my bag is so full of fish!
both love and pain have no boundaries

Forum statistics

Threads
117,229
Messages
1,105,689
Members
153,386
Latest member
fredflol
Top