This changeset adds support for the PS3 game Persona 5. Video demo. Massive thanks to @tellowkrinkle for coaching my way through the rather tedious RE'ing process, especially considering this was my first time doing such a thing. Without his help this hook wouldn't exist, or would work way worse.
Known issues/limitations:
the distance between the main character and the camera cannot be controlled, and isn't auto-adjusted either. Normally the game does this on it's own, but it also changes the path the camera travels through and makes it take a different amount of time to move depending on its location. This is desirable with controllers, much less so here;
the camera cannot be moved when it's in a special, "limited-movement" mode. It can otherwise be nudged with analog sticks when using a controller, so this is also a defect;
the direction the character is moving can forcefully readjust the camera, which can be jarring. This is actually a desired behaviour when on controllers, though games sometimes offer you the ability to turn this off. This game doesn't, so it'd need further research to achieve it, if even possible.
I'd say the first two are minor issues, and the last one is at best a medium severity. I consider the way the hook works as-is a massive improvement over controllers, so imo it's a job done. Enjoy!
Implementation notes:
I wasn't sure if I should create a new Camera class or not just for handling degree <-> radian memes, so for now it uses the radian based class and converts as needed.
I have the NPEB02436 version, and hurb tested BLUS31604, so these area already added to be available for hooking. Pre-emptively added support for the NPUB and the BLES release too. JP versions need testing, if anyone can, please reach out.
I also tuned the sensitivity a little, as it was too speedy.
This changeset adds support for the PS3 game Persona 5. Video demo. Massive thanks to @tellowkrinkle for coaching my way through the rather tedious RE'ing process, especially considering this was my first time doing such a thing. Without his help this hook wouldn't exist, or would work way worse.
Known issues/limitations:
I'd say the first two are minor issues, and the last one is at best a medium severity. I consider the way the hook works as-is a massive improvement over controllers, so imo it's a job done. Enjoy!
Implementation notes: