PS3 Optimising XMB xmls on CFW

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

  1. 6,023
    6,763
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    6,023
    Likes Received:
    6,763
    Trophy Points:
    622
    Gender:
    Male
    Occupation:
    Part-Time XMB Modder
    Location:
    Ireland
    I've been messing with deleting unneeded stuff from the PS3's XMB xmls, its surprising how many of them are not required, especially on a banned or offline only CEX console.

    Removing some of this stuff is proven to have helped superslim users who were have issues with ingame XMB after adding HAN items.

    Original category xmls:

    original.png

    Stripped down category xmls:

    stripped down.png

    I know if you edit the xmls after boot up it has no effect, Same if you delete icons, so I assume that means they are in RAM? If so then really removing unneeded stuff from the XMB should give a bit more RAM available? Im only guessing.

    Some examples of stuff I've removed in case anyone wants to try too:
    • Deleted 11 xmls that are not used. Saves some flash space anyway.
    • Removed shop root, root for BDU, tool root, root for DEX sections.
    • Rewrote package manager from 324 lines down to 160 lines
    • moved trophy item to game category
    • Removed all friends and PSN items as this console is banned, those xmls are only 15bytes each now
    • Removed duplicate "search for dnla servers" items from photo and music, no need to have it in every category as its the same item exactly.
    • rewrote all queries to be on 1 line, they are like this in some places in OFW already, so made them all the same.
    • removed old unused stuff like Home, removed all dummy stuff for shop consoles.
    • Removed focus priority attributes from all xmls.
    • Removed photo gallery item
    • removed xil items from categories where they have never been used like video and psn.
    • Removed welcome item from categories that don't use it
    • Removed empty lines at bottom of xmls, also removed comment about xml version/UTF from the top of all xmls that's not required.
    • Probably some other stuff :)
     
    Last edited: Mar 6, 2019
  2. 547
    351
    97
    LuanTeles

    LuanTeles Member

    Joined:
    May 15, 2017
    Messages:
    547
    Likes Received:
    351
    Trophy Points:
    97
    Gender:
    Male
    Occupation:
    Civil Engineer
    Location:
    São Paulo - Brazil
    Home Page:
    Is there any xmb speed improvements?
     
  3. 6,023
    6,763
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    6,023
    Likes Received:
    6,763
    Trophy Points:
    622
    Gender:
    Male
    Occupation:
    Part-Time XMB Modder
    Location:
    Ireland
    I'm not sure, It seems like it loads quicker, but it is probably placebo effect. :)

    I suppose its no harm to share these. Use at your own risk though. There are no PSN items, and other stuff might be broken. So backup current xmls first. :)

    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. They also have no items related to PSN, these were made for a offline console. Take em or leave em, Or edit them. :)
     

    Attached Files:

    Last edited: Mar 8, 2019
    kozarovv likes this.
  4. 535
    198
    97
    DEX357

    DEX357 Member

    Joined:
    Feb 27, 2017
    Messages:
    535
    Likes Received:
    198
    Trophy Points:
    97
    Gender:
    Male
    Location:
    Poland
    Optimize all xml for Starbuged a good idea hmm also translate all non-translated functions cfw for all languages hmm 4.84.3 hmm
    [​IMG]
     
    DeViL303 likes this.
  5. 481
    700
    172
    ShaolinAssassin

    ShaolinAssassin Developer

    Joined:
    Dec 31, 2016
    Messages:
    481
    Likes Received:
    700
    Trophy Points:
    172
    Gender:
    Male
    BTW, which section in category_game.xml is responsible for in game XMB items ?
     
  6. 6,023
    6,763
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    6,023
    Likes Received:
    6,763
    Trophy Points:
    622
    Gender:
    Male
    Occupation:
    Part-Time XMB Modder
    Location:
    Ireland
    It just reads from root too, maybe some items are hard coded to not show, Not sure. Of course you can disable items on ingame XMB with <Pair key="ingame"><String>disable</String> , but that doesn't stop them showing.
     
    ShaolinAssassin likes this.
  7. 481
    700
    172
    ShaolinAssassin

    ShaolinAssassin Developer

    Joined:
    Dec 31, 2016
    Messages:
    481
    Likes Received:
    700
    Trophy Points:
    172
    Gender:
    Male
    Hmm, ok thanks. I still don't understand how it works... With category_game.xml from han support files, I had some "ghost" items (around 5-6 if I remember well) at the bottom of the ingame XMB (by ghost item, I mean duplicated items, without the icon before) - while with your stripped XML, they are only 2 kind of these (PS2 & PSP/Minis save utility - if I remember correctly, i can be wrong about which ones).
     
  8. 6,023
    6,763
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    6,023
    Likes Received:
    6,763
    Trophy Points:
    622
    Gender:
    Male
    Occupation:
    Part-Time XMB Modder
    Location:
    Ireland
    I have seen that, no idea what is going on there or why items get duplicated sometimes.
     
  9. 7,284
    5,323
    847
    kozarovv

    kozarovv Super Moderator

    Joined:
    Nov 8, 2014
    Messages:
    7,284
    Likes Received:
    5,323
    Trophy Points:
    847
    Home Page:
    That work also for me :) Seriously, looks like it load immediately now.
     
    DeViL303 likes this.
  10. 7,284
    5,323
    847
    kozarovv

    kozarovv Super Moderator

    Joined:
    Nov 8, 2014
    Messages:
    7,284
    Likes Received:
    5,323
    Trophy Points:
    847
    Home Page:
    Hmm.
    Can't we remove PSN and Friends at all?
     
  11. 6,023
    6,763
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    6,023
    Likes Received:
    6,763
    Trophy Points:
    622
    Gender:
    Male
    Occupation:
    Part-Time XMB Modder
    Location:
    Ireland
    We can remove them completely I think, but it requires RCO or sprx edit, not sure. Ive never done it because always heard it left blank space, but now I think there is a way to do it cleanly.
     
  12. 1,685
    763
    172
    Cypher_CG89

    Cypher_CG89 Senior Member

    Joined:
    Jul 30, 2018
    Messages:
    1,685
    Likes Received:
    763
    Trophy Points:
    172
    Gender:
    Male
    Occupation:
    Lead Graphic Artist/Dev, VENOM ELITE GAMING
    Location:
    North East, England, UK
    This is because most likely you still have the entries in the xmb_ingame.rco, removing the icons from the rco file and editing the main rco xml and removing them form here as well may remove them completely> object tree etc and such.

    Have you looked in to editing this as well?

    RCO xml> main file controlling the entries> category xml controls where these are displayed.
     
  13. 7,284
    5,323
    847
    kozarovv

    kozarovv Super Moderator

    Joined:
    Nov 8, 2014
    Messages:
    7,284
    Likes Received:
    5,323
    Trophy Points:
    847
    Home Page:
    Maybe simple removing

    <XMList name="list_psn" unknown0="0x0" image="nothing" unknownRef3="nothing"></XMList>
    <XMList name="list_friend" unknown0="0x0" image="nothing" unknownRef3="nothing"></XMList>

    in xmb_plugin_normal.rco (without impose, now just test), can do the job?
     
  14. 6,023
    6,763
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    6,023
    Likes Received:
    6,763
    Trophy Points:
    622
    Gender:
    Male
    Occupation:
    Part-Time XMB Modder
    Location:
    Ireland
    That rco doesnt contain very much at all about individual items, the items are read from the xml, why some items in game get duplicated sometimes I do not know, cant see any reason for it in the xml or the rco. I never use ingame so never looked into modding it, maybe someday.
     
  15. 6,023
    6,763
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    6,023
    Likes Received:
    6,763
    Trophy Points:
    622
    Gender:
    Male
    Occupation:
    Part-Time XMB Modder
    Location:
    Ireland
    That is the way that leaves 2 blank spaces on XMB that you can move to.
     
  16. 7,284
    5,323
    847
    kozarovv

    kozarovv Super Moderator

    Joined:
    Nov 8, 2014
    Messages:
    7,284
    Likes Received:
    5,323
    Trophy Points:
    847
    Home Page:
    Hmm. Let's take a look on sprx then
     
    DeViL303 likes this.
  17. 6,023
    6,763
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    6,023
    Likes Received:
    6,763
    Trophy Points:
    622
    Gender:
    Male
    Occupation:
    Part-Time XMB Modder
    Location:
    Ireland
    Someone on here did it, they had it down to like user settings and game only I think, super stripped. :)
     
  18. 6,023
    6,763
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    6,023
    Likes Received:
    6,763
    Trophy Points:
    622
    Gender:
    Male
    Occupation:
    Part-Time XMB Modder
    Location:
    Ireland
    @kozarovv
    http://www.psx-place.com/threads/why-isnt-there-more-xmb-mods.11015/page-2#post-59754
     
    kozarovv likes this.
  19. 7,284
    5,323
    847
    kozarovv

    kozarovv Super Moderator

    Joined:
    Nov 8, 2014
    Messages:
    7,284
    Likes Received:
    5,323
    Trophy Points:
    847
    Home Page:
    So just menus="0xa" to menus="0x8" :) Nice.
     
  20. 6,023
    6,763
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    6,023
    Likes Received:
    6,763
    Trophy Points:
    622
    Gender:
    Male
    Occupation:
    Part-Time XMB Modder
    Location:
    Ireland
    Yep, tested. Working, Simple. :)

    Also can delete category psn and Category friend xml entirely too once they are removed from RCO, normally that would soft brick.
     
    kozarovv and Spawn like this.

Share This Page