Post Reply 
 
Thread Rating:
  • 8 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Discussion] 60FPS patches for PSP games that run at 30FPS
08-18-2013, 03:13 AM (This post was last modified: 08-18-2013 03:13 AM by VIRGIN KLM.)
Post: #76
RE: 60FPS patches for PSP games that run at 30FPS
Just try for example Where's My Heart, it stays on 00, I haven't found a single game that does something else.
Find all posts by this user
Quote this message in a reply
08-18-2013, 03:26 AM
Post: #77
RE: 60FPS patches for PSP games that run at 30FPS
Where is My Heart? calls sceDisplayWaitVblankStart(). This is a completely different function.

sceDisplayWaitVblank: wait until inside a vblank. If already inside one, do not wait.
sceDisplayWaitVblankCB: same, but process callbacks while waiting.
sceDisplayWaitVblankStart: wait until the next vblank (even if inside one currently, do wait.)
sceDisplayWaitVblankStartCB: same, but process callbacks while waiting.
sceDisplayWaitVblankStartMulti: ***THIS ONE*** takes an argument, number of vblank starts to wait for.
sceDisplayWaitVblankStartMultiCB: same, but process callbacks while waiting.

Not a ton of games call the Multi ones. But if they do, adjusting the argument can help.

Some games I've seen that are 30 fps just call sceDisplayWaitVblankStart() twice in a row. Or, they set a flag saying whether they're in the initial "real" frame or in the "don't draw anything just do quick cleanup" frame.

Where is My Heart? uses a spin loop plus a global variable flag to determine FPS (which is the dumb way, tbh, unfortunately.)

-[Unknown]
Find all posts by this user
Quote this message in a reply
08-18-2013, 06:35 AM
Post: #78
RE: 60FPS patches for PSP games that run at 30FPS
Perfect, so the fps cap is relater to those function then Smile lets see if I can figure something Smile

For others games and for my sake.

Hey everybody, tired of the way games are reported here? look here ->> http://forums.ppsspp.org/showthread.php?tid=5901

--Current Mobile device--
Htc one, Xplay, Walkman z, Samsung ace IIx (crap)

--Current Computer--
1x (e8200, shitty ram (3go), 9600gt)
1x (e6750, better ram (2go), no video card)
1x (i5-3210M, ram (4Go),650M)
Visit this user's website Find all posts by this user
Quote this message in a reply
08-19-2013, 07:44 AM
Post: #79
RE: 60FPS patches for PSP games that run at 30FPS
Patapon is a great example. US version has:

0885A188 jal sceDisplayWaitVblankStartCB
0885A18C nop
0885A190 jal sceDisplayWaitVblankStartCB
0885A194 nop

If you stub out the second one, the timing goes all funny, but it runs at 60 fps too.

-[Unknown]
Find all posts by this user
Quote this message in a reply
08-19-2013, 12:20 PM (This post was last modified: 08-19-2013 12:26 PM by VIRGIN KLM.)
Post: #80
RE: 60FPS patches for PSP games that run at 30FPS
(08-19-2013 07:44 AM)[Unknown] Wrote:  Patapon is a great example. US version has:

0885A188 jal sceDisplayWaitVblankStartCB
0885A18C nop
0885A190 jal sceDisplayWaitVblankStartCB
0885A194 nop

If you stub out the second one, the timing goes all funny, but it runs at 60 fps too.

-[Unknown]

Yeah, but if on games that run on 30 FPS you change the cap to 60 results double speed, modifying the game's speed to half with another line of cheat will result into normal speed + 60FPS. A good example of a candidate for that idea could be, hmm, Crisis Core.
Find all posts by this user
Quote this message in a reply
08-21-2013, 02:20 AM (This post was last modified: 08-21-2013 02:22 AM by peronmls.)
Post: #81
RE: 60FPS patches for PSP games that run at 30FPS
What is sceGsDefDispEnv
Also is V-Blank Start and V-Blank End the same as sceDisplayWaitVblankStartCB
Find all posts by this user
Quote this message in a reply
08-27-2013, 01:03 AM
Post: #82
RE: 60FPS patches for PSP games that run at 30FPS
Earlier in this topic people talked about trying to get mhfu to 60fps, but you couldn't find any places where the game hit 60fps. But today as I was playing, I noticed the game hit 60fps while the intro video plays, does this mean a patch is possible?
Find all posts by this user
Quote this message in a reply
08-27-2013, 02:20 AM
Post: #83
RE: 60FPS patches for PSP games that run at 30FPS
(08-27-2013 01:03 AM)vondo Wrote:  Earlier in this topic people talked about trying to get mhfu to 60fps, but you couldn't find any places where the game hit 60fps. But today as I was playing, I noticed the game hit 60fps while the intro video plays, does this mean a patch is possible?

