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==
==Reference loaders==
{{RCO TOC entry types}}
{{RCOXML reference loaders}}
{{RCO TOC reference types}}


==Standard attributes used by animations==
==Standard attributes==
{| 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 25:
|}
|}


*'''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 35:
{{Measure units used in RCOXML code}}
{{Measure units used in RCOXML code}}


=Animations=
=RCOXML Animations 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 49:
</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>}}


{| 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==
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': No<br />'''Specific attributes''': No}}
{{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==
===(0x09 0x01) Animation===
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': Yes<br />'''Specific attributes''': Yes}}
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"><MoveTo object="object:label" time="1000" accelMode="0x3" positionX="1" positionY="1" positionZ="1" positionOverrideX="0x0" positionOverrideY="0x0" positionOverrideZ="0x0" /></syntaxhighlight>}}


{| class="wikitable" style="font-size:small;"
====(0x09 0x02) MoveTo====
|+RCO TOC entry_type 0x09020000 (MoveTo)
{| class="wikitable"
! 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 02|FF FF FF FF|MoveTo|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|MoveTo}}
| duration || float || {{yes}} || {{yes}} || 1000 ||
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| accelMode || int || {{yes}} || {{yes}} || 0x0 ||
|-
|-
| 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]]
| x || float || {{yes}} || {{yes}} || || 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]]
| y || float || {{yes}} || {{yes}} || || 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]]
| z || float || {{yes}} || {{yes}} || || updates the value of attribute '''PositionZ''' from the animated [[RCOXML Objects|object]]
|-
|-{{cellcolors|#DD6666}}
| 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)-->
| unknownInt5 || int || {{no}} || {{yes}} || || either updates '''SizeX''', or is an override ?
|-
|-{{cellcolors|#DD6666}}
| 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>
| unknownInt6 || int || {{no}} || {{yes}} || || either updates '''SizeY''', or is an override ?
|-
|-{{cellcolors|#DD6666}}
| 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>
| unknown7 || unk || {{no}} || {{yes}} || || either updates '''SizeZ''', or is an override ?
|}
|}


==(0x0903) Recolour==
====(0x09 0x03) Recolour====
{{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"><Recolour object="object:label" time="1000" accelMode="0x3" colorScaleR="1" colorScaleG="1" colorScaleB="1" colorScaleA="1" /></syntaxhighlight>}}
 
{| class="wikitable" style="font-size:small;"
|+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
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
| {{RCO TOC entry common area|09 03|FF FF FF FF|Recolour|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|Recolour}}
| duration || float || {{yes}} || {{yes}} || 1000 ||
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| accelMode || int || {{yes}} || {{yes}} || 0x0 ||
|-
|-
| 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]]
| red || float || {{yes}} || {{yes}} || || 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]]
| green || float || {{yes}} || {{yes}} || || 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]]
| blue || float || {{yes}} || {{yes}} || || 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]]
| alpha || float || {{yes}} || {{yes}} || || 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}}
{| class="wikitable"
{{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;"
|+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
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
| {{RCO TOC entry common area|09 04|FF FF FF FF|Rotate|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|Rotate}}
| duration || float || {{yes}} || {{yes}} || 1000 ||
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| accelMode || int || {{yes}} || {{yes}} || 0x0 ||
|-
|-
| 0x38 || 0x04 || float || '''radiansX''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><Rotate radiansX="1" /></syntaxhighlight> ||  
| x || float || {{yes}} || {{yes}} || ||  
|-
|-
| 0x3C || 0x04 || float || '''radiansY''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><Rotate radiansY="1" /></syntaxhighlight> ||  
| y || float || {{yes}} || {{yes}} || ||  
|-
|-
| 0x40 || 0x04 || float || '''radiansZ''' || {{yes}} || {{yes}} || 3F 80 00 00 || <syntaxhighlight lang="xml" inline><Rotate radiansZ="1" /></syntaxhighlight> ||  
| z || float || {{yes}} || {{yes}} || ||  
|}
|}


==(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}}
{| class="wikitable"
{{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;"
|+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
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
| {{RCO TOC entry common area|09 05|FF FF FF FF|Resize|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|Resize}}
| duration || float || {{yes}} || {{yes}} || 1000 ||
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| accelMode || int || {{yes}} || {{yes}} || 0x0 ||
|-
|-
| 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]]
| width || float || {{yes}} || {{yes}} || || 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]]
| height  || float || {{yes}} || {{yes}} || || 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]]
| depth || float || {{yes}} || {{yes}} || || 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}}
{| class="wikitable"
{{Boxcode|code=<syntaxhighlight lang="xml"><Fade object="object:label" time="1000" accelMode="0x3" colorScaleA="1" /></syntaxhighlight>}}
 
{| class="wikitable" style="font-size:small;"
|+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
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
| {{RCO TOC entry common area|09 06|FF FF FF FF|Fade|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|Fade}}
| duration || float || {{yes}} || {{yes}} || 1000 ||
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| accelMode || int || {{yes}} || {{yes}} || 0x0 ||
|-
|-
| 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]]
| transparency || float || {{yes}} || {{yes}} || || 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}}
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
| {{RCO TOC entry common area|09 07|FF FF FF FF|Delay|00 00 00 28|00 00 00 00|unnamed}}
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| time || float || {{yes}} || {{yes}} || ||  
|-
| 0x28 || 0x04 || float || '''time''' || {{yes}} || {{yes}} || 44 7A 00 00 || <syntaxhighlight lang="xml" inline><Delay time="1000" /></syntaxhighlight> ||  
|}
|}


==(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}}
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
| {{RCO TOC entry common area|09 09|FF FF FF FF|Lock|00 00 00 28|00 00 00 00|unnamed}}
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples
|-
|-{{cellcolors|#DD6666}}
| colspan="9" {{cellcolors|lightgrey}}
| unknownInt0 || int || {{yes}} || {{yes}} || ||  
|-
| 0x28 || 0x04 || int || {{cellcolors|#ff9999}} '''unknownInt0''' || {{yes}} || {{yes}} || FF FF FF FF || <syntaxhighlight lang="xml" inline><Lock unknownInt0="0xffffffff" /></syntaxhighlight> ||  
|}
|}


==(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}}
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
| {{RCO TOC entry common area|09 0A|FF FF FF FF|Unlock|00 00 00 28|00 00 00 00|unnamed}}
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples
|-
|-{{cellcolors|#DD6666}}
| colspan="9" {{cellcolors|lightgrey}}
| unknownInt0 || int || {{yes}} || {{yes}} || ||  
|-
| 0x28 || 0x04 || int || {{cellcolors|#ff9999}} '''unknownInt0''' || {{yes}} || {{yes}} || FF FF FF FF || <syntaxhighlight lang="xml" inline><Unlock unknownInt0="0xffffffff" /></syntaxhighlight> ||  
|}
|}


==(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)