Talk:XMBML Coding: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (experiment table) |
||
Line 24: | Line 24: | ||
More detailed info in [[Explore plugin]] page | More detailed info in [[Explore plugin]] page | ||
= XML structure levels = | |||
{| class="wikitable" | |||
|- | |||
! colspan=5 | XML tag levels !! colspan=6 | Common tags | |||
|- | |||
! lv1 !! lv2 !! lv3 !! lv4 !! lv5 !! version !! id !! class !! key !! attr !! src | |||
|-{{cellcolors|#9999ff}} | |||
| rowspan=6 | XMBML || colspan=4 | || {{yes}} || {{no}} || {{no}} || {{no}} || {{no}} || {{no}} | |||
|-{{cellcolors|#99ff99}} | |||
| rowspan=5 | View || colspan=3 | || {{no}} || {{yes}} || {{no}} || {{no}} || {{no}} || {{no}} | |||
|- | |||
| rowspan=2 | Attributes || rowspan=2 {{cellcolors|#ff9999}} Table || {{cellcolors|#ff9999}} || {{no}} || {{no}} || {{no}} || {{yes}} || {{no}} || {{no}} | |||
|- | |||
| Pair || {{no}} || {{no}} || {{no}} || {{yes}} || {{no}} || {{no}} | |||
|- | |||
| rowspan=2 | Items || colspan=2 | Query || {{no}} || {{no}} || {{yes}} || {{yes}} || {{opt}} || {{opt}} | |||
|- | |||
| colspan=2 | Item || {{no}} || {{no}} || {{yes}} || {{yes}} || {{opt}} || {{opt}} | |||
|} |
Revision as of 04:35, 11 October 2014
Tips and tools
- 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"
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 XMB enviroments is not an accurate definition, 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)
- 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)
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, 2000)
- 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
More detailed info in Explore plugin page
XML structure levels
XML tag levels | Common tags | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
lv1 | lv2 | lv3 | lv4 | lv5 | version | id | class | key | attr | src |
XMBML | Yes | No | No | No | No | No | ||||
View | No | Yes | No | No | No | No | ||||
Attributes | Table | No | No | No | Yes | No | No | |||
Pair | No | No | No | Yes | No | No | ||||
Items | Query | No | No | Yes | Yes | Opt | Opt | |||
Item | No | No | Yes | Yes | Opt | Opt |