Maschell / hid_to_vpad

Little tool to use a HID-Device as WiiU GamePad
GNU General Public License v3.0
150 stars 23 forks source link

Shantae and the Pirates Curse home button crash and no emulated Pro controller input #22

Open HowManyNamesHaveBeenTaken opened 7 years ago

HowManyNamesHaveBeenTaken commented 7 years ago

In Shantae and the Pirates Curse, when using a Gamecube controller set as a Pro controller in the app, the game will not accept any input, even if the TV button is pressed, secondly if the home button on the gamepad is pressed at any point, the game softlocks, music still plays but the game is frozen and the console has to be hard-shutdown, The game accepts input when the gamecube controller is set to act as the gamepad, but it still crashes in the same way if the home button is pressed. This all happened while using v0.9h-nightly-2872b5e. I'd also like to thank you for creating one of the best pieces of Wii U homebrew.

Maschell commented 7 years ago

I tried my best to get it working, but had no success. The crashing when pressing the home button is very nasty. Disabling all function hooking doesn't stop it from crashing, so I guess it doesn't like the HID Thread in the background and produces a dead lock. I also have no idea why the Pro Controller is not working (it is when have a real one connected). Currently there is nothing I can do about it, sorry.

I added a SplashScreen at the beginning when you start the game and unload everything HIDtoVPAD does to prevent it from crashing if you press home. If you still want to have the patches enabled (for example for gamepad emulation), press X while the screens appears and the patches will stay applied. Just make sure to don't press the home button ;)

HowManyNamesHaveBeenTaken commented 7 years ago

Great idea, thanks for the fix. I did notice one thing though, when I looked through the commit, I saw that only the EUR and USA versions of the game where in the list of unsupported games. I'd just like to mention that there is a Japanese release of the game that presumably does the same thing.

Maschell commented 7 years ago

Oh yeah sure, do you know the titleid of the Jap release? Can't find any information about it.

EDIT: got it, should be 00050000-101F7F00 シャンティ -海賊の呪い-

HowManyNamesHaveBeenTaken commented 7 years ago

Took forever, finally found it but it seems you got it first. Once again thanks for the software and the fix!

Maschell commented 7 years ago

Now with my newest (currently local only) version the game is even crashing at starting it. The game doesn't like something HID to VPAD is doing in the background. I didn't really changed that much, only something internally in the HID Thread. Probably the game just doesn't like it, but then it makes no sense that the gamepad emulation was/is working.