PS3 PS3 net servers

If someone could try it on a 4.4 Android and could test it on there and share the "feelings about it", I would be very grateful (of course I will grant access to the github and apk to install it).

I'd suggest to share a beta .apk with a download link, so those with android devices can give it a try

I have an old Amazon fire tablet (I believe it's android 5), I will try to do a quick test this weekend
 
I do not have an 4.4 box, but i think my tx9pro is at 8 or so and i have a s10 box u can test but it is also on a higher versionif i recall. I cant help any with testing untill after next week but let me know if they can provide you any value for tests and I'll see what i can do.
Great :D. Are you on github? I will grant you permission on there, or if you prefer, I can upload it to some storage service, like mega or mediafire...
 
I don't have a github. I did quickly try the beta you posted on my samsung s8 phone and it installed and started/stopped fine. I don't have time to do box test with iso & ps3 as I'll be away for the week before i can spend time with this.

So far this looks great and by the sounds of your ambitions is going to be even better in a week from now. I hope you can add smb support for network drive storage as thats where my stuff is and would save use of usb stick for files.

I will check back in a week and be more help testing your server.

Looking good for sure, cheers!
 
@jcorrea I was testing your latest APK and it works very well with PS3ISO.

The PS3 ISO was streamed a bit slow from my cellphone, but the game launched fine.

However, I mounted a PSXISO (a rip of Ridge Racer PAL 4MB); the CD icon showed up on XMB.
But the game didn't start when I launched it.

I checked your source code but I couldn't find anything wrong in the logic.
https://github.com/jhonathanc/ps3ne...netsrv/server/commands/ReadCD2048Command.java

I mounted the same ISO using ps3netsrv 20200708 for PC and it launched fine.
 
@jcorrea ReadFileCriticalCommand.java works, but it doesn't have this buffer overflow check like lines 26-27 of ReadCD2048Command.java:
if (sectorCount * MAX_RESULT_SIZE > BUFFER_SIZE) throw new Exception("This situation wasn't expected, too many sectors read!");
if (ctx.getFile() == null) throw new Exception("File shouldn't be null");


Could you try sending the data after read, instead of use a buffer of 3MB?


EDIT: The PSXISO worked after a few retries.
 
Last edited:
Ok, @jcorrea I'm back.... how has this project progressed and where is the latest beta? ;) I'll giver a run. :)
I'm still trying to deal with two main issues: run the server as a service (to avoid Android put the application to sleep after some time) and slow performance on some devices.
 
  • Like
Reactions: sbp
@jcorrea ReadFileCriticalCommand.java works, but it doesn't have this buffer overflow check like lines 26-27 of ReadCD2048Command.java:
if (sectorCount * MAX_RESULT_SIZE > BUFFER_SIZE) throw new Exception("This situation wasn't expected, too many sectors read!");
if (ctx.getFile() == null) throw new Exception("File shouldn't be null");


Could you try sending the data after read, instead of use a buffer of 3MB?
But the buffer don't have 3MB, it has only 2KB (MAX_RESULT_SIZE = 2048)... I think it has something with some apps running on Android with some priorities over other apps through network... I tried the exact same application on an old android phone, but without none applications and I didn't have issues).
 
I'm still trying to deal with two main issues: run the server as a service (to avoid Android put the application to sleep after some time) and slow performance on some devices.
Perhaps setting up a persistent notification would do the trick, like what FairEmail and Telegram (F-Droid/FOSS flavor) do to avoid having to rely on Google Play Services for push notifications while the app is closed.
 
Last edited:
But the buffer don't have 3MB, it has only 2KB (MAX_RESULT_SIZE = 2048)... I think it has something with some apps running on Android with some priorities over other apps through network... I tried the exact same application on an old android phone, but without none applications and I didn't have issues).

Ok I managed to get the PSXISO work after a few retries. It looks like there is some random issue that still show be ironed.

I mentioned the 3MB because that is the value of BUFFER_SIZE that you are checking in line 26.

BTW When I was developing the ps3netsrv for webMAN MOD, I noticed that I got a better performance sending small chunks of data instead of using large cache buffers. It seems like the memcpy of the received large buffers cause some bottleneck.

All I can say is that you did an AWESOME JOB!!! Thank you very much!
 
Ok I managed to get the PSXISO work after a few retries. It looks like there is some random issue that still show be ironed.

I mentioned the 3MB because that is the value of BUFFER_SIZE that you are checking in line 26.

BTW When I was developing the ps3netsrv for webMAN MOD, I noticed that I got a better performance sending small chunks of data instead of using large cache buffers. It seems like the memcpy of the received large buffers cause some bottleneck.

All I can say is that you did an AWESOME JOB!!! Thank you very much!
:D It still a WIP, but I also tried on PC: creating a jar and running it with "java -jar ps3netsrv.jar "myPath" " and it works very well... I will try to learn how Android priorizes the network (or even if it really happens) to try to improve it. About a persistent notification, I'll check that @AlexRhine
 
:D It still a WIP, but I also tried on PC: creating a jar and running it with "java -jar ps3netsrv.jar "myPath" " and it works very well... I will try to learn how Android priorizes the network (or even if it really happens) to try to improve it. About a persistent notification, I'll check that @AlexRhine
That's great news overall. ;-)
Some things to iron out but the core work is done, I will need to give it a go on my Android TV box at some point.
At my end Samba support would be ideal to avoid having to plug in external drives or cards into the box & use the networked storage space instead (extensible raid 5 array)... Lol
 
I forgot to mention that I added the jar file I used to test it on computer, to the "release" on github. It has the exact same code of Android server (but of course, without the interface). I think I'll open the code now, and if someone wants to check or even help to improve it, I'm accepting PRs :D

https://github.com/jhonathanc/ps3netsrv-android

The jar file can be executed on any java enviroment with JRE >= 1.7 with the command "java -jar ps3netsrv.jar '/myPath/'". The jar was built just to check if the server code was ok, but can be used by anybody who wants a basic implementation (it doesn't allow to change the port or, to limit the maximum number of connections yet... but as it's not the focus of the project, I'll only add these options when everything is working fine on Android).
 
Last edited:
Ok I managed to get the PSXISO work after a few retries. It looks like there is some random issue that still show be ironed.

I mentioned the 3MB because that is the value of BUFFER_SIZE that you are checking in line 26.

BTW When I was developing the ps3netsrv for webMAN MOD, I noticed that I got a better performance sending small chunks of data instead of using large cache buffers. It seems like the memcpy of the received large buffers cause some bottleneck.

All I can say is that you did an AWESOME JOB!!! Thank you very much!

While I'm still trying to figure out how to scan the games, you've already done it almost 4 years ago lol... Does it have to be an encrypted ISO with the .dkey inside or does it also work for pre-decrypted ISO's, too? Trying to set it up with my Nvidia shield TV Pro and have no luck so far...
 
Back
Top