String Viewer: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 21: Line 21:
=Speculation=
=Speculation=
Maybe is posible to make visible the icon in some PS3 models by using a [[Button Combos|Button Combo]]
Maybe is posible to make visible the icon in some PS3 models by using a [[Button Combos|Button Combo]]
=Pre-retail firmwares=
In old firmwares can be seen how string viewer was loaded
{{Boxcode|content=<syntaxhighlight lang="xml">
<View id="seg_string_viewer">
<Attributes>
<Table key="StrViewer">
<Pair key="icon_rsc"><String>item_tex_ms_icon</String></Pair>
<Pair key="title"><String>String Viewer</String></Pair>
<Pair key="module_name"><String>strviewer_plugin</String></Pair>
<Pair key="module_action"><String>0</String></Pair>
</Table>
</Attributes>
<Items>
<Item  class="type:x-xmb/module-action" key="StrViewer" attr="StrViewer" />
</Items>
</View>
</syntaxhighlight>}}
<div style="float:right">[[File:String viewer usb error.jpg|400px|thumb|left|String Viewer error]]</div>
When adding this entry in a modern firmware and clicking in the icon, appears an error message asking for '''strviewer_cnf''' in dev_usb000
More info: http://www.psx-place.com/threads/string-viewer-and-decr-0-90fw-xmb-items-partially-working.17313
{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude>
{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude>

Revision as of 14:21, 5 April 2018

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 by 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 associated with letter codes, see: Talk:Languages

Speculation

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

Pre-retail firmwares

In old firmwares can be seen how string viewer was loaded

Code Sample
String Viewer error

When adding this entry in a modern firmware and clicking in the icon, appears an error message asking for strviewer_cnf in dev_usb000

More info: http://www.psx-place.com/threads/string-viewer-and-decr-0-90fw-xmb-items-partially-working.17313