Editing Custom render plugin

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 21: Line 21:
  12: 1 Parameter: uint8
  12: 1 Parameter: uint8


== Function 2==
=custom_render_plugin.rco ([[RCOXML Structure|RCOXML]] contents)=
0
*Notes:
  0 (return OK)
**'''page_null''' and '''blur''' seems generic
  1 (return OK)
**'''page_coldboot''' is the old coldboot animation when ps3 boots (used before [[coldboot.raf]] was implemented)
  2
**'''page_coldboot2''' is the new coldboot animation when ps3 boots (associated with [[coldboot.raf]])
  3
**'''page_gameboot''' is the animation when a game boots (it changed along the different firmware versions, see [[RCOXML animations]] examples)
  4
**'''page_otherboot''' doesnt exists in newer firmwares, but there is a <Animation name="anim_otherboot"> that seems to be unlinked
  5 (return OK)
  6
  7
  8 (return OK)
  9
1 coldboot , 0 = page_coldboot + coldboot2 / 5 = return is "page_coldboot" found , uint32_t * audio_enabled
2 gameboot (anim_gameboot), 0
3 gameboot (anim_otherboot), 0
4 , 2 = / 3 = page_null
5 (return OK)
6 (return OK)
7 (return OK)
8 (return OK)
9 (return OK)
A , 2 = / 3 = / 8 =
B , 2 = / 3 =
C same as B


= Native Events =
{{Boxcode|content=<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- This XML representation of an RCO structure was generated by Rcomage v1.1.1 -->
<RcoFile UMDFlag="0" rcomageXmlVer="1.1" type="ps3" minFirmwareVer="unknownId0x120">
<MainTree name="custom_render_plugin">
<ImageTree>
<!-- image items, not interesting for wiki -->
</ImageTree>
<ObjectTree>
<Page name="page_null" unknownInt0="0x1110000" onInit="nothing" onCancel="nothing" onContextMenu="nothing" onActivate="nothing"></Page>
<Page name="blur" unknownInt0="0x1110000" onInit="nothing" onCancel="nothing" onContextMenu="nothing" onActivate="nothing"></Page>
<Page name="page_coldboot" unknownInt0="0x1110000" onInit="nothing" onCancel="nothing" onContextMenu="nothing" onActivate="nothing">
<Plane name="scelogo" posX="0" posY="0" objectScale="0" redScale="1" greenScale="1" blueScale="1" alphaScale="1" width="0" height="0" posUnknown="0" scaleWidth="1" scaleHeight="1" elementScale="1" iconOffset="0x0" onLoad="nothing" unknown17="0x85020000" unknown18="0x86020000" unknown19="0x0" unknownInt20="0x10287" unknownInt21="0x10288" unknown22="0x100" image="image:tex_scelogo" unknownInt24="0x0"></Plane>
</Page>
<Page name="page_coldboot2" unknownInt0="0x1110000" onInit="nothing" onCancel="nothing" onContextMenu="nothing" onActivate="nothing">
<Plane name="coldboot_ps3logo" posX="0" posY="0" objectScale="0" redScale="1" greenScale="1" blueScale="1" alphaScale="1" width="0" height="0" posUnknown="0" scaleWidth="1" scaleHeight="1" elementScale="1" iconOffset="0x0" onLoad="nothing" unknown17="0x0" unknown18="0x0" unknown19="0x0" unknownInt20="0x10000" unknownInt21="0x10000" unknown22="0x100" image="nothing" unknownInt24="0x0"></Plane>
</Page>
<Page name="page_gameboot" unknownInt0="0x1110000" onInit="nothing" onCancel="nothing" onContextMenu="nothing" onActivate="nothing">
<Plane name="ps3logo" posX="0" posY="0" objectScale="0" redScale="1" greenScale="1" blueScale="1" alphaScale="1" width="0" height="0" posUnknown="0" scaleWidth="1" scaleHeight="1" elementScale="1" iconOffset="0x0" onLoad="nothing" unknown17="0x0" unknown18="0x0" unknown19="0x0" unknownInt20="0x10289" unknownInt21="0x1028a" unknown22="0x100" image="image:tex_ps3logo" unknownInt24="0x0"></Plane>
</Page>
</ObjectTree>
<AnimTree>
<Animation name="anim_coldboot">
<Lock unknownInt0="0xffffffff" />
<Fade object="object:scelogo" duration="0" accelMode="0x0" transparency="0" />
<FireEvent object="event:native:/anim_coldboot_BootBG1" />
<Delay time="0" />
<FireEvent object="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 object="event:native:/anim_coldboot_ShowGUI" />
<Unlock unknownInt0="0xffffffff" />
<Delay time="4500" />
<FireEvent object="event:native:/anim_coldboot_Finished" />
</Animation>
<Animation name="anim_coldboot2">
<Lock unknownInt0="0xffffffff" />
<Fade object="object:scelogo" duration="0" accelMode="0x0" transparency="0" />
<FireEvent object="event:native:/anim_coldboot_BootBG2" />
<Delay time="4000" />
<FireEvent object="event:native:/anim_coldboot_NormalBG2" />
<Delay time="1500" />
<FireEvent object="event:native:/anim_coldboot_ShowGUI" />
<Unlock unknownInt0="0xffffffff" />
<Delay time="4500" />
<FireEvent object="event:native:/anim_coldboot_Finished" />
</Animation>
<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" unknownFloat4="1" />
<FireEvent object="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" unknownFloat4="1" />
<FireEvent object="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" unknownFloat4="1" />
<Delay time="1000" />
<Delay time="200" />
<FireEvent object="event:native:/anim_gameboot_Finished" />
</Animation>
<Animation name="anim_otherboot">
<Lock unknownInt0="0xffffffff" />
<Fade object="object:ps3logo" duration="0" accelMode="0x0" transparency="0" />
<FireEvent object="event:native:/anim_otherboot_BG3" />
<Delay time="200" />
<FireEvent object="event:native:/anim_otherboot_BG4" />
<Delay time="300" />
<FireEvent object="event:native:/anim_otherboot_Finished" />
</Animation>
</AnimTree>
</MainTree>
</RcoFile>


anim_coldboot_BootBG1 <---- used by coldboot old
</syntaxhighlight>}}
anim_coldboot_NormalBG <--- used by coldboot old
anim_coldboot_BootBG2 <---- used by coldboot new
anim_coldboot_NormalBG2 <-- used by coldboot new
anim_coldboot_ShowGUI <---- used by both coldboots (old and new)
anim_coldboot_Finished <--- used by both coldboots (old and new), event terminator
anim_gameboot_MoyouZoom <-- not used/hidden
anim_gameboot_BG1 <-------- not used/hidden
anim_gameboot_BG2 <-------- used, unknown
anim_gameboot_BG3 <-------- used, unknown
anim_gameboot_BG4 <-------- not used/hidden
anim_gameboot_BG5 <-------- not used/hidden
anim_gameboot_Finished <--- event terminator
anim_otherboot_BG3 <------- sparks animation
anim_otherboot_BG4 <------- used, unknown
anim_otherboot_Finished <-- event terminator
 
