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 379: | Line 328: | ||
00000030 00 05 48 65 6C 70 00 00 48 00 01 00 01 75 BB 00 ..Help..H....u». | 00000030 00 05 48 65 6C 70 00 00 48 00 01 00 01 75 BB 00 ..Help..H....u». | ||
00000040 00 00 06 41 62 6F 75 74 00 00 00 00 00 00 41 00 ...About......A. | 00000040 00 00 06 41 62 6F 75 74 00 00 00 00 00 00 41 00 ...About......A. | ||
First appears the same values than the ones used in CEDialog, and after them (at relative offset 0x2E) | First appears the same values than the ones used in CEDialog, and after them (at relative offset 0x2E) | ||
Line 388: | Line 336: | ||
| 0x2E || 0x04 || 00 00 00 05 || '''text_string_length''' || | | 0x2E || 0x04 || 00 00 00 05 || '''text_string_length''' || | ||
|- | |- | ||
| 0x32 || ''varies'' || Help || '''text_string''' || | | 0x32 || ''varies'' || Help || '''text_string''' || | ||
|- | |- | ||
| ''varies'' || 0x01 || 00 || '''null''' || | | ''varies'' || 0x01 || 00 || '''null''' || | ||
|- | |- | ||
| ''varies'' || 0x02 || H || '''key_shorcut''' || Keyboard shorcut (in this example " | | ''varies'' || 0x02 || H || '''key_shorcut''' || Keyboard shorcut (in this example "H" for "Help") | ||
|- | |- | ||
| ''varies''|| 0x02 || 00 01 || ''navbar_position'' ? || This value seems to indicate the Menu location on the web browser navigation bar, some examples found:<br>0x1=Help<br>0x2=Bookmarks<br>0x4=Tools<br>0x6=File<br>0x7=Edit<br>0x9 | | ''varies''|| 0x02 || 00 01 || ''navbar_position'' ? || This value seems to indicate the Menu location on the web browser navigation bar, some examples found:<br>0x1=Help<br>0x2=Bookmarks<br>0x4=Tools<br>0x6=File<br>0x7=Edit<br>0x9=Debug<br>0xD=View | ||
|- | |||
| ''varies''|| 0x02 || 00 01 || ''unknown'' || children count ? | |||
|} | |} | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Offset !! Length !! Example !! Name !! Notes | ! Offset !! Length !! Example !! Name !! Notes | ||
|- | |- | ||
| ''varies''|| 0x02 || 75 BB || '''data_id''' || Weird, this ID is pointing to a problem of how is splitted the CEDialog/CEMenu structure in this wiki page | | ''varies''|| 0x02 || 75 BB || '''data_id''' || Weird, this ID is pointing to a problem of how is splitted the CEDialog/CEMenu structure in this wiki page | ||
Line 409: | Line 355: | ||
| ''varies'' || 0x04 || 00 00 00 06 || '''text_string_length''' || | | ''varies'' || 0x04 || 00 00 00 06 || '''text_string_length''' || | ||
|- | |- | ||
| ''varies'' || ''varies'' || About || '''text_string''' || | | ''varies'' || ''varies'' || About || '''text_string''' || | ||
|- | |- | ||
| ''varies'' || 0x01 || 00 || '''null''' || | | ''varies'' || 0x01 || 00 || '''null''' || | ||
Line 417: | Line 363: | ||
| ''varies''|| 0x02 || 00 00 || ''unknown'' || | | ''varies''|| 0x02 || 00 00 || ''unknown'' || | ||
|- | |- | ||
| ''varies'' || 0x02 || A || '''key_shorcut''' || Keyboard shorcut (in this example " | | ''varies'' || 0x02 || A || '''key_shorcut''' || Keyboard shorcut (in this example "A" for "About") | ||
|- | |- | ||
| ''varies''|| 0x01 || 00 || '''read_next''' ? || | | ''varies''|| 0x01 || 00 || '''read_next''' ? || |