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
42
Reaction score
35
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
42
Reaction score
35
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,717
Reaction score
1,601
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

Folks, if anyone sends you a message inviting you to add their API to your game, please report them. We don't want people spamming our members asking them to add stuff to their games for their own (or others') benefit. We've updated the forum rules to confirm this.
I'm listening to iiluminaughtii talking about the secrets behind shady businesses and scams. Meanwhile I'm writing a fanfic about Sephiroth from FF7, one specifically for my stepmom. I'll get to give it to her, too, because my boss said I could take the holidays off! Dec. 22-27 I will be in Orlando, and maybe Fort Myers too, visiting my dad and stepmom!
Of course, I bought a handful of games on the Steam Black Friday sale. Will I try them? Will I complete any? Who knows...
I don't really have any neat updates today about how I screwed up programming... But if you want to observe the intensenes of me programming, then you can check out my stream :)
New Weapons.gif
No more spam from me today, I promise! Just wanted to upload this, people have been giving me feedback that my weapon sprites (which were RTP) clashed badly with my battlers for ages, so today I finally took the plunge and updated them! Really happy with how they came out :D :D

Forum statistics

Threads
117,013
Messages
1,103,800
Members
152,909
Latest member
ringoman
Top