PS3 Optimising XMB xmls on CFW

Discussion in 'XMB Modifications' started by DeViL303, Mar 6, 2019.

  1. 3,695
    3,191
    372
    sandungas

    sandungas Moderator Developer

    Joined:
    Dec 31, 2014
    Messages:
    3,695
    Likes Received:
    3,191
    Trophy Points:
    372
    Location:
    Babylon 20xxE series
    Yes is like that, you need to delete that 2 lines, but there is an additional edit you need to do

    The "parent" object of them have an attribute that indicates how many childrens it have, by default is 0xa (for 10 categories), you are removing 2 so change it to 0x8

    *This was tested and works fine

    ----------
    Edit:
    ops, i had the thread opened and missed the last posts, sorry, but yeah, thats it :)
     
    kozarovv, Spawn and DeViL303 like this.
  2. 4,713
    4,436
    372
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    4,713
    Likes Received:
    4,436
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    Another simple mod, is to add this to the bottom of video xml:
    Code:
    <Query class="type:x-xmb/folder-pixmap" key="gameDir" src="xil://localhost/list?t=tv"/>
    Then remove the tv category from the rco too, drop count to 0x7, and delete its xml from flash too..and then there were seven.. :)

    screenshot_2019_01_17_14_41_52.png

    Here is the xmls and patched rco to do that.

    NOTE: These xmls are only suitable for Starbuged 4.84, they only have CEX items, so dont use them on other CFW especially DEX based CFW, as all the root_for_dex sections are missing.

    (USE AT YOUR OWN RISK)
     

    Attached Files:

    Last edited: Mar 7, 2019
    sandungas and kozarovv like this.
  3. 541
    340
    97
    LuanTeles

    LuanTeles Member

    Joined:
    May 15, 2017
    Messages:
    541
    Likes Received:
    340
    Trophy Points:
    97
    Gender:
    Male
    Occupation:
    Civil Engineer
    Location:
    São Paulo - Brazil
    Home Page:
    So reversing this, we can maybe add a new category?
     
  4. 3,695
    3,191
    372
    sandungas

    sandungas Moderator Developer

    Joined:
    Dec 31, 2014
    Messages:
    3,695
    Likes Received:
    3,191
    Trophy Points:
    372
    Location:
    Babylon 20xxE series
    The "Homebrew" category ? :)
    Is not posible to add a completly custom category as far i know
    But maybe it can be repurposed one that already exists
     
  5. 7,180
    5,107
    847
    kozarovv

    kozarovv Super Moderator

    Joined:
    Nov 8, 2014
    Messages:
    7,180
    Likes Received:
    5,107
    Trophy Points:
    847
    Home Page:
    To be honest it seems to be pretty easy now.
     
  6. 4,713
    4,436
    372
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    4,713
    Likes Received:
    4,436
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    Well, there is also an explore sprx for each category, so that would need to be created too, and probably some other stuff.

    Its a shame, in pre release firmware the categories were made up from another master root.xml. It probably would have been easy to add a new category back then, Im not sure if this xml is still re created somewhere inside an sprx
    Code:
    <View id="root">
    <Attributes>
    <Table key="user">
    <Pair key="icon_rsc"><String>item_tex_ms_icon</String></Pair>
    <Pair key="title"><String>User</String></Pair>
    <Pair key="child"><String>segment</String></Pair>
    </Table>
    <Table key="photo">
    <Pair key="icon_rsc"><String>item_tex_ms_icon</String></Pair>
    <Pair key="title"><String>Photo</String></Pair>
    <Pair key="child"><String>segment</String></Pair>
    </Table>
    <Table key="music">
    <Pair key="icon_rsc"><String>item_tex_ms_icon</String></Pair>
    <Pair key="title"><String>Music</String></Pair>
    <Pair key="child"><String>segment</String></Pair>
    </Table>
    <Table key="video">
    <Pair key="icon_rsc"><String>item_tex_ms_icon</String></Pair>
    <Pair key="title"><String>Video</String></Pair>
    <Pair key="child"><String>segment</String></Pair>
    </Table>
    <Table key="game">
    <Pair key="icon_rsc"><String>item_tex_ms_icon</String></Pair>
    <Pair key="title"><String>Game</String></Pair>
    <Pair key="child"><String>segment</String></Pair>
    </Table>
    <Table key="network">
    <Pair key="icon_rsc"><String>item_tex_ms_icon</String></Pair>
    <Pair key="title"><String>Network</String></Pair>
    <Pair key="child"><String>segment</String></Pair>
    </Table>
    <Table key="friend">
    <Pair key="icon_rsc"><String>item_tex_ms_icon</String></Pair>
    <Pair key="title"><String>Friend</String></Pair>
    <Pair key="child"><String>segment</String></Pair>
    </Table>
    <Table key="avchat">
    <Pair key="icon_rsc"><String>item_tex_ms_icon</String></Pair>
    <Pair key="title"><String>AVChat</String></Pair>
    <Pair key="child"><String>segment</String></Pair>
    </Table>
    </Attributes>
    <Items>
    <Query key="user"    class="type:x-xmb/folder-pixmap" attr="user"    src="xmb://localhost/%flash/xmb/category_user.xml#root"    />
    <Query key="photo"   class="type:x-xmb/folder-pixmap" attr="photo"   src="xmb://localhost/%flash/xmb/category_photo.xml#root"   />
    <Query key="music"   class="type:x-xmb/folder-pixmap" attr="music"   src="xmb://localhost/%flash/xmb/category_music.xml#root"   />
    <Query key="video"   class="type:x-xmb/folder-pixmap" attr="video"   src="xmb://localhost/%flash/xmb/category_video.xml#root"   />
    <Query key="game"    class="type:x-xmb/folder-pixmap" attr="game"    src="xmb://localhost/%flash/xmb/category_game.xml#root"    />
    <Query key="network" class="type:x-xmb/folder-pixmap" attr="network" src="xmb://localhost/%flash/xmb/category_network.xml#root" />
    <Query key="friend"  class="type:x-xmb/folder-pixmap" attr="friend"  src="xmb://localhost/%flash/xmb/category_friend.xml#root"  />
    <Query key="avchat"  class="type:x-xmb/folder-pixmap" attr="avchat"  src="xmb://localhost/%flash/xmb/category_avchat.xml#root"  />

    BTW, we can delete the explore sprx for the categories not used as well ;) actually we can delete about 30 sprx files at least if using these xmls, any sprx starting with "np" for a start, seems to make no difference. :)
     
    sandungas likes this.
  7. 3,695
    3,191
    372
    sandungas

    sandungas Moderator Developer

    Joined:
    Dec 31, 2014
    Messages:
    3,695
    Likes Received:
    3,191
    Trophy Points:
    372
    Location:
    Babylon 20xxE series
    The reason i said that is looks very hard to add a completly custom category is because there are going to be a lot of "connections" missing (sprx, rco, xmbml etc...)
    But by repurposing a category that already exists you have the other official files doing that connections, so theoretically you could replace all the related files and keep the official connections in between them

    Anyway... you gave me an idea when looking at that pre-retail list of categories, it seems it existed a category named "avchat"
    We dont know if it was renamed later or repurposed, or his connections was removed but this could be a nice candidate incase there are parts of the firmware ready to load it
     
    DeViL303 likes this.
  8. 4,713
    4,436
    372
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    4,713
    Likes Received:
    4,436
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    there was also the debug category with its own xml,
    Code:
    <Query key="user"    class="type:x-xmb/folder-pixmap" attr="user"    src="xmb://localhost/%flash/xmb/category_user.xml#root"    />
    <Query key="photo"   class="type:x-xmb/folder-pixmap" attr="photo"   src="xmb://localhost/%flash/xmb/category_photo.xml#root"   />
    <Query key="music"   class="type:x-xmb/folder-pixmap" attr="music"   src="xmb://localhost/%flash/xmb/category_music.xml#root"   />
    <Query key="video"   class="type:x-xmb/folder-pixmap" attr="video"   src="xmb://localhost/%flash/xmb/category_video.xml#root"   />
    <Query key="game"    class="type:x-xmb/folder-pixmap" attr="game"    src="xmb://localhost/%flash/xmb/category_game.xml#root"    />
    <Query key="network" class="type:x-xmb/folder-pixmap" attr="network" src="xmb://localhost/%flash/xmb/category_network.xml#root" />
    <Query key="friend"  class="type:x-xmb/folder-pixmap" attr="friend"  src="xmb://localhost/%flash/xmb/category_friend.xml#root"  />
    <Query key="avchat"  class="type:x-xmb/folder-pixmap" attr="avchat"  src="xmb://localhost/%flash/xmb/category_avchat.xml#root"  />
    <Query key="debug"   class="type:x-xmb/folder-pixmap" attr="debug"   src="xmb://localhost/%flash/xmb/debug.xml#root"            />
    in rco it looks like this:
    Code:
    <XMList name="list_user" unknown0="0x0" image="image:tex_user" unknownRef3="nothing"></XMList>
    <XMList name="list_sysconf" unknown0="0x0" image="image:tex_system" unknownRef3="nothing"></XMList>
    <XMList name="list_photo" unknown0="0x0" image="image:tex_photo" unknownRef3="nothing"></XMList>
    <XMList name="list_music" unknown0="0x0" image="image:tex_music" unknownRef3="nothing"></XMList>
    <XMList name="list_video" unknown0="0x0" image="image:tex_video" unknownRef3="nothing"></XMList>
    <XMList name="list_game" unknown0="0x0" image="image:tex_game" unknownRef3="nothing"></XMList>
    <XMList name="list_network" unknown0="0x0" image="image:tex_network" unknownRef3="nothing"></XMList>
    <XMList name="list_friend" unknown0="0x0" image="image:tex_friend" unknownRef3="nothing"></XMList>
    <XMList name="list_test" unknown0="0x0" image="nothing" unknownRef3="nothing"></XMList>
    I tried adding the list_test item to 4.84 rco and increasing the menu count by 1, not that easy :)
     
    kozarovv and sandungas like this.
  9. 3,695
    3,191
    372
    sandungas

    sandungas Moderator Developer

    Joined:
    Dec 31, 2014
    Messages:
    3,695
    Likes Received:
    3,191
    Trophy Points:
    372
    Location:
    Babylon 20xxE series
    Both you should use the "rcomage psdevwiki mod" btw :P
    The "unknownRef3" in the code you are posting is a text... you can load it from the multilanguage strings this way unknownRef3="text:msg_whatever"

    If you extract the rco contents again with the "rcomage mod" it should looks like this:
    xmlistText="text:msg_whatever"

    Im just mentioning it because i was checking at it right now... you made me think i forgot to give a name to that attribute :)

    ----------
    Edit:
    And the unknown0 in your code is still unknown (i renamed it to xmlistUnk1 for the rcomage mod), and i cant imagine what it does, if someone finds it please report it to the rcomage thread and we will give it a name
     
    Last edited: Mar 6, 2019
    DeViL303 and kozarovv like this.
  10. 4,713
    4,436
    372
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    4,713
    Likes Received:
    4,436
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    I just made very VERY nice discovery (IMO) :D :D

    I know how to run 2 different xai plugins at once. :) Its actually really cool, and so simple.

    Rename your second xai plugin to strviewer_plugin.sprx, then call it like this from xml, no rco needed:
    Code:
    <Pair key="icon_rsc"><String>item_tex_ms_icon</String></Pair>
     <Pair key="title"><String>rsod via str test</String></Pair>
     <Pair key="module_name"><String>strviewer_plugin</String></Pair>
     <Pair key="module_action"><String>rsod_fix</String></Pair>
     <Pair key="bar_action"><String>none</String></Pair>
     <Pair key="lbl_half"><String>1</String></Pair>
    From reversing the str viewer plugin before I know it is not needed for anything so now we basically have another plugin slot that doesn't need Cobra.


    EDIT: and we can do same with sacd plugin, and friendim plugin, i wonder how many more xai plugin type plugins we can run? :)
     
    Last edited: Mar 6, 2019
    CFW-User and kozarovv like this.
  11. 3,695
    3,191
    372
    sandungas

    sandungas Moderator Developer

    Joined:
    Dec 31, 2014
    Messages:
    3,695
    Likes Received:
    3,191
    Trophy Points:
    372
    Location:
    Babylon 20xxE series
    But have you tryed to unload the real xai_plugin.sprx ? (by renaming it or removing it temporally) and reboot the PS3 to see if the others continues working ?
     
  12. 4,713
    4,436
    372
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    4,713
    Likes Received:
    4,436
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    Yeah, I must start using that, been lazy. Will do it now.
    Yeah, I can confirm, I have deleted xai_plugin.sprx and rco off my console , but can use it through str viewer no problem. :) Sorry took me while to test, was going through one of the many soft bricks I get while testing this stuff. :) So far sacd plugin is a another good candidate too, no one uses that really.
     
    sandungas likes this.
  13. 4,713
    4,436
    372
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    4,713
    Likes Received:
    4,436
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    Actually, str viewer is fine for the reboot commands which I tested it on, but it kind of hangs XMB on other ones, even though it succeeds in doing the action it just sits on the icon, you can still access PS button menu.


    The sacd plugin , bd player plugin and friendim plugin dont hang XMB and work as perfect xai replacements.

    EDIT: another good one that works perfectly, hknw_plugin ,
    EDIT 2: and edy plugin, and wboard_plugin
     
    Last edited: Mar 6, 2019
  14. 4,713
    4,436
    372
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    4,713
    Likes Received:
    4,436
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    BTW: Anyone running these xmls can also delete the entire "icons" folder from flash if they want, that is all PSN related stuff (2MB+). ;)
     
  15. 440
    274
    97
    haxxxen

    haxxxen Developer

    Joined:
    Oct 16, 2014
    Messages:
    440
    Likes Received:
    274
    Trophy Points:
    97
    just sayin but don't do this on dex or with dual vsh like with Rebug. those "_tool2.xmls" are important as well as those "root_dex/root_for_dex/tool_root" entries in xmls
     
    DeViL303 likes this.
  16. 7,180
    5,107
    847
    kozarovv

    kozarovv Super Moderator

    Joined:
    Nov 8, 2014
    Messages:
    7,180
    Likes Received:
    5,107
    Trophy Points:
    847
    Home Page:
    @DeViL303 Can you post some version where all that mods are included. I'm really bad in editing those kind of stuff by myself. :/
     
  17. 4,713
    4,436
    372
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    4,713
    Likes Received:
    4,436
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    Which stuff do you mean, the last ones I posted are as far as I have got really.
     
  18. 7,180
    5,107
    847
    kozarovv

    kozarovv Super Moderator

    Joined:
    Nov 8, 2014
    Messages:
    7,180
    Likes Received:
    5,107
    Trophy Points:
    847
    Home Page:
    I mean with removed icons/category of psn and friends. I got that version you posted here earlier.
     
  19. 4,713
    4,436
    372
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    4,713
    Likes Received:
    4,436
    Trophy Points:
    372
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    Well the rco included in last zip (post #22) will remove the categories completely, and then to remove the icons you just need to delete them all from dev_blind/vsh/resource/explore/icon/ , none of them are required if using these xmls, so you can empty the icons folder completely.
     
    kozarovv likes this.
  20. 7,180
    5,107
    847
    kozarovv

    kozarovv Super Moderator

    Joined:
    Nov 8, 2014
    Messages:
    7,180
    Likes Received:
    5,107
    Trophy Points:
    847
    Home Page:
    Oh, i missed that last zip you posted. Thanks!
     
    DeViL303 likes this.

Share This Page