EasyRPG / Player

RPG Maker 2000/2003 and EasyRPG games interpreter
https://easyrpg.org/player/
GNU General Public License v3.0
991 stars 185 forks source link

Slowdowns with Aëdemphia v9.90 #2842

Open BlisterB opened 2 years ago

BlisterB commented 2 years ago

Name of the game: Aëdemphia

Player platform: Windows

Attach files (as a .zip archive or link them) https://www.aedemphia-rpg.net/download/Aedemphia%20Steam.rar easyrpg_log.txt

Describe the issue in detail and how to reproduce it:

FPS in Aëdemphia are slow compared to RPG_RT. You can see that in the title screen, I've link the easyrpg_logs.txt. Please note that Aëdemphia is using the Steam version of RPG Maker 2003, but used to use patchs in the past.

Ghabry commented 1 year ago

Used a Profiler: 70% of the CPU time on the title screen is in Tone Blit. There is also no way to cache this as the Tone changes dynamically.

The problem here is that with 32 bit rendering that effect is very heavy on the CPU:

I don't think this can be solved without rewriting the rendering backend to offload this to the GPU. Shaders will have no problems calculating this.

FalcoRPGMaker commented 1 year ago

Hey! Just wondering if there is news about this issue? Would it be possible to "ignore" the change tones and not using it since it makes games unplayable because of lags? Thanks a lot.

Mimigris commented 1 year ago

Hey! Just wondering if there is news about this issue? Would it be possible to "ignore" the change tones and not using it since it makes games unplayable because of lags? Thanks a lot.

To my knowledge, the situation hasn't changed since this issue was opened, and no work for rendering on the GPU has been started, since lately the focus has been on releasing version 0.8.0, making fixes for version 0.8.1, and after this, the plan will be to focus on the Editor.

Disabling the tones would be more a dirty workaround than anything, making the game not look as intended without solving the real problem. At this point if it is even a possibility, it would probably be better to either remove entirely the commands used in the game, or making a fork of the Player removing the tones.

Also, you are mentioning games: does this affect other games outside of Aëdemphia that you know? The only game in a similar situation to my knowledge is Yume 2kki, though this one is only a problem in two maps, so it could be interesting to know if it may affect other games.

FalcoRPGMaker commented 1 year ago

Hey, thanks for your anwser. Just tested Aedemphia with 8.0 and it's much better than before oO The game was unplayable before, now it's largely playable, with a few performance issues in the big cities, but it's fluid the rest of the time. It's really great to see that the game is almost playable, there's almost nothing missing for it to be perfectly playable (slightly better performance, and the videos). Thanks a lot for all the great job guys!

Ghabry commented 1 year ago

Uhm thanks but we did not change anything 🤔.

FalcoRPGMaker commented 1 year ago

Oh? That's weird, I'm not the only one who notice some improvment with Aedemphia. For me, it's really night and day performance side.