Widgets: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Information Board File Contents)
Line 24: Line 24:
* '''Information Board QA Server: Off/On''' (see: [[QA_Flagging]])
* '''Information Board QA Server: Off/On''' (see: [[QA_Flagging]])
* XMB calls to widgets uses the function: '''subclass=x-host/widget''' (see: [[XMB_modding]])
* XMB calls to widgets uses the function: '''subclass=x-host/widget''' (see: [[XMB_modding]])
==Information Board File Contents==
*15 folders for different languages named '''<language>.lproj''' (e.g: German.lproj, French.lproj, etc...)... every folder contains a file named '''InfoPlist.strings''' with the same data:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000  43 46 42 75 6E 64 6C 65 44 69 73 70 6C 61 79 4E  CFBundleDisplayN
00000010  61 6D 65 20 3D 20 22 49 6E 66 6F 72 6D 61 74 69  ame = "Informati
00000020  6F 6E 20 42 6F 61 72 64 22 3B                    on Board";
*1 folder named '''strings''' containing 16 files for languages named: informationboard_<language>.xml  (e.g: informationboard_german.xml, informationboard_french.xml, etc...). Example from informationboard_english.xml
{{Boxcode|content=<syntaxhighlight lang="xml">
<?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>
</syntaxhighlight>}}
*rss.swf (main widget window, shockwave flash format?)
*Icon.png (widget icon identifyer)
*config.xml
{{Boxcode|content=<syntaxhighlight lang="xml">
<?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>
</syntaxhighlight>}}
*setting.xml
{{Boxcode|content=<syntaxhighlight lang="xml">
<?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>
</syntaxhighlight>}}
*setting_qa.xml
{{Boxcode|content=<syntaxhighlight lang="xml">
<?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>
</syntaxhighlight>}}

Revision as of 08:18, 13 November 2013

About Widgets

Widgets was introduced in firmware 2.00 as a way to display dynamic information from web servers in XMB.

The only official widget (included between firmwares 2.00 and 3.00) was called Information Board.

In firmware 3.00 widgets was removed because his initial purpose of displaying dynamic content was superceeded by Life with PlayStation (in firmware 2.40) and later by the "what's news" display mode (in firmware ?)

Information Board

It was posible to enable or disable Information board by pressing triangle over his icon in network column. The way is built allowed them to add more widgets in case was needed (but never happened, they removed it instead of adding more). For an overview of how was working originally see: using the information board

The removing of this widget was made only partially! (are still supported by loading the widget from a external USB device), so it should be possible to (re)create it, if not create even more widgets to add to the XMB experience of the user.

The widget management was well integrated in the firmware, so there is a list of files/functions/calls related with them:

  • dev_flash\vsh\resource\explore\xmb\category_network.xml (Widget icons loaded by XMB in Network column, widgets related segments was removed in firmware 3.00 by removing his <View id> and his attr)
  • dev_flash\vsh\resource\explore\icon\widget.png (widget configuration icon, this file exists in all firmwares)
  • dev_flash\vsh\resource\explore\xmb\category_widget.xml (Widgets XMB configuration file, this file exists in all firmwares with some segments disabled)
  • dev_flash\vsh\resource\silk\xai\widgets\informationboard\ (information board main executable and settings files, removed in 3.00)
  • dev_flash\vsh\resource\xai (for some xmls)
  • dev_flash\vsh\resource\silk\xai (for the widget itself)


Other settings related with widgets:

  • Information Board QA Server: Off/On (see: QA_Flagging)
  • XMB calls to widgets uses the function: subclass=x-host/widget (see: XMB_modding)

Information Board File Contents

  • 15 folders for different languages named <language>.lproj (e.g: German.lproj, French.lproj, etc...)... every folder contains a file named InfoPlist.strings with the same data:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000  43 46 42 75 6E 64 6C 65 44 69 73 70 6C 61 79 4E  CFBundleDisplayN
00000010  61 6D 65 20 3D 20 22 49 6E 66 6F 72 6D 61 74 69  ame = "Informati
00000020  6F 6E 20 42 6F 61 72 64 22 3B                    on Board";
  • 1 folder named strings containing 16 files for languages named: informationboard_<language>.xml (e.g: informationboard_german.xml, informationboard_french.xml, etc...). Example from informationboard_english.xml
Code Sample
  • rss.swf (main widget window, shockwave flash format?)
  • Icon.png (widget icon identifyer)
  • config.xml
Code Sample
  • setting.xml
Code Sample


  • setting_qa.xml
Code Sample