Editing RCOXML Animations

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 5: Line 5:
**RCOXML animations basic ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=255053#pid255053
**RCOXML animations basic ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=255053#pid255053
**RCOXML animations cube sample ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=326948#pid326948
**RCOXML animations cube sample ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=326948#pid326948
{{RCOXML contents PS3}}
 
{{spoiler|RCOXML contents PS3|{{RCOXML contents PS3}}}}


=General concepts=
=General concepts=
Line 12: Line 13:
RCOXML animations delays ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=262236#pid262236
RCOXML animations delays ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=262236#pid262236


==entry types and reference types==
==Standard attributes==
{{RCO TOC entry types}}
{{RCO TOC reference types}}
 
==Standard attributes used by animations==
{| class="wikitable" style="font-size:small;"
{| class="wikitable" style="font-size:small;"
|+RCO TOC Animations standard attributes {{ed right|RCO TOC Animations standard attributes}}
|+RCO TOC Animations standard attributes {{ed right|RCO TOC Animations standard attributes}}
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
! Offset !! Length !! Data type !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
|-
|-
| {{RCO TOC Animations standard attributes}}
| {{RCO TOC Animations standard attributes}}
Line 25: Line 22:
|}
|}


*'''accelMode'''. Used to accelerate or decelerate an animation, used by most of the animations, posible values are:
*'''accelMode'''. Used to accelerate or decelerate an animation effect, used by most of the animations, posible values are:
**0x0 - no accelaration
**0x0 - no accelaration
**0x1 - starts fast, ends slow
**0x1 - starts fast, ends slow
Line 35: Line 32:
{{Measure units used in RCOXML code}}
{{Measure units used in RCOXML code}}


=Animations=
=RCOXML Animation example=
Example
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<RcoFile>
<RcoFile>
<MainTree name="maintree_label">
<MainTree name="maintree_label">
<AnimTree>
<AnimTree>
<Anim name="animation_1_label">
<Animation name="animation_1_label">
<Fade object="object:animated_object_label" time="100" accelMode="0x0" colorScaleA="1" />
<Fade object="object:animated_object_label" duration="100" accelMode="0x0" transparency="1" />
<FireEvent event="event:native:/runFuctionX" />
<FireEvent event="event:native:/runFuctionX" />
</Anim>
</Animation>
</AnimTree>
</AnimTree>
</MainTree>
</MainTree>
Line 50: Line 46:
</syntaxhighlight>}}
</syntaxhighlight>}}


==(0x0900) AnimTree==
=RCO TOC entry types=
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': No<br />'''Specific attributes''': No}}
{{RCO TOC entry types}}
{{Boxcode|code=<syntaxhighlight lang="xml"><AnimTree></syntaxhighlight>}}
{{RCO TOC reference types}}


{| class="wikitable" style="font-size:small;"
==(0x09 0x00) AnimTree==
|+RCO TOC entry_type 0x09000000 (AnimTree)
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
|-
| colspan="9" {{cellcolors|lightgrey}}
|-
| {{RCO TOC entry common area|09 00|FF FF FF FF|AnimTree|00 00 00 00|00 00 00 28|unnamed}}
|}


==(0x0901) Anim==
===(0x09 0x01) Animation===
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': No<br />'''Specific attributes''': No}}
The '''AnimTree''' can have one or more '''Animation''' childrens, and every '''Animation''' can have a list of the childrens listed below
{{Boxcode|code=<syntaxhighlight lang="xml"><Anim name="label"></syntaxhighlight>}}
 
The '''AnimTree''' can have one or more '''Anim''' childrens, and every '''Anim''' can have a list of the childrens listed below
 
{| class="wikitable" style="font-size:small;"
|+RCO TOC entry_type 0x09010000 (Animation)
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
|-
| colspan="9" {{cellcolors|lightgrey}}
|-
| {{RCO TOC entry common area|09 01|00 00 00 00|Anim|00 00 00 00|00 00 00 28|}}
|}
 
==(0x0902) MoveTo==
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': Yes<br />'''Specific attributes''': Yes}}
{{Boxcode|code=<syntaxhighlight lang="xml"><MoveTo object="object:label" time="1000" accelMode="0x3" positionX="1" positionY="1" positionZ="1" positionOverrideX="0x0" positionOverrideY="0x0" positionOverrideZ="0x0" /></syntaxhighlight>}}


====(0x09 0x02) MoveTo====
{| class="wikitable" style="font-size:small;"
{| class="wikitable" style="font-size:small;"
|+RCO TOC entry_type 0x09020000 (MoveTo)
|+RCO TOC entry_type 0x09020000 (MoveTo)
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
! Offset !! Length !! Data type !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
|-
|-
| {{RCO TOC entry common area|09 02|FF FF FF FF|MoveTo|00 00 00 28|00 00 00 00|unnamed}}
| {{RCO TOC entry common area|09 02 00 00|FF FF FF FF|00 00 00 48|<MoveTo />}}
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
Line 96: Line 70:
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
|-
|-
| 0x38 || 0x04 || float || '''positionX''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><MoveTo positionX="1" /></syntaxhighlight> || updates the value of attribute '''positionX''' from the animated [[RCOXML Objects|object]]
| 0x38 || 0x04 || float || '''x''' || {{yes}} || {{yes}} || 3F 80 00 00 || <MoveTo <span style="color:#000099;">x</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''PositionX''' from the animated [[RCOXML Objects|object]]
|-
|-
| 0x3C || 0x04 || float || '''positionY''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><MoveTo positionY="1" /></syntaxhighlight> || updates the value of attribute '''positionY''' from the animated [[RCOXML Objects|object]]
| 0x3C || 0x04 || float || '''y''' || {{yes}} || {{yes}} || 3F 80 00 00 || <MoveTo <span style="color:#000099;">y</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''PositionY''' from the animated [[RCOXML Objects|object]]
|-
|-
| 0x40 || 0x04 || float || '''positionZ''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><MoveTo positionZ="1" /></syntaxhighlight> || updates the value of attribute '''positionZ''' from the animated [[RCOXML Objects|object]]
| 0x40 || 0x04 || float || '''z''' || {{yes}} || {{yes}} || 3F 80 00 00 || <MoveTo <span style="color:#000099;">z</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''PositionZ''' from the animated [[RCOXML Objects|object]]
|-
|-
| 0x44 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideX''' || {{no}} || {{yes}} || 00 00 00 00 || <syntaxhighlight lang="xml" inline><MoveTo positionOverrideX="0x0" /></syntaxhighlight> || rowspan="3" | '''XYZ Position Override''' with values from [[XMB Layouts]]<!--<br>(first 2 bytes = line_number, last 2 bytes = unknown)-->
| 0x44 || 0x04 || int ? || {{cellcolors|#DD6666}} '''unknownInt5''' || {{no}} || {{yes}} || 00 00 00 00 || <MoveTo <span style="color:#000099;">unknownInt5</span><span style="color:#990000;">="0"</span> /> ||
|-
|-
| 0x48 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideY''' || {{no}} || {{yes}} || 00 00 00 00 || <syntaxhighlight lang="xml" inline><MoveTo positionOverrideY="0x0" /></syntaxhighlight>
| 0x48 || 0x04 || int ? || {{cellcolors|#DD6666}} '''unknownInt6''' || {{no}} || {{yes}} || 00 00 00 00 || <MoveTo <span style="color:#000099;">unknownInt6</span><span style="color:#990000;">="0"</span> /> ||
|-
|-
| 0x4C || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideZ''' || {{no}} || {{yes}} || 00 00 00 00 || <syntaxhighlight lang="xml" inline><MoveTo positionOverrideZ="0x0" /></syntaxhighlight>
| 0x4C || 0x04 || unk ? || {{cellcolors|#DD6666}} '''unknown7''' || {{no}} || {{yes}} || 00 00 00 00 || <MoveTo <span style="color:#000099;">unknown7</span><span style="color:#990000;">="0"</span> /> ||
|}
|}


==(0x0903) Recolour==
*Speculation
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': Yes<br />'''Specific attributes''': Yes}}
**The unknowns either updates '''SizeX/Y/Z''', or are [[XMB Layouts]] overrides ?
{{Boxcode|code=<syntaxhighlight lang="xml"><Recolour object="object:label" time="1000" accelMode="0x3" colorScaleR="1" colorScaleG="1" colorScaleB="1" colorScaleA="1" /></syntaxhighlight>}}


====(0x09 0x03) Recolour====
{| class="wikitable" style="font-size:small;"
{| class="wikitable" style="font-size:small;"
|+RCO TOC entry_type 0x09030000 (Recolour)
|+RCO TOC entry_type 0x09030000 (Recolour)
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
! Offset !! Length !! Data type !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
|-
|-
| {{RCO TOC entry common area|09 03|FF FF FF FF|Recolour|00 00 00 28|00 00 00 00|unnamed}}
| {{RCO TOC entry common area|09 03 00 00|FF FF FF FF|00 00 00 48|<Recolour />}}
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
Line 127: Line 101:
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
|-
|-
| 0x38 || 0x04 || float || '''colorScaleR''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><Recolour colorScaleR="1" /></syntaxhighlight> || updates the value of attribute '''colorScaleR''' from the animated [[RCOXML Objects|object]]
| 0x38 || 0x04 || float || '''red''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Recolour <span style="color:#000099;">red</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''ColorScaleR''' from the animated [[RCOXML Objects|object]]
|-
|-
| 0x3C || 0x04 || float || '''colorScaleG''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><Recolour colorScaleG="1" /></syntaxhighlight> || updates the value of attribute '''colorScaleG''' from the animated [[RCOXML Objects|object]]
| 0x3C || 0x04 || float || '''green''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Recolour <span style="color:#000099;">green</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''ColorScaleG''' from the animated [[RCOXML Objects|object]]
|-
|-
| 0x40 || 0x04 || float || '''colorScaleB''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><Recolour colorScaleB="1" /></syntaxhighlight> || updates the value of attribute '''colorScaleB''' from the animated [[RCOXML Objects|object]]
| 0x40 || 0x04 || float || '''blue''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Recolour <span style="color:#000099;">blue</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''ColorScaleB''' from the animated [[RCOXML Objects|object]]
|-
|-
| 0x44 || 0x04 || float || '''colorScaleA''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><Recolour colorScaleA="1" /></syntaxhighlight> || updates the value of attribute '''colorScaleA''' from the animated [[RCOXML Objects|object]]
| 0x44 || 0x04 || float || '''alpha''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Recolour <span style="color:#000099;">alpha</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''ColorScaleA''' from the animated [[RCOXML Objects|object]]
|}
|}


==(0x0904) Rotate==
====(0x09 0x04) Rotate====
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': Yes<br />'''Specific attributes''': Yes}}
{{Boxcode|code=<syntaxhighlight lang="xml"><Rotate object="object:label" time="1000" accelMode="0x3" radiansX="1" radiansY="1" radiansZ="1" /></syntaxhighlight>}}
 
{| class="wikitable" style="font-size:small;"
{| class="wikitable" style="font-size:small;"
|+RCO TOC entry_type 0x09040000 (Rotate)
|+RCO TOC entry_type 0x09040000 (Rotate)
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
! Offset !! Length !! Data type !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
|-
|-
| {{RCO TOC entry common area|09 04|FF FF FF FF|Rotate|00 00 00 28|00 00 00 00|unnamed}}
| {{RCO TOC entry common area|09 04 00 00|FF FF FF FF|00 00 00 48|<Rotate />}}
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
Line 154: Line 125:
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
|-
|-
| 0x38 || 0x04 || float || '''radiansX''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><Rotate radiansX="1" /></syntaxhighlight> ||  
| 0x38 || 0x04 || float || '''x''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Rotate <span style="color:#000099;">x</span><span style="color:#990000;">="1"</span> /> ||  
|-
|-
| 0x3C || 0x04 || float || '''radiansY''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><Rotate radiansY="1" /></syntaxhighlight> ||  
| 0x3C || 0x04 || float || '''y''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Rotate <span style="color:#000099;">y</span><span style="color:#990000;">="1"</span> /> ||  
|-
|-
| 0x40 || 0x04 || float || '''radiansZ''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><Rotate radiansZ="1" /></syntaxhighlight> ||  
| 0x40 || 0x04 || float || '''z''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Rotate <span style="color:#000099;">z</span><span style="color:#990000;">="1"</span> /> ||  
|}
|}


==(0x0905) Resize==
====(0x09 0x05) Resize====
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': Yes<br />'''Specific attributes''': Yes}}
{{Boxcode|code=<syntaxhighlight lang="xml"><Resize object="object:label" time="1000" accelMode="0x3" sizeScaleX="1" sizeScaleY="1" sizeScaleZ="1" /></syntaxhighlight>}}
 
{| class="wikitable" style="font-size:small;"
{| class="wikitable" style="font-size:small;"
|+RCO TOC entry_type 0x09050000 (Resize)
|+RCO TOC entry_type 0x09050000 (Resize)
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
! Offset !! Length !! Data type !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
|-
|-
| {{RCO TOC entry common area|09 05|FF FF FF FF|Resize|00 00 00 28|00 00 00 00|unnamed}}
| {{RCO TOC entry common area|09 05 00 00|FF FF FF FF|00 00 00 48|<Resize />}}
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
Line 179: Line 147:
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
|-
|-
| 0x38 || 0x04 || float || '''sizeScaleX''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><Resize sizeScaleX="1" /></syntaxhighlight> || updates the value of attribute '''sizeScaleX''' from the animated [[RCOXML Objects|object]]
| 0x38 || 0x04 || float || '''width''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Resize <span style="color:#000099;">width</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''SizeScaleX''' from the animated [[RCOXML Objects|object]]
|-
|-
| 0x3C || 0x04 || float || '''sizeScaleY''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><Resize sizeScaleY="1" /></syntaxhighlight> || updates the value of attribute '''sizeScaleY''' from the animated [[RCOXML Objects|object]]
| 0x3C || 0x04 || float || '''height''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Resize <span style="color:#000099;">height</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''SizeScaleY''' from the animated [[RCOXML Objects|object]]
|-
|-
| 0x40 || 0x04 || float || '''sizeScaleZ''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><Resize sizeScaleZ="1" /></syntaxhighlight> || updates the value of attribute '''sizeScaleZ''' from the animated [[RCOXML Objects|object]]
| 0x40 || 0x04 || float || '''depth''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Resize <span style="color:#000099;">depth</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''SizeScaleZ''' from the animated [[RCOXML Objects|object]]
|}
|}


==(0x0906) Fade==
====(0x09 0x06) Fade====
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': Yes<br />'''Specific attributes''': Yes}}
{{Boxcode|code=<syntaxhighlight lang="xml"><Fade object="object:label" time="1000" accelMode="0x3" colorScaleA="1" /></syntaxhighlight>}}
 
{| class="wikitable" style="font-size:small;"
{| class="wikitable" style="font-size:small;"
|+RCO TOC entry_type 0x09060000 (Fade)
|+RCO TOC entry_type 0x09060000 (Fade)
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
! Offset !! Length !! Data type !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
|-
|-
| {{RCO TOC entry common area|09 06|FF FF FF FF|Fade|00 00 00 28|00 00 00 00|unnamed}}
| {{RCO TOC entry common area|09 06 00 00|FF FF FF FF|00 00 00 48|<Fade />}}
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
Line 204: Line 169:
| colspan="9" {{cellcolors|lightgrey}}
| colspan="9" {{cellcolors|lightgrey}}
|-
|-
| 0x38 || 0x04 || float || '''colorScaleA''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><Fade colorScaleA="1" /></syntaxhighlight> || updates the value of attribute '''colorScaleA''' from the animated [[RCOXML Objects|object]]
| 0x38 || 0x04 || float || '''transparency''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Fade <span style="color:#000099;">transparency</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''ColorScaleA''' from the animated [[RCOXML Objects|object]]
|}
|}


