EmuNewz Network
Infrastructure support - Printable Version

+- EmuNewz Network (http://www.emunewz.net/forum)
+-- Forum: PSP Emulation (/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (/forumdisplay.php?fid=51)
+---- Forum: svn trunk discussion (/forumdisplay.php?fid=56)
+---- Thread: Infrastructure support (/showthread.php?tid=243070)

Pages: 1 2 3 4


Infrastructure support - Nir777 - 03-01-2021 08:47 PM

PSP infrastructure is getting revived.
Some gameplay on JPCSP for the Star Wars games:
On JPCSP:
https://streamable.com/zcvqgn
https://www.youtube.com/watch?v=Voaym_A4pDU
PSP footage:
https://www.youtube.com/watch?v=ALwiibd8gJo
https://www.youtube.com/watch?v=s63OYjFFDkM

Progress is coming along nicely.
Hopefully JPCSP will improve its support as well.
Note: I didnt make these videos I am just sharing them for others to see.


RE: Infrastructure support - gid15 - 03-02-2021 03:25 PM

(03-01-2021 08:47 PM)Nir777 Wrote:  PSP infrastructure is getting revived.
Some gameplay on JPCSP for the Star Wars games:
On JPCSP:
https://streamable.com/zcvqgn
https://www.youtube.com/watch?v=Voaym_A4pDU
PSP footage:
https://www.youtube.com/watch?v=ALwiibd8gJo
https://www.youtube.com/watch?v=s63OYjFFDkM

Progress is coming along nicely.
Hopefully JPCSP will improve its support as well.
Note: I didnt make these videos I am just sharing them for others to see.
Thank you for sharing the information!
It would be interesting if someone could test it with Jpcsp and post a log file so that I can analyze the issue.


RE: Infrastructure support - Nir777 - 03-03-2021 05:42 AM

Going into gameplay:
https://www.youtube.com/watch?v=kqLoRbDgn08
There is a link to the discord server if someone wanna join.


RE: Infrastructure support - Nir777 - 03-04-2021 05:32 AM

More news:

With his new update to the server a new game is now supported.

ATV Off Road Fury Blazin' Trails (NTSC) for the psp.

To connect you will need a PSP as the java psp emulator just doesn't seem to try to properly connect online if you change your hosts file in windows.

Create / modify your WiFi connect on the psp and set the DNS to 104.237.9.163

Known issues
Buddy Lists currently do not work

Stats may not record. (Not really something I've tested)

If you are having connection issues between players, the host may need to open UDP port 10075 on their PSP's IP.

It does not work properly on JPCSP.
I dont have the game and not that interested in it but maybe it will be important for other games.


RE: Infrastructure support - gid15 - 03-04-2021 11:54 AM

(03-04-2021 05:32 AM)Nir777 Wrote:  Create / modify your WiFi connect on the psp and set the DNS to 104.237.9.163
OK, it seems to require to set a specific DNS server which will then probably return another IP address for the private game server.
For testing purpose, I've added in commit a198564 the possibility to define the "primaryDNS" from the Setting.properties file. Previously, it was somehow hardcoded to the DNS server from your router.
Could someone test this game by adding the following line into your Setting.properties file:
Code:
primaryDNS=104.237.9.163
If this is helping, I will add the possibility to set the DNS server from the configuration settings.


RE: Infrastructure support - Nir777 - 03-04-2021 09:01 PM

Kinda unrelated but I wanted to try the latest jpcsp version and got this error:
Code:
Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
    at jpcsp.crypto.KIRK.libkirkUtilsBufferCopyWithRange(KIRK.java:936)
    at jpcsp.crypto.KIRK.hleUtilsBufferCopyWithRange(KIRK.java:894)
    at jpcsp.crypto.PreDecrypt.isUseless(PreDecrypt.java:328)
    at jpcsp.crypto.PreDecrypt.addInfo(PreDecrypt.java:350)
    at jpcsp.crypto.PreDecrypt.loadInfo(PreDecrypt.java:318)
    at jpcsp.crypto.PreDecrypt.load(PreDecrypt.java:215)
    at jpcsp.crypto.PreDecrypt.init(PreDecrypt.java:176)
    at jpcsp.MainGUI.main(MainGUI.java:3110)

Is there a way to fix this?
Could be that I compiled it wrong on Linux... If so can someone share the latest build again lol.


RE: Infrastructure support - gid15 - 03-04-2021 09:53 PM

(03-04-2021 09:01 PM)Nir777 Wrote:  
Code:
Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
    at jpcsp.crypto.KIRK.libkirkUtilsBufferCopyWithRange(KIRK.java:936)
    at jpcsp.crypto.KIRK.hleUtilsBufferCopyWithRange(KIRK.java:894)
    at jpcsp.crypto.PreDecrypt.isUseless(PreDecrypt.java:328)
    at jpcsp.crypto.PreDecrypt.addInfo(PreDecrypt.java:350)
    at jpcsp.crypto.PreDecrypt.loadInfo(PreDecrypt.java:318)
    at jpcsp.crypto.PreDecrypt.load(PreDecrypt.java:215)
    at jpcsp.crypto.PreDecrypt.init(PreDecrypt.java:176)
    at jpcsp.MainGUI.main(MainGUI.java:3110)
It seems you have compiled with JDK 9 (or later) and are now trying to run with JDK 8.


RE: Infrastructure support - Nir777 - 03-05-2021 02:00 PM

Well decided to get it anyway and see how thing works out of interest.
When I tried the game with a flash0 dump intact the game froze.
When I tried without the flash0 folder the game did proceed and even worked but for some reason I couldn't get past the intro screen with a log?
Also wanted to report about a strange thing : JPCSP will only work if my controller is connected to my laptop and won't work otherwise (because i binded the button with it?)
its a bit strange but yeah.
The LLE/flash0 folder log is this (its too long so made a pastebin):
https://pastebin.com/n2x8VWTA
The HLE/non flash0 folder log:
https://pastebin.com/6UidTU1s

Pictures of it working:
https://i.ibb.co/tCJVxLB/image.png
https://user-images.githubusercontent.com/33392696/110130718-02e37f80-7dd2-11eb-962c-2d3383e97b9d.png


RE: Infrastructure support - gid15 - 03-05-2021 04:37 PM

As this seems to be helpful, I've now added in 39b95bb a configuration option to set the primary DNS server address.
Select the menu "Options / Settings (F12)", then "Network / Primary DNS server address" and set the value to "104.237.9.163" for the above list game.

There is no need to extract PSP files into the flash0 directory, the High Level Emulation (HLE) should be good enough to support connections for the Infrastructure mode.


RE: Infrastructure support - Nir777 - 03-05-2021 04:42 PM

Yeah but then if I want to play adhoc over xlink i need the flash0 folder again....
Could there be a way to tell it not to load the flash0 folder? or i have to make seperate folders for each one?
Also some infrastructure games do connect to the PSN for authentication and I think you would need the flash0 folder for that no?
Also this happens when I dont have the controller plugged in:
Code:
Exception in thread "GUI" java.lang.ExceptionInInitializerError
    at jpcsp.MainGUI.<init>(MainGUI.java:184)
    at jpcsp.MainGUI$76.run(MainGUI.java:3152)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Pr​otectionDomain.java:74)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at org.GNOME.Accessibility.AtkWrapper$6.dispatchEvent(AtkWrapper.java:705)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205​)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105​)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.NullPointerException
    at jpcsp.Controller.getControllerComponentByName(Controller.java:652)
    at jpcsp.Controller.onInputControllerChanged(Controller.java:222)
    at jpcsp.Controller.loadControllerConfig(Controller.java:214)
    at jpcsp.Controller.loadControllerConfig(Controller.java:207)
    at jpcsp.Controller.init(Controller.java:118)
    at jpcsp.Controller.getInstance(Controller.java:171)
    at jpcsp.State.<clinit>(State.java:65)
    ... 17 more
[/

I mean its not that bad and I dont want to complain that much...