EmuNewz Network
Xlink Kai support - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: General discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=57)
+---- Thread: Xlink Kai support (/showthread.php?tid=242865)

Pages: 1 2 3 4


RE: Xlink Kai support - Nir777 - 11-10-2020

There is a tutorial for how to get xlink kai to work on jpcsp?


RE: Xlink Kai support - gid15 - 11-11-2020

(11-10-2020, 09:44 PM)Nir777 Wrote: There is a tutorial for how to get xlink kai to work on jpcsp?
Not yet as it is still in development Wink.
This is what I have tried so far:
Copy the following files from a real PSP flash0:
Code:
flash0/kd/ifhandle.prx
flash0/kd/memab.prx
flash0/kd/pspnet.prx
flash0/kd/pspnet_adhoc.prx
flash0/kd/pspnet_adhoc_auth.prx
flash0/kd/pspnet_adhoc_discover.prx
flash0/kd/pspnet_adhoc_download.prx
flash0/kd/pspnet_adhoc_matching.prx
flash0/kd/pspnet_adhoc_transfer_int.prx
flash0/kd/pspnet_adhocctl.prx
flash0/kd/pspnet_apctl.prx
flash0/kd/pspnet_inet.prx
flash0/kd/pspnet_resolver.prx
flash0/kd/pspnet_upnp.prx
flash0/kd/pspnet_wispr.prx
and add the following line to your Settings.properties:
Code:
emu.enableXLinkKai=1
When you try it, always post a log file at DEBUG level if it is not working. The applications are not all using the way to load PSP modules, so that I need to look into the details.


RE: Xlink Kai support - onelight - 11-12-2020

(11-11-2020, 08:35 AM)gid15 Wrote:
(11-10-2020, 09:44 PM)Nir777 Wrote: There is a tutorial for how to get xlink kai to work on jpcsp?
Not yet as it is still in development Wink.
This is what I have tried so far:
Copy the following files from a real PSP flash0:
Code:
flash0/kd/ifhandle.prx
flash0/kd/memab.prx
flash0/kd/pspnet.prx
flash0/kd/pspnet_adhoc.prx
flash0/kd/pspnet_adhoc_auth.prx
flash0/kd/pspnet_adhoc_discover.prx
flash0/kd/pspnet_adhoc_download.prx
flash0/kd/pspnet_adhoc_matching.prx
flash0/kd/pspnet_adhoc_transfer_int.prx
flash0/kd/pspnet_adhocctl.prx
flash0/kd/pspnet_apctl.prx
flash0/kd/pspnet_inet.prx
flash0/kd/pspnet_resolver.prx
flash0/kd/pspnet_upnp.prx
flash0/kd/pspnet_wispr.prx
and add the following line to your Settings.properties:
Code:
emu.enableXLinkKai=1
When you try it, always post a log file at DEBUG level if it is not working. The applications are not all using the way to load PSP modules, so that I need to look into the details.

Is utility.prx is required?


RE: Xlink Kai support - gid15 - 11-12-2020

(11-12-2020, 05:59 AM)onelight Wrote: Is utility.prx is required?
It should not, but might depend on how the application is loading the network modules.


RE: Xlink Kai support - gid15 - 11-12-2020

(11-07-2020, 05:05 PM)gid15 Wrote: I've tested the following scenario:
- real PSP connected with AdhocToUSB
- Jpcsp using DDS protocol
I see that Jpcsp is receiving frames from the PSP and sending back replies, but none of them are able to see hosted games from the other side.
I found out that the memab functions are unimplemented, even when using memab.prx from a real PSP firmware, the KIRK functions used internally are also not implemented. I saw calls to KIRK cmd=13 and cmd=16. So, I guess I will first need to implement properly those KIRK commands as a next step...
In adc28c4, I've ported https://github.com/ProximaV/kirk-engine-full to Java and changed the Jpcsp Kirk implementation to use it. It seems to be working in regression tests, but it is not fully tested yet. I would appreciate if some testers would support in regression testing.

It is not yet complete enough for XLink Kai as the PSP Adhoc networking routines are also using a certificate which is stored in the NAND (sceIdStorage key=0x100). Without that certificate, the connection with a real PSP is not yet working. I'm still investigating this area.


RE: Xlink Kai support - onelight - 11-16-2020

test xlink kai, not find player


RE: Xlink Kai support - onelight - 11-17-2020

test with xlink kai and psptunnel(mhptunnel mod version), jpcsp find player , psp not find player
jpcsp, psptunnel and xlink kai running at window 10
real PSP connected with usb wifi adapter, psptunnel running at vobx window xp
psp nickname is P418

[Image: 99420672-743d1680-2938-11eb-8f2b-525f1eefbe18.png]


RE: Xlink Kai support - Nir777 - 11-17-2020

(11-17-2020, 04:45 PM)onelight Wrote: test with xlink kai and psptunnel(mhptunnel mod version), jpcsp find player , psp not find player
jpcsp, psptunnel and xlink kai running at window 10
real PSP connected with usb wifi adapter, psptunnel running at vobx window xp
psp nickname is P418

[Image: 99420672-743d1680-2938-11eb-8f2b-525f1eefbe18.png]

Got similar results - I can see people with JPCSP and try to connect but it will fail.
They cant see me.
Tried with VSH.
Can't get VSH to work correctly on Linux because it wont let me load any games from the memory card throught it for some unknown reason.


RE: Xlink Kai support - gid15 - 11-19-2020

Starting with 3aed787, Jpcsp is now able to communicate with a real PSP over XLink Kai, at least, a few very limited tests on my side were successful Wink.
I have tested the following scenarios:
1. Jpcsp "--reboot" with PSP over AdhocToUSB
2. Jpcsp + flash0/kd/pspnet*.prx with PSP over AdhocToUSB

For the second test, the following files were required from a real PSP flash0:
Code:
flash0/kd/ifhandle.prx
flash0/kd/memab.prx
flash0/kd/pspnet.prx
flash0/kd/pspnet_adhoc.prx
flash0/kd/pspnet_adhoc_auth.prx
flash0/kd/pspnet_adhoc_discover.prx
flash0/kd/pspnet_adhoc_download.prx
flash0/kd/pspnet_adhoc_matching.prx
flash0/kd/pspnet_adhoc_transfer_int.prx
flash0/kd/pspnet_adhocctl.prx
flash0/kd/pspnet_apctl.prx
flash0/kd/pspnet_inet.prx
flash0/kd/pspnet_resolver.prx
flash0/kd/pspnet_upnp.prx
flash0/kd/pspnet_wispr.prx



RE: Xlink Kai support - Nir777 - 11-19-2020

Got it to work after the latest build on Windows.
Again I got issues getting it to work on Linux because not all games work for some reason.
Need to see if I didnt do anything wrong there though.
I will edit this post with a log later.
Thank you very much gid15 for adding the support !.
EDIT:
Here is a log I got with DEBUG
https://pastebin.com/AbQ9N5Yq
Running Call Of Duty.
I think it got something to do with running the flash0 files because it does work without them...