Editing Talk:Resource Container (RCO)

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 6: Line 6:
It seems all the RCO's of a specific firmware shares the same version (verifyed for firmware 4.76) and seems to be the version of the "rco set", or the version of the "rco tool" used to compile the whole "rco set". RCOmage v1.1.1 (latest stable) identifyes the version with a list of hardcoded values
It seems all the RCO's of a specific firmware shares the same version (verifyed for firmware 4.76) and seems to be the version of the "rco set", or the version of the "rco tool" used to compile the whole "rco set". RCOmage v1.1.1 (latest stable) identifyes the version with a list of hardcoded values


{{Boxcode|code=<syntaxhighlight lang="c">
{{Boxcode|content=<syntaxhighlight lang="c">
switch(rco->verId) {
switch(rco->verId) {
case 0x70: fputs("1.0", fp); break;
case 0x70: fputs("1.0", fp); break;
Line 24: Line 24:


Example... sysconf_plugin.rco from PS3 firmware 2.00 with version 0x106
Example... sysconf_plugin.rco from PS3 firmware 2.00 with version 0x106
{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<RcoFile UMDFlag="0" rcomageXmlVer="1.1" type="ps3" minFirmwareVer="unknownId0x106">
<RcoFile UMDFlag="0" rcomageXmlVer="1.1" type="ps3" minFirmwareVer="unknownId0x106">
</syntaxhighlight>}}
</syntaxhighlight>}}
Line 38: Line 38:


from [[system_plugin]].rco
from [[system_plugin]].rco
{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<Image name="tex_optionmenu_bg" src=".\RCO 476 ofw\system_plugin\Images\tex_optionmenu_bg.gim" format="gim" compression="zlib" unknownByte="1" />
<Image name="tex_optionmenu_bg" src=".\RCO 476 ofw\system_plugin\Images\tex_optionmenu_bg.gim" format="gim" compression="zlib" unknownByte="1" />
<Image name="tex_optionmenu_base" src=".\RCO 476 ofw\system_plugin\Images\tex_optionmenu_base.gim" format="gim" compression="zlib" unknownByte="1" />
<Image name="tex_optionmenu_base" src=".\RCO 476 ofw\system_plugin\Images\tex_optionmenu_base.gim" format="gim" compression="zlib" unknownByte="1" />
Line 61: Line 61:


Is not specific for .GIM image format because other image formats uses it too, here are a couple of examples from newstore_plugin.rco where is used with .JPG and .PNG
Is not specific for .GIM image format because other image formats uses it too, here are a couple of examples from newstore_plugin.rco where is used with .JPG and .PNG
{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<Image name="BackGround" src=".\RCO 476 ofw\newstore_plugin\Images\BackGround.jpg" format="jpg" compression="uncompressed" unknownByte="1" />
<Image name="BackGround" src=".\RCO 476 ofw\newstore_plugin\Images\BackGround.jpg" format="jpg" compression="uncompressed" unknownByte="1" />
<Image name="ScrollButtonRich" src=".\RCO 476 ofw mod 5\newstore_plugin\Images\ScrollButtonRich.png" format="png" compression="uncompressed" unknownByte="1" />
<Image name="ScrollButtonRich" src=".\RCO 476 ofw mod 5\newstore_plugin\Images\ScrollButtonRich.png" format="png" compression="uncompressed" unknownByte="1" />
Line 91: Line 91:
***The converted files will have '''minFirmwareVer="2.6"''' (the original value is lost in the conversion)
***The converted files will have '''minFirmwareVer="2.6"''' (the original value is lost in the conversion)


{{Boxcode|width=auto|float=left|title=PSP 6.61 official rco's|code=<syntaxhighlight lang="bash">
{{spoiler|PSP 6.61 official rco's|
{{Boxcode|content=<syntaxhighlight lang="c">
; Generated by QuickSFV v2.36 on 2015-12-09 at 04:49:59
; Generated by QuickSFV v2.36 on 2015-12-09 at 04:49:59
; http://www.QuickSFV.org
; http://www.QuickSFV.org
Line 218: Line 219:
015c0dc4be2cfe0bdb78508dd6e60835 *resource\visualizer_plugin.rco
015c0dc4be2cfe0bdb78508dd6e60835 *resource\visualizer_plugin.rco
</syntaxhighlight>}}
</syntaxhighlight>}}
}}


{{Boxcode|width=auto|float=left|title=PSP 6.60 and 6.61 firmware. RCO hashes after resurssiklunssi rebuild (cross option)|code=<syntaxhighlight lang="bash">
{{spoiler|PSP 6.61 official rco's after resurssiklunssi rebuild|
*PSP 6.60 and 6.61 firmware. RCO hashes after resurssiklunssi rebuild (cross option)
{{Boxcode|content=<syntaxhighlight lang="c">
; Generated by QuickSFV v2.36 on 2015-12-13 at 03:40:27
; Generated by QuickSFV v2.36 on 2015-12-13 at 03:40:27
; http://www.QuickSFV.org
; http://www.QuickSFV.org
Line 349: Line 353:
4fd833dc230d78d2827ad85f58685aa6 *resource\video_plugin_videotoolbar.rco
4fd833dc230d78d2827ad85f58685aa6 *resource\video_plugin_videotoolbar.rco
5b1e65248b962b983cf0553f662c2050 *resource\visualizer_plugin.rco
5b1e65248b962b983cf0553f662c2050 *resource\visualizer_plugin.rco
</syntaxhighlight>}}{{clear}}
</syntaxhighlight>}}
}}


{{spoiler|PSP 1.00 official rco's|
*PSP firmware 1.00 contains only 21 .rco files (all them uses ZLIB, none of them uses RLZ)
*PSP firmware 1.00 contains only 21 .rco files (all them uses ZLIB, none of them uses RLZ)
{{Boxcode|width=auto|float=left|title=PSP 1.00 official rco's|code=<syntaxhighlight lang="bash">
{{Boxcode|content=<syntaxhighlight lang="c">
; Generated by QuickSFV v2.36 on 2015-12-13 at 03:51:28
; Generated by QuickSFV v2.36 on 2015-12-13 at 03:51:28
; http://www.QuickSFV.org
; http://www.QuickSFV.org
Line 398: Line 404:
ef87b1df11ab6b00986b1ce6395066c4 *resource\video_plugin.rco
ef87b1df11ab6b00986b1ce6395066c4 *resource\video_plugin.rco
87d878f00d9355b873adcac6f79927f6 *resource\video_plugin_videotoolbar.rco
87d878f00d9355b873adcac6f79927f6 *resource\video_plugin_videotoolbar.rco
</syntaxhighlight>}}{{clear}}
</syntaxhighlight>}}
}}


=Examples (rcomage builds)=
=Examples (rcomage builds)=
Line 409: Line 416:


The .xml below is the RCOXML source file used to create the .rco. The file '''image_test.gim''' is a dummy of 8 bytes filed with 8888888888888888
The .xml below is the RCOXML source file used to create the .rco. The file '''image_test.gim''' is a dummy of 8 bytes filed with 8888888888888888
{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<RcoFile UMDFlag="0" rcomageXmlVer="1.1" type="ps3" minFirmwareVer="unknownId0x130">
<RcoFile UMDFlag="0" rcomageXmlVer="1.1" type="ps3" minFirmwareVer="unknownId0x130">
<MainTree name="test">
<MainTree name="test">
Line 692: Line 699:
This example is intended to replace the previous one (but by now i dont want to delete the previous one). It can help to see how the offsets are cummulated and the optional paddings to align to boundary
This example is intended to replace the previous one (but by now i dont want to delete the previous one). It can help to see how the offsets are cummulated and the optional paddings to align to boundary
The .xml below is the RCOXML source file used to create the .rco. The file '''image2_test.gim''' is a dummy of 2 bytes filed with 2222 and the file '''image3_test.gim''' is a dummy of 3 bytes filed with 333333
The .xml below is the RCOXML source file used to create the .rco. The file '''image2_test.gim''' is a dummy of 2 bytes filed with 2222 and the file '''image3_test.gim''' is a dummy of 3 bytes filed with 333333
{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<RcoFile UMDFlag="0" rcomageXmlVer="1.1" type="ps3" minFirmwareVer="unknownId0x130">
<RcoFile UMDFlag="0" rcomageXmlVer="1.1" type="ps3" minFirmwareVer="unknownId0x130">
<MainTree name="test">
<MainTree name="test">
Line 1,005: Line 1,012:




{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<RcoFile UMDFlag="0" rcomageXmlVer="1.1" type="ps3" minFirmwareVer="unknownId0x97">
<RcoFile UMDFlag="0" rcomageXmlVer="1.1" type="ps3" minFirmwareVer="unknownId0x97">
<MainTree name="sample">
<MainTree name="sample">
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)

Templates used on this page: