Post Reply 
 
Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Patapon 1 input lag (I want errrradicate it)
07-19-2016, 08:01 AM (This post was last modified: 07-19-2016 09:05 AM by LunaMoo.)
Post: #15
RE: Patapon 1 input lag (I want errrradicate it)
I can see this like that in Patapon third where it's very easy, but it doesn't really work in first one.

Perfect timing gives best drum sounds, so by hearing those means you have no problems pressing the buttons with perfect timing, I definitely heard those when making the cheat yesterday so I don't think messing with input timing is the right way to correct it, neither is my cheat which only works around the issue.

Each drum rewards certain amounts of points based on timing accuracy where max during fever is 1000 and starts from like 20% without any drum. Based on that I think our observed problem would happen when the function that checks the score runs before fourth drum score get's added, so you kind of making perfect input and can hear the results of it in-game, but it's not reflected in your score so you can never reach "early fever" and also once you get to the fever, it drops instantly, because score from just 3 drums most of the time doesn't pass requirements to keep the fever.

So most accurate approach would be finding a function which slowing down fixes the game, I'm thinking this could actually be similar to this issue, maybe it's even same thing which there potentially is caused by sceGeDrawSync running too fast. In Patapon 1 is called twice once every frame, so I think I'll experiment with slowing that a bit or anything else that happens before checking the score.


Edit: I think I was right on that:
Code:
_C0 Delay sceGeDrawSync
_L 0xE0085E3C 0x0001491C
//delay script
_L 0x20001F00 0x3C1B0880
_L 0x20001F04 0x3C090018
_L 0x20001F08 0x34080000
_L 0x20001F0C 0x1509FFFF
_L 0x20001F10 0x25080001
_L 0x20001F14 0x0A275E3C
_L 0x20001F18 0x00000000
//replace
_L 0x2001491C 0x0E2007C0
_C0 Delay sceGeDrawSync [Disable]
_L 0x2001491C 0x0E275E3C
with this, I can reach fever faster on clear game without using any other fever cheats I made earlier, it also allows me to keep it easier, althrough I think it also changes the timing for combos as well(no suprise if it breaks those since I delay it by loop with very high number of repeats choosen randomly without any research;p).

Note this due to being very wasteful isn't really good workaround;p, ppsspp itself should just eat some cycles during that syscall. Edit: also would correct myself about reaching fever quicker without problems ~ the timing change messes me up now and have harder time to get perfect drums;p, but once I get them between 3-10 combos the fever kicks in early ~ that would actually reflect what I see normally in Patapon 3. Going to try changing ppsspp this time.

Edit:
And so adding
Code:
hleEatCycles(200000);
to sceGeDrawSync seems to be fixing this issue, but I literally took that value from what the other function which is delayed as a hack for Crash Tag Team Racing apparently does now ~ quoting [Unknown] :
Quote:Most likely it's the gpu thing, a brief test seemed to indicate that sceKernelVolatileMemLock takes maybe around ~1200 cycles, not like ~200000.

-[Unknown]

~ build for testing if you're interested ~ https://www.mediafire.com/?5eu7uyalr3tay79 pretty much v1.2.2-766-g4a1d3c3 + the change from above ~ this is just the exe for windows version.

http://forums.ppsspp.org/showthread.php?tid=6594 - Custom PPSSPP Shaders!
http://forums.ppsspp.org/showthread.php?tid=3590&pid=117172#pid117172 - simple CE scripts to help creating CWCheats,
https://github.com/LunaMoo/PPSSPP_workarounds - CWCheat workarounds.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Patapon 1 input lag (I want errrradicate it) - LunaMoo - 07-19-2016 08:01 AM

Forum Jump: