Page 1 of 9

[NEED DEVELOPERS]Demo with USBPSPCMDriver(2nd Release)

Posted: Sat Mar 23, 2013 1:25 am
by 173210
USBPSPCommunicationDriver is used to connect PSP with PS2/PS3.
It works on ePSP, too.
I disassembled two games which use USBPSPCommunicationDriver.
And I found how it start.
How it start:
1. load flash0:/kd/usbpspcm.prx
2. call sceUsbStart(PSP_USBBUS_DRIVERNAME, 0, 0);
3. call sceUsbStart("USBPSPCommunicationDriver", TITLE_LEN, TITLE);
4. call sceUsbActivate(0x1CB);

I wrote this code with the information, and it worked.
Test it and report!
2nd Release:
http://www.mediafire.com/?wnc3g6ash72md99

----CheangeLog----
2nd Release : Added exit code.
Added disconnect detect thread.

----For Developer----
I need PS2/PS3 Developers.

To connect with PC by this driver, we must understand how it works on PS2/PS3, too.
So I want PS2/PS3 Developers to reverse these games.
Games which use USBPSPCommunicationDriver:
Monster Hunter 2
Jikkyo Pawafuru Puroyakyu 2012 Ketteiban/2012/2011/2010/13 Ketteiban/12 Ketteiban
WORLD SOCCOER Winning Eleven 2008
Pro Evolution Soccer 2008
Routes PE
Juiced 2 Hot Import Nights
Ratchet & Clank
Dexter
Assassin's Creed Bloodlines

Known Protocol
Every values are in big endian!
From PSP
1. Start connection
PS3

Code: Select all

00 00 00 03
PSP

Code: Select all

00 00 00 03
PS3

Code: Select all

00 00 00 03
2. Send argument of sceUsbStart
PSP

Code: Select all

55 53 42 50 53 50 43 4D 00 - "USBPSPCM"
PS3

Code: Select all

55 53 42 50 53 50 43 4D 00 - "USBPSPCM"
3. Initialize connection
PS3

Code: Select all

02 00 00 00 02 00 00 00 00 10 00 00
PSP

Code: Select all

04 00 00 00 00 FF 00 00
0x04000000 - Binding Request
0x00FF - Address
4. Unknown

Code: Select all

01
5. Request "Receive"

Code: Select all

00 00 81 00 01 00 00 00
0x00008100 - "Receive" Request
0x01 - Length

Received data is completely raw. There's no need to process them.

Code: Select all

Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000  48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 20 66 72 6F  Hello, World fro
00000010  6D 20 50 53 33 21                                m PS3!

Re: Test this program to connect with USBPSPCommunicationDri

Posted: Sat Mar 23, 2013 1:41 am
by hgoel0974
Interesting. But does it do the PC as well?

Re: Test this program to connect with USBPSPCommunicationDri

Posted: Sat Mar 23, 2013 1:45 am
by 173210
hgoel0974 wrote:Interesting. But does it do the PC as well?
We must reverse PS2/PS3 games to do it.

Re: Test this program to connect with USBPSPCommunicationDri

Posted: Sat Mar 23, 2013 1:57 am
by hgoel0974
173210 wrote:
hgoel0974 wrote:Interesting. But does it do the PC as well?
We must reverse PS2/PS3 games to do it.
Unfortunately I haven't finished learning enough of ASM (MIPS) to be remotely helpful. :cry: But this seems to have a lot of potential! I can help by making a blog post if/when you get this to work.

Re: Test this program to connect with USBPSPCommunicationDri

Posted: Sat Mar 23, 2013 2:02 am
by 173210
hgoel0974 wrote:
173210 wrote:
hgoel0974 wrote:Interesting. But does it do the PC as well?
We must reverse PS2/PS3 games to do it.
Unfortunately I haven't finished learning enough of ASM (MIPS) to be remotely helpful. :cry: But this seems to have a lot of potential! I can help by making a blog post if/when you get this to work.
Thank you.

Re: [NEED DEVELOPERS]Connection with USBPSPCommunicationDriv

Posted: Sat Mar 23, 2013 3:00 am
by Theredbaron
Wow, now this is awesome. I know this is in early stages, but still, this is awesome.

I am no dev, but I do offer you all my luck. :)

And if you need any pc testers, on Windows or Linux, I would be happy to help. At least once it gets to that stage.

Re: [NEED DEVELOPERS]Connection with USBPSPCommunicationDriv

Posted: Sat Mar 23, 2013 10:25 am
by Acid_Snake
for ps2 you just need to reverse usbd.irx, found in some games that use the usb ports

Re: [NEED DEVELOPERS]Connection with USBPSPCommunicationDriv

Posted: Sat Mar 23, 2013 10:39 am
by 173210
Acid_Snake wrote:for ps2 you just need to reverse usbd.irx, found in some games that use the usb ports
Thank you for your information.

Re: [NEED DEVELOPERS]Connection with USBPSPCommunicationDriv

Posted: Sat Mar 23, 2013 11:10 am
by wartaf
may i ask what it can do?

Re: [NEED DEVELOPERS]Connection with USBPSPCommunicationDriv

Posted: Sat Mar 23, 2013 11:18 am
by 173210
wartaf wrote:may i ask what it can do?
It is just demo.
If you connect with PC, ePSP will be shown in device manager.