Editing RCOXML ofw 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:
=PS3=
==Gameboot Animation==
 
In [[gamelib_plugin]].rco
==custom_render_plugin.rco==
{{Boxcode|content=<syntaxhighlight lang="xml">
See the available native events in: [[custom_render_plugin]] page
 
===anim_otherboot===
====Firmware 1.00 up to 2.80====
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_otherboot">
<Lock unknownInt0="0xffffffff" />
<Fade object="object:ps3logo" duration="0" accelMode="0x0" transparency="0" />
<FireEvent event="event:native:/anim_otherboot_BG3" />
<Delay time="1000" />
<FireEvent event="event:native:/anim_otherboot_Finished" />
</Animation>
</syntaxhighlight>}}
 
{| class="wikitable" style="text-align:center; border: 4px dashed black;"
|+anim_otherboot timeline (1.00~2.80)
| colspan="10" {{cellcolors|#000000}}
|-{{cellcolors|#7777ff|#ffffff}}
| {{cellcolors|#000000|#ffffff}} '''Total time''' || align="right" | '''0.00"''' {{arrowr}} || align="right" | '''1.00"''' {{arrowr}} || align="right" | '''1.00"''' {{arrowr}} || rowspan="7" {{cellcolors|#000000}}
|-
| rowspan="4" {{cellcolors|#000000|#ffffff}} '''Parallel<br>execution<br>threads'''
| {{cellcolors|#aaffaa}} '''Lock'''<br>0xffffffff || colspan="2" {{cellcolors|lightgrey}}
|-
| {{cellcolors|#aaffaa}} '''Fade'''<br>object:ps3logo || colspan="2" {{cellcolors|lightgrey}}
|-
| colspan="2" {{cellcolors|#aaffaa}} '''FireEvent'''<br>anim_otherboot_BG3 || {{cellcolors|lightgrey}}
|-
| colspan="2" {{cellcolors|#ff7777}} '''Delay'''<br>1000 || {{cellcolors|#aaffaa}} '''FireEvent'''<br>anim_otherboot_Finished
|-{{cellcolors|#7777ff|#ffffff}}
| {{cellcolors|#000000|#ffffff}} '''Time frames''' || {{arrowl}} '''0.00"''' {{arrowr}} || {{arrowl}} '''1.00"''' {{arrowr}} || {{arrowl}} '''0.00"''' {{arrowr}}
|-
| colspan="10" {{cellcolors|#000000}}
|}
This animation is a basic "fade-in" of 1 second length, at the first instant of the animation (time=0) the 4 threads are executed in parallel, from top to botton it locks the XMB, then initializes the transparency of the image, and triggers the event anim_otherboot_BG3 from custom_render_plugin.sprx (at this point the animation is performed by the code inside the .sprx). Also at the same time (time=0) it starts the timer for the delay of 1 second
 
When the delay of 1 second ends, it sends the event anim_otherboot_Finished to custom_render_plugin.sprx (is a terminator controll signal to stop the previous event anim_otherboot_BG3 running in the .sprx)
 
The event anim_otherboot_BG3 is the responsible of the "flying sparks" behind the "playstation" logo but the details of how it works are unknown (hardcoded inside the .sprx)
 
====Firmware 3.00 up to 4.81====
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_otherboot">
<Lock unknownInt0="0xffffffff" />
<Fade object="object:ps3logo" duration="0" accelMode="0x0" transparency="0" />
<FireEvent event="event:native:/anim_otherboot_BG3" />
<Delay time="200" />
<FireEvent event="event:native:/anim_otherboot_BG4" />
<Delay time="300" />
<FireEvent event="event:native:/anim_otherboot_Finished" />
</Animation>
</syntaxhighlight>}}
 
{| class="wikitable" style="text-align:center; border: 4px dashed black;"
|+anim_otherboot timeline (3.00~4.81)
| colspan="10" {{cellcolors|#000000}}
|-{{cellcolors|#7777ff|#ffffff}}
| {{cellcolors|#000000|#ffffff}} '''Total time''' || align="right" | '''0.00"''' {{arrowr}} || align="right" | '''0.20"''' {{arrowr}} || align="right" | '''0.30"''' {{arrowr}} || align="right" | '''0.30"''' {{arrowr}} || rowspan="7" {{cellcolors|#000000}}
|-
| rowspan="5" {{cellcolors|#000000|#ffffff}} '''Parallel<br>execution<br>threads'''
| {{cellcolors|#aaffaa}} '''Lock'''<br>0xffffffff || colspan="3" {{cellcolors|lightgrey}}
|-
| {{cellcolors|#aaffaa}} '''Fade'''<br>object:ps3logo || colspan="3" {{cellcolors|lightgrey}}
|-
| colspan="3" {{cellcolors|#aaffaa}} '''FireEvent'''<br>anim_otherboot_BG3 || {{cellcolors|lightgrey}}
|-
| colspan="2" {{cellcolors|#ff7777}} '''Delay'''<br>200 || {{cellcolors|#aaffaa}} '''FireEvent'''<br>anim_otherboot_BG4 || {{cellcolors|lightgrey}}
|-
| colspan="3" {{cellcolors|#ff7777}} '''Delay'''<br>300 || {{cellcolors|#aaffaa}} '''FireEvent'''<br>anim_otherboot_Finished
|-{{cellcolors|#7777ff|#ffffff}}
| {{cellcolors|#000000|#ffffff}} '''Time frames''' || {{arrowl}} '''0.00"''' {{arrowr}} || {{arrowl}} '''0.20"''' {{arrowr}} || {{arrowl}} '''0.10"''' {{arrowr}} || {{arrowl}} '''0.00"''' {{arrowr}}
|-
| colspan="10" {{cellcolors|#000000}}
|}
The purpose of this modification was to short the whole duration of the animation but instead of simply reducing the delay from the previous version they added another event with its own delay
 
The purpose of anim_otherboot_BG4 is unknown, but it starts only 200 miliseconds after the anim_otherboot_BG3 (the sparks animation) so it seems is hiding it at least partially because the sparks are still visibles in lates firmwares, is working as an small fade-out because the animation was not supposed to stop at 200 miliseconds so they refused to "chop" it rudelly, instead they added this event that can be considered a "visual patch" to soft the transition to the terminator event that comes next
 
The delay of only 300 miliseconds before the event anim_otherboot_Finished is what is really shorting the whole animation length, after the 300 miliseconds the event anim_otherboot_Finished is sent and the animation ends
 
In short... the animation length has been reduced from the 1 second originally to 300 miliseconds (less than a third of a second) and an effect has been added to stop it smoothlly
 
===anim_gameboot===
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_gameboot">
<Animation name="anim_gameboot">
<Lock unknownInt0="0xffffffff" />
<Lock unknownInt0="0xffffffff" />
<Fade object="object:ps3logo" duration="0" accelMode="0x0" transparency="0" />
<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" />
<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" />
<Delay time="500" />
<Fade object="object:ps3logo" duration="863" accelMode="0x3" transparency="1" />
<Fade object="object:ps3logo" duration="863" accelMode="0x3" transparency="1" />
<Resize object="object:ps3logo" duration="863" accelMode="0x4" width="1" height="1" depth="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" />
<Delay time="1100" />
<Fade object="object:ps3logo" duration="174" accelMode="0x1" transparency="0" />
<Fade object="object:ps3logo" duration="174" accelMode="0x1" transparency="0" />
Line 99: Line 14:
<Delay time="1000" />
<Delay time="1000" />
<Delay time="200" />
<Delay time="200" />
<FireEvent event="event:native:/anim_gameboot_Finished" />
<FireEvent event="event:native:/GameLibApp_OnBootAnimationFinished" />
</Animation>
</Animation>
</syntaxhighlight>}}
</syntaxhighlight>}}
{{#ev:youtube|hNBA_ab_NqA}}


===anim_coldboot===
In [[custom_render_plugin]].rco
{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
<Lock unknownInt0="0xffffffff" />
<Fade object="object:scelogo" duration="0" accelMode="0x0" transparency="0" />
<FireEvent event="event:native:/anim_coldboot_BootBG1" />
<Delay time="0" />
<FireEvent event="event:native:/anim_coldboot_NormalBG" />
<Delay time="1500" />
<Fade object="object:scelogo" duration="1000" accelMode="0x3" transparency="0.8" />
<Delay time="2500" />
<Fade object="object:scelogo" duration="1000" accelMode="0x3" transparency="0" />
<Delay time="1000" />
<Delay time="500" />
<FireEvent event="event:native:/anim_coldboot_ShowGUI" />
<Unlock unknownInt0="0xffffffff" />
<Delay time="4500" />
<FireEvent event="event:native:/anim_coldboot_Finished" />
</Animation>
</syntaxhighlight>}}
 
===anim_coldboot2===
====Firmware 2.70 up to 2.80====
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_coldboot2">
<Lock unknownInt0="0xffffffff" />
<Fade object="object:scelogo" duration="0" accelMode="0x0" transparency="0" />
<FireEvent event="event:native:/anim_coldboot_BootBG2" />
<Delay time="5500" />
<FireEvent event="event:native:/anim_coldboot_NormalBG2" />
<FireEvent event="event:native:/anim_coldboot_ShowGUI" />
<Unlock unknownInt0="0xffffffff" />
<Delay time="4500" />
<FireEvent event="event:native:/anim_coldboot_Finished" />
</Animation>
</syntaxhighlight>}}
 
====Firmware 3.00 up to 4.81====
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_coldboot2">
<Lock unknownInt0="0xffffffff" />
<Fade object="object:scelogo" duration="0" accelMode="0x0" transparency="0" />
<FireEvent event="event:native:/anim_coldboot_BootBG2" />
<Delay time="4000" />
<FireEvent event="event:native:/anim_coldboot_NormalBG2" />
<Delay time="1500" />
<FireEvent event="event:native:/anim_coldboot_ShowGUI" />
<Unlock unknownInt0="0xffffffff" />
<Delay time="4500" />
<FireEvent event="event:native:/anim_coldboot_Finished" />
</Animation>
</syntaxhighlight>}}
 
==gamelib_plugin.rco==
See [[gamelib_plugin]]
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_gameboot">
<Animation name="anim_gameboot">
<Lock unknownInt0="0xffffffff" />
<Lock unknownInt0="0xffffffff" />
<Fade object="object:ps3logo" duration="0" accelMode="0x0" transparency="0" />
<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" />
<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" />
<Delay time="500" />
<Fade object="object:ps3logo" duration="863" accelMode="0x3" transparency="1" />
<Fade object="object:ps3logo" duration="863" accelMode="0x3" transparency="1" />
<Resize object="object:ps3logo" duration="863" accelMode="0x4" width="1" height="1" depth="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" />
<Delay time="1100" />
<Fade object="object:ps3logo" duration="174" accelMode="0x1" transparency="0" />
<Fade object="object:ps3logo" duration="174" accelMode="0x1" transparency="0" />
Line 172: Line 34:
<Delay time="1000" />
<Delay time="1000" />
<Delay time="200" />
<Delay time="200" />
<FireEvent event="event:native:/GameLibApp_OnBootAnimationFinished" />
<FireEvent event="event:native:/anim_gameboot_Finished" />
</Animation>
</Animation>
</syntaxhighlight>}}
</syntaxhighlight>}}
{{#ev:youtube|hNBA_ab_NqA}}


==[[bdp_plugin]].rco==
{{Boxcode|code=<syntaxhighlight lang="xml">
<AnimTree>
<Animation name="bdp_anim_cp_focus_in">
<Resize object="nothing" duration="200" accelMode="0x0" width="1.2" height="1.2" depth="1" />
</Animation>
<Animation name="bdp_anim_cp_focus_out">
<Resize object="nothing" duration="200" accelMode="0x0" width="1" height="1" depth="1" />
</Animation>
</AnimTree>
</syntaxhighlight>}}
==[[friendim_plugin]].rco==
{{Boxcode|code=<syntaxhighlight lang="xml">
<AnimTree>
<Animation name="friendim_pause">
<FireEvent event="event:native:/OnPause" />
</Animation>
<Animation name="friendim_exit">
<Lock unknownInt0="0xffffffff" />
<Delay time="300" />
<FireEvent event="event:native:/OnExit" />
<Unlock unknownInt0="0xffffffff" />
</Animation>
<Animation name="friendim_quick_exit">
<Lock unknownInt0="0xffffffff" />
<FireEvent event="event:native:/OnExit" />
<Unlock unknownInt0="0xffffffff" />
</Animation>
</AnimTree>
</syntaxhighlight>}}
==[[friendim_plugin_game]].rco==
{{Boxcode|code=<syntaxhighlight lang="xml">
<AnimTree>
<Animation name="friendim_pause">
<FireEvent event="event:native:/OnPause" />
</Animation>
<Animation name="friendim_exit">
<Lock unknownInt0="0xffffffff" />
<Delay time="300" />
<FireEvent event="event:native:/OnExit" />
<Unlock unknownInt0="0xffffffff" />
</Animation>
<Animation name="friendim_quick_exit">
<Lock unknownInt0="0xffffffff" />
<FireEvent event="event:native:/OnExit" />
<Unlock unknownInt0="0xffffffff" />
</Animation>
</AnimTree>
</syntaxhighlight>}}
==[[impose_plugin]].rco==
{{Boxcode|code=<syntaxhighlight lang="xml">
<AnimTree>
<Animation name="anim_btnbar_show">
<Recolour object="object:btnbar" duration="0" accelMode="0x0" red="0" green="0" blue="0" alpha="0" />
<Recolour object="object:btnbar" duration="100" accelMode="0x0" red="0" green="0" blue="0" alpha="0.5" />
<Delay time="100" />
</Animation>
<Animation name="anim_btnbar_hide">
<Recolour object="object:btnbar" duration="100" accelMode="0x0" red="0" green="0" blue="0" alpha="0" />
<Delay time="100" />
</Animation>
<Animation name="anim_circle_hide">
<Fade object="object:circle_shadow" duration="100" accelMode="0x0" transparency="0" />
</Animation>
<Animation name="anim_circle_show">
<Fade object="object:circle_shadow" duration="100" accelMode="0x0" transparency="1" />
</Animation>
<Animation name="anim_cross_hide">
<Fade object="object:cross_shadow" duration="100" accelMode="0x0" transparency="0" />
</Animation>
<Animation name="anim_cross_show">
<Fade object="object:cross_shadow" duration="100" accelMode="0x0" transparency="1" />
</Animation>
</AnimTree>
</syntaxhighlight>}}
==[[npsignin_plugin]].rco==
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="npsignin_hide">
<FireEvent event="event:native:/OnLoginPageCancel" />
</Animation>
</syntaxhighlight>}}
==[[premo_plugin]].rco==
{{Boxcode|code=<syntaxhighlight lang="xml">
<AnimTree>
<Animation name="anim_btnbar_show">
<Recolour object="object:btnbar" duration="0" accelMode="0x0" red="0" green="0" blue="0" alpha="0" />
<Recolour object="object:btnbar" duration="100" accelMode="0x0" red="0" green="0" blue="0" alpha="0.5" />
<Delay time="100" />
</Animation>
<Animation name="anim_btnbar_hide">
<Recolour object="object:btnbar" duration="100" accelMode="0x0" red="0" green="0" blue="0" alpha="0" />
</Animation>
<Animation name="anim_btnbar_show_fake16_9">
<Recolour object="object:btnbar_fake16_9" duration="0" accelMode="0x0" red="0" green="0" blue="0" alpha="0" />
<Recolour object="object:btnbar_fake16_9" duration="100" accelMode="0x0" red="0" green="0" blue="0" alpha="0.5" />
<Delay time="100" />
</Animation>
<Animation name="anim_btnbar_hide_fake16_9">
<Recolour object="object:btnbar_fake16_9" duration="100" accelMode="0x0" red="0" green="0" blue="0" alpha="0" />
<Delay time="100" />
</Animation>
<Animation name="anim_circle_hide">
<Fade object="object:circle_shadow" duration="100" accelMode="0x0" transparency="0" />
</Animation>
<Animation name="anim_circle_show">
<Fade object="object:circle_shadow" duration="100" accelMode="0x0" transparency="1" />
</Animation>
<Animation name="anim_cross_hide">
<Fade object="object:cross_shadow" duration="100" accelMode="0x0" transparency="0" />
</Animation>
<Animation name="anim_cross_show">
<Fade object="object:cross_shadow" duration="100" accelMode="0x0" transparency="1" />
</Animation>
<Animation name="anim_circle_hide_fake16_9">
<Fade object="object:circle_shadow_fake16_9" duration="100" accelMode="0x0" transparency="0" />
</Animation>
<Animation name="anim_circle_show_fake16_9">
<Fade object="object:circle_shadow_fake16_9" duration="100" accelMode="0x0" transparency="1" />
</Animation>
<Animation name="anim_cross_hide_fake16_9">
<Fade object="object:cross_shadow_fake16_9" duration="100" accelMode="0x0" transparency="0" />
</Animation>
<Animation name="anim_cross_show_fake16_9">
<Fade object="object:cross_shadow_fake16_9" duration="100" accelMode="0x0" transparency="1" />
</Animation>
</AnimTree>
</syntaxhighlight>}}
==[[sacd_plugin]].rco==
{{Boxcode|code=<syntaxhighlight lang="xml">
<AnimTree>
<Animation name="sacd_anim_cp_focus_in">
<Resize object="nothing" duration="200" accelMode="0x0" width="1.2" height="1.2" depth="1" />
</Animation>
<Animation name="sacd_anim_cp_focus_out">
<Resize object="nothing" duration="200" accelMode="0x0" width="1" height="1" depth="1" />
</Animation>
</AnimTree>
</syntaxhighlight>}}
==[[system_plugin]].rco==
{{Boxcode|code=<syntaxhighlight lang="xml">
<AnimTree>
<Animation name="anim_circle_hide">
<Fade object="object:circle_shadow" duration="100" accelMode="0x0" transparency="0" />
</Animation>
<Animation name="anim_circle_show">
<Fade object="object:circle_shadow" duration="100" accelMode="0x0" transparency="1" />
</Animation>
<Animation name="anim_cross_hide">
<Fade object="object:cross_shadow" duration="100" accelMode="0x0" transparency="0" />
</Animation>
<Animation name="anim_cross_show">
<Fade object="object:cross_shadow" duration="100" accelMode="0x0" transparency="1" />
</Animation>
<Animation name="anim_triangle_hide">
<Fade object="object:triangle_shadow" duration="100" accelMode="0x0" transparency="0" />
</Animation>
<Animation name="anim_triangle_show">
<Fade object="object:triangle_shadow" duration="100" accelMode="0x0" transparency="1" />
</Animation>
<Animation name="anim_rectangle_hide">
<Fade object="object:rectangle_shadow" duration="100" accelMode="0x0" transparency="0" />
</Animation>
<Animation name="anim_rectangle_show">
<Fade object="object:rectangle_shadow" duration="100" accelMode="0x0" transparency="1" />
</Animation>
</AnimTree>
</syntaxhighlight>}}
=PSP=
==system_plugin_fg.rco firmware 1.00==
Example of an animation infinite loop
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_battery_charging">
<Fade object="object:battery" duration="0" accelMode="0x0" transparency="1" />
<Fade object="object:battery_shadow" duration="0" accelMode="0x0" transparency="1" />
<Delay time="600" />
<Fade object="object:battery" duration="0" accelMode="0x0" transparency="0" />
<Fade object="object:battery_shadow" duration="0" accelMode="0x0" transparency="0" />
<Delay time="400" />
<FireEvent event="anim:anim_battery_charging" />
</Animation>
</syntaxhighlight>}}


{{File Formats}}<noinclude>[[Category:Main]]</noinclude>
{{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)