PS3 webMAN v1.46n - New XMB Game Mounting Improvements (using wm_proxy/xai_plugin) by deank

Following the recent updates from legendary developer deank that improved NTFS support a great deal in the webMAN plugin, and the recent Cobra Update (stage2.bin) that allows you to play Games & Media from burnt optical disc. The developer has been busy with yet another trick up his sleeves, as we showed yesterday deank has been working on a new test feature for webMAN , now the test feature has been introduced officially in webMAN v1.46n. this new feature utilizes the source code release for the custom xai_plugin (by mysis) and mounting games is much faster and cleaner from the XMB as the web-browser trick is no longer needed as deank adapts the custom xai_plugin in a great way. Checkout all the details and a video demo of the new game loading in the details/changelog provided by deank..


webMAN_deank.jpg


  • webMAN 1.46n
    Changes
    1) Mounting games is now faster
    2) After game/video is mounted the focus will move to the respective XMB column
    3) Reduced memory consumption
    4) Includes NTFS and NETSRV support


    Dean


Download: webMAN_1.46.zip

Source: psx-place.com
 
Last edited by a moderator:
I was thinking the other day of something new and cool (I came up with a name even - sLaunch - it describes what it actually is :-P ).

I had some spare time the last few days after work to think about it and I guess I'll show it this weekend. :)
 
I was thinking the other day of something new and cool (I came up with a name even - sLaunch - it describes what it actually is :-p ).

I had some spare time the last few days after work to think about it and I guess I'll show it this weekend. :)

some post deserve two likes ... this is one.. :)
 
Disable syscalls, games do not load.
What do you mean? Please be more specific than 6 words!
Syscalls should never be disabled except right before going online.
It's normal not to be able to mount a game with syscalls disabled because the CFW is disabled!
Without syscalls however, a game will run if it was already mounted before disabling syscalls.
 
@bguerville I compiled libntfs_prx and webftp_server with the "<<" change. If you wish - test it with your ntfs hdd.
The situation has not changed unfortunately...
There is still a 200 code so the connection is ok but then a 550 error on ftp listing attempt & games still do not get listed.

Also I have successfully used this drive during the tests with the libntfs_ext library port. I cannot remember if I used this particular drive with my wMM tests or with tests made with a sample custom self. However I can guarantee that I read from the drive & wrote to it as well back then.
 
There are two reasons for not listing the contents: 1) a problem with a file/folder name or 2) folder access permissions. But in both cases it means that the disk is mounted.

For example I have a hdd from a Windows PC which I used for tests. When I connect via FTP and list its root folder contents, only 4-5 folders will show up although there are more than 50 folders. "ProgramData", "Program Files" etc were not listed, but when I manually entered the path in the ftp client as /dev_ntfs00/ProgramData or /dev_ntfs00/Program Files - the folders opened and all their contents appeared. It seems something related ONLY to the root of the ntfs drive. I don't know if you have the same issue or not - can you check?

It is obvious that there is something wrong with the library - we have to find what it is.
 
There are two reasons for not listing the contents: 1) a problem with a file/folder name or 2) folder access permissions. But in both cases it means that the disk is mounted.

For example I have a hdd from a Windows PC which I used for tests. When I connect via FTP and list its root folder contents, only 4-5 folders will show up although there are more than 50 folders. "ProgramData", "Program Files" etc were not listed, but when I manually entered the path in the ftp client as /dev_ntfs00/ProgramData or /dev_ntfs00/Program Files - the folders opened and all their contents appeared. It seems something related ONLY to the root of the ntfs drive. I don't know if you have the same issue or not - can you check?

It is obvious that there is something wrong with the library - we have to find what it is.

