RCOXML ofw animations: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 105: Line 105:


===anim_coldboot===
===anim_coldboot===
{{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===
===anim_coldboot2===
{{Boxcode|content=<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==
==gamelib_plugin.rco==
Line 128: Line 161:


==[[bdp_plugin]].rco==
==[[bdp_plugin]].rco==
{{Boxcode|content=<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==
==[[friendim_plugin]].rco==
{{Boxcode|content=<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==
==[[friendim_plugin_game]].rco==
{{Boxcode|content=<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==
==[[impose_plugin]].rco==
{{Boxcode|content=<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==
==[[npsignin_plugin]].rco==
{{Boxcode|content=<syntaxhighlight lang="xml">
<Animation name="npsignin_hide">
<FireEvent event="event:native:/OnLoginPageCancel" />
</Animation>
</syntaxhighlight>}}


==[[premo_plugin]].rco==
==[[premo_plugin]].rco==
{{Boxcode|content=<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==
==[[sacd_plugin]].rco==
{{Boxcode|content=<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==
==[[system_plugin]].rco==
 
{{Boxcode|content=<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>}}


{{File Formats}}<noinclude>[[Category:Main]]</noinclude>
{{File Formats}}<noinclude>[[Category:Main]]</noinclude>

Revision as of 08:55, 1 September 2016

PS3

custom_render_plugin.rco

See the available native events in: custom_render_plugin page

anim_otherboot

Firmware 1.00 up to 2.80

Code Sample
anim_otherboot timeline (1.00~2.80)
Total time 0.00" D-Pad right button 1.00" D-Pad right button 1.00" D-Pad right button
Parallel
execution
threads
Lock
0xffffffff
Fade
object:ps3logo
FireEvent
anim_otherboot_BG3
Delay
1000
FireEvent
anim_otherboot_Finished
Time frames D-Pad left button 0.00" D-Pad right button D-Pad left button 1.00" D-Pad right button D-Pad left button 0.00" D-Pad right button

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 latest

Code Sample
anim_otherboot timeline (3.00~Template:Latest)
Total time 0.00" D-Pad right button 0.20" D-Pad right button 0.30" D-Pad right button 0.30" D-Pad right button
Parallel
execution
threads
Lock
0xffffffff
Fade
object:ps3logo
FireEvent
anim_otherboot_BG3
Delay
200
FireEvent
anim_otherboot_BG4
Delay
300
FireEvent
anim_otherboot_Finished
Time frames D-Pad left button 0.00" D-Pad right button D-Pad left button 0.20" D-Pad right button D-Pad left button 0.10" D-Pad right button D-Pad left button 0.00" D-Pad right button

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

Code Sample

anim_coldboot

Code Sample

anim_coldboot2

Code Sample

gamelib_plugin.rco

See gamelib_plugin

Code Sample

bdp_plugin.rco

Code Sample

friendim_plugin.rco

Code Sample

friendim_plugin_game.rco

Code Sample

impose_plugin.rco

Code Sample

npsignin_plugin.rco

Code Sample

premo_plugin.rco

Code Sample

sacd_plugin.rco

Code Sample

system_plugin.rco

Code Sample