PS3 Optimizing XMLs for different modes

LuanTeles

Developer
PSX-Place Supporter
Here's a little trick to load the same XML for different firmware types (DEX/CEX/DEX/IDPC-IP/Avtool) and View IDs.

(For curiosity's sake, the variant and view ID are not loaded based on the Target ID/IDPS but with different vsh.selfs. The dex vsh.self will look for _tool2.xmls and dex entries. In my tests, I was changing my system to dex and expecting the dex view IDs and XMLs to be loaded, but they weren't because I was using the cex vsh, that's why there is _shop xmls and no shop target ID)


In explore_plugin.sprx, change all entries that contain:
  • #root_arcade
  • #root_dex
  • #root_for_BDU
  • #root_for_dex
  • #shop_guest_root
  • #shop_root
  • #tool_root
to #root.

Also, replace all entries that end with:
  • _shop.xml
  • _tool2.xml
to .xml

This way, we can delete many entries in the XMLs and remove the following XML files:
(You already can safely delete on CEX if you are not converting to DEX and vice-versa, but it's nice for those who changes between the modes)
  • category_user_shop.xml
  • category_sysconf_shop.xml
  • category_friend_shop.xml
  • category_video_bdu.xml
  • category_game_tool2.xml
  • category_network_tool2.xml
You also have to patch the following SPRX files for the in-game XMB, otherwise, it will display empty categories:
  • category_game.sprx
  • category_user.sprx
  • category_music.sprx
  • category_video.sprx
  • category_network.sprx
  • category_friend.sprx
  • category_psn.sprx
Therefore, we can safely delete the view IDs from the XMLs. This will make the XMLs smaller and the items load faster.

Additionally, pkg_src_qa can be patched to pkg_src to save a line per item (XMB mods that download items).
 
Last edited:
I'll try it

I recommend you that, apply the anti-brick patch and optimize all XML files. There are many improvements you can make. Additionally, you can remove the DLNA scan from Photo/Video/Music categories and move it to the network category. There's no need to have it in multiple categories. If you do this, you will also need to patch the sysconf plugin to make the network category automatically refresh when turning it on or off.
 
Back
Top