Tried opening other folders directly but the problem is the same.
Here is part of the log from filezilla when I tried to list the PS2ISO folder:
Code:
2017-02-03 07:17:55 15896 1 Status: Server does not support non-ASCII characters.
2017-02-03 07:17:55 15896 1 Status: Logged in
2017-02-03 07:17:55 15896 1 Status: Retrieving directory listing of "/dev_ntfs0:/PS2ISO"...
2017-02-03 07:17:55 15896 1 Command: CWD /dev_ntfs0:/PS2ISO
2017-02-03 07:17:55 15896 1 Response: 550 ERR
2017-02-03 07:17:55 15896 1 Command: PWD
2017-02-03 07:17:55 15896 1 Response: 257 "/dev_ntfs0:/PS2ISO"
2017-02-03 07:17:55 15896 1 Command: TYPE I
2017-02-03 07:17:55 15896 1 Response: 200 TYPE OK
2017-02-03 07:17:55 15896 1 Command: PASV
2017-02-03 07:17:55 15896 1 Response: 227 Entering Passive Mode (192,168,0,45,224,247)
2017-02-03 07:17:55 15896 1 Command: MLSD
2017-02-03 07:17:55 15896 1 Response: 550 ERR
2017-02-03 07:17:55 15896 1 Error: Failed to retrieve directory listing
 
@freddy38510 I hope you didn't make more changes like this. Warnings are not such a bad thng, but changing "<< bit shift left" with "< smaller than" may cause a lot of issues.

Also if you got warnings it could mean that there is something wrong with the typedefs while porting - just like the problem I had with the off_64 or whatever it was.
If you want to check, there was others warnings "fixed" by @Zar at this commit https://github.com/freddy38510/libntfs_ext/commit/f068405501c16c4ba96dba5b2badc8769410cd38
https://github.com/freddy38510/libntfs_ext/commit/f068405501c16c4ba96dba5b2badc8769410cd38
Tried opening other folders directly but the problem is the same.
Here is part of the log from filezilla when I tried to list the PS2ISO folder:
Code:
2017-02-03 07:17:55 15896 1 Status: Server does not support non-ASCII characters.
2017-02-03 07:17:55 15896 1 Status: Logged in
2017-02-03 07:17:55 15896 1 Status: Retrieving directory listing of "/dev_ntfs0:/PS2ISO"...
2017-02-03 07:17:55 15896 1 Command: CWD /dev_ntfs0:/PS2ISO
2017-02-03 07:17:55 15896 1 Response: 550 ERR
2017-02-03 07:17:55 15896 1 Command: PWD
2017-02-03 07:17:55 15896 1 Response: 257 "/dev_ntfs0:/PS2ISO"
2017-02-03 07:17:55 15896 1 Command: TYPE I
2017-02-03 07:17:55 15896 1 Response: 200 TYPE OK
2017-02-03 07:17:55 15896 1 Command: PASV
2017-02-03 07:17:55 15896 1 Response: 227 Entering Passive Mode (192,168,0,45,224,247)
2017-02-03 07:17:55 15896 1 Command: MLSD
2017-02-03 07:17:55 15896 1 Response: 550 ERR
2017-02-03 07:17:55 15896 1 Error: Failed to retrieve directory listing
It seems like a permissions error.

Yesterday i review the porting of the library.
In security.c file there is two functions that i couldn't find in cellsdk even in libc.a or libc_stub.a
It could be highly related with permissions.

Code:
getuid(void);
getgid(void);
(Could the equivalent be "sys_process_get_ppu_guid(void)" ?)

getuid() is used in function ntfs_initialize_file_security() like this:

Code:
        if (getuid())
            errno = EPERM;
        else
            errno = EBUSY;
EPERM = permissions error
EBUSY = file in use

This function is documented like this
* Returns an (obscured) struct SECURITY_API* needed for further calls
* NULL if not root (EPERM) or device is mounted (EBUSY)

@bguerville, just to be sure, could you chmod files/folders that cause the error in filezilla to see if it works?
 
Last edited by a moderator:
I am using webman 1.46n on a PS3 Slim running Habib 4.81 1.02 CFW. Has anyone else had a problem getting the first game on a external (NTFS) device to display the cover properly? All other games on device display correctly except the first game. It also appears to be when the device is plugged into the right most usb port. My setup is NTFS formatted 128 GB PNY USB 3.0 flash drive. All covers in multiman cover folder. Not sure if it is a bug in the plugin or an issue with my system. Any feedback appreciated. Great job @deank on the plugin.
 
