The game does run faster on a real PSP. There are two visual indicators that show the difference in performance, with the first being the digivice that is rotating clockwise and the second is with the circular pulse animation that appears from the center every 10 seconds when the game is run from the emulator (compared to about 8 seconds on the PSP). The video for the PSP example was made by someone else and played from an actual console (as shown when the user is saving the game towards the end).
From the profiler information, I've tried to optimize in ea98b2b the above function which seems to be used very often (> 25%). Does it bring any change?
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
12-05-2017, 01:40 AM (This post was last modified: 12-05-2017, 07:30 AM by DragonNeos.)
The overall performance has improved on revision d24a39e, with the game running at 28-30 FPS most of the time with occasional frame drops for a few seconds. There is one section that I cannot get the speed to be near 28-30 FPS, which is when I select connect (ツウシン) to find an online opponent or offline NPC. When I select this option, the performance of the game is around 20-23 FPS. After I select connect, I clicked on "Reset profiler information" and waited for 10 seconds before closing the emulator.
(12-05-2017, 01:40 AM)DragonNeos Wrote: The overall performance has improved on revision d24a39e, with the game running at 28-30 FPS most of the time with occasional frame drops for a few seconds.
OK, this is surprising but good news . I will check if I can add more generic improvements to the compiler instead of this very game-specific fix.
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
The game will run at 28-30 FPS in all areas (including the connect option) with occasional frame drops for a few seconds (examples would be the initial time after getting past the title screen, when the digivice gets zoomed in, and occasional instances attempting to connect to an opponent) if the compiler option is changed to 50 for the Maximum Method Size.
There is a bug I forgot to mention with regards to the connect (ツウシン) option. On a real PSP, if an online opponent is not found after 25-30 seconds, the game will generate a NPC opponent. On JPCSP, the game will continue to attempt finding an online opponent endlessly and not generate a NPC opponent. It also takes a while for the game to respond to the user trying to cancel the connect operation when pressing the X button. If internal PSP files are placed in the flash0 directory, the connect option functions properly like on the PSP. I have added the following lines into LogSettings.xml:
With regards to the Save/Load screen, is there a reason why it only runs at 20 FPS without the internal PSP files? If the internal PSP files are included in flash0, the performance on this screen can reach 30 FPS barring any performance issues (1st Screenshot). If there aren't any internal PSP files in flash0, the performance hovers between 19-21 FPS (2nd Screenshot).
(12-08-2017, 09:20 AM)DragonNeos Wrote: The game will run at 28-30 FPS in all areas (including the connect option) with occasional frame drops for a few seconds (examples would be the initial time after getting past the title screen, when the digivice gets zoomed in, and occasional instances attempting to connect to an opponent) if the compiler option is changed to 50 for the Maximum Method Size.
Does it mean that the change implemented in ea98b2b can be deleted? I.e., changing the compiler option gives the same result?
I would like to get rid of this game specific code.
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
12-12-2017, 09:25 PM (This post was last modified: 12-13-2017, 09:25 AM by DragonNeos.)
The changes in revision ea98b2b can probably be removed. After setting the compiler option to 50 on revision 19b470a (before the change in ea98b2b), the game runs at 28-30 FPS in all areas with the occasional frame drops in the areas described in my previous post. I did a profiler comparison (10 second test after selecting the connect option) and the results in performance are nearly the same.
Revision 19b470a:
Code:
GE list duration: 3903ms, average 12.2ms per GE list, max FPS is 81.7
Revision d24a39e:
Code:
GE list duration: 3872ms, average 11.7ms per GE list, max FPS is 85.7
Revision b7a1d8b:
Code:
GE list duration: 3746ms, average 11.8ms per GE list, max FPS is 84.6
The game still doesn't provide a NPC opponent after a certain amount of time has passed when the connect option is selected. The Save/Load screen hovers between 19-21 FPS unless internal PSP files are placed in the flash0 directory, which allows the emulator to reach 30 FPS at that particular screen (this is a general issue that affects all games).
(12-12-2017, 09:25 PM)DragonNeos Wrote: The changes in revision ea98b2b can probably be removed. After setting the compiler option to 50 on revision 19b470a (before the change in ea98b2b), the game runs at 28-30 FPS in all areas with the occasional frame drops in the areas described in my previous post. I did a profiler comparison (10 second test after selecting the connect option) and the results in performance are nearly the same.
OK, I reverted these changes in 7bda5b7 .
Always include a complete log file at INFO level in your reports. Thanks! How to post a log