Template:RCO TOC entry common area: Difference between revisions
Jump to navigation
Jump to search
m (after the names changes now this looks better) |
mNo edit summary |
||
Line 4: | Line 4: | ||
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes | ! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes | ||
|- | |- | ||
</noinclude>| 0x00 || 0x04 || int || '''entry_type''' || {{yes}} || {{yes}} || {{{1|01 | </noinclude>| 0x00 || 0x04 || int || '''entry_type''' || {{yes}} || {{yes}} || {{{1|01 01 / 00 00}}} || rowspan="2" | {{{4|<MainTree <span style="color:#000099;">name</span><span style="color:#990000;">="label"</span>>}}} || First byte = type, second byte = id, last 2 bytes = padding | ||
|- | |- | ||
| 0x04 || 0x04 || int || '''entry_label_offset''' || {{yes}} || {{yes}} || {{{2|00 00 00 00}}} || Label offset relative to the start of the '''label_string_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_string_table''' (<abbr title="0xFFFFFFFF means the label doesn't exist for this entry">optional</abbr>) | ||
Line 18: | Line 18: | ||
| 0x18 || 0x04 || int || '''prev_sibling_offset''' || {{yes}} || {{yes}} || 00 00 00 00 || Previous sibling offset relative to the start of this entry (<abbr title="this is usually 0x0 however, only used by the last sibling">optional</abbr>) | | 0x18 || 0x04 || int || '''prev_sibling_offset''' || {{yes}} || {{yes}} || 00 00 00 00 || Previous sibling offset relative to the start of this 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 | | 0x1C || 0x04 || int || '''parent_offset''' || {{yes}} || {{yes}} || 00 00 00 00 || This entry offset relative to the start of the parent entry | ||
|- | |- | ||
| 0x20 || 0x08 || unk || {{cellcolors|#ff9999}} ''toc_entry_unk'' || {{yes}} || {{yes}} || <abbr title="Always seems to be 0x00000000 0x00000000">00 00 00 00 .. .</abbr> || {{cellcolors|lightgrey}} no XML representation || Unknown | | 0x20 || 0x08 || unk || {{cellcolors|#ff9999}} ''toc_entry_unk'' || {{yes}} || {{yes}} || <abbr title="Always seems to be 0x00000000 0x00000000">00 00 00 00 .. .</abbr> || {{cellcolors|lightgrey}} no XML representation || Unknown |