Custom render plugin: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
No edit summary
Line 20: Line 20:
  11: 0 Parameter: - (decrease)
  11: 0 Parameter: - (decrease)
  12: 1 Parameter: uint8
  12: 1 Parameter: uint8
=custom_render_plugin.rco ([[RCOXML Structure|RCOXML]] contents)=
*Notes:
**'''page_null''' and '''page_null''' seems generic
**'''page_coldboot''' and '''page_coldboot2''' are the coldboot animations when ps3 boots (old ones used before [[coldboot.raf]] was implemented ?, why 2 ?)
**'''page_gameboot''' is the animation when a game boots (this changed along the different firmware versions, see [[RCOXML animations]] examples)
{{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 name="tex_scelogo" src="Images\tex_scelogo.png" format="gim" compression="zlib" unknownByte="0" />
<Image name="tex_ps3logo" src="Images\tex_ps3logo.png" format="gim" compression="zlib" unknownByte="0" />
</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>
</syntaxhighlight>}}


{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude>
{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude>

Revision as of 04:57, 25 October 2014

1 Identifiers:

  • 1

1 Interface

contains 13 subs:

0: 3 Parameter: int, void * callback, int
1: 3 Parameter: int, 
2: 3 Parameter: int id (0-0xC), int (0-9), void *
3: 1 Parameter: uint8_t [0x14]
4: 2 Parameter: void * interface, int
5: 2 Parameter:
6: 3 Parameter: float, char *, int
7: 1 Parameter: char *
8: 0 Parameter: - blur (increase?)
9: 0 Parameter: - blur (decrease?)
10: 0 Parameter: - (increase)
11: 0 Parameter: - (decrease)
12: 1 Parameter: uint8

custom_render_plugin.rco (RCOXML contents)

  • Notes:
    • page_null and page_null seems generic
    • page_coldboot and page_coldboot2 are the coldboot animations when ps3 boots (old ones used before coldboot.raf was implemented ?, why 2 ?)
    • page_gameboot is the animation when a game boots (this changed along the different firmware versions, see RCOXML animations examples)
Code Sample