RCOXML ofw animations: Difference between revisions
m (→Firmware 3.00 up to latest: better this way because i dont think BG4 is stopping BG3, are overlapped running in parallel until anim_otherboot_Finished stops them) |
mNo edit summary |
||
Line 1: | Line 1: | ||
=PS3= | =PS3= | ||
== | ==custom_render_plugin.rco== | ||
See the available native events in: [[custom_render_plugin]] page | |||
===Firmware 1.00 up to 2.80=== | |||
===anim_otherboot=== | |||
====Firmware 1.00 up to 2.80==== | |||
{{Boxcode|content=<syntaxhighlight lang="xml"> | {{Boxcode|content=<syntaxhighlight lang="xml"> | ||
<Animation name="anim_otherboot"> | <Animation name="anim_otherboot"> | ||
Line 40: | Line 41: | ||
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) | 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=== | ====Firmware 3.00 up to latest==== | ||
{{Boxcode|content=<syntaxhighlight lang="xml"> | {{Boxcode|content=<syntaxhighlight lang="xml"> | ||
<Animation name="anim_otherboot"> | <Animation name="anim_otherboot"> | ||
Line 82: | Line 83: | ||
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 | 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== | ===anim_gameboot=== | ||
{{Boxcode|content=<syntaxhighlight lang="xml"> | {{Boxcode|content=<syntaxhighlight lang="xml"> | ||
<Animation name="anim_gameboot"> | <Animation name="anim_gameboot"> | ||
Line 89: | Line 89: | ||
<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 97: | Line 99: | ||
<Delay time="1000" /> | <Delay time="1000" /> | ||
<Delay time="200" /> | <Delay time="200" /> | ||
<FireEvent event="event:native:/ | <FireEvent event="event:native:/anim_gameboot_Finished" /> | ||
</Animation> | </Animation> | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
{{#ev:youtube|hNBA_ab_NqA}} | |||
===anim_coldboot=== | |||
===anim_coldboot2=== | |||
==gamelib_plugin.rco== | |||
See [[gamelib_plugin]] | |||
{{Boxcode|content=<syntaxhighlight lang="xml"> | {{Boxcode|content=<syntaxhighlight lang="xml"> | ||
<Animation name="anim_gameboot"> | <Animation name="anim_gameboot"> | ||
Line 107: | Line 115: | ||
<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" /> | ||
<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" /> | ||
<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 117: | Line 123: | ||
<Delay time="1000" /> | <Delay time="1000" /> | ||
<Delay time="200" /> | <Delay time="200" /> | ||
<FireEvent event="event:native:/ | <FireEvent event="event:native:/GameLibApp_OnBootAnimationFinished" /> | ||
</Animation> | </Animation> | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
== | ==[[bdp_plugin]].rco== | ||
==[[friendim_plugin]].rco== | |||
==[[friendim_plugin_game]].rco== | |||
==[[impose_plugin]].rco== | |||
==[[npsignin_plugin]].rco== | |||
==[[premo_plugin]].rco== | |||
==[[sacd_plugin]].rco== | |||
==[[system_plugin]].rco== | |||
{{File Formats}}<noinclude>[[Category:Main]]</noinclude> | {{File Formats}}<noinclude>[[Category:Main]]</noinclude> |
Revision as of 07:39, 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
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
Total time | 0.00" | 0.20" | 0.30" | 0.30" | |||||
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 | 0.00" | 0.20" | 0.10" | 0.00" | |||||
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
anim_coldboot2
gamelib_plugin.rco
See gamelib_plugin
Code Sample
bdp_plugin.rco
friendim_plugin.rco
friendim_plugin_game.rco
impose_plugin.rco
npsignin_plugin.rco
premo_plugin.rco
sacd_plugin.rco
system_plugin.rco
|