Editing Resource Container (RCO)
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= | ||
'''R'''esource '''Co'''ntainer '''O'''bjet (RCO) contents are loaded by [[XMB]] modules (also known as .sprx plugins), see [[Plugin Interfaces]] and [[VSH]] | |||
*Compression types availables: | |||
**[[Template:Zlib_Header|ZLIB]] | |||
**RLZ | |||
**Uncompressed | |||
=Contents= | |||
*RCO contents (See [[Multimedia Formats and Tools]]): <!--and see rcomage miscmap.ini for a list of the supported formats--> | *RCO contents (See [[Multimedia Formats and Tools]]): <!--and see rcomage miscmap.ini for a list of the supported formats--> | ||
Text for all [[Template: | Text for all [[Template:XMB_languages|languages]], textures, sounds (for cursor navigation, trophy unlocking, etc...) and models | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 19: | Line 20: | ||
|} | |} | ||
=Versions= | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |||
! <abbr title="based in the changelog of custom_render_plugin.rco PS3, and rcomage source code">RCO version</abbr> !! Firmware !! <abbr title="release date of the first firmware using that rco version in format YYYY/MM/DD">Release date</abbr> !! Notes | |||
|- | |||
| 0x55 || {{icon content psp}} 0.6.5 || pre-retail || archaic rco format, header is 12 bytes smaller | |||
|- | |||
| 0x70 || {{icon content psp}} 1.00 || 2004 / 12 / 12 || | |||
|- | |||
| 0x71 || {{icon content psp}} 1.50~2.50 || 2005 / 3 / 24 || normal table section up to this version | |||
|- | |||
| 0x90 || {{icon content psp}} 2.60 || 2005 / 11 / 29 || zlib compressed table section implemented | |||
|- | |||
| 0x95 || {{icon content psp}} 2.70~2.71 || 2006 / 4 / 25 || rlz compressed table section implemented | |||
|- | |||
| 0x96 || {{icon content psp}} 2.80~3.40 || 2006 / 7 / 27 || | |||
|- | |||
| 0x97 || {{icon content ps3}} 1.00~1.54 || 2006 / 11 / 11 || | |||
|- | |- | ||
| 0x100 || {{icon content psp}} 3.50~6.61 || 2007 / 5 / 31 || | |||
|- | |- | ||
| 0x102 || {{icon content ps3}} 1.60~1.70 || 2007 / 3 / 22 || | |||
|- | |- | ||
| 0x104 || {{icon content ps3}} 1.80~1.82 || 2007 / 5 / 24 || | |||
| | |||
|- | |- | ||
| 0x105 || {{icon content ps3}} 1.90~1.94 || 2007 / 7 / 24 || | |||
| | |||
|- | |- | ||
| 0x106 || {{icon content ps3}} 2.00~2.17 || 2007 / 11 / 8 || | |||
| | |||
|- | |- | ||
| 0x107 || {{icon content ps3}} 2.20~2.80 || 2008 / 3 / 25 || | |||
| | |||
|- | |- | ||
| 0x108 || {{icon content ps3}} 3.00~3.01 || 2009 / 9 / 1 || | |||
| | |||
|- | |- | ||
| 0x110 || {{icon content ps3}} 3.10~3.74 || 2009 / 11 / 19 || | |||
| | |||
|- | |- | ||
| 0x120 || {{icon content ps3}} 4.00~4.25 || 2011 / 11 / 29 || | |||
| | |||
|- | |- | ||
| | | 0x130 || {{icon content ps3}} 4.30~4.76 || 2012 / 10 / 24 || | ||
|} | |||
=RCO Structure= | |||
The container structure can be represented as an XML (see [[RCOXML Coding|RCOXML]]), with [[rcomage]] is posible to generate this XML when extracting, and for rebuilding the rco using the XML as a layout | |||
http://endlessparadigm.com/forum/showthread.php?tid=231 (outdated) | |||
==Header== | |||
{| class="wikitable" | |||
|- | |- | ||
! | ! Offset !! Length !! Name !! Example !! Notes | ||
|- | |- | ||
| 0x00 || 0x04 || '''magic''' || FRP || In PS3 is "FRP" (big endian). In PSP is "PRF" (little endian) | |||
| | |||
|- | |- | ||
| 0x04 || 0x04 || '''version''' || 00 00 01 30 || named ''minFirmwareVer'' in rcomage, see {{talk}} page | |||
| | |||
|- | |- | ||
| 0x08 || 0x04 || ''unknown'' || 00 00 00 00 || | |||
| | |||
|- | |- | ||
| 0x0C || 0x04 || '''compress_header''' || 00 00 00 00 || *0x00 no compress<br>*0x10 zlib<br>*0x20 rlz ? | |||
| | |||
|- | |- | ||
| 0x10 || 0x04 || '''info_table_offset''' || 00 00 00 A4 || usually 0xA4 | |||
| | |||
|- | |- | ||
| 0x14 || 0x04 || '''vsmx_table_offset''' || || | |||
| | |||
|- | |- | ||
| 0x18 || 0x04 || '''text_table_offset''' || || | |||
| | |||
|- | |- | ||
| 0x1C || 0x04 || '''sound_table_offset''' || || | |||
| | |||
|- | |- | ||
| 0x20 || 0x04 || '''model_table_offset''' || || | |||
| | |||
|- | |- | ||
| 0x24 || 0x04 || '''image_table_offset''' || || | |||
| | |||
|- | |- | ||
| 0x28 || 0x04 || ''unknown'' || FF FF FF FF || Always seems to be 0xFFFFFF | |||
| | |- | ||
| 0x2C || 0x04 || '''font_table_offset''' || || | |||
|- | |||
| 0x30 || 0x04 || '''page_table_offset''' || || | |||
|- | |||
| 0x34 || 0x04 || '''anim_table_offset''' || || | |||
|} | |} | ||
{| class="wikitable" | |||
|+strings | |||
! Offset !! Length !! Name !! Example !! Notes | |||
|- | |||
{| class="wikitable" | | 0x38 || 0x04 || '''text_table_offset''' || || | ||
|- | |||
| 0x3C || 0x04 || '''text_table_length''' || || | |||
|- | |||
| 0x40 || 0x04 || '''label_table_offset''' || || | |||
|- | |||
| 0x44 || 0x04 || '''label_table_length''' || || | |||
|- | |||
| 0x48 || 0x04 || '''native_table_offset''' || || | |||
|- | |- | ||
| 0x4C || 0x04 || '''native_table_length''' || || | |||
| 0x4C || 0x04 | |||
|} | |} | ||
{| class="wikitable" | |||
|+pointers | |||
! Offset !! Length !! Name !! Example !! Notes | |||
|- | |||
| 0x50 || 0x04 || '''text_pointer_table_offset''' || || | |||
|- | |||
| 0x54 || 0x04 || '''text_pointer_table_length''' || || | |||
|- | |||
| 0x58 || 0x04 || '''image_pointer_table_offset''' || || | |||
| | |- | ||
| 0x5C || 0x04 || '''image_pointer_table_length''' || || | |||
|- | |||
| 0x60 || 0x04 || '''model_pointer_table_offset''' || || | |||
|- | |||
| 0x64 || 0x04 || '''model_pointer_table_length''' || || | |||
|- | |||
| 0x68 || 0x04 || '''sound_pointer_table_offset''' || || | |||
|- | |||
| 0x6C || 0x04 || '''sound_pointer_table_length''' || || | |||
|- | |||
| 0x70 || 0x04 || '''page_pointer_table_offset''' || || | |||
|- | |||
| 0x74 || 0x04 || '''page_pointer_table_length''' || || | |||
|- | |- | ||
| | | 0x78 || 0x04 || '''anim_pointer_table_offset''' || || | ||
|- | |- | ||
| 0x7C || 0x04 || '''anim_pointer_table_length''' || || | |||
|} | |} | ||
{| class="wikitable" | {| class="wikitable" | ||
|+files | |||
! Offset !! Length !! Name !! Example !! Notes | |||
|- | |||
| 0x80 || 0x04 || '''image_data_section_offset''' || || | |||
|- | |||
| 0x84 || 0x04 || '''image_data_section_length''' || || | |||
|- | |- | ||
| 0x88 || 0x04 || '''sound_data_section_offset''' || || | |||
|- | |- | ||
| | | 0x8C || 0x04 || '''sound_data_section_length''' || || | ||
|- | |- | ||
| | | 0x90 || 0x04 || '''model_data_section_offset''' || || | ||
|- | |- | ||
| | | 0x94 || 0x04 || '''model_data_section_length''' || || | ||
|- | |||
| 0x98 || 0x04 || ''unknown'' || || Always seems to be 0xFFFFFF | |||
|- | |||
| 0x9C || 0x04 || ''unknown'' || || Always seems to be 0xFFFFFF | |||
|- | |||
| 0xA0 || 0x04 || ''unknown'' || || Always seems to be 0xFFFFFF | |||
|} | |} | ||
= | ==Tables== | ||
==Etc...== | |||
{{File Formats}} | {{File Formats}} | ||
<noinclude>[[Category:Main]]</noinclude> | <noinclude>[[Category:Main]]</noinclude> |