Template:RCO TOC Objects standard attributes: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:
| 0x30 || 0x04 || float || '''positionZ''' || {{yes}} || {{yes}} || 00 00 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">positionZ</span><span style="color:#ff3333;">="0"</span> '''/>'''</span>
| 0x30 || 0x04 || float || '''positionZ''' || {{yes}} || {{yes}} || 00 00 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">positionZ</span><span style="color:#ff3333;">="0"</span> '''/>'''</span>
|-
|-
| 0x34 || 0x04 || float || '''colorScaleR''' || {{yes}} || {{yes}} || 3F 80 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">colorScaleR</span><span style="color:#ff3333;">="1"</span> '''/>'''</span> || rowspan="4" | '''RGBA Color Scale''' (<abbr title="1 original, smaller than 1 reduced, bigger than 1 increased">multiplyer</abbr>)
| 0x34 || 0x04 || float || '''colorScaleR''' || {{yes}} || {{yes}} || 3F 80 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">colorScaleR</span><span style="color:#ff3333;">="1"</span> '''/>'''</span> || rowspan="4" | '''RGBA Color Scale''' <abbr title="1 original, smaller than 1 reduced, bigger than 1 increased">multiplyer</abbr>
|-
|-
| 0x38 || 0x04 || float || '''colorScaleG''' || {{yes}} || {{yes}} || 3F 80 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">colorScaleG</span><span style="color:#ff3333;">="1"</span> '''/>'''</span>
| 0x38 || 0x04 || float || '''colorScaleG''' || {{yes}} || {{yes}} || 3F 80 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">colorScaleG</span><span style="color:#ff3333;">="1"</span> '''/>'''</span>
Line 24: Line 24:
| 0x4C || 0x04 || float || '''sizeZ''' || {{yes}} || {{yes}} || 00 00 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">sizeZ</span><span style="color:#ff3333;">="0"</span> '''/>'''</span>
| 0x4C || 0x04 || float || '''sizeZ''' || {{yes}} || {{yes}} || 00 00 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">sizeZ</span><span style="color:#ff3333;">="0"</span> '''/>'''</span>
|-
|-
| 0x50 || 0x04 || float || '''sizeScaleX''' || {{yes}} || {{yes}} || 3F 80 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">sizeScaleX</span><span style="color:#ff3333;">="1"</span> '''/>'''</span> || rowspan="3" | '''XYZ Size Scale''' (<abbr title="1 original, smaller than 1 reduced, bigger than 1 increased">multiplyer</abbr>)
| 0x50 || 0x04 || float || '''sizeScaleX''' || {{yes}} || {{yes}} || 3F 80 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">sizeScaleX</span><span style="color:#ff3333;">="1"</span> '''/>'''</span> || rowspan="3" | '''XYZ Size Scale''' <abbr title="1 original, smaller than 1 reduced, bigger than 1 increased">multiplyer</abbr>
|-
|-
| 0x54 || 0x04 || float || '''sizeScaleY''' || {{yes}} || {{yes}} || 3F 80 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">sizeScaleY</span><span style="color:#ff3333;">="1"</span> '''/>'''</span>
| 0x54 || 0x04 || float || '''sizeScaleY''' || {{yes}} || {{yes}} || 3F 80 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">sizeScaleY</span><span style="color:#ff3333;">="1"</span> '''/>'''</span>
Line 34: Line 34:
| 0x60 || 0x08 || event || '''onInit''' || {{yes}} || {{yes}} || 04 00 / <abbr title="Padding, always 0x00 0x00">00 00</abbr> / 12 34 56 78 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">onInit</span><span style="color:#ff3333;">="event:native:/runFuctionX"</span> '''/>'''</span> || Triggers an '''event''' (ref_type[1], ref_id[1], padding[2], string_offset[4])
| 0x60 || 0x08 || event || '''onInit''' || {{yes}} || {{yes}} || 04 00 / <abbr title="Padding, always 0x00 0x00">00 00</abbr> / 12 34 56 78 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">onInit</span><span style="color:#ff3333;">="event:native:/runFuctionX"</span> '''/>'''</span> || Triggers an '''event''' (ref_type[1], ref_id[1], padding[2], string_offset[4])
|-
|-
| 0x68 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideX''' || {{no}} || {{yes}} || 34 12 / 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">positionOverrideX</span><span style="color:#ff3333;">="0x34120000"</span> '''/>'''</span> || rowspan="3" | '''XYZ Position Override''' with values from [[XMB Layouts]]<br>(first 2 bytes = line_number, last 2 bytes = unknown)
| 0x68 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideX''' || {{no}} || {{yes}} || 34 12 / 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">positionOverrideX</span><span style="color:#ff3333;">="0x34120000"</span> '''/>'''</span> || rowspan="3" | Overrides '''XYZ Position''' with pointers to the [[XMB Layouts]] (grid_pointer[2], factor_pointer[2])
|-
|-
| 0x6C || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideY''' || {{no}} || {{yes}} || 35 12 / 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">positionOverrideY</span><span style="color:#ff3333;">="0x35120000"</span> '''/>'''</span>
| 0x6C || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideY''' || {{no}} || {{yes}} || 35 12 / 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">positionOverrideY</span><span style="color:#ff3333;">="0x35120000"</span> '''/>'''</span>
Line 40: Line 40:
| 0x70 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideZ''' || {{no}} || {{yes}} || 36 12 / 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">positionOverrideZ</span><span style="color:#ff3333;">="0x36120000"</span> '''/>'''</span>
| 0x70 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideZ''' || {{no}} || {{yes}} || 36 12 / 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">positionOverrideZ</span><span style="color:#ff3333;">="0x36120000"</span> '''/>'''</span>
|-
|-
| 0x74 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideX''' || {{no}} || {{yes}} || 37 12 / 01 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">sizeOverrideX</span><span style="color:#ff3333;">="0x37120100"</span> '''/>'''</span> || rowspan="3" | ''' XYZ Size Override''' with values from [[XMB Layouts]]<br>(first 2 bytes = line_number, last 2 bytes = unknown)
| 0x74 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideX''' || {{no}} || {{yes}} || 37 12 / 01 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">sizeOverrideX</span><span style="color:#ff3333;">="0x37120100"</span> '''/>'''</span> || rowspan="3" | Overrides '''XYZ Size''' with pointers to the [[XMB Layouts]] (grid_pointer[2], factor_pointer[2])
|-
|-
| 0x78 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideY''' || {{no}} || {{yes}} || 38 12 / 01 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">sizeOverrideY</span><span style="color:#ff3333;">="0x38120100"</span> '''/>'''</span>
| 0x78 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideY''' || {{no}} || {{yes}} || 38 12 / 01 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">sizeOverrideY</span><span style="color:#ff3333;">="0x38120100"</span> '''/>'''</span>

