-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PSP USB pairing with PS2/PS3 on Vita (Standalone install) #119
Comments
Some more info: with disabled usb patches, |
some digging through ghidra later:
yet, under adrenaline sceUsbPspcmSetTitle never gets called |
Do you think this can be done via standalone installs? |
Sadly, i know almost zero about how psp/pspemu works, so no idea. |
No it can't be the XMB patches itself, but it can and most likely is the native vita side patches that adrenaline does to allow the xmb to mount usb: https://github.com/TheOfficialFloW/Adrenaline/blob/master/user/usb.c |
Yes, that's what I've meant. And those https://github.com/TheOfficialFloW/Adrenaline/blob/master/cef/vshctrl/main.c#L813-L826 Removing them doesn't help (just, obviously, breaks xmb "usb mode") |
You might be right about whitelist, though (title_specific.bin to be specific, since adrenaline messes with that, and usb handler functions seem to check something from there. i'll dig some more) |
Well like I said, you can always patch it from Vita side via a plugin, allowing it to work even with standalone installs. |
ok, this is indeed title_specific/whitelist stuff. vsh usb patches seem to cause no troubles with games |
Yes, this needs to be done outside ARK, either in Adrenaline (for Pentazemin compat) or a plugin (for Standalone). |
Yeah, pullrequested fix to adrenaline and made separate plugin https://github.com/isage/adrenaline_usb_enabler which should work with standalone theoretically |
Wow that was fast, awesome work! |
I really never expected a solution to pop up in a week, let alone in around 12 hours :P isage's plugin works with adrenaline, which is very surprising because I thought we'd need The Flow on it but he hasn't made a new Adrenaline release in a while. With ARK-4 standalone I'm not quite sure I hooked it correctly or not, I applied the plugin to arkfast's Sasuke vs. Commander (NPUZ00146) but it didn't work. So while adrenaline works for my use case, I'm still interested in making it work with ARK-4. Either way, thanks everyone. |
Can you make a plugin/fix that makes WEP/Open only games to work with the Vita as well? |
This one is a bit strange cause I'm sure I've been able to use WPA2 connections on ePSP standalone in the custom launcher. Perhaps depending on how you call the wrapper it might just passthrough to whatever the Vita is connected to. |
Just in case there's still interest for this issue: |
You can always run ARK 4 inside Adrenaline. Though I understand the standalone version has its pros. |
May you provide a list of such games? |
Some of the games got posted here with more info on the situation as well: #32 |
I totally forgot to mention that it's actually pretty easy to have a Standalone installation with USB support, you just have to install ARK's PBOOT bubble (via FastARK and/or ChovySign) on a PSN game that's known to have USB support. We are trying to find if there's a game that supports both so we can make a dummy loader with that game's ID. |
Camera isn't a problem in games. It doesn't work in (adrenaline) xmb, but that's adrenaline's fault |
So we only really need to grab the ID of any of the games compatible with USB and make the dummy loader out of it? |
New Feature
Some PSP games offer a feature to pair with a PS2 or PS3 game by USB. Examples of these game pairs include:
On the Vita, stock PSPEMU (through PSN downloads or chovy-signed games) supports this kind of pairing, but ARK-4 standalone doesn't support it. (For the record, Adrenaline doesn't support it either).
I've been told that the stock PSPEMU calls a Vita-side UDCD driver called usbpspcm.skprx which emulates the PSP communication protocol. PSPEMU probably calls it through syscalls to achieve something like this: PSP syscall -> PSPEMU catching it -> calls funcs from usbpspcm. In theory, it should work by disabling the default USB handler that ARK-4 uses, but trying that out with Adrenaline didn't make it work so there's probably something else at play.
The text was updated successfully, but these errors were encountered: