11-04-2020, 01:01 PM
(11-03-2020, 01:17 PM)codedwrench Wrote: Hello Gid15,Hello CodedWrench,
I could help you get connected on XLink Kai.
I'm curious about the LLE portion of JPCSP, if that can emulate PSP traffic exactly it will be able to work.
If that's the case I would be happy to add support for XLink Kai as well, if you're not comfortable with that.
I would also be happy to explain some of XLink Kai's workings to you if you like.
Kind regards,
CodedWrench
thank you for your offer!
I would be very interested into more details on which interfaces could be used to communicate with XLink Kai from a Java world.
Jpcsp is supporting multiple levels of emulation for the network code:
1) HLE: high level PSP API's are emulated over ProOnline (or through Jpcsp's own protocol which mainly became obsolete with ProOnline)
2) mix of HLE and LLE: running everything in HLE, except for the networking code which can be run in LLE. I.e. the PSP original firmware networking code can be used to implement the high level PSP networking API's. This code is then interfacing with an HLE module sceWlan which is just responsible for abstracting the WLAN hardware. The complete network traffic is created by the PSP original code but transmitted through an HLE Java interface. Currently, sceWlan is using UDP for networking as Adhoc communication is not available from a Java world.
3) LLE: running everything in LLE. There, Jpcsp is emulating the WLAN hardware interface. Currently, this emulation is using UDP for networking. That part is very similar to the second scenario using sceWlan
I've tried XLink Kai on my own PSP using AdhocToUSB but couldn't really test it due to missing players in the Lobby. Do you know how the AdhocToUSB bridge is interfacing with XLink Kai? Is the bridge sending the PSP traffic over the Adhoc network on the PC side which is then picked up by XLink Kai like coming from a real PSP or is the bridge communicating over TCP/UDP? The TCP/UDP approach would be interesting for Jpcsp from Java.
Thank you for any support!
Always include a complete log file at INFO level in your reports. Thanks! How to post a log