Revision as of 03:18, 23 September 2021

RCO TOC Objects standard attributes
Offset Length Type Name PSP icon PS3 icon Example (TOC) Example (XML) Notes
0x28 0x04 float positionX Yes Yes 42 C8 00 00 <Entry positionX="100" /> XYZ Position, in pixels
0x2C 0x04 float positionY Yes Yes 42 C8 00 00 <Entry positionY="100" />
0x30 0x04 float positionZ Yes Yes 00 00 00 00 <Entry positionZ="0" />
0x34 0x04 float colorScaleR Yes Yes 3F 80 00 00 <Entry colorScaleR="1" /> RGBA Color Scale multiplyer
0x38 0x04 float colorScaleG Yes Yes 3F 80 00 00 <Entry colorScaleG="1" />
0x3C 0x04 float colorScaleB Yes Yes 3F 80 00 00 <Entry colorScaleB="1" />
0x40 0x04 float colorScaleA Yes Yes 3F 00 00 00 <Entry colorScaleA="0.5" />
0x44 0x04 float sizeX Yes Yes 42 C8 00 00 <Entry sizeX="100" /> XYZ Size, in pixels
0x48 0x04 float sizeY Yes Yes 42 C8 00 00 <Entry sizeY="100" />
0x4C 0x04 float sizeZ Yes Yes 00 00 00 00 <Entry sizeZ="0" />
0x50 0x04 float sizeScaleX Yes Yes 3F 80 00 00 <Entry sizeScaleX="1" /> XYZ Size Scale multiplyer
0x54 0x04 float sizeScaleY Yes Yes 3F 80 00 00 <Entry sizeScaleY="1" />
0x58 0x04 float sizeScaleZ Yes Yes 3F 80 00 00 <Entry sizeScaleZ="1" />
0x5C 0x04 unk anchorMode Yes Yes 00 00 / 32 00 <Entry anchorMode="0x3200" /> Object handler point. See RCOXML Objects and talk pages
0x60 0x08 event onInit Yes Yes 04 00 / 00 00 / 12 34 56 78 <Entry onInit="event:native:/runFuctionX" /> Triggers an event (ref_type[1], ref_id[1], padding[2], string_offset[4])
0x68 0x04 unk positionOverrideX No Yes 34 12 / 00 00 <Entry positionOverrideX="0x34120000" /> Overrides XYZ Position with pointers to the XMB Layouts (grid_pointer[2], factor_pointer[2])
0x6C 0x04 unk positionOverrideY No Yes 35 12 / 00 00 <Entry positionOverrideY="0x35120000" />
0x70 0x04 unk positionOverrideZ No Yes 36 12 / 00 00 <Entry positionOverrideZ="0x36120000" />
0x74 0x04 unk sizeOverrideX No Yes 37 12 / 01 00 <Entry sizeOverrideX="0x37120100" /> Overrides XYZ Size with pointers to the XMB Layouts (grid_pointer[2], factor_pointer[2])
0x78 0x04 unk sizeOverrideY No Yes 38 12 / 01 00 <Entry sizeOverrideY="0x38120100" />
0x7C 0x04 unk sizeOverrideZ No Yes 39 12 / 01 00 <Entry sizeOverrideZ="0x39120100" />