Editing RCOXML Images

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 2: Line 2:
The images inside .rco files are indexed in the embedded '''RCOXML''' code of the .rco container under the XML element '''ImageTree'''. See [[Resource Container (RCO)]] and [[RCOXML Coding]]
The images inside .rco files are indexed in the embedded '''RCOXML''' code of the .rco container under the XML element '''ImageTree'''. See [[Resource Container (RCO)]] and [[RCOXML Coding]]


All the images inside RCO files (with a few exceptions) uses a sony image format named GIM. See [[Graphic Image Map (GIM)]] and [[GimConv]]
All the images (with a few exceptions) inside .rco files uses a sony propietary format that works as a image container, and allows for many different image formats, see [[GimConv]]
{{RCOXML contents PS3}}
 
{{spoiler|RCOXML contents PS3|{{RCOXML contents PS3}}}}


=Image=
=Image=
Line 22: Line 23:
| 0x08 || 0x04 || '''file_offset''' ||  ||  
| 0x08 || 0x04 || '''file_offset''' ||  ||  
|-
|-
| 0x0C || 0x04 || {{cellcolors|#ff9999}} ''unknown'' ||  || Most PS3 RCOs have this extra value - probably something to do with planes/frames?? usually 0x1
| 0x0C || 0x04 || {{cellcolors|#ff9999}} ''unknown'' ||  || PS3 RCOs seem to have this extra value - probably something to do with planes/frames?? usually 0x1
|-
|-
| 0x10 || 0x04 || {{cellcolors|#9999ff}} '''file_uncompressed_size''' ||  || Optional. Doesn't exist if '''file_compression''' = '''NONE''', for PSP is located 4 bytes before because the previous value doesn't exists
| 0x10 || 0x04 || {{cellcolors|#9999ff}} '''file_uncompressed_size''' ||  || Optional. Doesn't exist if '''file_compression''' = '''NONE''', for PSP is located 4 bytes before because the previous value doesn't exists
|}
|}
*unknown
**RCO files version 0x93 included in some PS3 pre-retail firmwares (such DECR 082.006) doesnt have this value. But rcomage expects it to be there and when trying to extract the RCo contents it returns an error, loses the TOC track, and then does a "jump" of 4 bytes to locate the TOC track again and continue reading, The problem doesnt seems to be critical, the extraction is fine (the rebuilding not). This is an example of the error on system_plugin_bg.rco DECR 082.006
Warning: [entry (0xf4)] Unexpected value 0x20a4 for PS3 image - expected 0x1.
Warning: [entry (0xcc)] Entry boundaries not aligned (going forward -4 bytes)


{{File Formats}}
{{File Formats}}
<noinclude>[[Category:Main]]</noinclude>
<noinclude>[[Category:Main]]</noinclude>
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)