==(0x0907) Delay==
====(0x09 0x07) Delay====
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': No<br />'''Specific attributes''': Yes}}
{| class="wikitable"
{{Boxcode|code=<syntaxhighlight lang="xml"><Delay time="1000" /></syntaxhighlight>}}
 
{| class="wikitable" style="font-size:small;"
|+RCO TOC entry_type 0x09070000 (Delay)
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
|-
| colspan="9" {{cellcolors|lightgrey}}
|-
|-
| {{RCO TOC entry common area|09 07|FF FF FF FF|Delay|00 00 00 28|00 00 00 00|unnamed}}
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples
|-
|-
| 0x28 || 0x04 || float || '''time''' || {{yes}} || {{yes}} || 44 7A 00 00 || <syntaxhighlight lang="xml" inline><Delay time="1000" /></syntaxhighlight> ||  
| time || float || {{yes}} || {{yes}} || ||  
|}
|}


==(0x0908) FireEvent==
====(0x09 0x08) FireEvent====
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': No<br />'''Specific attributes''': Yes}}
{{Boxcode|code=<syntaxhighlight lang="xml"><FireEvent event="event:native:/runFuctionX" /></syntaxhighlight>}}
 
Triggers (or "fires") an event, there are different types of events (see [[RCOXML Coding]]). The most used inside animations are "native events" and "animation events" itself
Triggers (or "fires") an event, there are different types of events (see [[RCOXML Coding]]). The most used inside animations are "native events" and "animation events" itself


By triggering an animation event from inside an animation... both animations are played consecutivelly. Also is posible to reload the animation by triggering itself to create an infinite animation loop, see the examples in [[RCOXML ofw animations]]
By triggering an animation event from inside an animation... both animations are played consecutivelly. Also is posible to reload the animation by triggering itself to create an infinite animation loop


{| class="wikitable" style="font-size:small;"
{| class="wikitable"
|+RCO TOC entry_type 0x09080000 (FireEvent)
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
| {{RCO TOC entry common area|09 08|FF FF FF FF|FireEvent|00 00 00 28|00 00 00 00|unnamed}}
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| event || ref || {{yes}} || {{yes}} || ||  
|-
| rowspan="2" | 0x28 || rowspan="2" | 0x08 || rowspan="2" | ref || rowspan="2" | '''event''' || rowspan="2" {{yes}} || rowspan="2" {{yes}} || 04 00 / <abbr title="Padding, always 0x00 0x00">00 00</abbr> / 12 34 56 78 || <syntaxhighlight lang="xml" inline><FireEvent event="event:native:/runFuctionX" /></syntaxhighlight><br><syntaxhighlight lang="xml" inline><FireEvent event="event:script:/main/runFuctionX" /></syntaxhighlight> || Triggers an '''event''' ([[Template:RCO TOC reference types|ref_type]][2], padding[2], [[Resource_Container_(RCO)|event_string_table_offset]][4])
|-
| 04 08 / <abbr title="Padding, always 0x00 0x00">00 00</abbr> / 12 34 56 78 || <syntaxhighlight lang="xml" inline><FireEvent event="anim:label" /></syntaxhighlight> || Triggers a '''animation''' ([[Template:RCO TOC reference types|ref_type]][2], padding[2], [[Resource_Container_(RCO)|event_string_table_offset]][4])
|}
|}


==(0x0909) Lock==
====(0x09 0x09) Lock====
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': No<br />'''Specific attributes''': Yes}}
{{Boxcode|code=<syntaxhighlight lang="xml"><Lock unknownInt0="0xffffffff" /></syntaxhighlight>}}
 
Disables [[XMB]]. Note in [[Talk:Custom_render_plugin]] how '''anim_coldboot''', '''anim_coldboot2''', '''anim_gameboot''', and '''anim_otherboot''' animations starts by locking the XMB to dont interfere
Disables [[XMB]]. Note in [[Talk:Custom_render_plugin]] how '''anim_coldboot''', '''anim_coldboot2''', '''anim_gameboot''', and '''anim_otherboot''' animations starts by locking the XMB to dont interfere


*In latest firmwares (where is used coldboot.raf animation) if XMB is not locked + having a dynamic theme applyed the PS3 crashes. Is because inside dynamic themes the background is a .raf animation. Is not posible to play 2 .raf animations together overlapped (from coldboot.raf and from inside a dynamic theme)
*In latest firmwares (where is used coldboot.raf animation) if XMB is not locked + having a dynamic theme applyed the PS3 crashes. Is because inside dynamic themes the background is a .raf animation. Is not posible to play 2 .raf animations together overlapped (from coldboot.raf and from inside a dynamic theme)


{| class="wikitable" style="font-size:small;"
{| class="wikitable"
|+RCO TOC entry_type 0x09090000 (Lock)
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
|-
| colspan="9" {{cellcolors|lightgrey}}
|-
|-
| {{RCO TOC entry common area|09 09|FF FF FF FF|Lock|00 00 00 28|00 00 00 00|unnamed}}
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples
|-
|-{{cellcolors|#DD6666}}
| 0x28 || 0x04 || int || {{cellcolors|#ff9999}} '''unknownInt0''' || {{yes}} || {{yes}} || FF FF FF FF || <syntaxhighlight lang="xml" inline><Lock unknownInt0="0xffffffff" /></syntaxhighlight> ||  
| unknownInt0 || int || {{yes}} || {{yes}} || ||  
|}
|}


==(0x090A) Unlock==
====(0x09 0x0A) Unlock====
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': No<br />'''Specific attributes''': Yes}}
{{Boxcode|code=<syntaxhighlight lang="xml"><Unlock unknownInt0="0xffffffff" /></syntaxhighlight>}}
 
Enables [[XMB]]. Note in [[Talk:Custom_render_plugin]] how '''anim_gameboot''', and '''anim_otherboot''' animations doesnt unlocks XMB at the ending because when the animation is completed a game/app boots (doesnt returns to XMB)
Enables [[XMB]]. Note in [[Talk:Custom_render_plugin]] how '''anim_gameboot''', and '''anim_otherboot''' animations doesnt unlocks XMB at the ending because when the animation is completed a game/app boots (doesnt returns to XMB)


{| class="wikitable" style="font-size:small;"
{| class="wikitable"
|+RCO TOC entry_type 0x090A0000 (Unlock)
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
|-
| colspan="9" {{cellcolors|lightgrey}}
|-
| {{RCO TOC entry common area|09 0A|FF FF FF FF|Unlock|00 00 00 28|00 00 00 00|unnamed}}
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
| 0x28 || 0x04 || int || {{cellcolors|#ff9999}} '''unknownInt0''' || {{yes}} || {{yes}} || FF FF FF FF || <syntaxhighlight lang="xml" inline><Unlock unknownInt0="0xffffffff" /></syntaxhighlight> ||  
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples
|-{{cellcolors|#DD6666}}
| unknownInt0 || int || {{yes}} || {{yes}} || ||  
|}
|}


==(0x090B) SlideOut==
====(0x09 0x0B) SlideOut====
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': Yes<br />'''Specific attributes''': Yes}}
{| class="wikitable"
{{Boxcode|code=<syntaxhighlight lang="xml"><SlideOut object="object:label" time="1000" accelMode="0x3" speedX="1" speedY="1" compressX="1" compressY="1" /></syntaxhighlight>}}
 
{| class="wikitable" style="font-size:small;"
|+RCO TOC entry_type 0x090B0000 (SlideOut)
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
| {{RCO TOC entry common area|09 0B|FF FF FF FF|SlideOut|00 00 00 28|00 00 00 00|unnamed}}
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| object || ref || {{yes}} || {{yes}} || {{icon content ps3|50px}} object:ps3logo || links the animation to an [[RCOXML Objects|object]]
|-
|-
| {{RCO TOC Animations standard attributes|SlideOut}}
| duration || float || {{yes}} || {{yes}} || 1000 ||
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| accelMode || int || {{yes}} || {{yes}} || 0x0 ||
|-
|-
| 0x38 || 0x04 || float || '''speedX''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><SlideOut speedX="1" /></syntaxhighlight> ||  
| xspeed || float || {{yes}} || {{yes}} || ||  
|-
|-
| 0x3C || 0x04 || float || '''speedY''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><SlideOut speedY="1" /></syntaxhighlight> ||  
| yspeed || float || {{yes}} || {{yes}} || ||  
|-
|-
| 0x40 || 0x04 || float || '''compressX''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><SlideOut compressX="1" /></syntaxhighlight> ||  
| xcompress || float || {{yes}} || {{yes}} || ||  
|-
|-
| 0x44 || 0x04 || float || '''compressY''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><SlideOut compressY="1" /></syntaxhighlight> ||  
| ycompress || float || {{yes}} || {{yes}} || ||  
|}
|}


Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)