PS3 GUIDE: Self-booting XMB Webman Classics

Discussion in 'webMAN MOD' started by jacobsson, Nov 10, 2018.

  1. 246
    151
    97
    jacobsson

    jacobsson Member

    Joined:
    Aug 11, 2017
    Messages:
    246
    Likes Received:
    151
    Trophy Points:
    97
    Gender:
    Male
    @aldostools
    Hi!
    So I tested your suggestion about writing to the category_game.xml, unfortunately I can't get it show up as en entry.
    When I execute '/browser.ps3$focus_index my_psp_launcher' it takes me all the way up in the tree and executes the first item 'PS Vita System App. Util'. The XML is validated with correct syntax so I guess either it's in the wrong place or I have rebuild something? (I did a reboot to be sure)


    My xml looks like this (removed everything after my query entry, which is the last part):
    HTML:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <XMBML version="1.0">
        <View id="root">
            <Attributes>
                <Table key="seg_device">
                    <Pair key="focus_detect"><String>enable</String></Pair>
                    <Pair key="focus_priority"><String>-5</String></Pair>
                </Table>
                <Table key="seg_add_content_device">
                    <Pair key="focus_detect"><String>enable</String></Pair>
                    <Pair key="focus_priority"><String>-4</String></Pair>
                </Table>
                <Table key="gameDir">
                    <Pair key="focus_priority"><String>-3</String></Pair>
                </Table>
                <Table key="gameDir2">
                    <Pair key="focus_priority"><String>-2</String></Pair>
                </Table>
                <Table key="seg_welcome">
                    <Pair key="focus_priority"><String>-1</String></Pair>
                    <Pair key="custom_priority"><String>game=-80</String></Pair>
                </Table>
                <Table key="my_psp_launcher">
                    <Pair key="icon"><String>/dev_hdd0/game/PSPC66820/ICON0.PNG</String></Pair>
                    <Pair key="title"><String>PSP Launcher</String></Pair>
                </Table>
            </Attributes>
            <Items>
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_psp2appdata"
                    src="#seg_psp2appdata"
                    />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_gamedata"
                    src="#seg_gamedata"
                    />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_mcutility"
                    src="#seg_mcutility"
                    />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_sdps2"
                    src="sel://localhost/ps2emusave?category_game.xml#seg_sdps2"
                    />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_sdpsp"
                    src="#seg_sdpsp"
                    />
    
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_sdps3"
                    src="#seg_sdps3"
                    />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_welcome"
                    attr="seg_welcome"
                    src="sel://localhost/welcome?type=game"
                    />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_gamedebug"
                    src="#seg_gamedebug"
                    />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_package_files"
                    src="#seg_package_files"
                    />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="game_xmbm_hdd0"
                    src="xmb://localhost/dev_hdd0/game/XMBMANPLS/USRDIR/game_main.xml#seg_xmb_hdd0_app"
                    />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="han_toolbox_xmb"
                    src="xmb://localhost/dev_hdd0/game/HANTOOLBX/USRDIR/han_toolbox_xmb.xml#han_toolbox_xmb_main"
                    />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="xmb_app3"
                    attr="xmb_app3"
                    src="xmb://localhost/dev_hdd0/xmlhost/game_plugin/fb.xml#seg_fb"
                    />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_gameexit"
                    src="sel://localhost/ingame?path=category_game.xml#seg_gameexit&type=game"
                    />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_manual"
                    src="sel://localhost/ingame?path=category_game.xml#seg_manual&type=manual"
                    />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_device"
                    attr="seg_device"
                    src="xcb://localhost/query?table=MMS_MEDIA_TYPE_SYSTEM&sort=+StorageMedia:StorageMedia.type+StorageMedia:Common.timeCreated&cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+AGL+StorageMedia:StorageMedia.type %xCB_MEDIA_TYPE_PS3_BD %xCB_MEDIA_TYPE_PS1_CD+AGL+StorageMedia:StorageMedia.mediaFormat %xCB_MEDIA_FORMAT_PS3GAME_BD %xCB_MEDIA_FORMAT_PS1GAME_CD+An+StorageMedia:Common.fileName BDV"
                />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_device_bdv"
                    attr="seg_device_bdv"
                    src="xcb://localhost/query?table=MMS_MEDIA_TYPE_SYSTEM&sort=+StorageMedia:StorageMedia.type+StorageMedia:Common.timeCreated&cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+AGL+StorageMedia:StorageMedia.type %xCB_MEDIA_TYPE_PS3_BD %xCB_MEDIA_TYPE_PS1_CD+AGL+StorageMedia:StorageMedia.mediaFormat %xCB_MEDIA_FORMAT_PS3GAME_BD %xCB_MEDIA_FORMAT_PS1GAME_CD+Ae+StorageMedia:Common.fileName BDV"
                />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_device2"
                    attr="seg_device2"
                    src="xcb://localhost/query?table=MMS_MEDIA_TYPE_SYSTEM&sort=+StorageMedia:StorageMedia.type&cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+AGL+StorageMedia:StorageMedia.type %xCB_MEDIA_TYPE_PS3_BD %xCB_MEDIA_TYPE_PS1_CD+AGL+StorageMedia:StorageMedia.mediaFormat %xCB_MEDIA_FORMAT_PS3GAME_BD %xCB_MEDIA_FORMAT_PS1GAME_CD+Ae+StorageMedia:StorageMedia.hybrid HYBRID&opt=option_hybrid"
                />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_add_content_device"
                    attr="seg_add_content_device"
                    src="xcb://localhost/query?table=MMS_MEDIA_TYPE_SYSTEM&sort=+StorageMedia:StorageMedia.type&cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+AGL+StorageMedia:StorageMedia.type %xCB_MEDIA_TYPE_PS3_BD %xCB_MEDIA_TYPE_DVDPRW+AGL+StorageMedia:StorageMedia.mediaFormat %xCB_MEDIA_FORMAT_PS3CONTENT_BD %xCB_MEDIA_FORMAT_PS3CONTENT_DVD+Ae+StorageMedia:Common.fileName EX_GAME"
                    />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="seg_mv_content_device"
                    attr="seg_mv_content_device"
                    src="xcb://localhost/query?table=MMS_MEDIA_TYPE_SYSTEM&sort=+StorageMedia:StorageMedia.type&cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+AGL+StorageMedia:StorageMedia.type %xCB_MEDIA_TYPE_PS3_BD %xCB_MEDIA_TYPE_DVDPRW+AGL+StorageMedia:StorageMedia.mediaFormat %xCB_MEDIA_FORMAT_PS3CONTENT_BD %xCB_MEDIA_FORMAT_PS3CONTENT_DVD+Ae+StorageMedia:Common.fileName THEMEDIR"
                    />
    
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="gameDir"
                    attr="gameDir"
                    src="xil://localhost/list?t=game"
                />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="gameDir2"
                    attr="gameDir2"
                    src="sel://localhost/ex?root.view_selected.game"
                />
                <Query
                    class="type:x-xmb/folder-pixmap"
                    key="my_psp_launcher" attr="my_psp_launcher"
                    src="xcb://localhost/query?limit=1&cond=Ae+Game:Common.dirPath /dev_hdd0/game+Ae+Game:Common.fileName PSPC66820"
                />
    
            </Items>
        </View>
    
    
     
  2. 3,260
    5,350
    522
    aldostools

    aldostools Developer Developer

    Joined:
    Oct 30, 2014
    Messages:
    3,260
    Likes Received:
    5,350
    Trophy Points:
    522
    @DeViL303 is the expert in that area :) Maybe he can help you...
    Not sure about this case, but if you're using rebug, there are some entries that only show if you update category_game_tool2.xml
     
    jacobsson likes this.
  3. 246
    151
    97
    jacobsson

    jacobsson Member

    Joined:
    Aug 11, 2017
    Messages:
    246
    Likes Received:
    151
    Trophy Points:
    97
    Gender:
    Male
    @aldostools
    Thank you for pointing me in the right direction. I'm sure I'll find a way thanks to your info!
    I'll let you know if/when I make some progress. I really felt PSP needed a smooth self-launcher as the other systems via webMAN.
     
  4. 3,260
    5,350
    522
    aldostools

    aldostools Developer Developer

    Joined:
    Oct 30, 2014
    Messages:
    3,260
    Likes Received:
    5,350
    Trophy Points:
    522
    BTW have you PSP Launcher check marked to be listed in webMAN Games' PSP category?
    IMHO it's very convenient to have that option selected and it's near what you're trying to achieve.

    View attachment 15770
     
    Last edited: Mar 27, 2019
  5. 246
    151
    97
    jacobsson

    jacobsson Member

    Joined:
    Aug 11, 2017
    Messages:
    246
    Likes Received:
    151
    Trophy Points:
    97
    Gender:
    Male
    Actually, adding the entries to category_game_tool2.xml now gives me the placeholder, one step closer!
    I didn't manage to see where tick-box is located, I'm a bit tired today.

    Now back to trying web commands via browser =)
     
    DeViL303 likes this.
  6. 7,673
    8,940
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    7,673
    Likes Received:
    8,940
    Trophy Points:
    797
    Not exactly sure what you want to do, but if an app is installed, I think this will work to make it show where you want:
    Code:
     <Query
      class="type:x-xmb/folder-pixmap"
      key="my_psp_launcher"
     src="xcb://localhost/query?sort=+Game:Common.titleForSort&cond=Oe+Game:Game.titleId PSPC66820"
      />
    Just add that to the category game xml, don't add any attributes at the top, you should also add it to the tool2 xml like aldo says. And even the root for dex section of that xml.
     
    jacobsson and aldostools like this.
  7. 3,260
    5,350
    522
    aldostools

    aldostools Developer Developer

    Joined:
    Oct 30, 2014
    Messages:
    3,260
    Likes Received:
    5,350
    Trophy Points:
    522
    The check box is found in /setup.ps3, click on the section "Scan for content" to show the options.
     
    jacobsson likes this.
  8. 246
    151
    97
    jacobsson

    jacobsson Member

    Joined:
    Aug 11, 2017
    Messages:
    246
    Likes Received:
    151
    Trophy Points:
    97
    Gender:
    Male
    @aldostools and @DeViL303
    It now works using this command:
    /mount_ps3/dev_hdd0/PSPISO/Power Stone Collection.iso;/wait.ps3?2;/browser.ps3$close_all_list;/play.ps3?col=game&seg=my_psp_launcher


    Behaves almost like the regular webMAN auto-mount/play, except for the permanent PSP Launcher (could it be marked hidden until called?)
    Alternatively, what if I could instead just (using the explore plugin) navigate to the PSP Launcher exposed inside the webMAN Games/PSP folder?

    Anyway. I'd like to thank you for all the help I've been given, this is why I think the PS3 scene is the best to develop for!
     
    aldostools likes this.
  9. 7,673
    8,940
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    7,673
    Likes Received:
    8,940
    Trophy Points:
    797
    That could be tricky, I can think of a few workarounds possibly. webman can install pkgs, so maybe it could have the psp launcher pkg built in, and it installs it when needed, so it appears. Then if user does not need it for a while, then can just press triangle and delete it.

    I dont know, there might be another way, would involve having the query for the launcher in an external xml that gets renamed to make it appear, but i think for that to even appear, a fake pkg would need to be installed, when a pkg is installed the xmb does a blink, and it refreshes and checks xmls queries again too. I dont know of another way to call that little refresh although it should be possible from a plugin
     
    aldostools and jacobsson like this.
  10. 246
    151
    97
    jacobsson

    jacobsson Member

    Joined:
    Aug 11, 2017
    Messages:
    246
    Likes Received:
    151
    Trophy Points:
    97
    Gender:
    Male
    @DeViL303
    You prob right, I might get too hacky. I'm going to try if I can navigate to the webMAN PSP Launcher using the explore plugin and see if it's doable (if it handles sub folders at all).
     
    Last edited: Mar 28, 2019
    DeViL303 likes this.
  11. 246
    151
    97
    jacobsson

    jacobsson Member

    Joined:
    Aug 11, 2017
    Messages:
    246
    Likes Received:
    151
    Trophy Points:
    97
    Gender:
    Male
    OK. So this is the result using the explorer plugin:
    Solution 1)

    /mount_ps3/dev_hdd0/PSPISO/Power Stone Collection.iso;/wait.ps3?8;/browser.ps3$focus_segment_index xmb_app3 0;/wait.ps3?1;/browser.ps3$exec_push;/wait.ps3?1;/browser.ps3$focus_index 0 4;/wait.ps3?1;/browser.ps3$exec_push;/wait.ps3?1;/browser.ps3$exec_push;/wait.ps3?1;/browser.ps3$exec_push

    VS the xml modded launcher:

    Solution 2)

    /mount_ps3/dev_hdd0/PSPISO/Power Stone Collection.iso;/wait.ps3?2;/browser.ps3$close_all_list;/play.ps3?col=game&seg=my_psp_launcher

    As you can see in (1) the explore route is doable but not so nice and it's very slow. I guess I need to think about if it possible to maybe integrate PSP Launcher in the PKGLauncher somehow? (every PSP webMAN Classics has it's own PSP Launcher). Hacking in the blind_dev xml's just doesn't feel right as of (2).
     
  12. 7,673
    8,940
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    7,673
    Likes Received:
    8,940
    Trophy Points:
    797
    Not sure if this will help but for the sake of correctness :
    I realized what I said above is not quite true, renaming an xml can get a XMB item to appear, But only if its in a sub folder, then entering the sub folder after renaming the xml will work. Maybe this can be used somehow for the psp launcher query, not sure. Its not possible to do this on the root level of a category as we cant leave and enter it again, for the root we need the little refresh i talked about. Moving to another category and then back again will not do it.
     
    sandungas and jacobsson like this.
  13. 246
    151
    97
    jacobsson

    jacobsson Member

    Joined:
    Aug 11, 2017
    Messages:
    246
    Likes Received:
    151
    Trophy Points:
    97
    Gender:
    Male
    Hmm that might actually be an nice option since I don't like the thought of permanent entries showing when not used.

    Regarding renaming and refreshing the XML, is that what happens when a disc is inserted and the disc icon shows? (and removed when ejecting the disc)
     
  14. 7,673
    8,940
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    7,673
    Likes Received:
    8,940
    Trophy Points:
    797
    No, that's different. That is a bit more like when you install an app and it appears, although different again, not really sure.

    If you was to use an xml renaming system like i mentioned, it would appear after you rename to correct name in the xml query, only after re entering the sub category its in, But if you then name it something else after it has loaded, the item would not "unload" until you reboot. So its still not perfect.
     
  15. 246
    151
    97
    jacobsson

    jacobsson Member

    Joined:
    Aug 11, 2017
    Messages:
    246
    Likes Received:
    151
    Trophy Points:
    97
    Gender:
    Male
    I just got another idea, it's not nice nor is it pretty.
    What about removing ICON0.PNG from the PSP Launcher when not used and refresh? Would that result in an error or simply just hide the entry you think?
     
  16. 7,673
    8,940
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    7,673
    Likes Received:
    8,940
    Trophy Points:
    797
    That will show a corrupt icon afaik, might go away after a database rebuild , not sure.
     
  17. 246
    151
    97
    jacobsson

    jacobsson Member

    Joined:
    Aug 11, 2017
    Messages:
    246
    Likes Received:
    151
    Trophy Points:
    97
    Gender:
    Male
    OK I see. Thank you for sharing your ideas!
     
  18. 7,673
    8,940
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    7,673
    Likes Received:
    8,940
    Trophy Points:
    797
    Editing the app database would be one way, but not sure how system does that, don't know much about it. But that is what gets changed when you install an app, I suppose there must be a way to make it seem like you installed an app, then deleted it again.
     
    jacobsson likes this.
  19. 246
    151
    97
    jacobsson

    jacobsson Member

    Joined:
    Aug 11, 2017
    Messages:
    246
    Likes Received:
    151
    Trophy Points:
    97
    Gender:
    Male
    Really interesting suggestion!
    That might be what the system is doing during disc inserts.
     
  20. 7,673
    8,940
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    7,673
    Likes Received:
    8,940
    Trophy Points:
    797
    Could be, shame we cant use the disc icon somehow, like a fake PS3 EXTRA ISO gets mounted that actually redirects to the PSP launcher or something like that, There has to be a way.

    @aldostools a PS3 EXTRA icon can launch an app cant it? I know we can launch an app from webman Launchpad with the psgm play command. Would this be a workaround possibly? a Fake ps3 extra disk gets mounted, with just psp launcher on it?
     
    aldostools and jacobsson like this.

Share This Page