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 1: Line 1:
=Description=
=Description=
'''RCOXML animations''' are defined in the XML code embedded inside .rco files. See [[Resource Container (RCO)]] and [[RCOXML Coding]]
'''RCOXML animations''' are defined in the XML code embedded inside .rco files. See [[Resource Container (RCO)]] and [[RCOXML Structure]]


*External links
*External links
**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 delays ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=262236#pid262236
**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}}


=General concepts=
=General concepts=
==Delays and execution timeline==
RCOXML animations delays ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=262236#pid262236
==entry types and reference types==
{{RCO TOC entry types}}
{{RCO TOC reference types}}
==Standard attributes used by animations==
{| class="wikitable" style="font-size:small;"
|+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
|-
| {{RCO TOC Animations standard attributes}}
|-
|}
*'''accelMode'''. Used to accelerate or decelerate an animation, used by most of the animations, posible values are:
**0x0 - no accelaration
**0x1 - starts fast, ends slow
**0x2 -
**0x3 -
**0x4 - starts slow, ends fast


==Measure units and conversions==
==Measure units and conversions==
{{Measure units used in RCOXML code}}
{{Measure units used in RCOXML code}}
==Event types==
{{Event types used in RCOXML code}}


=Animations=
=Animations=
Example
==MoveTo==
{{Boxcode|code=<syntaxhighlight lang="xml">
{| class="wikitable"
<RcoFile>
<MainTree name="maintree_label">
<AnimTree>
<Anim name="animation_1_label">
<Fade object="object:animated_object_label" time="100" accelMode="0x0" colorScaleA="1" />
<FireEvent event="event:native:/runFuctionX" />
</Anim>
</AnimTree>
</MainTree>
</RcoFile>
</syntaxhighlight>}}
 
==(0x0900) AnimTree==
{{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"><AnimTree></syntaxhighlight>}}
 
{| class="wikitable" style="font-size:small;"
|+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}}
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
| {{RCO TOC entry common area|09 00|FF FF FF FF|AnimTree|00 00 00 00|00 00 00 28|unnamed}}
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples
|}
 
==(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}}
| object || ref || {{yes}} || {{yes}} || {{icon content ps3|50px}} object:ps3logo || links the animation to an [[RCOXML Objects|object]]
|-
|-
| {{RCO TOC entry common area|09 01|00 00 00 00|Anim|00 00 00 00|00 00 00 28|}}
| duration || float || {{yes}} || {{yes}} || 0 ||  
|}
 
==(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>}}
 
{| class="wikitable" style="font-size:small;"
|+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
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| accelMode || int || {{yes}} || {{yes}} || 0x0 ||
|-
|-
| {{RCO TOC entry common area|09 02|FF FF FF FF|MoveTo|00 00 00 28|00 00 00 00|unnamed}}
| x || float || {{yes}} || {{yes}} || || updates the value of attribute '''PositionX''' from the animated [[RCOXML Objects|object]]
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
| y || float || {{yes}} || {{yes}} ||  || updates the value of attribute '''PositionY''' from the animated [[RCOXML Objects|object]]
|-
|-
| {{RCO TOC Animations standard attributes|MoveTo}}
| z || float || {{yes}} || {{yes}} || || updates the value of attribute '''PositionZ''' from the animated [[RCOXML Objects|object]]
|-
|-{{cellcolors|#DD6666}}
| colspan="9" {{cellcolors|lightgrey}}
| unknownInt5 || int || {{no}} || {{yes}} || || either updates '''SizeX''', or is an override ?
|-
|-{{cellcolors|#DD6666}}
| 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]]
| unknownInt6 || int || {{no}} || {{yes}} || || either updates '''SizeY''', or is an override ?
|-
|-{{cellcolors|#DD6666}}
| 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]]
| unknown7 || unk || {{no}} || {{yes}} || || either updates '''SizeZ''', or is an override ?
|-
| 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]]
|-
| 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)-->
|-
| 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>
|-
| 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>
|}
|}


==(0x0903) Recolour==
==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}} || 0 ||
|-
|-
| 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==
==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}} || 0 ||
|-
|-
| 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==
==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}} || 0 ||
|-
|-
| 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 '''SizeX''' 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 '''SizeY''' 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 '''SizeZ''' from the animated [[RCOXML Objects|object]]
|}
|}


