Template:RCO TOC entry types: Difference between revisions
Jump to navigation
Jump to search
m (based in the codenames used by reference_types... this names looks more accurate) |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" style="font-size:x-small;" | {| class="wikitable" style="font-size:x-small;" | ||
|+RCO TOC entry types {{ed right|RCO TOC entry types}} | |+RCO TOC entry types {{ed right|RCO TOC entry types}} | ||
! colspan="2" rowspan="2" | !! colspan="32" | second byte !! rowspan="2" | wiki pages related | ! colspan="2" rowspan="2" | !! colspan="32" | ID (second byte) !! rowspan="2" | wiki pages related | ||
|- | |- | ||
! 0x00 !! 0x01 !! 0x02 !! 0x03 !! 0x04 !! 0x05 !! 0x06 !! 0x07 !! 0x08 !! 0x09 !! 0x0A !! 0x0B !! 0x0C !! 0x0D !! 0x0E !! 0x0F !! 0x10 !! 0x11 !! 0x12 !! 0x13 !! 0x14 !! 0x15 !! 0x16 !! 0x17 !! 0x18 !! 0x19 !! 0x1A !! 0x1B !! 0x1C !! 0x1D !! 0x1E !! 0x1F | ! 0x00 !! 0x01 !! 0x02 !! 0x03 !! 0x04 !! 0x05 !! 0x06 !! 0x07 !! 0x08 !! 0x09 !! 0x0A !! 0x0B !! 0x0C !! 0x0D !! 0x0E !! 0x0F !! 0x10 !! 0x11 !! 0x12 !! 0x13 !! 0x14 !! 0x15 !! 0x16 !! 0x17 !! 0x18 !! 0x19 !! 0x1A !! 0x1B !! 0x1C !! 0x1D !! 0x1E !! 0x1F | ||
|- | |- | ||
! rowspan="9" | | ! rowspan="9" | TYPE<br>(first byte) !! 0x01 | ||
| {{cellcolors|#ff7777}} <abbr title="never used in the RCO TOC, it seems to represent the RCO root">unk</abbr> || {{cellcolors|#7777ff}} MainTree || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || [[RCOXML Coding]] | | {{cellcolors|#ff7777}} <abbr title="never used in the RCO TOC, it seems to represent the RCO root">unk</abbr> || {{cellcolors|#7777ff}} MainTree || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || [[RCOXML Coding]] | ||
|- | |- | ||
Line 31: | Line 31: | ||
! 0x09 | ! 0x09 | ||
| {{cellcolors|#8888ff}} AnimTree || Anim || MoveTo || Recolour || Rotate || Resize || Fade || Delay || FireEvent || Lock || Unlock || SlideOut || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || [[RCOXML Animations]] | | {{cellcolors|#8888ff}} AnimTree || Anim || MoveTo || Recolour || Rotate || Resize || Fade || Delay || FireEvent || Lock || Unlock || SlideOut || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || {{cellcolors|lightgrey}} || [[RCOXML Animations]] | ||
|}<noinclude>[[Category:Templates]]</noinclude> | |- | ||
! colspan="2" | Console !! colspan="27" | {{icon content psp|50px}} and {{icon content ps3|50px}} !! colspan="5" | {{icon content ps3|50px}} only !! | |||
|} | |||
*The entry_types wich name contains the word '''tree''' (as example MainTree) are special and doesnt uses attributes, MainTree is always located as the first entry, doesn't have a parent, and doesn't have any previous or next "sibling", the maximun number posible of childrens for MainTree is 8 (containing all the other "trees")<!--actually it should be 9 trees max because the toc_unknown area at absolute offset 0x28 in the header is telling it exists another unknown tree-->. The other "trees" (as example imageTree or soundTree) are siblings and are the childrens of "MainTree", Every one of those "trees" contains a variable number of '''entry_types''' that are its childrens | |||
*The [[RCOXML Objects]] (entry_types starting with 0x08) and [[RCOXML Animations]] (entry_types starting with 0x09) where the attributes can be grouped in standard attributes (used by most entryes of this type) and specific attributes (different for every entry_type). The standard attributes are always located before the specific attributes | |||
*First two bytes are swapped based on architecture (PSP in little endian, PS3 in big endian). The table shows the values in big endian | |||
<noinclude>[[Category:Templates]]</noinclude> |
Revision as of 11:30, 29 March 2018
ID (second byte) | wiki pages related | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | 0x01 | 0x02 | 0x03 | 0x04 | 0x05 | 0x06 | 0x07 | 0x08 | 0x09 | 0x0A | 0x0B | 0x0C | 0x0D | 0x0E | 0x0F | 0x10 | 0x11 | 0x12 | 0x13 | 0x14 | 0x15 | 0x16 | 0x17 | 0x18 | 0x19 | 0x1A | 0x1B | 0x1C | 0x1D | 0x1E | 0x1F | |||
TYPE (first byte) |
0x01 | unk | MainTree | RCOXML Coding | ||||||||||||||||||||||||||||||
0x02 | ScriptTree | RCOXML Script | ||||||||||||||||||||||||||||||||
0x03 | TextTree | Text | RCOXML Texts | |||||||||||||||||||||||||||||||
0x04 | ImageTree | Image | RCOXML Images | |||||||||||||||||||||||||||||||
0x05 | ModelTree | Model | RCOXML Models | |||||||||||||||||||||||||||||||
0x06 | SoundTree | Sound | RCOXML Sounds | |||||||||||||||||||||||||||||||
0x07 | FontTree | Font | RCOXML Fonts | |||||||||||||||||||||||||||||||
0x08 | ObjectTree | Page | Plane | Button | XMenu | XMList | XList | Progress | Scroll | MList | MItem | unk | XItem | Text | ModelObject | Spin | Action | ItemSpin | Group | LList | LItem | Edit | Clock | IList | IItem | Icon | UButton | unk | CheckboxGroup | CheckboxItem | Meter | EditBox | RCOXML Objects | |
0x09 | AnimTree | Anim | MoveTo | Recolour | Rotate | Resize | Fade | Delay | FireEvent | Lock | Unlock | SlideOut | RCOXML Animations | |||||||||||||||||||||
Console | and | only |
- The entry_types wich name contains the word tree (as example MainTree) are special and doesnt uses attributes, MainTree is always located as the first entry, doesn't have a parent, and doesn't have any previous or next "sibling", the maximun number posible of childrens for MainTree is 8 (containing all the other "trees"). The other "trees" (as example imageTree or soundTree) are siblings and are the childrens of "MainTree", Every one of those "trees" contains a variable number of entry_types that are its childrens
- The RCOXML Objects (entry_types starting with 0x08) and RCOXML Animations (entry_types starting with 0x09) where the attributes can be grouped in standard attributes (used by most entryes of this type) and specific attributes (different for every entry_type). The standard attributes are always located before the specific attributes
- First two bytes are swapped based on architecture (PSP in little endian, PS3 in big endian). The table shows the values in big endian