Template:RCO TOC entry common area: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
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 01 00 00}}} || rowspan="2" | {{{4|<MainTree <span style="color:#000099;">name</span><span style="color:#990000;">="label"</span>>}}} || First | </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 2 bytes '''entry_type''', last 2 bytes always 0x0000 | ||
|- | |- | ||
| 0x04 || 0x04 || int || '''entry_label_offset''' || {{yes}} || {{yes}} || {{{2|00 00 00 00}}} || | | 0x04 || 0x04 || int || '''entry_label_offset''' || {{yes}} || {{yes}} || {{{2|00 00 00 00}}} || Label offset relative to the start of label table (<abbr title="0xFFFFFFFF means the label doesn't exist for this entry">optional</abbr>) | ||
|- | |- | ||
| 0x08 || 0x04 || int || ''' | | 0x08 || 0x04 || int || '''attributes_offset''' || {{yes}} || {{yes}} || 00 00 00 28 || rowspan="2" {{cellcolors|lightgrey}} no XML representation || Only used for entries with attributes (ie not "tree" entries) | ||
|- | |- | ||
| 0x0C || 0x04 || int || '''entry_size''' || {{yes}} || {{yes}} || {{{3|00 00 00 00}}} || main tables (main/img etc) uses 0x28 here, or is this the length of current entry (not including subentries)? | | 0x0C || 0x04 || int || '''entry_size''' || {{yes}} || {{yes}} || {{{3|00 00 00 00}}} || main tables (main/img etc) uses 0x28 here, or is this the length of current entry (not including subentries)? |