Possibly if that's true.
Find all posts by this user
Quote this message in a reply
08-27-2013, 04:11 PM
Post: #84
RE: 60FPS patches for PSP games that run at 30FPS
(08-27-2013 02:20 AM)VIRGIN KLM Wrote:  
(08-27-2013 01:03 AM)vondo Wrote:  Earlier in this topic people talked about trying to get mhfu to 60fps, but you couldn't find any places where the game hit 60fps. But today as I was playing, I noticed the game hit 60fps while the intro video plays, does this mean a patch is possible?

Possibly if that's true.

I confirm that, thanks for the information vondo ! Smile

Here is the proof :
[Image: 463691000.png]

So, VIRGIN KLM, what can I do to help finding something useful with this game ?

♦ Intel Core i7-6700HQ | 16 GB RAM | NVIDIA GeForce GTX 960M | Debian Testing
♦ Intel Core i7-2630QM | 4 GB RAM | NVIDIA GeForce GT 540M | Debian Testing
♦ PSP-3004 | 6.60 PRO-C2
Find all posts by this user
Quote this message in a reply
08-28-2013, 09:21 PM (This post was last modified: 02-10-2015 01:58 AM by VIRGIN KLM.)
Post: #85
RE: 60FPS patches for PSP games that run at 30FPS
Hook a disassembler to it and check for changes, but I guess it must be tough for the average user.
I guess it's a wild goose hunting without having atleast one or two other places of the game switching to 60FPS, not that it's impossible and I don't mean to discourage you but it sounds really tough to me aswell.
Could somebody also try the HD remake? The ELF file must hook the same addresses for the engine with somekind of easy to spot offset.
Find all posts by this user
Quote this message in a reply
08-29-2013, 04:09 PM
Post: #86
RE: 60FPS patches for PSP games that run at 30FPS
(08-28-2013 09:21 PM)VIRGIN KLM Wrote:  Hook a disassembler to it and check for changes, but I guess it must be tough for the average user.

Interesting, if you could help me to be on the right way with this tool it could be very nice Smile

(08-28-2013 09:21 PM)VIRGIN KLM Wrote:  I guess it's a wild goose hunting without having atlest one or two ather placed of the game switching to 60FPS, not that it's impossible and I don't mean to discourage you but it sounds really tough to me aswell.
Could somebody also try the HD remake? The ELF file must hook the same addresses for the engine with somekind of easy to spot offset.

I have done some researches and I found that this intro video is not the only one thing that can force the game to run at 60 FPS.

In the game menu, if you choose "GALLERY", you can see all the videos you have unlocked in the game. I found that in addition to the intro video of the game (Monster Hunter Freedom Unite), the intro of the previous game (Monster Hunter Freedom 2) and a video called "Promotion Video" force the game to run at 60 FPS. Moreover, all the videos called "name_of_the_monster Ecology" make the game to run at 60 FPS too.

♦ Intel Core i7-6700HQ | 16 GB RAM | NVIDIA GeForce GTX 960M | Debian Testing
♦ Intel Core i7-2630QM | 4 GB RAM | NVIDIA GeForce GT 540M | Debian Testing
♦ PSP-3004 | 6.60 PRO-C2
Find all posts by this user
Quote this message in a reply
08-30-2013, 08:40 AM
Post: #87
RE: 60FPS patches for PSP games that run at 30FPS
I dont know how but all the game in 091 are running at fixed 30fps. Is there anyway to increase it.

Specifically: Class of heroes 1-2, Crisis Core.

I am on xpsp3 and 081 can change vps to fixed/default at 60, and unlimited at 150~ fps.
Find all posts by this user
Quote this message in a reply
08-30-2013, 09:32 PM (This post was last modified: 08-30-2013 09:33 PM by VIRGIN KLM.)
Post: #88
RE: 60FPS patches for PSP games that run at 30FPS
Crisis Core is not possible with that way but I have something in mind for that but I'll leave that for later since it's a bit sloppy.
Find all posts by this user
Quote this message in a reply
08-31-2013, 12:39 PM (This post was last modified: 08-31-2013 12:40 PM by VIRGIN KLM.)
Post: #89
RE: 60FPS patches for PSP games that run at 30FPS
OK about Monster Hunter Freedom Unite:

There's that address:

_L 0x2030C7E0

Setting the value to 0x00000000 it will cap gameplay to 30FPS. Setting it to 0x00000001 will cap the gameplay for some reason to 15FPS.
I guess I'm close to finding how to do it but I may need help for it.
I guess also setting it to 0x00000001 could be a nice cheat to make the game play easily on Android.
Gonna repeat the code on the game's section in case somebody wants to play it on Android and doesn't have a capable device.
Find all posts by this user
Quote this message in a reply
08-31-2013, 02:59 PM
Post: #90
RE: 60FPS patches for PSP games that run at 30FPS
I just tried it on my computer. Setting the value to 0x00000001 PPSSPP crash after loading the character. Setting it to 0x00000000 and i can do nothing in the menu...

MSI GT70 0ND-1212FR - i7-3630QM, GTX 675 Mx
[s]Samsung SIII[/s] Nexus 5 - LG (Black, 32 Go)
[s]Tegra Note 7[/s] MiPad - Xiaomi (White, 64 Go)
PSP 2000 White - PS Vita
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: