RCOXML ofw animations: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
===anim_otherboot===
===anim_otherboot===
====Firmware 1.00 up to 2.80====
====Firmware 1.00 up to 2.80====
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_otherboot">
<Animation name="anim_otherboot">
<Lock unknownInt0="0xffffffff" />
<Lock unknownInt0="0xffffffff" />
Line 42: Line 42:


====Firmware 3.00 up to 4.81====
====Firmware 3.00 up to 4.81====
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_otherboot">
<Animation name="anim_otherboot">
<Lock unknownInt0="0xffffffff" />
<Lock unknownInt0="0xffffffff" />
Line 84: Line 84:


===anim_gameboot===
===anim_gameboot===
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_gameboot">
<Animation name="anim_gameboot">
<Lock unknownInt0="0xffffffff" />
<Lock unknownInt0="0xffffffff" />
Line 105: Line 105:


===anim_coldboot===
===anim_coldboot===
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_coldboot">
<Animation name="anim_coldboot">
<Lock unknownInt0="0xffffffff" />
<Lock unknownInt0="0xffffffff" />
Line 127: Line 127:
===anim_coldboot2===
===anim_coldboot2===
====Firmware 2.70 up to 2.80====
====Firmware 2.70 up to 2.80====
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_coldboot2">
<Animation name="anim_coldboot2">
<Lock unknownInt0="0xffffffff" />
<Lock unknownInt0="0xffffffff" />
Line 141: Line 141:
</syntaxhighlight>}}
</syntaxhighlight>}}


====Firmware 3.00 up to latest====
====Firmware 3.00 up to 4.81====
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_coldboot2">
<Animation name="anim_coldboot2">
<Lock unknownInt0="0xffffffff" />
<Lock unknownInt0="0xffffffff" />
Line 159: Line 159:
==gamelib_plugin.rco==
==gamelib_plugin.rco==
See [[gamelib_plugin]]
See [[gamelib_plugin]]
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_gameboot">
<Animation name="anim_gameboot">
<Lock unknownInt0="0xffffffff" />
<Lock unknownInt0="0xffffffff" />
Line 177: Line 177:


==[[bdp_plugin]].rco==
==[[bdp_plugin]].rco==
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<AnimTree>
<AnimTree>
<Animation name="bdp_anim_cp_focus_in">
<Animation name="bdp_anim_cp_focus_in">
Line 189: Line 189:


==[[friendim_plugin]].rco==
==[[friendim_plugin]].rco==
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<AnimTree>
<AnimTree>
<Animation name="friendim_pause">
<Animation name="friendim_pause">
Line 209: Line 209:


==[[friendim_plugin_game]].rco==
==[[friendim_plugin_game]].rco==
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<AnimTree>
<AnimTree>
<Animation name="friendim_pause">
<Animation name="friendim_pause">
Line 229: Line 229:


==[[impose_plugin]].rco==
==[[impose_plugin]].rco==
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<AnimTree>
<AnimTree>
<Animation name="anim_btnbar_show">
<Animation name="anim_btnbar_show">
Line 256: Line 256:


==[[npsignin_plugin]].rco==
==[[npsignin_plugin]].rco==
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="npsignin_hide">
<Animation name="npsignin_hide">
<FireEvent event="event:native:/OnLoginPageCancel" />
<FireEvent event="event:native:/OnLoginPageCancel" />
Line 263: Line 263:


==[[premo_plugin]].rco==
==[[premo_plugin]].rco==
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<AnimTree>
<AnimTree>
<Animation name="anim_btnbar_show">
<Animation name="anim_btnbar_show">
Line 310: Line 310:


==[[sacd_plugin]].rco==
==[[sacd_plugin]].rco==
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<AnimTree>
<AnimTree>
<Animation name="sacd_anim_cp_focus_in">
<Animation name="sacd_anim_cp_focus_in">
Line 322: Line 322:


==[[system_plugin]].rco==
==[[system_plugin]].rco==
{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<AnimTree>
<AnimTree>
<Animation name="anim_circle_hide">
<Animation name="anim_circle_hide">
Line 355: Line 355:
Example of an animation infinite loop
Example of an animation infinite loop


{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|code=<syntaxhighlight lang="xml">
<Animation name="anim_battery_charging">
<Animation name="anim_battery_charging">
<Fade object="object:battery" duration="0" accelMode="0x0" transparency="1" />
<Fade object="object:battery" duration="0" accelMode="0x0" transparency="1" />

Latest revision as of 05:16, 30 August 2021

PS3[edit | edit source]

custom_render_plugin.rco[edit | edit source]

See the available native events in: custom_render_plugin page

anim_otherboot[edit | edit source]

Firmware 1.00 up to 2.80[edit | edit source]

			<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>
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 4.81[edit | edit source]

			<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>
anim_otherboot timeline (3.00~4.81)
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[edit | edit source]

			<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>

anim_coldboot[edit | edit source]

			<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>

anim_coldboot2[edit | edit source]

Firmware 2.70 up to 2.80[edit | edit source]

			<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>

Firmware 3.00 up to 4.81[edit | edit source]

			<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>

gamelib_plugin.rco[edit | edit source]

See gamelib_plugin

			<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>

bdp_plugin.rco[edit | edit source]

		<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>

friendim_plugin.rco[edit | edit source]

		<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>

friendim_plugin_game.rco[edit | edit source]

		<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>

impose_plugin.rco[edit | edit source]

		<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>

npsignin_plugin.rco[edit | edit source]

			<Animation name="npsignin_hide">
				<FireEvent event="event:native:/OnLoginPageCancel" />
			</Animation>

premo_plugin.rco[edit | edit source]

		<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>

sacd_plugin.rco[edit | edit source]

		<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>

system_plugin.rco[edit | edit source]

		<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>

PSP[edit | edit source]

system_plugin_fg.rco firmware 1.00[edit | edit source]

Example of an animation infinite loop

			<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>