Talk:XMBML Coding

From PS3 Developer wiki
Revision as of 21:35, 14 February 2014 by Sandungas (talk | contribs) (Automated XMB/XML navigation)
Jump to navigation Jump to search

Suggestions, etc

  • The <View id>'s "root", "root_for_dex", "root_for_BDU", "tool_root", "shop_root", "shop_guest_root", "shop_staff_root", "root_arcade" refered as Target ID's is not an accurate definition... "root" and "root_for_dex" are different target ID's but "shop_root" and "shop_guest_root" are different boot modes of the same target ID... for this reason is used the concept of "XMB enviroments" but is an invented name, i have no idea if there is a more accurate definition in other parts of the firmware, documentation, whatever... if someone has a better idea please update the frontpage and erase this section here in talkpage --Sandungas (talk) 23:42, 23 January 2014 (EST)
  • An usefull trick to help documenting xml strings is to drag-and-drop all PS3 .xml files (from path dev_flash/vsh/resource/explore/xmb/) to notepad++. Then use the search function in notepad++ (ctrl+F) to search for a text string and click in "find all in all opened documents"
  • The View ID "root" usually is refered as the identifyer of a group of items that will be loaded by retail XMB, but not always, e.g:
    • Retail XMB network column is built loading the "root" items of the file "category_network.xml" (there are no debug items in this file)
    • Debug XMB network column is built loading the "root" items of the file "category_network_tool2.xml" (there are no retail items in this file)


Automated XMB/XML navigation

Is posible to automatize the navigation of the cursor in XMB by sending commands from a plugin.sprx (and maybe other alternative ways)

This "navigation sequences" can be seen inside some plugins.sprx, and seems to be direct references to the structure of the XML files, is not clear where is the complete list of functions so by now this is only a messy list to take some notes

  • focus_category can be used with game, photo, video, etc... any XMB column
  • wait (e.g: 1000)
  • focus_segment_index seg_newvmc 0 (loads a segment from a .xml, then sets the value 0)
  • focus_segment_index seg_sdpsp 0.scroll_list -1 1000 (this is a complex sequence of actions)
  • open_list
  • yield

etc...