RCOXML Models: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (thx to LuanTeles)
 
Line 7: Line 7:
Uses the same values than Images with a couple of differences, the table is repeated here for comparison purposes
Uses the same values than Images with a couple of differences, the table is repeated here for comparison purposes


The presence of the '''unknown''' (specific for PS3) is completlly speculative because never has been found a GMO file used on PS3 official firmware, is not even known if PS3 firmware has some function able to manage GMO files
The presence of the '''unknown''' (specific for PS3) is completlly speculative because never has been found a GMO file used on PS3 official firmware, <s>is not even known if PS3 firmware has some function able to manage GMO files</s>, [http://www.psx-place.com/threads/ps3-pro-mod-release-information-thread.14641/page-9#post-96425 it works]


{| class="wikitable"
{| class="wikitable"

Latest revision as of 16:23, 20 December 2017

Description[edit | edit source]

The models inside .rco files are indexed in the embedded RCOXML code of the .rco container under the XML element ModelTree. See Resource Container (RCO) and RCOXML Coding

.gmo format

Model[edit | edit source]

Uses the same values than Images with a couple of differences, the table is repeated here for comparison purposes

The presence of the unknown (specific for PS3) is completlly speculative because never has been found a GMO file used on PS3 official firmware, is not even known if PS3 firmware has some function able to manage GMO files, it works

Offset Length Name Example Notes
0x00 0x02 file_format 0x0=GMO
0x02 0x02 file_compression 0x0=NONE
0x1=ZLIB
0x2=RLZ
0x04 0x04 file_size either compressed or uncompressed, this is the final size of the file stored inside the rco
0x08 0x04 file_offset Offset of data relative to the beginning of the image data section
0x0C 0x04 unknown PS3 RCOs seem to have this extra value - probably something to do with planes/frames?? usually 0x1
0x10 0x04 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