I am using webman 1.46n on a PS3 Slim running Habib 4.81 1.02 CFW. Has anyone else had a problem getting the first game on a external (NTFS) device to display the cover properly? All other games on device display correctly except the first game. It also appears to be when the device is plugged into the right most usb port. My setup is NTFS formatted 128 GB PNY USB 3.0 flash drive. All covers in multiman cover folder. Not sure if it is a bug in the plugin or an issue with my system. Any feedback appreciated. Great job @deank on the plugin.
Are you sure is "first game" problem? Or maybe that one game is failing to display cover? Try to make other game to be first, if you didn't do it already.
 
@freddy38510

get group identity = getgid
get user identity = getuid

If this match to old scheme..

Edit:

http://man7.org/linux/man-pages/man2/getuid.2.html
http://man7.org/linux/man-pages/man2/getgid.2.html
Thanks @kozarovv, i already google it :) and the name of the functions speaks for itself.

I looked deeper in cellsdk, and it seems that uid is set to "0" and gid to "-1"

In ps3_io.c Estwald wrote this code:
Code:
uid_t getuid(void) { return 0; }
gid_t getgid () { return -1; }

So i think that getuid and getgid are not related to the issue we were talking about.
 
I was thinking the other day of something new and cool (I came up with a name even - sLaunch - it describes what it actually is :-p ).

I had some spare time the last few days after work to think about it and I guess I'll show it this weekend. :)

As promised the other day:


I hope you like it. If used, it removes the need to use system plugins for mounting games. Also there is no need for "My Games" in the Game column. sLaunch can be started from XMB by pressing a button - loads in 1 second and it is just 11KB. It is very simple to use and fast.

Dean
 
Last edited:
As promised the other day:


I hope you like it. If used, it removes the need to use system plugins for mounting games. Also there is no need for "My Games" in the Game column. sLaunch can be started from XMB by pressing a button. It is just 11KB. It is very simple to use and fast.

Dean

Nice! :D
 
As promised the other day:


I hope you like it. If used, it removes the need to use system plugins for mounting games. Also there is no need for "My Games" in the Game column. sLaunch can be started from XMB by pressing a button. It is just 11KB. It is very simple to use and fast.

Dean
.. Now I understand why half of PS3 users yelled "Deank please come back"..

PS...

@deank should meet @DeViL303 Launchpad
@DeViL303 Should meet @deank sLaunch

Guys.. You should connect your knowledge, REALLY.
 
As promised the other day:


I hope you like it. If used, it removes the need to use system plugins for mounting games. Also there is no need for "My Games" in the Game column. sLaunch can be started from XMB by pressing a button - loads in 1 second and it is just 11KB. It is very simple to use and fast.

Dean
*speechless*
 
It is just proof-of-concept, but if someone wishes to give it a try:

slaunch_preview.jpg


http://deanbg.com/slaunch_preview.zip

You'll have to add slaunch.sprx to your boot_plugins.txt. It requires this new webMAN, so you'll have to use both. After you get your games refreshed at least once sLaunch will pick them up. To start sLaunch from XMB hold the "START" button.

This is a preview version and it will only show 1 page of 10 games, although all are detected. When I'm ready with this new interface it can become part of webMAN, so there will be no need for separate plugin, but for PoC it is what it is.

IMPORTANT: THIS TEST VERSION WORKS ONLY IN 1920x1080p/i (FullHD). Do not try it if your PS3 is set to different output.

It can be a frontend to webMAN or webMAN MOD as long it finds "/dev_hdd0/tmp/wmtmp/slaunch.bin" which is a simple file with "NAME", "ICON", "PATH". Once you load a game it sends the request to webMAN/webMAN MOD. :)

:)
Dean
 
Last edited:
Back
Top