Editing XMBML Coding
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
This is a reduced version of [[XMB-Network | category_network.xml]] with only one icon (tex_browser) that launches the webbrowser (type:x-xmb/xmlwebbrowser). The .xml is loaded starting from <View id="root">, then inside the <Items> table there is a <Query> linking to #seg_browser (the character "#" links to a <View id> in the same file, so is linked to <View id="seg_browser">). When <View id="seg_browser"> is loaded first starts reading the table of <Items> that contains an <Item> that is linked using attr="browser" to a table of attributes <Table key="browser" | This is a reduced version of [[XMB-Network | category_network.xml]] with only one icon (tex_browser) that launches the webbrowser (type:x-xmb/xmlwebbrowser). The .xml is loaded starting from <View id="root">, then inside the <Items> table there is a <Query> linking to #seg_browser (the character "#" links to a <View id> in the same file, so is linked to <View id="seg_browser">). When <View id="seg_browser"> is loaded first starts reading the table of <Items> that contains an <Item> that is linked using attr="browser" to a table of attributes <Table key="browser" | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="xml"> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
Line 32: | Line 32: | ||
**<View id="seg_browser"> contains 1 <Items> with the key="browser" | **<View id="seg_browser"> contains 1 <Items> with the key="browser" | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="xml"> | ||
<View id="root"> | <View id="root"> | ||
<Items> | <Items> | ||
Line 71: | Line 71: | ||
|+Tags used by class/subclass | |+Tags used by class/subclass | ||
! Query classes x-xmb !! <key> !! <attr> !! <src> !! Remarks | ! Query classes x-xmb !! <key> !! <attr> !! <src> !! Remarks | ||
|- | |- | ||
| <Query class="type:x-xmb/'''folder-pixmap'''" || {{Yes}} || {{Yes}} || {{Yes}} || Has many uses see [[XMBML Functions|here]] | | <Query class="type:x-xmb/'''folder-pixmap'''" || {{Yes}} || {{Yes}} || {{Yes}} || Has many uses see [[XMBML Functions|here]] | ||
Line 109: | Line 107: | ||
|- | |- | ||
| <Item class="type:x-xmb/'''xmleditingvideo'''" || {{Yes}} || {{Yes}} || {{No}} || | | <Item class="type:x-xmb/'''xmleditingvideo'''" || {{Yes}} || {{Yes}} || {{No}} || | ||
|- | |- | ||
| <Item class="type:x-xmb/'''xmlgameexit'''" || {{Yes}} || {{No}} || {{No}} || | | <Item class="type:x-xmb/'''xmlgameexit'''" || {{Yes}} || {{No}} || {{No}} || | ||
Line 343: | Line 339: | ||
| {{No}} || ? || ? || {{No}} || ? || ? || ? || ? || ? | | {{No}} || ? || ? || {{No}} || ? || ? || ? || ? || ? | ||
| ? || ? || ? | | ? || ? || ? | ||
| {{Yes}} || ? || ? || ? || ? || ? || ? || {{Yes}} || ? || ? || ? || | | {{Yes}} || ? || ? || ? || ? || ? || ? || {{Yes}} || ? || ? || ? || ? || ? || ? || ? | ||
| ? | | ? | ||
| "none", "hide", "game_pspemu_viewmode", "game_pspemu_3d", "game_psemu_upcon", "game_psemu_smooth | | "none", "hide", "game_pspemu_viewmode", "game_pspemu_3d", "game_psemu_upcon", "game_psemu_smooth" | ||
|- | |- | ||
| | | cf_connection | ||
| ? || ? || ? || ? || ? || ? || ? || {{Yes}} || {{Yes}} | | ? || ? || ? || ? || ? || ? || ? || {{Yes}} || {{Yes}} | ||
| ? || ? || ? | | ? || ? || ? | ||
| ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? | | ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? | ||
Line 373: | Line 362: | ||
| {{No}} || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? | | {{No}} || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? | ||
| ? | | ? | ||
| "segment | | "segment" | ||
|- | |- | ||
| content_id | | content_id | ||
Line 429: | Line 418: | ||
| ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || {{Yes}} | | ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || {{Yes}} | ||
| ? | | ? | ||
| "game | | "game" | ||
|- | |- | ||
| custom_priority | | custom_priority | ||
Line 436: | Line 425: | ||
| ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? | | ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? | ||
| ? | | ? | ||
| "game=-80", "video | | "game=-80", "video=-80" | ||
|- | |- | ||
| data_connection | | data_connection | ||
Line 485: | Line 474: | ||
| {{Yes}} || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? | | {{Yes}} || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? | ||
| ? | | ? | ||
| | | "0", "1", "2", "3", "4", "5", "6", "-46", "-47", "-48", "-49", "-50" | ||
|- | |- | ||
| fs_path | | fs_path | ||
Line 507: | Line 496: | ||
| ? | | ? | ||
| "/dev_hdd0/myicon.png" | | "/dev_hdd0/myicon.png" | ||
|- | |- | ||
| icon_notation | | icon_notation | ||
Line 611: | Line 586: | ||
| {{Yes}} || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? | | {{Yes}} || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? || ? | ||
| ? | | ? | ||
| "NotifyErrorNoExecute", "http://m.facebook.com" | | "NotifyErrorNoExecute", "http://m.facebook.com" | ||
|- | |- | ||
| module_name | | module_name | ||
Line 626: | Line 601: | ||
| ? | | ? | ||
| "xcb://localhost/query?..." | | "xcb://localhost/query?..." | ||
|- | |- | ||
| path | | path | ||
Line 639: | Line 607: | ||
| ? || ? || ? || ? || ? || ? || ? || ? || ? || {{Yes}} || ? || ? || ? || ? || ? | | ? || ? || ? || ? || ? || ? || ? || ? || ? || {{Yes}} || ? || ? || ? || ? || ? | ||
| ? | | ? | ||
| | | ? | ||
|- | |- | ||
| pkg_src | | pkg_src | ||
Line 818: | Line 786: | ||
'''icon_rsc'''. Displays an image from a .rco as XMB icon. Cannot be used at the same time as 'icon' | '''icon_rsc'''. Displays an image from a .rco as XMB icon. Cannot be used at the same time as 'icon' | ||
'''info'''. Displays XMB title information from plain text input. This is shown below the 'title' or 'title_rsc' entry in a smaller font | '''info'''. Displays XMB title information from plain text input. This is shown below the 'title' or 'title_rsc' entry in a smaller font. Cannot be used at the same time as 'info_rsc' | ||
'''info_rsc'''. Displays XMB title information from relevant .rco. This is shown below the 'title' or 'title_rsc' entry | '''info_rsc'''. Displays XMB title information from relevant .rco. This is shown below the 'title' or 'title_rsc' entry ins a smaller font. Cannot be used at the same time as 'info' | ||
'''ingame''' Use: tells the PS3 if the item can be accessed ingame | '''ingame''' Use: tells the PS3 if the item can be accessed ingame | ||
Line 852: | Line 820: | ||
==Loading resource files from the associated .rco== | ==Loading resource files from the associated .rco== | ||
The attributes with names containing '''rsc''' (resource), '''str''' (string), or '''msg''' (message), as '''icon_rsc''', '''title_rsc''', '''info_rsc''', and '''instruction_rsc''' can load images or texts from the .rco associated with the XMB column (the variants of explore_category_****.rco, and explore_plugin_full.rco that is common for all XMB categories, also some others that are specific for a category as gamelib_plugin.rco or gamedata_plugin.rco) | The attributes with names containing '''rsc''' (resource), '''str''' (string), or '''msg''' (message), as '''icon_rsc''', '''title_rsc''', '''info_rsc''', and '''instruction_rsc''' can load images or texts from the .rco associated with the XMB column (the variants of explore_category_****.rco, and explore_plugin_full.rco that is common for all XMB categories, also some others that are specific for a category as gamelib_plugin.rco or gamedata_plugin.rco) | ||
{{ | {{RCOXML reference loaders}} | ||
{{ | {{System Firmware}}<noinclude>[[Category:Main]]</noinclude> |