Editing XMBML module-action
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 1: | Line 1: | ||
= Description = | = Description = | ||
'''module-action''' is an [[XMBML | '''module-action''' is an [[XMBML Structure|XMBML]] command that works like a module (.sprx file) intercom, allowing XMBML files to use/send commands to a selected module, so it can perform functions outside the limits of the module managing that XMB Category. | ||
The list of usable modules is indexed in '''xmb_plugin.sprx''' (modules availables in main XMB) and '''xmb_ingame.sprx''' (modules availables in in-game XMB) and contains the module reference, the path to the module (.sprx file), and the path to the associated resource (.rco file). | The list of usable modules is indexed in '''xmb_plugin.sprx''' (modules availables in main XMB) and '''xmb_ingame.sprx''' (modules availables in in-game XMB) and contains the module reference, the path to the module (.sprx file), and the path to the associated resource (.rco file). | ||
Line 13: | Line 13: | ||
This type of entry cab be placed on the root of the XMB category or in an XMB Item Tree. It makes a call to [[webbrowser_plugin|webbrowser_plugin.sprx]] | This type of entry cab be placed on the root of the XMB category or in an XMB Item Tree. It makes a call to [[webbrowser_plugin|webbrowser_plugin.sprx]] | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="xml"> | ||
<View id="seg_xmb_weblink"> | <View id="seg_xmb_weblink"> | ||
<Attributes> | <Attributes> | ||
<Table key="link_1"> | <Table key="link_1"> | ||
<Pair key=" | <Pair key="icon_rsc"><String>dev_wiki_icon</String></Pair> | ||
<Pair key="title"><String>PS3 Dev Wiki</String></Pair> | <Pair key="title"><String>PS3 Dev Wiki</String></Pair> | ||
<Pair key="info"><String>Some info here</String></Pair> | |||
<Pair key="module_name"><String>webbrowser_plugin</String></Pair> | <Pair key="module_name"><String>webbrowser_plugin</String></Pair> | ||
<Pair key="module_action"><String>http://www. | <Pair key="module_action"><String>http://www.ps3devwiki.com/</String></Pair> | ||
</Table> | </Table> | ||
</Attributes> | </Attributes> | ||
Line 33: | Line 34: | ||
**The 'webbrowser_plugin' module has been used to handle the request in the 'module_action' pair key, which is a web address | **The 'webbrowser_plugin' module has been used to handle the request in the 'module_action' pair key, which is a web address | ||
**The 'attr' in the Items sub-entry is the same as the table key in the 'Attributes' sub-entry. | **The 'attr' in the Items sub-entry is the same as the table key in the 'Attributes' sub-entry. | ||
**Remember that the icon_rsc string will search | **Remember that the icon_rsc string will search the rco file(used by the module running the category which this web link is on) for the icon 'dev_wiki_icon'. Whereas the title and info strings will just print the contents of the string. | ||
== Stubs == | == Stubs == | ||
Can be used to stub XMB items in {{ | Can be used to stub XMB items in {{Shop}} Firmware. All firmwares use this method to stub XMB items which have been stubbed. <small>With the exception of some XMB items which make "sel://" calls (such as "What's New") which have been left in-tact and Shop FW modules have only recently (4.30+?) blocked these calls returning the "This operation cannot be used during demonstration mode" message.</small> | ||
*explore_plugin.sprx | *explore_plugin.sprx | ||
{{ | {{System Firmware}}<noinclude>[[Category:Main]]</noinclude> |