Editing RCOXML Script
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 25: | Line 25: | ||
=Example from lftv_tuner_us_en.rco PSP firmware 6.61= | =Example from lftv_tuner_us_en.rco PSP firmware 6.61= | ||
This is how the script functions are triggered by the [[RCOXML Objects]], this is a '''Plane''' object that has lot of brothers in the XML hierarchy that uses the same method, every '''event:script:''' triggers a different function from the [[VSMX]] file | This is how the script functions are triggered by the [[RCOXML Objects]], this is a '''Plane''' object that has lot of brothers in the XML hierarchy that uses the same method, every '''event:script:''' triggers a different function from the [[VSMX]] file | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="xml"> | ||
<ObjectTree> | <ObjectTree> | ||
<Page name="remocon_page" pageMode="0x111" pageOnInit="event:script:/main/onInitMainPage" pageOnCancel="nothing" pageOnContext="nothing" pageOnActivate="nothing"> | <Page name="remocon_page" pageMode="0x111" pageOnInit="event:script:/main/onInitMainPage" pageOnCancel="nothing" pageOnContext="nothing" pageOnActivate="nothing"> | ||
Line 38: | Line 38: | ||
And this is what the [[PlayStation JavaScript]] functions does | And this is what the [[PlayStation JavaScript]] functions does | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="java"> | ||
// Decompiled VSMX -> Javascript output by Rcomage v1.1.2 | // Decompiled VSMX -> Javascript output by Rcomage v1.1.2 | ||
//Note, this is highly experimental and the output probably sucks. | //Note, this is highly experimental and the output probably sucks. |