Widgets

From PS3 Developer wiki
Jump to: navigation, search
Information Board Widget

Description[edit]

Widgets was introduced in PS3 firmware 2.00 and was working officially up to 2.80 as a way to display dynamic web information in XMB, are very dependant and managed by the Web Browser. The only official widget was named Information Board

In firmware 3.00 was disabled, and the files related with "Information Board" was removed in 3.40 because his initial purpose of displaying dynamic web information was superceeded by the "What's New" display mode (in firmware 3.00)

  • Notes
    • XMB loads all available widgets by using the function host://localhost/q? and the subclass x-host/widget (see: XMBML Functions), and are displayed using the class x-xmb/xmliboard (but the class x-xmb/xmliboard is not used anymore and has been replaced by x-xmb/xmlnpsignup). See: XMBML Coding
    • PSP introduced widgets in firmware 5.50 (the same information board inherited from PS3). This firmware update for PSP also had some improvements related with the web browser (Internet search for games directly from the XMB, Trend Micro Web Security, and Trend Micro Kids' Safety)

Information Board[edit]

It was posible to enable or disable the "information board" widget by pressing triangle over his icon in network column. The way that are build allows to add more widgets in a modular way (but was removed instead of adding more). For an overview of how the "information board" widget was working originally see the official user manual

It seems the removal of the widgets support was made only partially (are still supported by loading the widget from external devices), so it should be possible to (re)create it, or to create custom widgets

Information Board QA Server: Off/On[edit]

Debug XMB loads the widget by using the view ID "root_info" and Query "host_provider_flash". Same than retail XMB, but debug needs this setting enabled. See: QA Flagging

Widgets related files[edit]

dev_flash/vsh/module[edit]

xai_plugin.sprx[edit]

This file was removed, see: xai_plugin

To use xai_plugin.sprx in a different firmware version is needed to resign the file with the keys of the firmware where is going to be used. In this example is used scetool for the resigning with the "template" option and the file explore_plugin_full.sprx taken from the modern firmware

Decrypt

Type This
scetool.exe -d xai_plugin.sprx xai_plugin_dec.prx

Encrypt

Type This
scetool.exe --template explore_plugin_full.sprx --sce-type=SELF --skip-sections=FALSE --compress-data=TRUE --encrypt xai_plugin_dec.prx xai_plugin_new.sprx

dev_flash/vsh/resource[edit]

explore_category_network.rco[edit]

There is a widget entry missing in the rcoxml ? (most probably a MList to create a side-menu). And the squared icon in this screenshot ?. And the text strings translated to all system Languages "Use" and "Do Not Display" in this screenshot ?

Codecode
<!-- Example needed -->

dev_flash/vsh/resource/explore/xmb[edit]

category_network.xml[edit]

Widget icons loaded by XMBML in Network column, widgets related segments was removed in firmware 3.00 by removing his <View id> and his attr

Codecode
<!-- Example needed -->

category_widget.xml[edit]

Widgets XMBML configuration file, this file exists in all firmwares with some segments disabled

Codecode
<!-- Example needed -->

dev_flash/vsh/resource/explore/icon[edit]

widget.png

widget.png[edit]

This file exists in firmwares since 2.00 up to 4.83. size 17205 bytes. MD5:5ed81a2c29a6514a4c3b9b72efc5b9f2

dev_flash/vsh/resource/xai[edit]

extensions.xml[edit]

Contains: extensions.entry.module=Widget and extensions.entry.plugin=xai_plugin

Codecode
<!-- Example needed -->

widgets.xml[edit]

Contains: xai.widget.url=/dev_hdd0/widget/npdrm/informationboard

Codecode
<!-- Example needed -->

dev_flash/vsh/resource/silk/bin/[edit]

CEHtmlBrowserAppXaiWidget.xmi[edit]

Since firmware 1.00 up to 2.17 and removed in 2.20

CEHtmlBrowserAppXaiWidget.xmi versions
Version Size MD5 Remarks
1.02~2.17 1.356 C7C2EF2CB10426754651B478C6BE94EC removed in 2.20
  • Example: CEHtmlBrowserAppXaiWidget.xmi 1.02~2.17
Codecode
<MicroBrowser>
 
<key>WindowSystemPeerLibraryName</key>
<string>wsysLibX</string>
 
<key>FontPeerLibraryName</key>
<string>cepffreetype</string>
 
<key>BtX2Mode</key>
<boolean>false</boolean>
 
<key>DisabledJavascript</key>
<boolean>false</boolean>
 
<key>NowrapEnabledFlag</key>
<boolean>true</boolean>
 
<key>TVEnabledFlag</key>
<boolean>false</boolean>
 
<key>HomepageURL</key>
<string>file:///app_home/flash0/vsh/resource/silk/site/index.html</string>
 
<key>NoAnimatedGifFlag</key>
<boolean>false</boolean>
 
<key>Focus2DNavigationFlag</key>
<boolean>true</boolean>
 
<key>SoftKeyboardFlag</key>
<boolean>false</boolean>
 
<key>SoftKeyboardType</key>
<integer>0</integer>
 
<key>XP1BitRendering</key>
<boolean>false</boolean>
 
<key>EnabledSSLv2</key>
<boolean>true</boolean>
 
<key>EnabledSSLv3</key>
<boolean>true</boolean>
 
<key>EnabledTLSv1</key>
<boolean>true</boolean>
 
<key>FocusRectWidth</key>
<integer>2</integer>
 
<key>FocusRectColor</key>
<string>255,0,0</string>
 
<key>FocusRectStyle</key>
<integer>128</integer>
 
<key>ScrollbarWidth</key>
<integer>16</integer>
 
<key>UseProxy</key>
<boolean>false</boolean>
 
<key>ProxyHost</key>
<string>43.22.253.65</string>
 
<key>ProxyPort</key>
<integer>10080</integer>
 
</MicroBrowser>

dev_flash/vsh/resource/silk/data/[edit]

This files was removed in firmware 2.20 at the same time it was implemented the silk_nas Web Browser

CEHtmlBrowserApp.bin[edit]

Since firmware 1.00 up to 2.17 and removed in 2.20. See: SILKPADD

CEHtmlBrowserApp.bin versions
Version Size MD5 Remarks
1.02~2.17 54.013 2BC8ACF9A9952AEB6F1A181357E6648F Removed in 2.20

CEHtmlBrowserAppXaiWidget.bin[edit]

Since firmware 1.00 up to 2.17 and removed in 2.20. See: SILKPADD

CEHtmlBrowserAppXaiWidget.bin versions
Version Size MD5 Remarks
1.02~2.17 53.985 493DD038DE219DAAA543A014410DB0A6 Removed in 2.20

dev_flash/vsh/resource/silk/etc[edit]

fontinfo-Xai.xml[edit]

There are 3 versions of this file used by the original silk web browser (introduced since firmware 1.00), the next web browsers silk_nas (introduced in firmware 2.20) and silk_webkit (introduced at firmware 4.10) uses a copy of the fontinfo-Xai.xml from the original silk

fontinfo-Xai.xml versions
Version Size MD5 Notes
1.02 2.941 7B818169AFF8E9426D3C57C52BC8E766
1.10~2.60 3.063 8C1102561C72A21B7866CC4D17D6EFBF Used also by silk_nas 2.20~4.83
2.70~4.83 3.135 4B1566F692B8348F89E9132B56C40EBD Used also by silk_webkit 4.10~4.83

Example: fontinfo-Xai.xml 1.02

Codecode
<MicroBrowser>
  <key>FileFormatVersion</key>
  <integer>4</integer>
  <key>FontAlias</key>
  <dict>
	<key>Generic SansSerif</key>
	<string>sans-serif</string>
 
	<key>Generic Serif</key>
	<string>serif</string>
 
	<key>Generic Monospace</key>
	<string>monospace</string>
 
	<key>Courier</key>
	<string>monospace</string>
 
	<key>Helvetica</key>
	<string>sans-serif</string>
 
	<key>Times</key>
	<string>sans-serif</string>
 
	<key>Arial</key>
	<string>sans-serif</string>
 
	<key>Courier New</key>
	<string>monospace</string>
 
	<key>Microsoft Sans Serif</key>
	<string>sans-serif</string>
 
	<key>Tahoma</key>
	<string>sans-serif</string>
 
	<key>Times New Roman</key>
	<string>serif</string>
 
	<key>Verdana</key>
	<string>sans-serif</string>
 
	<key>MSゴシック</key>
	<string>sans-serif</string>
 
	<key>MS ゴシック</key>
	<string>sans-serif</string>
 
	<key>MS ゴシック</key>
	<string>sans-serif</string>
 
	<key>MSゴシック</key>
	<string>sans-serif</string>
 
	<key>MS P ゴシック</key>
	<string>sans-serif</string>
 
	<key>MS Pゴシック</key>
	<string>sans-serif</string>
 
	<key>MS P ゴシック</key>
	<string>sans-serif</string>
 
	<key>MS Pゴシック</key>
	<string>sans-serif</string>
 
	<key>MS P Gothic</key>
	<string>sans-serif</string>
 
	<key>MS UI Gothic</key>
	<string>sans-serif</string>
 
	<key>MS 明朝</key>
	<string>serif</string>
 
	<key>MS明朝</key>
	<string>serif</string>
 
	<key>MS 明朝</key>
	<string>serif</string>
 
	<key>MS明朝</key>
	<string>serif</string>
 
	<key>MS P 明朝</key>
	<string>serif</string>
 
	<key>MS P明朝</key>
	<string>serif</string>
 
	<key>MS P 明朝</key>
	<string>serif</string>
 
	<key>MS P明朝</key>
	<string>serif</string>
 
	<key>MS P Mincho</key>
	<string>serif</string>
 
	<key>新細明體</key>
	<string>serif</string>
 
	<key>mingliu</key>
	<string>serif</string>
  </dict>
  <key>FontInfoLanguageList</key>
  <array>
	<string>en</string><!-- DEFAULT -->
	<string>en</string>
	<string>ja</string>
	<string>ko</string>
  </array>
 
  <key>DefaultGenericFontInfoList</key>
  <dict>
        <!-- ENGLISH -->
	<key>en</key>
	<dict>
	  <key>serif</key>
	  <array>
		<string>SCE-PS3 Matisse LATIN</string>
	  </array>
 
	  <key>sans-serif</key>
	  <array>
		<string>SCE-PS3 Rodin LATIN</string>
	  </array>
 
	  <key>default</key>
	  <array>
		<string>SCE-PS3 Rodin LATIN</string>
	  </array>
	</dict>
 
        <!-- JAPANESE -->
	<key>ja</key>
	<dict>
 
	  <key>cursive</key>
	  <array>
		<string>SCE-PS3 SEURAT JPN</string>
	  </array>
 
	  <key>fantasy</key>
	  <array>
		<string>SCE-PS3 SEURAT JPN</string>
	  </array>
 
	  <key>default</key>
	  <array>
      <string>SCE-PS3 Rodin LATIN</string>
      <string>SCE-PS3 NewRodin JPN</string>
	  </array>
	</dict>
 
        <!-- KOREAN -->
	<key>ko</key>
	<dict>
 
	  <key>default</key>
	  <array>
		<string>SCE-PS3 YD gd Medium</string>
	  </array>
	</dict>
 
  </dict>
</MicroBrowser>

Example: fontinfo-Xai.xml 1.10~2.60 (added new language zh with .ttf font DFHEIW5-A)

Codecode
<MicroBrowser>
  <key>FontInfoLanguageList</key>
  <array>
	<string>zh</string>
  </array>
  <dict>
	<key>zh</key>
	<dict>
	  <key>default</key>
	  <array>
		<string>DFHEIW5-A</string>
	  </array>
	</dict>
  </dict>
</MicroBrowser>

Example: fontinfo-Xai.xml 2.70~4.83 (added new .ttf font SCE-PS3 Rodin LATIN2 for english and japanese defaults)

Codecode
<MicroBrowser>
  <key>DefaultGenericFontInfoList</key>
  <dict>
	<key>en</key>
	<dict>
	  <key>default</key>
	  <array>
		<string>SCE-PS3 Rodin LATIN2</string>
	  </array>
	</dict>
	<key>ja</key>
	<dict>
	  <key>default</key>
	  <array>
		<string>SCE-PS3 Rodin LATIN2</string>
	  </array>
	</dict>
  </dict>
</MicroBrowser>

dev_flash/vsh/resource/silk/xai/widgets/informationboard/[edit]

Icon.png[edit]

Icon.png

widget XMB icon

Icon.png versions
Version Size MD5 Notes
2.00~3.30 16.506 4A7865D6E3C95C2098214C52A20C73CF added in 2.00, removed in 3.40

config.xml[edit]

config.xml versions
Version Size MD5 Notes
2.00~2.17 447 F47704B937E193BF093D14A1EB1BE2F2 added in 2.00
2.20~2.36 447 D07FF7832F6860F4836FC48D84BC3C11
2.40~3.30 446 7B9689660000FD291E80B1B37233D0AF removed in 3.40

Example: config.xml 2.00~2.17

Codecode
<?xml version="1.0" encoding="UTF-8"?>
<widget>
	<displayname>Information Board</displayname>
	<identifier>com.playstation.widget.RSSreader</identifier>
	<name>Information Board</name>
	<version>1.0.17</version>
	<closeboxinsetx>0</closeboxinsetx>
	<closeboxinsety>0</closeboxinsety>
	<height>676</height>
	<initialx>640</initialx>
	<initialy>140</initialy>
	<mainhtml>rss.swf</mainhtml>
	<width>451</width>
	<widgetkey>0000</widgetkey>
</widget>

Example: config.xml 2.20~2.36 (the example below only shows the changes)

Codecode
	<version>1.0.18</version>

Example: config.xml 2.40~3.30 (the example below only shows the changes)

Codecode
	<initialy>70</initialy>

rss.swf[edit]

Main widget window, in shockwave flash format. For a preview of how it works you can drag-and-drop the file to your PC webbrowser, or use a shockwave flash editor/player. There are 4 versions of this file:

rss.swf versions
Version Size MD5 Notes
2.00 26.696 02C716D84790374294AB11AD5CEBF3DD added in 2.00
2.01 26.707 50963C30BBAA23449B1CB120699EDD20
2.10~2.17 26.741 B4A8EB9960DAB44F654B370D8B97083B
2.20~3.30 28.749 F36212A8B66226655ACD64CF9E462186 removed in 3.40

setting.xml[edit]

RSS URL list by Target_ID, for non QA

setting.xml versions
Version Size MD5 Notes
2.00~3.30 1.344 ACAEE5D6C9B174FE558B721A03022F94 added in 2.00, removed in 3.40
Codecode
<?xml version="1.0" encoding="UTF-8"?> 
<items>
	<item url="http://infoboard.ww.dl.playstation.net/download/infoboard/a/country-select-uc2.xml">uc2</item>
	<item url="http://infoboard.ww.dl.playstation.net/download/infoboard/a/country-select-mx2.xml">mx2</item>
	<item url="http://infoboard.ww.dl.playstation.net/download/infoboard/e/country-select-au3.xml">au3</item>
	<item url="http://infoboard.ww.dl.playstation.net/download/infoboard/e/country-select-cek.xml">cek</item>
	<item url="http://infoboard.ww.dl.playstation.net/download/infoboard/e/country-select-cel.xml">cel</item>
	<item url="http://infoboard.ww.dl.playstation.net/download/infoboard/e/country-select-ru3.xml">ru3</item>
	<item url="http://infoboard.ww.dl.playstation.net/download/infoboard/as/country-select-kr2.xml">kr2</item>
	<item url="http://infoboard.ww.dl.playstation.net/download/infoboard/as/country-select-e12.xml">e12</item>
	<item url="http://infoboard.ww.dl.playstation.net/download/infoboard/as/country-select-tw1.xml">tw1</item>
	<item url="http://infoboard.ww.dl.playstation.net/download/infoboard/as/country-select-hk5.xml">hk5</item>
	<item url="http://infoboard.ww.dl.playstation.net/download/infoboard/j/country-select-j1.xml">j1</item>
	<item url="http://infoboard.ww.dl.playstation.net/download/infoboard/j/country-select-j1.xml">tool</item>
</items>

setting_qa.xml[edit]

RSS URL list by Target_ID, for QA

setting_qa.xml versions
Version Size MD5 Notes
2.00~3.30 1.380 B49C94FDE6385E5CA03D9CFDAFA53F47 added in 2.00, removed in 3.40
Codecode
<?xml version="1.0" encoding="UTF-8"?> 
<items>
	<item url="http://infoboard.xx.dl.playstation.net/download/infoboard-qa/a/country-select-uc2.xml">uc2</item>
	<item url="http://infoboard.xx.dl.playstation.net/download/infoboard-qa/a/country-select-mx2.xml">mx2</item>
	<item url="http://infoboard.xx.dl.playstation.net/download/infoboard-qa/e/country-select-au3.xml">au3</item>
	<item url="http://infoboard.xx.dl.playstation.net/download/infoboard-qa/e/country-select-cek.xml">cek</item>
	<item url="http://infoboard.xx.dl.playstation.net/download/infoboard-qa/e/country-select-cel.xml">cel</item>
	<item url="http://infoboard.xx.dl.playstation.net/download/infoboard-qa/e/country-select-ru3.xml">ru3</item>
	<item url="http://infoboard.xx.dl.playstation.net/download/infoboard-qa/as/country-select-kr2.xml">kr2</item>
	<item url="http://infoboard.xx.dl.playstation.net/download/infoboard-qa/as/country-select-e12.xml">e12</item>
	<item url="http://infoboard.xx.dl.playstation.net/download/infoboard-qa/as/country-select-tw1.xml">tw1</item>
	<item url="http://infoboard.xx.dl.playstation.net/download/infoboard-qa/as/country-select-hk5.xml">hk5</item>
	<item url="http://infoboard.xx.dl.playstation.net/download/infoboard-qa/j/country-select-j1.xml">j1</item>
	<item url="http://infoboard.xx.dl.playstation.net/download/infoboard-qa/j/country-select-j1.xml">tool</item>
</items>

dev_flash/vsh/resource/silk/xai/widgets/informationboard/<language>.lproj/[edit]

15 folders named <language>.lproj for different languages (e.g: da.lproj, Dutch.lproj, etc...), and every folder contains a text file named InfoPlist.strings

See: .lproj localization in Mac widgets

InfoPlist.strings[edit]

The file contains the name of the widget in a single text line, is the same file for all languages except: japanese, korean, and russian

dev_flash\vsh\resource\silk\xai\widgets\informationboard\
Folder File Version Size MD5 Example
da.lproj\ InfoPlist.strings 2.00~3.30 42 5BEB6E9B277784341D1C0722432CF248
CFBundleDisplayName = "Information Board";
Dutch.lproj\ InfoPlist.strings 2.00~3.30
fi.lproj\ InfoPlist.strings 2.00~3.30
French.lproj\ InfoPlist.strings 2.00~3.30
German.lproj\ InfoPlist.strings 2.00~3.30
Italian.lproj\ InfoPlist.strings 2.00~3.30
nb.lproj\ InfoPlist.strings 2.00~3.30
pt.lproj\ InfoPlist.strings 2.00~3.30
Spanish.lproj\ InfoPlist.strings 2.00~3.30
sv.lproj\ InfoPlist.strings 2.00~3.30
zh_CN.lproj\ InfoPlist.strings 2.00~3.30
zh_TW.lproj\ InfoPlist.strings 2.00~3.30
Japanese.lproj\ InfoPlist.strings 2.00~3.30 61 353290330A59BCD35A0CDD579A5F883E
CFBundleDisplayName = "インフォメーションボード";
ko.lproj\ InfoPlist.strings 2.00~3.30 47 2752CF3440FB92C82EE71C780605C664
CFBundleDisplayName = "인포메이션 보드";
ru.lproj\ InfoPlist.strings 2.00~3.30 56 36BCD9EC73A01A85C7745735D47FAB78
CFBundleDisplayName = "Доска объявлений";

dev_flash/vsh/resource/silk/xai/widgets/informationboard/strings/[edit]

One folder named strings containing 16 files for languages. This files was renamed 1 time (in 2.10), and updated 2 more times (in 2.20 and 2.50)

infob_<language>.xml[edit]

The examples below are for english versions only as reference, for a complete list of languages see: Template:Dev_flash\vsh\resource\silk

dev_flash/vsh/resource/silk/xai/widgets/informationboard/strings/
File Version Size MD5 Notes
informationboard_english.xml 2.00~2.01 699 BFDEFDEBFE2908766A2CA6A6A452CB4C
infob_english.xml 2.10~2.17 file renamed
infob_english.xml 2.20~2.43 779 45FB0F73555CBB3D17C57A0D6A7E8F69
infob_english.xml 2.50~3.30 779 C5FD80D50C8C84C1D8A1465A271C5B15
  • Example: informationboard_english.xml 2.00~2.01 and infob_english.xml 2.10~2.17 (is the same file, renamed)
Codecode
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE locale SYSTEM "locale.dtd">
<locale lang="en" encoding="utf16">
	<str id="msg_information_board_no_network">Notifications about PLAYSTATION® related topics are displayed when connected to a network.                To set not to display, go to [Network] &gt; [Information Board] and select [Do Not Display] from the options menu.</str><!--dtype="C"-->
	<str id="msg_information_board_no_network_list">Notifications about PLAYSTATION® related topics are displayed when connected to a network.&#xa;To set not to display, go to [Network] &gt; [Information Board] and select [Do Not Display] from the options menu.</str><!--dtype="C"-->
</locale>
  • Example: infob_english.xml 2.20~2.43 (one line was added in first position for msg_error_server)
Codecode
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE locale SYSTEM "locale.dtd">
<locale lang="en" encoding="utf16">
	<str id="msg_error_server">A server error has occurred.</str><!--dtype="C"-->
	<str id="msg_information_board_no_network">Notifications about PLAYSTATION® related topics are displayed when connected to a network.                To set not to display, go to [Network] &gt; [Information Board] and select [Do Not Display] from the options menu.</str><!--dtype="C"-->
	<str id="msg_information_board_no_network_list">Notifications about PLAYSTATION® related topics are displayed when connected to a network.&#xa;To set not to display, go to [Network] &gt; [Information Board] and select [Do Not Display] from the options menu.</str><!--dtype="C"-->
</locale>
  • Example: infob_english.xml 2.50~3.30 (The two names PLAYSTATION previouslly in uppercase was replaced by PlayStation)
Codecode
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE locale SYSTEM "locale.dtd">
<locale lang="en" encoding="utf16">
	<str id="msg_error_server">A server error has occurred.</str><!--dtype="C"-->
	<str id="msg_information_board_no_network">Notifications about PlayStation® related topics are displayed when connected to a network.                To set not to display, go to [Network] &gt; [Information Board] and select [Do Not Display] from the options menu.</str><!--dtype="C"-->
	<str id="msg_information_board_no_network_list">Notifications about PlayStation® related topics are displayed when connected to a network.&#xa;To set not to display, go to [Network] &gt; [Information Board] and select [Do Not Display] from the options menu.</str><!--dtype="C"-->
</locale>

dev_hdd0/widget/npdrm/informationboard[edit]

The existence of this path is a deduction because there is other file where it can be seen this is an alternative path to load widgets. The file contents on this path is unknown but most probably are the same files used in the informationboard directory under dev_flash, so the only difference is the device (dev_hdd0 instead of dev_flash), and the npdrm signature ?

  • Notes
    • Loaded by Query "host_provider_flash" using src="host://localhost/q?path=/dev_hdd0/widget/npdrm&suffix=informationboard&subclass=x-host/widget"
      • The src XMBML code in the line above means:
        • host://localhost/q? (this is a XMBML Function)
        • path=/dev_hdd0/widget/npdrm (the path where are located the files that are going to be loaded)
        • suffix=informationboard (in this case seems to be part of the path, also the name of the widget)
        • subclass=x-host/widget (indicates what to do with the files by his type)