Editing SILKPADD
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 1: | Line 1: | ||
==Description== | ==Description== | ||
*SILKPADD Is a container format used by the Silk [[Web Browser]]. The meaning of the name "PADD" is unknown, some speculations: '''P'''rogram '''ADD'''resses ?... or... '''PAD''' '''D'''ata ? | *SILKPADD Is a container format used by the Silk [[Web Browser]]. The meaning of the name "PADD" is unknown, some speculations: '''P'''rogram '''ADD'''resses ?... or... '''PAD''' '''D'''ata ? | ||
*Silkpadd files are located in paths: | |||
**dev_flash/vsh/resource/silk/data/'''CEFramework.bin''' | |||
**dev_flash/vsh/resource/silk/data/'''CEHtmlApi.bin''' | |||
**dev_flash/vsh/resource/silk/data/'''CEHtmlUI.bin''' | |||
**dev_flash/vsh/resource/silk/data/'''CEPhWeb.bin''' | |||
**dev_flash/vsh/resource/silk/data/'''CEHtmlBrowserApp.bin''' (removed/replaced in firmware 2.20) | |||
**dev_flash/vsh/resource/silk/data/'''CEHtmlBrowserAppXaiWidget.bin''' (removed/replaced in firmware 2.20) | |||
**dev_flash/vsh/resource/silk_nas/data/'''CEFramework.bin''' | |||
**dev_flash/vsh/resource/silk_nas/data/'''CEHtmlApi.bin''' | |||
**dev_flash/vsh/resource/silk_nas/data/'''CEHtmlUI.bin''' | |||
**dev_flash/vsh/resource/silk_nas/data/'''CEPhWeb.bin''' | |||
**dev_flash/vsh/resource/silk_webkit/data/'''CEFramework.bin''' | |||
**dev_flash/vsh/resource/silk_webkit/data/'''CEHtmlApi.bin''' | |||
**dev_flash/vsh/resource/silk_webkit/data/'''CEHtmlUI.bin''' | |||
**dev_flash/vsh/resource/silk_webkit/data/'''webcoreapp.bin''' | |||
==Structure== | ==Structure== | ||
Line 153: | Line 102: | ||
<nowiki>00000070 3A 6C 69 6E 6B 09 09 09 7B 66 6F 6E 74 3A 38 70 :link...{font:8p</nowiki> | <nowiki>00000070 3A 6C 69 6E 6B 09 09 09 7B 66 6F 6E 74 3A 38 70 :link...{font:8p</nowiki> | ||
<nowiki>00000080 74 2F 31 31 70 74 20 76 65 72 64 61 6E 61 3B 20 t/11pt verdana; </nowiki> | <nowiki>00000080 74 2F 31 31 70 74 20 76 65 72 64 61 6E 61 3B 20 t/11pt verdana; </nowiki> | ||
<nowiki>00000090 63 6F 6C 6F 72 3A 72 65 64 7D 0A 09 09 09 09 09 color:red | <nowiki>00000090 63 6F 6C 6F 72 3A 72 65 64 7D 0A 09 09 09 09 09 color:red}......</nowiki> | ||
<nowiki>000000A0 09 61 3A 76 69 73 69 74 65 64 09 09 7B 66 6F 6E .a:visited..{fon</nowiki> | <nowiki>000000A0 09 61 3A 76 69 73 69 74 65 64 09 09 7B 66 6F 6E .a:visited..{fon</nowiki> | ||
<nowiki>000000B0 74 3A 38 70 74 2F 31 31 70 74 20 76 65 72 64 61 t:8pt/11pt verda</nowiki> | <nowiki>000000B0 74 3A 38 70 74 2F 31 31 70 74 20 76 65 72 64 61 t:8pt/11pt verda</nowiki> | ||
Line 235: | Line 184: | ||
! Offset !! Length !! Example !! Name !! Notes | ! Offset !! Length !! Example !! Name !! Notes | ||
|- | |- | ||
| 0x00 || 0x04 || 00 00 00 08 || ''' | | 0x00 || 0x04 || 00 00 00 08 || '''text_string_length''' || Length of the next text string (<abbr title="In Big Endian">b.e.</abbr>) | ||
|- | |- | ||
| 0x04 || 0x08 || CEBinary || ''' | | 0x04 || 0x08 || CEBinary || '''text_string''' || CEBinary data type. Without the null termination ! | ||
|- | |- | ||
| 0x0C || 0x02 || 00 00 || {{cellcolors|#ff6666}} ''bin_unk2'' || Always zeroes ? | | 0x0C || 0x02 || 00 00 || {{cellcolors|#ff6666}} ''bin_unk2'' || Always zeroes ? | ||
|- | |- | ||
| 0x0E || 0x04 || 00 00 00 09 || ''' | | 0x0E || 0x04 || 00 00 00 09 || '''text_string_length''' || Length of the next text string (<abbr title="In Big Endian">b.e.</abbr>) | ||
|- | |- | ||
| 0x12 || ''varies'' || image\gif || ''' | | 0x12 || ''varies'' || image\gif || '''text_string''' || File type. Without the null termination !. Some predefined filetypes found:<br>'''image\png'''<br>'''image\gif'''<br>'''image\gifPushed''' (it seems this files are png)<br>'''image\ms-cursor''' (microsoft .cur file extension)<br>'''image\ms-icon''' (microsoft .ico file extension)<br>etc...<!--to fill later--> | ||
|- | |- | ||
| ''varies'' || 0x04 || 00 00 00 7C || '''file_legth''' || Indicates the size of the file (<abbr title="In Big Endian">b.e.</abbr>) | | ''varies'' || 0x04 || 00 00 00 7C || '''file_legth''' || Indicates the size of the file (<abbr title="In Big Endian">b.e.</abbr>) | ||
Line 282: | Line 231: | ||
! Offset !! Length !! Example !! Name !! Notes | ! Offset !! Length !! Example !! Name !! Notes | ||
|- | |- | ||
| 0x00 || 0x04 || 00 00 00 08 || ''' | | 0x00 || 0x04 || 00 00 00 08 || '''text_string_length''' || Length of the next text string (<abbr title="In Big Endian">b.e.</abbr>) | ||
|- | |- | ||
| 0x04 || 0x08 || CEDialog || ''' | | 0x04 || 0x08 || CEDialog || '''text_string''' || CEDialog data type. Without the null termination ! | ||
|- | |- | ||
| 0x0C || | | 0x0C || 0x04 || 00 00 27 56 || '''data_id''' || Unique ID (<abbr title="In Big Endian">b.e.</abbr>) | ||
|- | |- | ||
| 0x10 || 0x04 || 00 00 00 00 || ''unknown'' || Other examples: CERectComponent=0x0A, CELabel=0x2D, CEbutton(1)=0x3C, CEbutton(2)=0x73, CEbutton(3)=0xAA | | 0x10 || 0x04 || 00 00 00 00 || ''unknown'' || Other examples: CERectComponent=0x0A, CELabel=0x2D, CEbutton(1)=0x3C, CEbutton(2)=0x73, CEbutton(3)=0xAA | ||
Line 339: | Line 286: | ||
| 0x30 || 0x04 || 00 00 00 00 || '''text_string_length''' ? || | | 0x30 || 0x04 || 00 00 00 00 || '''text_string_length''' ? || | ||
|- | |- | ||
| 0x34 || 0x02 || 00 00 || ''' | | 0x34 || 0x02 || 00 00 || ''unknown'' || Always zero ? | ||
|- | |- | ||
| 0x36 || 0x01 || 01 || '''read_next''' ? || | | 0x36 || 0x01 || 01 || '''read_next''' ? || | ||
Line 355: | Line 302: | ||
| ''varies'' || 0x01 || 00 || '''null''' || | | ''varies'' || 0x01 || 00 || '''null''' || | ||
|- | |- | ||
| ''varies''|| 0x02 || 00 00 || ''' | | ''varies''|| 0x02 || 00 00 || ''unknown'' || Always zero ? | ||
|- | |- | ||
| ''varies'' || 0x01 || 01 || '''read_next''' ? || | | ''varies'' || 0x01 || 01 || '''read_next''' ? || | ||
Line 372: | Line 319: | ||
=====CEMenu===== | =====CEMenu===== | ||
The '''CEMenu''' is a complex data type that represents the root of a hierarchy of parent/chidren/brothers. Every one of them have an unique ID | The '''CEMenu''' is a complex data type that represents the root of a hierarchy of parent/chidren/brothers. Every one of them have an unique ID | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Offset !! Length !! Example !! Name !! Notes | ! Offset !! Length !! Example !! Name !! Notes | ||
|- | |- | ||
| | | 0x00 || 0x04 || 00 00 00 06 || '''text_string_length''' || Length of the next text string (<abbr title="In Big Endian">b.e.</abbr>) | ||
|- | |- | ||
| | | 0x04 || 0x06 || CEMenu || '''text_string''' || CEMenu data type. Without the null termination ! | ||
|- | |- | ||
| | | 0x0A || 0x04 || 00 00 75 BB || '''data_id''' || Unique ID (<abbr title="In Big Endian">b.e.</abbr>) | ||
|-{{cellcolors|lightgrey}} | |||
| 0x0E || colspan="4" | Etc... | |||
| | |||
{| | |||
| | |||
|} | |} | ||