Editing Talk:XMB Layouts
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 23: | Line 23: | ||
The way how works the XMB layout references inside rco files has been documented before, but the way how works inside the sprx files has been just an unproven theory since many time ago. This experiment is a sample of how it works, it throws an small ray of light at how the sprx files applyes "patches" over the [[RCOXML Objects]]<br> | The way how works the XMB layout references inside rco files has been documented before, but the way how works inside the sprx files has been just an unproven theory since many time ago. This experiment is a sample of how it works, it throws an small ray of light at how the sprx files applyes "patches" over the [[RCOXML Objects]]<br> | ||
The theory behind this experiment is based on the hipotesys that in between 4.88 and 4.99 there was maaaaany sprx files where the only thing that was updated in them is just a couple of bytes "here and there" that are the references to a line number of the XMB layout files, and the hipotesys that there are many times where the rco is storing the values inside the XMB layouts consecutivelly (so it could happen that the rco and the sprx could store all his values consecutivelly). So for this experiment it was needed to find a guinea pig where both, the sprx and the rco was updated in 4.89, also his function should be something trivial just to be sure sony was not trying to update anything important, and the last consideration was to find the files with the smallest size posible just to simplify the research with hexeditors/IDA... and the winner | The theory behind this experiment is based on the hipotesys that in between 4.88 and 4.99 there was maaaaany sprx files where the only thing that was updated in them is just a couple of bytes "here and there" that are the references to a line number of the XMB layout files, and the hipotesys that there are many times where the rco is storing the values inside the XMB layouts consecutivelly (so it could happen that the rco and the sprx could store all his values consecutivelly). So for this experiment it was needed to find a guinea pig where both, the sprx and the rco was updated in 4.89, also his function should be something trivial just to be sure sony was not trying to update anything important, and the last consideration was to find the files with the smallest size posible just to simplify the research with hexeditors/IDA... and the winner combo is... eula_hcopy_plugin.sprx (27 KB) / eula_hcopy_plugin.rco (60 KB) | ||
The samples below are stripped versions from the main XML file generated by rcomage, where has been left only: the [[RCOXML Objects|RCOXML Object name]] (e.g: <IList>), the unique name (e.g: list_eula_start), and the attribute that difers in between 4.88 and 4.89 (the "overrides", responsibles of loading a value from a line of the XMB layout .txt files) | The samples below are stripped versions from the main XML file generated by rcomage, where has been left only: the [[RCOXML Objects|RCOXML Object name]] (e.g: <IList>), the unique name (e.g: list_eula_start), and the attribute that difers in between 4.88 and 4.89 (the "overrides", responsibles of loading a value from a line of the XMB layout .txt files) | ||
{{Boxcode|title=eula_hcopy_plugin.rco (4.88)|code=<syntaxhighlight lang="xml"> | |||
<IList name="list_eula_start" positionOverrideY="0x3f0d0100" sizeOverrideX="0x400d0100" sizeOverrideY="0x410d0100"> | |||
<Button name="button_eula_start_ok" positionOverrideY="0x420d0100"> | |||
<IList name="list_sync_trophy" positionOverrideY="0x3f0d0100" sizeOverrideX="0x400d0100" sizeOverrideY="0x410d0100"> | |||
<Button name="button_sync_trophy_yes" positionOverrideX="0xf7100100" positionOverrideY="0x420d0100"> | |||
<Button name="button_sync_trophy_no" positionOverrideX="0xf9100100" positionOverrideY="0x420d0100"> | |||
</syntaxhighlight>}} | |||
XMB layout references in eula_hcopy_plugin.rco 4.88 | XMB layout references in eula_hcopy_plugin.rco 4.88 | ||
0x3f0d0100 <--- line number 3392 | 0x3f0d0100 <--- line number 3392 | ||
Line 43: | Line 42: | ||
0xf9100100 <--- line number 4346 | 0xf9100100 <--- line number 4346 | ||
{{Boxcode|title=eula_hcopy_plugin.rco (4. | {{Boxcode|title=eula_hcopy_plugin.rco (4.89)|code=<syntaxhighlight lang="xml"> | ||
<IList name="list_eula_start" positionOverrideY=" | <IList name="list_eula_start" positionOverrideY="0x460d0100" sizeOverrideX="0x470d0100" sizeOverrideY="0x480d0100"> | ||
<Button name="button_eula_start_ok" positionOverrideY=" | <Button name="button_eula_start_ok" positionOverrideY="0x490d0100"> | ||
<IList name="list_sync_trophy" positionOverrideY=" | <IList name="list_sync_trophy" positionOverrideY="0x460d0100" sizeOverrideX="0x470d0100" sizeOverrideY="0x480d0100"> | ||
<Button name="button_sync_trophy_yes" positionOverrideX=" | <Button name="button_sync_trophy_yes" positionOverrideX="0xfe100100" positionOverrideY="0x490d0100"> | ||
<Button name="button_sync_trophy_no" positionOverrideX=" | <Button name="button_sync_trophy_no" positionOverrideX="0x110100" positionOverrideY="0x490d0100"> | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
XMB layout references in eula_hcopy_plugin.rco 4.89 | XMB layout references in eula_hcopy_plugin.rco 4.89 | ||
0x460d0100 <--- line number 3399 (increased in +7 units, as a consequence of the displacement in the XMB layout files) | 0x460d0100 <--- line number 3399 (increased in +7 units, as a consequence of the displacement in the XMB layout files) | ||
Line 63: | Line 57: | ||
0x110100 <----- line number 4353 (increased in +7 units, as a consequence of the displacement in the XMB layout files) | 0x110100 <----- line number 4353 (increased in +7 units, as a consequence of the displacement in the XMB layout files) | ||
{{Boxcode|title= | {{Boxcode|title=eula_cddb_plugin.rco (4.88)|code=<syntaxhighlight lang="xml"> | ||
< | <Plane name="plane_eula_licensing_wizard_arrow_back" positionOverrideX="0x280d0100" sizeOverrideX="0x2b0d0100" sizeOverrideY="0x2c0d0100"> | ||
< | <Plane name="plane_eula_licensing_wizard_arrow_shadow_back" positionOverrideY="0x2a0d0100" sizeOverrideX="0x2b0d0100" sizeOverrideY="0x2c0d0100"> | ||
<IList name=" | <Plane name="plane_eula_licensing_wizard_arrow_next" positionOverrideX="0x290d0100" sizeOverrideX="0x2b0d0100" sizeOverrideY="0x2c0d0100"> | ||
< | <Plane name="plane_eula_licensing_wizard_arrow_shadow_next" positionOverrideY="0x2a0d0100" sizeOverrideX="0x2b0d0100" sizeOverrideY="0x2c0d0100"> | ||
< | <IList name="licensing_inspection_list" positionOverrideY="0x3f0d0100" sizeOverrideX="0x400d0100" sizeOverrideY="0x410d0100"> | ||
<Text name="licensing_option_choice_title" sizeOverrideX="0x350d0100" sizeOverrideY="0x360d0100"> | |||
<IList name="list_long_mongon_view" positionOverrideY="0x3f0d0100" sizeOverrideX="0x400d0100" sizeOverrideY="0x410d0100"> | |||
<Button name="button_long_mongon_view" positionOverrideY="0x420d0100"> | |||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
XMB layout references in eula_cddb_plugin.rco 4.88 | XMB layout references in eula_cddb_plugin.rco 4.88 | ||
0x280d0100 <--- line number 3369 | 0x280d0100 <--- line number 3369 | ||
Line 98: | Line 80: | ||
0x420d0100 <--- line number 3395 | 0x420d0100 <--- line number 3395 | ||
{{Boxcode|title=eula_cddb_plugin.rco (4. | {{Boxcode|title=eula_cddb_plugin.rco (4.89)|code=<syntaxhighlight lang="xml"> | ||
<Plane name="plane_eula_licensing_wizard_arrow_back" positionOverrideX=" | <Plane name="plane_eula_licensing_wizard_arrow_back" positionOverrideX="0x2f0d0100" sizeOverrideX="0x320d0100" sizeOverrideY="0x330d0100"> | ||
<Plane name="plane_eula_licensing_wizard_arrow_shadow_back" positionOverrideY=" | <Plane name="plane_eula_licensing_wizard_arrow_shadow_back" positionOverrideY="0x310d0100" sizeOverrideX="0x320d0100" sizeOverrideY="0x330d0100"> | ||
<Plane name="plane_eula_licensing_wizard_arrow_next" positionOverrideX=" | <Plane name="plane_eula_licensing_wizard_arrow_next" positionOverrideX="0x300d0100" sizeOverrideX="0x320d0100" sizeOverrideY="0x330d0100"> | ||
<Plane name="plane_eula_licensing_wizard_arrow_shadow_next" positionOverrideY=" | <Plane name="plane_eula_licensing_wizard_arrow_shadow_next" positionOverrideY="0x310d0100" sizeOverrideX="0x320d0100" sizeOverrideY="0x330d0100"> | ||
<IList name="licensing_inspection_list" positionOverrideY=" | <IList name="licensing_inspection_list" positionOverrideY="0x460d0100" sizeOverrideX="0x470d0100" sizeOverrideY="0x480d0100"> | ||
<Text name="licensing_option_choice_title" sizeOverrideX=" | <Text name="licensing_option_choice_title" sizeOverrideX="0x3c0d0100" sizeOverrideY="0x3d0d0100"> | ||
<IList name="list_long_mongon_view" positionOverrideY=" | <IList name="list_long_mongon_view" positionOverrideY="0x460d0100" sizeOverrideX="0x470d0100" sizeOverrideY="0x480d0100"> | ||
<Button name="button_long_mongon_view" positionOverrideY=" | <Button name="button_long_mongon_view" positionOverrideY="0x490d0100"> | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
XMB layout references in eula_cddb_plugin.rco 4.89 | XMB layout references in eula_cddb_plugin.rco 4.89 | ||
0x2f0d0100 <--- line number 3376 (increased in +7 units, as a consequence of the displacement in the XMB layout files) | 0x2f0d0100 <--- line number 3376 (increased in +7 units, as a consequence of the displacement in the XMB layout files) | ||
Line 136: | Line 103: | ||
0x490d0100 <--- line number 3402 (increased in +7 units, as a consequence of the displacement in the XMB layout files) | 0x490d0100 <--- line number 3402 (increased in +7 units, as a consequence of the displacement in the XMB layout files) | ||
In total there are 11 attributes updated in between 4.88 and 4.89 in eula_hcopy_plugin.rco but some of them contains the same hex value (for optimization purposes, are references to the same line in the XMB layout files) | |||
If we count only the unique values (to get an idea at how much lines this rco is using from the XMB layout files) we have a total of 6 references to the XMB layouts | |||
The references to the XMB layouts in the xml file generated by rcomage are in little endian, to convert them to "human readable" needs to be splitted in 2 chunks of 2 bytes each, first chunk is the "grid" and second chunk is the "factor". In this sample it can be seen how all the references to the "grid" was increased in +7 units<br> | |||
< | In firmware 4.89 this rco is storing 4 values consecutivelly at lines 3399, 3400, 3401, 3402. And additionally is storing another 2 values at lines 4351 and 4353 (not consecutivelly, there is a gap in between them used by something else) | ||
---- | ---- | ||
When comparing the (decrypted) 4.88 and 4.89 versions of eula_hcopy_plugin.sprx there are only 2 bytes that differs (that belongs to 2 values of 2 bytes length each) | |||
XMB layout references in eula_hcopy_plugin.sprx 4.88 | |||
offset:0x1C7E = 0x0D3C <--- line number 3389 ? | |||
offset:0x2EFA = 0x0D3C <--- line number 3389 ? | |||
XMB layout references in eula_hcopy_plugin.sprx 4.89 | |||
offset:0x1C7E = 0x0D43 <--- line number 3396 ? (increased in +7 units, as a consequence of the displacement in the XMB layout files) | |||
offset:0x2EFA = 0x0D43 <--- line number 3396 ? (increased in +7 units, as a consequence of the displacement in the XMB layout files) | |||
In the "human readable" conversion for rco values im adding a +1 because in code the first line of a .txt file is line 0, but in a text editor the first line is 1... so im guessing is also neeed to do this +1 addition in the values from the sprx<br> | |||
The 2 bytes updated in this sprx for 4.89 are the references to the XMB layouts, and both are a references to the same line number of the XMB layouts, so this sprx only stores a single value in the XMB layouts (located 3 lines before the values stored by the associated rco)<br> | |||
From this behaviour in the order of how the values are stored in the XMB layouts we can deduce that "the sprx stores first" (and the slave rco stores last) but maybe this is just a coincidence and not an strict rule | |||
< | |||
The | |||