Template:RCO TOC entry common area: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 8: Line 8:
| 0x04 || 0x04 || int || '''entry_label_offset''' || {{yes}} || {{yes}} || {{{2|00 00 00 00}}} || Label offset relative to the start of the label table (<abbr title="0xFFFFFFFF means the label doesn't exist for this entry">optional</abbr>)
| 0x04 || 0x04 || int || '''entry_label_offset''' || {{yes}} || {{yes}} || {{{2|00 00 00 00}}} || Label offset relative to the start of the label table (<abbr title="0xFFFFFFFF means the label doesn't exist for this entry">optional</abbr>)
|-
|-
| 0x08 || 0x04 || int || '''attributes_offset''' || {{yes}} || {{yes}} || 00 00 00 28 || rowspan="2" {{cellcolors|lightgrey}} no XML representation || Attributes offset relative to the start of the entry (<abbr title="Only used for entries with attributes. ie not ''tree'' entries">optional</abbr>)
| 0x08 || 0x04 || int || '''attributes_offset''' || {{yes}} || {{yes}} || 00 00 00 28 || rowspan="2" {{cellcolors|lightgrey}} no XML representation || Attributes offset relative to the start of the entry (<abbr title="Only used by entries with attributes. ie not ''tree'' entries">optional</abbr>)
|-
|-
| 0x0C || 0x04 || int || '''children_offset''' || {{yes}} || {{yes}} || {{{3|00 00 00 00}}} || First children offset relative to the start of the entry (<abbr title="Only used for entries with childrens. ie ''tree'' entries">optional</abbr>)
| 0x0C || 0x04 || int || '''children_offset''' || {{yes}} || {{yes}} || {{{3|00 00 00 00}}} || First children offset relative to the start of the entry (<abbr title="Only used by entries with childrens. ie ''tree'' entries">optional</abbr>)
|-
|-
| 0x10 || 0x04 || int || '''children_number''' || {{yes}} || {{yes}} || 00 00 00 00 || rowspan="4" {{cellcolors|lightgrey}} represents XML hierarchy || Number of subentries
| 0x10 || 0x04 || int || '''children_number''' || {{yes}} || {{yes}} || 00 00 00 00 || rowspan="4" {{cellcolors|lightgrey}} represents XML hierarchy || Number of subentries
|-
|-
| 0x14 || 0x04 || int || '''next_sibling_offset''' || {{yes}} || {{yes}} || 00 00 00 00 || Next sibling offset relative to the start of the entry (<abbr title="Only used for entries with siblings">optional</abbr>)
| 0x14 || 0x04 || int || '''next_sibling_offset''' || {{yes}} || {{yes}} || 00 00 00 00 || Next sibling offset relative to the start of the entry (<abbr title="Only used by entries with siblings">optional</abbr>)
|-
|-
| 0x18 || 0x04 || int || '''prev_sibling_offset''' || {{yes}} || {{yes}} || 00 00 00 00 || Previous sibling offset relative to the start of the entry (<abbr title="this is usually 0x0 however, only used by the last sibling">optional and weird</abbr>)
| 0x18 || 0x04 || int || '''prev_sibling_offset''' || {{yes}} || {{yes}} || 00 00 00 00 || Previous sibling offset relative to the start of the entry (<abbr title="this is usually 0x0 however, only used by the last sibling">optional</abbr>)
|-
|-
| 0x1C || 0x04 || int || '''parent_offset''' || {{yes}} || {{yes}} || 00 00 00 28 || Entry offset relative to parent entry start offset
| 0x1C || 0x04 || int || '''parent_offset''' || {{yes}} || {{yes}} || 00 00 00 28 || Entry offset relative to the start of the parent entry
|-
|-
| 0x20 || 0x04 || unk || {{cellcolors|#ff9999}} ''toc_entry_unknown1'' || {{yes}} || {{yes}} || <abbr title="Always seems to be 0x00000000">00 00 00 00</abbr> || rowspan="2" {{cellcolors|lightgrey}} no XML representation ||  
| 0x20 || 0x04 || unk || {{cellcolors|#ff9999}} ''toc_entry_unk_1'' || {{yes}} || {{yes}} || <abbr title="Always seems to be 0x00000000">00 00 00 00</abbr> || rowspan="2" {{cellcolors|lightgrey}} no XML representation || Unknown
|-
|-
| 0x24 || 0x04 || unk || {{cellcolors|#ff9999}} ''toc_entry_unknown2'' || {{yes}} || {{yes}} || <abbr title="Always seems to be 0x00000000">00 00 00 00</abbr> ||  
| 0x24 || 0x04 || unk || {{cellcolors|#ff9999}} ''toc_entry_unk_2'' || {{yes}} || {{yes}} || <abbr title="Always seems to be 0x00000000">00 00 00 00</abbr> || Unknown
|-<noinclude>
|-<noinclude>
|}
|}


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 03:22, 19 October 2016

RCO TOC entry common area
Offset Length Type Name PSP icon PS3 icon Example (TOC) Example (XML) Notes
0x00 0x04 int entry_type Yes Yes 01 / 01 / 00 00 <MainTree name="label"> First byte type, second byte id, last 2 bytes always 0x0000
0x04 0x04 int entry_label_offset Yes Yes 00 00 00 00 Label offset relative to the start of the label table (optional)
0x08 0x04 int attributes_offset Yes Yes 00 00 00 28 no XML representation Attributes offset relative to the start of the entry (optional)
0x0C 0x04 int children_offset Yes Yes 00 00 00 00 First children offset relative to the start of the entry (optional)
0x10 0x04 int children_number Yes Yes 00 00 00 00 represents XML hierarchy Number of subentries
0x14 0x04 int next_sibling_offset Yes Yes 00 00 00 00 Next sibling offset relative to the start of the entry (optional)
0x18 0x04 int prev_sibling_offset Yes Yes 00 00 00 00 Previous sibling offset relative to the start of the entry (optional)
0x1C 0x04 int parent_offset Yes Yes 00 00 00 28 Entry offset relative to the start of the parent entry
0x20 0x04 unk toc_entry_unk_1 Yes Yes 00 00 00 00 no XML representation Unknown
0x24 0x04 unk toc_entry_unk_2 Yes Yes 00 00 00 00 Unknown