PS3 webMAN MOD - Web Commands

@aldostools i think it is wierd because onxmb is applied everytime the xmb is loaded, entering and exiting an app/game applies the script commands again , so timing not matter here between CFW AND HEN.

I just installed hen again and confirmed, i tested it just with onxmb,bat and it works as it should, the remap is active, i wonder why on CFW it does not.

As I commented earlier, I also have had issues mapping files on /dev_flash using CFW.

I ended replacing the file physically instead of remapping in memory. It is really weird that it the mapping work on HEN but not on CFW.
 
As I commented earlier, I also have had issues mapping files on /dev_flash using CFW.

I ended replacing the file physically instead of remapping in memory. It is really weird that it the mapping work on HEN but not on CFW.

I don't want to physically replace it because what I'm trying to do is enable the System via Internet only when webMAN is enabled, if I leave it enabled and the user disables webMAN the latest official firmware could be downloaded by the user.

I was thinking in an alternative of this as remapping is not working via script on CFW, so maybe i can create a XMBML item to use the web command to apply the remap and on hen the script will do the job.

EDIT, I just created an XMB item to remap it via web command and it's working, users on CFW will need to manually click on this item to enable it, not a problem but not ideal.

6L7SpEP.png
 
Last edited:
I haven't tested if it works or not on XMB. You can try it yourself.
The build attached has commented out the in-game check

To be honest, i never managed to make it work via webman MOD, it always says Recording Started, and if i repeat the same comand it say it again, instead of Recording Finished, no file is generated.

I'm trying on rebug toolbox, minecraft, media apps, and no file is generated by using /videorec.ps3? and select+ r3, using the commands on XMB does nothing.

Am i missing something?
 
To be honest, i never managed to make it work via webman MOD, it always says Recording Started, and if i repeat the same comand it say it again, instead of Recording Finished, no file is generated.

I'm trying on rebug toolbox, minecraft, media apps, and no file is generated by using /videorec.ps3? and select+ r3, using the commands on XMB does nothing.

Am i missing something?
have you tried lowering the quality of the recording? i remember recording tetris--maybe others. i wanted to record Red Dead Redemption but it never worked with it.
 
have you tried lowering the quality of the recording? i remember recording tetris--maybe others. i wanted to record Red Dead Redemption but it never worked with it.

I just used /videorec.ps3?/dev_hdd0/&video=mp4 and the notification showed MPG4 240P @ 512K - Audio AAC 96K , I think it's low enough as the rebug toolbox doesn't use requires much system resources, but still the same, not recordin anything
 
Last edited:
I just used /videorec.ps3?/dev_hdd0/&video=mp4 and the notification showed MPG4 240P @ 512K - Audio AAC 96K , I think it's low enough as the rebug toolbox doesn't use requires much system resources, but still the same, not recordin anything
The memory footprint of webMAN MOD is an issue during video recording.
The combo SELECT+R3+L2+R2 launches video_rec.sprx and unloads webMAN MOD to free more memory.
The combos in video_rec.sprx are:
R3 = record video using bg memory container
R2+R3 / L2+R3 = record video using app memory container
L2+R2+L3 = default format
R2+L3 = change audio format
L2+L3 = change video format
R3+L3 = Unload video_rec.sprx

I checked the source code of video_rec and it requires a call to game_interface->DoUnk8(g); //gameInfo
So this plugin only works if a game is running. Therefore it cannot work on XMB.
 