==(0x0906) Fade==
==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}} || 0 ||
|-
|-
| 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==
==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==
==FireEvent==
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': No<br />'''Specific attributes''': Yes}}
Triggers (or "fires") an event, there are different types of events (see [[RCOXML Structure]]). The most used inside animations are "native events" and "animation events" itself
{{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
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


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]]
{| class="wikitable"
 
{| class="wikitable" style="font-size:small;"
|+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}}
|-
| {{RCO TOC entry common area|09 08|FF FF FF FF|FireEvent|00 00 00 28|00 00 00 00|unnamed}}
|-
|-
| colspan="9" {{cellcolors|lightgrey}}
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
| 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])
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples
|-
|-
| 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])
| event || ref || {{yes}} || {{yes}} || ||  
|}
|}


==(0x0909) Lock==
==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="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><Lock unknownInt0="0xffffffff" /></syntaxhighlight> ||  
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples
|-{{cellcolors|#DD6666}}
| unknownInt0 || int || {{yes}} || {{yes}} || ||  
|}
|}


==(0x090A) Unlock==
==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==
==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}} || 0 ||
|-
|-
| 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}} || ||  
|}
|}


[http://ctfs.wiki.fc2.com/wiki/SlideOut%E3%81%AE%E4%BD%BF%E7%94%A8%E4%BE%8B example]
[http://ctfs.wiki.fc2.com/wiki/SlideOut%E3%81%AE%E4%BD%BF%E7%94%A8%E4%BE%8B example]


{{File Formats}}<noinclude>[[Category:Main]]</noinclude>
=Animation examples=
==Gameboot Animation==
In [[gamelib_plugin]].rco
{{Boxcode|content=<syntaxhighlight lang="xml">
<Animation name="anim_gameboot">
<Lock unknownInt0="0xffffffff" />
<Fade object="object:ps3logo" duration="0" accelMode="0x0" transparency="0" />
<Resize object="object:ps3logo" duration="0" accelMode="0x0" width="0.938" height="0.938" depth="1" />
<Delay time="500" />
<Fade object="object:ps3logo" duration="863" accelMode="0x3" transparency="1" />
<Resize object="object:ps3logo" duration="863" accelMode="0x4" width="1" height="1" depth="1" />
<Delay time="1100" />
<Fade object="object:ps3logo" duration="174" accelMode="0x1" transparency="0" />
<Resize object="object:ps3logo" duration="174" accelMode="0x1" width="1.284" height="1.284" depth="1" />
<Delay time="1000" />
<Delay time="200" />
<FireEvent event="event:native:/GameLibApp_OnBootAnimationFinished" />
</Animation>
</syntaxhighlight>}}
 
In [[custom_render_plugin]].rco
{{Boxcode|content=<syntaxhighlight lang="xml">
<Animation name="anim_gameboot">
<Lock unknownInt0="0xffffffff" />
<Fade object="object:ps3logo" duration="0" accelMode="0x0" transparency="0" />
<Resize object="object:ps3logo" duration="0" accelMode="0x0" width="0.938" height="0.938" depth="1" />
<FireEvent event="event:native:/anim_gameboot_BG2" />
<Delay time="500" />
<Fade object="object:ps3logo" duration="863" accelMode="0x3" transparency="1" />
<Resize object="object:ps3logo" duration="863" accelMode="0x4" width="1" height="1" depth="1" />
<FireEvent event="event:native:/anim_gameboot_BG3" />
<Delay time="1100" />
<Fade object="object:ps3logo" duration="174" accelMode="0x1" transparency="0" />
<Resize object="object:ps3logo" duration="174" accelMode="0x1" width="1.284" height="1.284" depth="1" />
<Delay time="1000" />
<Delay time="200" />
<FireEvent event="event:native:/anim_gameboot_Finished" />
</Animation>
</syntaxhighlight>}}
{{#ev:youtube|hNBA_ab_NqA}}
 
{{File Formats}}
<noinclude>[[Category:Main]]</noinclude>
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)