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 32: Line 32:
| 0x5C || 0x04 || int || '''anchorMode''' || {{yes}} || {{yes}} || 00 00 00 01 || <{{{1|entry}}} <span style="color:#000099;">anchorMode</span><span style="color:#990000;">="0x1"</span> /> || object handler point
| 0x5C || 0x04 || int || '''anchorMode''' || {{yes}} || {{yes}} || 00 00 00 01 || <{{{1|entry}}} <span style="color:#000099;">anchorMode</span><span style="color:#990000;">="0x1"</span> /> || object handler point
|-
|-
| 0x60 || 0x08 || event || '''onInit''' || {{yes}} || {{yes}} || 04 00 00 00 / 12 34 56 78 || <{{{1|entry}}} <span style="color:#000099;">onInit</span><span style="color:#990000;">="event:native:/runFuctionX"</span> /> || Triggers an '''event''' (first 4 bytes '''reference_type''', last 4 bytes '''string_offset''')
| 0x60 || 0x08 || event || '''onInit''' || {{yes}} || {{yes}} || 04 00 00 00 / 12 34 56 78 || <{{{1|entry}}} <span style="color:#000099;">onInit</span><span style="color:#990000;">="event:native:/runFuctionX"</span> /> || Triggers an '''event''' (first byte = type, second byte = id, third and four = padding, last four bytes = string_offset)
|-
|-
| 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 || <{{{1|entry}}} <span style="color:#000099;">positionOverrideX</span><span style="color:#990000;">="0x34120000"</span> /> || rowspan="3" | '''XYZ Position Override''' with values from [[XMB Layouts]]<br>(first 2 bytes swapped '''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 || <{{{1|entry}}} <span style="color:#000099;">positionOverrideX</span><span style="color:#990000;">="0x34120000"</span> /> || rowspan="3" | '''XYZ Position Override''' with values from [[XMB Layouts]]<br>(first 2 bytes = line_number, last 2 bytes = unknown)
|-
|-
| 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 || <{{{1|entry}}} <span style="color:#000099;">positionOverrideY</span><span style="color:#990000;">="0x35120000"</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 || <{{{1|entry}}} <span style="color:#000099;">positionOverrideY</span><span style="color:#990000;">="0x35120000"</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 || <{{{1|entry}}} <span style="color:#000099;">positionOverrideZ</span><span style="color:#990000;">="0x36120000"</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 || <{{{1|entry}}} <span style="color:#000099;">positionOverrideZ</span><span style="color:#990000;">="0x36120000"</span> />
|-
|-
| 0x74 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideX''' || {{no}} || {{yes}} || CD AB / 01 00 || <{{{1|entry}}} <span style="color:#000099;">sizeOverrideX</span><span style="color:#990000;">="0xCDAB0100"</span> /> || rowspan="3" | ''' XYZ Size Override''' with values from [[XMB Layouts]]<br>(first 2 bytes swapped '''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}} || CD AB / 01 00 || <{{{1|entry}}} <span style="color:#000099;">sizeOverrideX</span><span style="color:#990000;">="0xCDAB0100"</span> /> || rowspan="3" | ''' XYZ Size Override''' with values from [[XMB Layouts]]<br>(first 2 bytes = line_number, last 2 bytes = unknown)
|-
|-
| 0x78 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideY''' || {{no}} || {{yes}} || CE AB / 01 00 || <{{{1|entry}}} <span style="color:#000099;">sizeOverrideY</span><span style="color:#990000;">="0xCEAB0100"</span> />
| 0x78 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideY''' || {{no}} || {{yes}} || CE AB / 01 00 || <{{{1|entry}}} <span style="color:#000099;">sizeOverrideY</span><span style="color:#990000;">="0xCEAB0100"</span> />

Revision as of 07:22, 19 October 2016

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, 1 original, smaller than 1 reduced, bigger than 1 increased)
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, 1 original, smaller than 1 reduced, bigger than 1 increased)
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 int anchorMode Yes Yes 00 00 00 01 <entry anchorMode="0x1" /> object handler point
0x60 0x08 event onInit Yes Yes 04 00 00 00 / 12 34 56 78 <entry onInit="event:native:/runFuctionX" /> Triggers an event (first byte = type, second byte = id, third and four = padding, last four bytes = string_offset)
0x68 0x04 unk positionOverrideX No Yes 34 12 / 00 00 <entry positionOverrideX="0x34120000" /> XYZ Position Override with values from XMB Layouts
(first 2 bytes = line_number, last 2 bytes = unknown)
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 CD AB / 01 00 <entry sizeOverrideX="0xCDAB0100" /> XYZ Size Override with values from XMB Layouts
(first 2 bytes = line_number, last 2 bytes = unknown)
0x78 0x04 unk sizeOverrideY No Yes CE AB / 01 00 <entry sizeOverrideY="0xCEAB0100" />
0x7C 0x04 unk sizeOverrideZ No Yes CF AB / 01 00 <entry sizeOverrideZ="0xCFAB0100" />