String Viewer: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(If someone knows what is "string viewer" please edit the page to improve the info... i found references to it accidentally while looking at XMB stuff time ago, but i have no idea what is it, never seen or did read about it)
 
m (better)
Line 1: Line 1:
=Description=
=Description=
Is a feature only available for non-retail PS3 models <!--exact models are unknown but for sure is non retail because the text string is named "msg_tool_string_viewer"-->
Is a feature available for non-retail PS3 models <!--exact models are unknown but for sure is non retail because the text string is named "msg_tool_string_viewer"-->


Accesible from an icon at [[XMB]] category {{Icon category settings}} [Settings] > [String Viewer]
Accesible from an icon at [[XMB]] category {{Icon category settings}} [Settings] > [String Viewer]


His position in settings category is defined by the '''settings_order''' 0x13 in [[category_setting_plugin]].sprx (In XMB is displayed as the last icon most at bottom of settings category)
Its position in settings category is defined by the '''settings_order''' 0x13 in [[category_setting_plugin]].sprx (In XMB is displayed as the last icon most at bottom of settings category)


The name of the icon is loaded from [[category_setting_plugin]].rco
The name of the icon is loaded from [[category_setting_plugin]].rco
Line 11: Line 11:
The icon launches [[strviewer_plugin]].sprx module
The icon launches [[strviewer_plugin]].sprx module


There are 4 "xml object pages" inside [[strviewer_plugin]].rco that can be called from the .sprx (this samples are a reduced version with only his '''name''' and wich action is triggered when '''onInit'''):
There are 4 "xml object pages" inside [[strviewer_plugin]].rco that can be loaded from the .sprx (the samples below are a reduced version with only its '''name''' and the action triggered when '''onInit'''):
  <Page name="page_strviewer_lang"... onInit="event:native:/OnInitStrViewerLang"...
  <Page name="page_strviewer_lang"... onInit="event:native:/OnInitStrViewerLang"...
  <Page name="page_strviewer_plugin"... onInit="event:native:/OnInitStrViewerPlugIn"...
  <Page name="page_strviewer_plugin"... onInit="event:native:/OnInitStrViewerPlugIn"...

Revision as of 06:05, 24 August 2015

Description

Is a feature available for non-retail PS3 models

Accesible from an icon at XMB category Settings [Settings] > [String Viewer]

Its position in settings category is defined by the settings_order 0x13 in category_setting_plugin.sprx (In XMB is displayed as the last icon most at bottom of settings category)

The name of the icon is loaded from category_setting_plugin.rco

<Text name="msg_tool_string_viewer">String Viewer</Text>

The icon launches strviewer_plugin.sprx module

There are 4 "xml object pages" inside strviewer_plugin.rco that can be loaded from the .sprx (the samples below are a reduced version with only its name and the action triggered when onInit):

<Page name="page_strviewer_lang"... onInit="event:native:/OnInitStrViewerLang"...
<Page name="page_strviewer_plugin"... onInit="event:native:/OnInitStrViewerPlugIn"...
<Page name="page_strviewer_id"... onInit="event:native:/OnInitStrViewerID"...
<Page name="page_strviewer"... onInit="event:native:/OnInitStrViewerDialog"...

String Viewer supports multilanguage. The page page_strviewer_lang contains a list of languages asociated with letter codes, see: Talk:Languages

Speculation

Maybe is posible to make visible the icon in some PS3 models by using a Button Combo