=custom_render_plugin.rco changelog (retail/CEX)=
all versions: https://www.mirrorcreator.com/files/KW2EY8UT/custom_render_plugin.rco_-_versions.7z_links
 
{{custom_render_plugin.rco changelog}}
 
*Notes:
**'''page_null''' seems generic, some kind of fallback ?
**'''blur''' page (added on firmware 3.00), is not related with any other stuff inside the .rco, some kind of effect defined in the .sprx ?
**'''page_coldboot''' loads '''anim_coldboot''' is the old coldboot animation when PS3 boots (used before [[coldboot.raf]] was implemented)
**'''page_coldboot2''' loads '''anim_coldboot2''' (added on firmware 2.70) is the new coldboot animation when PS3 boots (associated with [[coldboot.raf]], '''coldboot_stereo.ac3''' and '''coldboot_multi.ac3''')
**'''page_gameboot''' loads '''anim_gameboot''' is the animation when a game boots (see [[RCOXML Animations]] examples)
***The '''anim_gameboot''' used from firmware 1.00 up to 2.80 was loading the sound files: '''gameboot_stereo.ac3''' and '''gameboot_multi.ac3'''. These files were removed in firmware 3.00 and are not present in newer firmwares. Are the same audio format, naming method, path and versioning as the [[Coldboot.raf#Coldboot_Sounds_.28.AC3.29|Coldboot Sounds (.AC3)]]
**'''anim_otherboot''' is the animation when a game using a [[PARAM.SFO]] with CATEGORY "CB", "HM", "AV", "AM", or "AT" boots. Doesnt seems to have a parent '''page'''
**In the official [[3.00 CEX|3.00]] changelog is mentioned: [Game changes] -> The "PLAYSTATION 3" logo is no longer displayed before starting a PS3 game. (Original fat PS3 model only)


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