@aldostools as webman mod comes with PSP launchers, I would like to suggest you an auto install feature, when a user tries to launch a psp game but the launcher is not installed, webman automatically calls pkg installer and installs the PSP launchers. (yesterday i racked my brain trying to launch psp games, i didn't remember i deleted the launchers so i kept updating the games list over and over looking for psp launcher item)

Other thing is, how the psp xml list is refreshed on the fly? i mean the PSP launcher item changes its icon without reloading the XMB, is there a webman command for it? i use "check icons" to indicate if some features are on or off with the command close_all_list to force the user to re enter in the option to see the changes, if it can be achieved with the same method as the psp list it would be awesome.
 
Last edited:
@aldostools as webman mod comes with PSP launchers, I would like to suggest you an auto install feature, when a user tries to launch a psp game but the launcher is not installed, webman automatically calls pkg installer and installs the PSP launchers. (yesterday i racked my brain trying to launch psp games, i didn't remember i deleted the launchers so i kept updating the games list over and over looking for psp launcher item)

Other thing is, how the psp xml list is refreshed on the fly? i mean the PSP launcher item changes its icon without reloading the XMB, is there a webman command for it? i use "check icons" to indicate if some features are on or off with the command close_all_list to force the user to re enter in the option to see the changes, if it can be achieved with the same method as the psp list it would be awesome.

The problem with including PSP launchers in webMAN MOD installation is that I don't know how to insert the entry in the XMB database. Copying the files of the PSP launchers to game directory is not enough to they appear on XMB. And rebuild database.is not an option for this purpose.

So the user must install the PS2 and PSP launchers manually if they want to use them.

In regards to the icon updating without reload XMB, I use: xcb://0/query?cond=AGL+Game:Game.PSPC66820 PSPM66820
The items are refreshed automatically every time the query is performed. Unlike the static <item> in XML that is cached in memory.
 
The problem with including PSP launchers in webMAN MOD installation is that I don't know how to insert the entry in the XMB database. Copying the files of the PSP launchers to game directory is not enough to they appear on XMB. And rebuild database.is not an option for this purpose.

So the user must install the PS2 and PSP launchers manually if they want to use them.

In regards to the icon updating without reload XMB, I use: xcb://0/query?cond=AGL+Game:Game.PSPC66820 PSPM66820
The items are refreshed automatically every time the query is performed. Unlike the static <item> in XML that is cached in memory.

I was thinking of a check, when a psp game is launched the webman checks the hdd/database for the launcher id and if not found it runs /install_ps3/dev_hdd0/tmp/wm_res/PSP_Laucher.pkg and then mounts the game, isn't that feasible?
 
I was thinking of a check, when a psp game is launched the webman checks the hdd/database for the launcher id and if not found it runs /install_ps3/dev_hdd0/tmp/wm_res/PSP_Laucher.pkg and then mounts the game, isn't that feasible?

The user needs to do something... All the files needed are listed in the same place. They just need to download and install them together.
 
The user needs to do something... All the files needed are listed in the same place. They just need to download and install them together.

You are right and it would require a lot of chances, btw I was trying to add it at least in PS3 Pro mode and it really requires unfeasible chances to add to webman like rco edit, registory.xml and etc

The changes i made:

Fixed item in my webman psp category: category_game_folders.xml

Code:
<View id="seg_cobra_launcher">
<Attributes>
<Table key="cobra_launcher">
<Pair key="icon"><String>/dev_hdd0//game/PSPM66820/ICON0.PNG</Pair>
<Pair key="title"><String>PSP Launcher</String></Pair>
<Pair key="info"><String></String></Pair>
<Pair key="child"><String>segment</String></Pair>
</Table>
</Attributes>
<Items>
<Query class="type:x-xmb/folder-pixmap" key="cobra_psp_launcher" attr="cobra_psp_launcher" src"#seg_cobra_psp_launcher_items"/>
</Items>
</View>

<View id="seg_cobra_psp_launcher_items">
<Items>
<Query class="type:x-xmb/folder-pixmap" key="psp_minis_launcher" src="xcb://localhost/query?sort=+Game:Common.titleForSort&cond=Oe+Game:Game.titleId PSPM66820+Ae+Game:Game.category MN"/>
<Query class="type:x-xmb/folder-pixmap" key="psp_minis_launcher_download" src="xcb://localhost/exists?having=off&rquery=root.fixed_items.psp_minis_launcher&cond=Ae+Game:Common.dirPath /dev_hdd0/game+Ae+Game:Common.fileName PSPM66820"/>
<Query class="type:x-xmb/folder-pixmap" key="psp_remasters_launcher" src="xcb://localhost/query?sort=+Game:Common.titleForSort&cond=Oe+Game:Game.titleId PSPC66820+Ae+Game:Game.category PE"/>
<Query class="type:x-xmb/folder-pixmap" key="psp_remasters_launcher_download" src="xcb://localhost/exists?having=off&rquery=root.fixed_items.psp_remasters_launcher&cond=Ae+Game:Common.dirPath /dev_hdd0/game+Ae+Game:Common.fileName PSPC66820"/>
</Items>
</View>

Registory.xml
Code:
<Table key="fixed_items">
               <Pair key="psp_minis_launcher"><String>xmb://localhost/dev_hdd0/xmlhost/game_plugin/psp_launchers.xml#seg_psp_minis_launcher</String></Pair>
                <Pair key="psp_remasters_launcher"><String>xmb://localhost/dev_hdd0/xmlhost/game_plugin/psp_launchers.xml#seg_psp_remasters_launcher</String></Pair>
            </Table>

and a xmlhost/game_plugin/psp_launchers.xml

Code:
<XMBML version="1.0">
 
    <View id="seg_psp_minis_launcher">
        <Attributes>
            <Table key="psp_minis_launcher_download">
                <Pair key="info"><String>net_package_install</String></Pair>
                <Pair key="pkg_src"><String>http://localhost/dev_hdd0/tmp/wm_res/PSP_Minis_Launcher.pkg</String></Pair>
                <Pair key="pkg_src_qa"><String>http://localhost/dev_hdd0/tmp/wm_res/PSP_Minis_Launcher.pkg</String></Pair>
                <Pair key="content_name"><String>msg_install</String></Pair>
                <Pair key="content_id"><String>UP0001-PSPM66820_00-0000111122223333</String></Pair>
                <Pair key="prod_pict_path"><String>/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/hendl.png</String></Pair>
            </Table>
        </Attributes>
        <Items>
            <Query class="type:x-xmb/xmlnpsignup" key="psp_minis_launcher_download" attr="psp_minis_launcher_download"/>
        </Items>
    </View>
 
    <View id="seg_psp_remasters_launcher">
        <Attributes>
            <Table key="psp_remasters_launcher_download">
                <Pair key="info"><String>net_package_install</String></Pair>
                <Pair key="pkg_src"><String>http://localhost/dev_hdd0/tmp/wm_res/PSP_Remasters_Launcher.pkg</String></Pair>
                <Pair key="pkg_src_qa"><String>http://localhost/dev_hdd0/tmp/wm_res/PSP_Remasters_Launcher.pkg</String></Pair>
                <Pair key="content_name"><String>msg_install</String></Pair>
                <Pair key="content_id"><String>UP0001-PSPC66820_00-0000111122223333</String></Pair>
                <Pair key="prod_pict_path"><String>/dev_hdd0/game/PS34KPROX/USRDIR/toolbox/icons/hendl.png</String></Pair>
            </Table>
        </Attributes>
        <Items>
            <Query class="type:x-xmb/xmlnpsignup" key="psp_remasters_launcher_download" attr="psp_remasters_launcher_download"/>
        </Items>
    </View>


So the result is when it isn't installed it'll ask for intallation.
x1PoNJW.png

rYRpuWS.png


and when installed:

zBn0FaT.png
 
Last edited:
@aldostools i was thinking if it's feasible a way to refresh the webMAN games without a xmb reload too

something like this

This will be the fixed folder My Games, it will have queries for the PS3/PS2...folders
Code:
<View id="seg_my_games">
        <Attributes>
            <Table key="my_games">
                <Pair key="icon"><String>/dev_flash//vsh/resource/explore/icon/folder.png</String></Pair>
                <Pair key="title"><String>My Games</String></Pair>
                <Pair key="info"><String>Your Games</String></Pair>
                 <Pair key="child"><String>segment</String></Pair>
                </Table>
        </Attributes>
        <Items>
            <Query class="type:x-xmb/folder-pixmap" key="my_games" attr="my_games" src="seg_my_games_items">
        </Items>
    </View>

<View id="seg_my_games_items">
        <Items>
            <Query class="type:x-xmb/folder-pixmap" key="ps3games" src="xcb://localhost/dev_hdd0/xmlhost/games/PS3.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps2games" src="xcb://localhost/dev_hdd0/xmlhost/games/PS2.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps1games" src="xcb://localhost/dev_hdd0/xmlhost/games/PS1.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="psxgames" src="xcb://localhost/dev_hdd0/xmlhost/games/PSP.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="pspgames" src="xcb://localhost/dev_hdd0/xmlhost/games/PSX.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="roms" src="xcb://localhost/dev_hdd0/xmlhost/games/Roms.xml#seg_game"/>
        <Items>
</View>


ThIs is a example of a Folder declared in My games xml. if webMAN finds PS3 games it creates it with queries for games and futures games, So creating this one will make the PS3 games folder automatically appears inside My games Folder and the games will be named according to the queries, each game a small xml in sequence as declared in predefined queries, so as soon as webman creates for example game003.xml it will automatically be added in the folder as the xmls was expecting for it

So it will be refreshed just by closing and opening the MY games folder again or using the xmb_plugin command

Code:
    <View id="seg_ps3_games">
        <Attributes>
            <Table key="ps3_games">
                <Pair key="icon"><String>/dev_flash//vsh/resource/explore/icon/PS3.png</String></Pair>
                <Pair key="title"><String>PS3 Games</String></Pair>
                <Pair key="info"><String>Your PS3 Games</String></Pair>
                <Pair key="child"><String>segment</String></Pair>
               </Table>
        </Attributes>
        <Items>
            <Query class="type:x-xmb/folder-pixmap" key="ps3_games" attr="ps3_games" src="seg_ps3_games_items">
        </Items>
    </View>
 
    <View id="seg_ps3_games_items">
        <Items>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game1" src="xcb://localhost/dev_hdd0/xmlhost/games/game0001.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game2" src="xcb://localhost/dev_hdd0/xmlhost/games/game0002.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game3" src="xcb://localhost/dev_hdd0/xmlhost/games/game0003.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game4" src="xcb://localhost/dev_hdd0/xmlhost/games/game0004.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game5" src="xcb://localhost/dev_hdd0/xmlhost/games/game0005.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game6" src="xcb://localhost/dev_hdd0/xmlhost/games/game0006.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game7" src="xcb://localhost/dev_hdd0/xmlhost/games/game0007.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game8" src="xcb://localhost/dev_hdd0/xmlhost/games/game0008.xml#seg_game"/>
            .
            .
            .
            .
            .
            .
            .
        <Items>
</View>
 
Last edited:
@aldostools i was thinking if it's feasible a way to refresh the webMAN games without a xmb reload too

something like this

This will be the fixed folder My Games, it will have queries for the PS3/PS2...folders
Code:
<View id="seg_my_games">
        <Attributes>
            <Table key="my_games">
                <Pair key="icon"><String>/dev_flash//vsh/resource/explore/icon/folder.png</String></Pair>
                <Pair key="title"><String>My Games</String></Pair>
                <Pair key="info"><String>Your Games</String></Pair>
                 <Pair key="child"><String>segment</String></Pair>
                </Table>
        </Attributes>
        <Items>
            <Query class="type:x-xmb/folder-pixmap" key="my_games" attr="my_games" src="seg_my_games_items">
        </Items>
    </View>

<View id="seg_my_games_items">
        <Items>
            <Query class="type:x-xmb/folder-pixmap" key="ps3games" src="xcb://localhost/dev_hdd0/xmlhost/games/PS3.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps2games" src="xcb://localhost/dev_hdd0/xmlhost/games/PS2.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps1games" src="xcb://localhost/dev_hdd0/xmlhost/games/PS1.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="psxgames" src="xcb://localhost/dev_hdd0/xmlhost/games/PSP.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="pspgames" src="xcb://localhost/dev_hdd0/xmlhost/games/PSX.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="roms" src="xcb://localhost/dev_hdd0/xmlhost/games/Roms.xml#seg_game"/>
        <Items>
</View>


ThIs is a example of a Folder declared in My games xml. if webMAN finds PS3 games it creates it with queries for games and futures games, So creating this one will make the PS3 games folder automatically appears inside My games Folder and the games will be named according to the queries, each game a small xml in sequence as declared in predefined queries, so as soon as webman creates for example game003.xml it will automatically be added in the folder as the xmls was expecting for it

So it will be refreshed just by closing and opening the MY games folder again or using the xmb_plugin command

Code:
    <View id="seg_ps3_games">
        <Attributes>
            <Table key="ps3_games">
                <Pair key="icon"><String>/dev_flash//vsh/resource/explore/icon/PS3.png</String></Pair>
                <Pair key="title"><String>PS3 Games</String></Pair>
                <Pair key="info"><String>Your PS3 Games</String></Pair>
                <Pair key="child"><String>segment</String></Pair>
               </Table>
        </Attributes>
        <Items>
            <Query class="type:x-xmb/folder-pixmap" key="ps3_games" attr="ps3_games" src="seg_ps3_games_items">
        </Items>
    </View>
 
    <View id="seg_ps3_games_items">
        <Items>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game1" src="xcb://localhost/dev_hdd0/xmlhost/games/game0001.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game2" src="xcb://localhost/dev_hdd0/xmlhost/games/game0002.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game3" src="xcb://localhost/dev_hdd0/xmlhost/games/game0003.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game4" src="xcb://localhost/dev_hdd0/xmlhost/games/game0004.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game5" src="xcb://localhost/dev_hdd0/xmlhost/games/game0005.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game6" src="xcb://localhost/dev_hdd0/xmlhost/games/game0006.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game7" src="xcb://localhost/dev_hdd0/xmlhost/games/game0007.xml#seg_game"/>
            <Query class="type:x-xmb/folder-pixmap" key="ps3game8" src="xcb://localhost/dev_hdd0/xmlhost/games/game0008.xml#seg_game"/>
            .
            .
            .
            .
            .
            .
            .
        <Items>
</View>

I don't know if it would worth the effort to do all this. It would require to remake all the scanning algorithm for XML.
Also a XML per game could cause performance issues when the user has a large collection of games.

This is not a priority for me now, but I will take note of it...
 
Aldo is there a way to comment out a line in the boot_init.txt?

Turns out l'm using many remaps on HEN, I recently added a new one to change the HEN icon after HEN activation and I had to remove a few more to get it to work, but this one in specific is preventing webman to mount games (the first time it will mount the game, but it does not load the icon and stuff, when clicked it will give an error, so one need to mount other game to make it work, trying to mount the same again does nothing)

So I want to comment out this line in case I find a solution in the future.

Code:
map /dev_flash/vsh/resource/software_update_plugin.rco=/dev_flash/vsh/resource/AAA/software_update_plugin.rco
 
Last edited:
@aldostools

I'm trying to use /play.ps3?remoteplay;/wait.ps3?5;/pad.ps3?circle and it says 505 not implemented

/play.ps3?remoteplay and /wait.ps3?5;/pad.ps3?circle work separately, but not together
You sure you got a 505 error?
Iirc "not implemented" is 501, I didn't check the source to confirm though.

It could be that the displayed code does not actually reflect the cause for the error properly..
If ever that were the case & it turned out the code would need a minor tweak like an extra check to better inform the user, Aldo will know.. ;-)

Have you tried increasing the wait value?
 
Last edited:
Back
Top