Editing Coldboot.raf
Jump to navigation
Jump to search
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 4: | Line 4: | ||
[[Rich Appearance Format (RAF)]] belongs to a group of [[CXML Containers]] that uses [[Template:Zlib Header|zlib]] compression and a XML file enbedded in the container structure with the "scene" information and also works as an index to lists the contained files | [[Rich Appearance Format (RAF)]] belongs to a group of [[CXML Containers]] that uses [[Template:Zlib Header|zlib]] compression and a XML file enbedded in the container structure with the "scene" information and also works as an index to lists the contained files | ||
Coldboot animation uses settings from the [[RCOXML | Coldboot animation uses settings from the [[RCOXML Structure]] of [[custom render plugin]] (in RCOXML setion note the animation settings for: '''anim_coldboot''' and '''anim_coldboot2''') | ||
Coldboot.raf is the same file in all firmware versions, doesnt contains sound, but is played with sound by using either '''coldboot_stereo.ac3''' (2 audio channels) or '''coldboot_multi.ac3''' (6 audio channels), this audio files has been present from firmware 1.00 but have changed (and also changed the coldboot animations settings inside the RCOXML of custom_render_plugin). See: [[Multimedia Formats and Tools]] | Coldboot.raf is the same file in all firmware versions, doesnt contains sound, but is played with sound by using either '''coldboot_stereo.ac3''' (2 audio channels) or '''coldboot_multi.ac3''' (6 audio channels), this audio files has been present from firmware 1.00 but have changed (and also changed the coldboot animations settings inside the RCOXML of custom_render_plugin). See: [[Multimedia Formats and Tools]] | ||
https://www.youtube.com/watch?v=GUb1gIKhwMU PlayStation 3 Startup Screens - pre 3.00 + 3.00 and later | |||
=Coldboot | http://rghost.net/58821375 the coldboot.raf compiled into a theme (Apply again to get the animation again) | ||
=Coldboot Files Versions= | |||
{| class="wikitable" style="font-size:x-small;" | {| class="wikitable" style="font-size:x-small;" | ||
|+ | |+Coldboot Animation related files | ||
! rowspan="2" | File Name !! rowspan="2" | Size<BR />(bytes) !! rowspan="2" | Hash<BR />(MD5) !! colspan="4" | Firmware !! rowspan="2" | Notes | ! rowspan="2" | File Name !! rowspan="2" | Size<BR />(bytes) !! rowspan="2" | Hash<BR />(MD5) !! colspan="4" | Firmware !! rowspan="2" | Notes | ||
|- | |- | ||
! [[1.00_CEX|1.00]]~[[2.60_CEX|2.60]] !! [[2.70_CEX|2.70]]~[[2.80_CEX|2.80]] !! [[3.00_CEX|3.00]]~[[3.01_CEX|3.01]] !! [[3.10_CEX|3.10]]~[[4. | ! [[1.00_CEX|1.00]]~[[2.60_CEX|2.60]] !! [[2.70_CEX|2.70]]~[[2.80_CEX|2.80]] !! [[3.00_CEX|3.00]]~[[3.01_CEX|3.01]] !! [[3.10_CEX|3.10]]~[[4.65_CEX|4.65]] | ||
|-{{cellcolors|lightgrey}} | |||
! coldboot_stereo.ac3 | |||
| 721.920 || 5EB0E4ECE6F221ED07D3128D416ADB44 || rowspan="2" colspan="2" {{yes}} || rowspan="2" colspan="2" {{no}} || rowspan="2" | Old sound files (coldboot) | |||
|-{{cellcolors|lightgrey}} | |||
! coldboot_multi.ac3 | |||
| 721.920 || 931D05254C198ED5D202ECAE9A0BC6E2 | |||
|- | |- | ||
! coldboot.raf | ! coldboot.raf | ||
| 51.446 || FBFD819D6CD834AC2BDDA02EE3D5375F || {{no}} || colspan="3" {{yes}} || Not present before 2.70, same for all other firmwares | | 51.446 || FBFD819D6CD834AC2BDDA02EE3D5375F || {{no}} || colspan="3" {{yes}} || Not present before 2.70, same for all other firmwares | ||
|-{{cellcolors|lightgrey}} | |||
! coldboot2_stereo.ac3 | |||
| 801.280 || 83D2B05CC85F65A1392614989F71ECFA || rowspan="2" {{no}} || rowspan="2" colspan="2" {{yes}} || rowspan="2" {{no}} || rowspan="2" | New sound files. Using new names (coldboot2) | |||
|-{{cellcolors|lightgrey}} | |||
! coldboot2_multi.ac3 | |||
| 801.280 || D837AA7B7AEC6C1A090CBA51CCA9434E | |||
|- | |||
! coldboot_stereo.ac3 | |||
| 801.280 || 83D2B05CC85F65A1392614989F71ECFA || rowspan="2" colspan="2" {{no}} || rowspan="2" colspan="2" {{yes}} || rowspan="2" | New sound files. Using old names (coldboot) | |||
|- | |||
! coldboot_multi.ac3 | |||
| 801.280 || D837AA7B7AEC6C1A090CBA51CCA9434E | |||
|} | |} | ||
*'''coldboot2''' sounds overlap notes: | |||
**In [[2.70_CEX|2.70]]~[[2.80_CEX|2.80]], <code>coldboot2_multi.ac3</code> differs from <code>coldboot_multi.ac3</code> and <code>coldboot2_stereo.ac3</code> differs from <code>coldboot_stereo.ac3</code> | |||
**In [[3.00_CEX|3.00]]~[[3.01_CEX|3.01]], <code>coldboot2_multi.ac3</code> is same as <code>coldboot_multi.ac3</code> and <code>coldboot2_stereo.ac3</code> is same as <code>coldboot_stereo.ac3</code> | |||
Coldboot.raf | =Coldboot.raf contents= | ||
To extract the files from coldboot.raf is needed to make a [[Template:Zlib Header|zlib]] decompression and then a CXML extraction (use "CXML decompiler" tool made by flatz, download link and source code is at bottom of [[CXML Containers]] page). The extracted files are: | |||
{| class="wikitable" | |||
{| class="wikitable" | |||
|- | |- | ||
! | ! Usage !! File Index !! File Name !! Notes | ||
|-{{cellcolors| | |-{{cellcolors|lightgrey}} | ||
| Scene || Not a file || Coldboot.xml || Is not a real file inside the container, all his info can be obtained from the container structure but is not considered a file | |||
|- | |- | ||
| rowspan=2 | Model || 0 || plane.edge || The 3D object, composed by a simple perimetral line that will be "filled" with the textures | |||
| | |||
|- | |- | ||
| | | 1 || plane.skel || The skeleton of the 3D object, composed by a single joint point, needed by all the animations | ||
|- | |- | ||
| rowspan=3 | Textures HD || 2 || new_logo.gtf || 700x350 pixels, the main logo (without the "copyright", "trademark" and "playstation3" text) | |||
|- | |- | ||
| | | 3 || new_logo_footer.gtf || 700x350 pixels, the "copyright", "trademark" and "playstation3" text | ||
|- | |- | ||
| | | 4 || new_logo_blur.gtf || 700x350 pixels, a blurry copy of logo+footer together | ||
|- | |- | ||
| | | rowspan=3 | Textures SD || 5 || new_logo_sd.gtf || 240x120 pixels, the main logo (without the "copyright", "trademark" and "playstation3" text) | ||
|- | |- | ||
| | | 6 || new_logo_sd_footer.gtf || 240x120 pixels, the "copyright", "trademark" and "playstation3" text | ||
|- | |- | ||
| | | 7 || new_logo_sd_blur.gtf || 240x120 pixels, a blurry copy of logo+footer together | ||
|- | |- | ||
| Script || 8 || coldboot.jsx || Animation script, written in [[PlayStation JavaScript]] format (and extracted as a [[VSMX]] file). See [http://pastebin.com/vRCDzXt1 Pastebin] (without the header) | |||
|} | |} | ||
*Note the extracted files are not the original files used to create the .raf. All them suffered a format conversion when the .raf was created | |||
==Scene== | ==Scene== | ||
As explained | As explained in [[CXML Containers]] page, RAF containers includes embedded data inside his structure (like metadata, not a real file). This data is generated by the RAF compiler, is based in the original scene.xml used to create the RAF, and also is based on the internal structure of the RAF container (this data about the RAF structure is not present in the original scene.xml) | ||
The '''coldboot.xml''' example below has been generated by the "CXML decompiler". It should be considered a representation of the coldboot.raf contents (like explained before, this file doesnt exists inside coldboot.raf and is different than the scene.xml used to create coldboot.raf) | |||
'''Coldboot.xml (CXML representation)''' | |||
{{Boxcode|content=<syntaxhighlight lang="xml"> | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<raf version="1.0"> | |||
<scene camera_num="1" light_num="2" script_num="1" actor_num="6"> | |||
<actor anim_speed="1.0,1.0,1.0,1.0" scale="1.28,0.64,0.64" uv_offset="0.0,0.0" color="1.0,1.0,1.0,1.0" anim_weight="1.0,0.0,0.0,0.0" material="mtrl_logo" uv_scale="1.0,-1.0" id="logo" anim_time="0.0,0.0,0.0,0.0" position="1.85,0.0,0.0" model="plane" rotation="1.5708,0.0,0.0" /> | |||
<actor anim_speed="1.0,1.0,1.0,1.0" scale="1.28,0.64,0.64" uv_offset="0.0,0.0" color="1.0,1.0,1.0,1.0" anim_weight="1.0,0.0,0.0,0.0" material="mtrl_footer" uv_scale="1.0,-1.0" id="footer" anim_time="0.0,0.0,0.0,0.0" position="1.85,0.0,0.0001" model="plane" rotation="1.5708,0.0,0.0" /> | |||
<actor anim_speed="1.0,1.0,1.0,1.0" scale="1.28,0.64,0.64" uv_offset="0.0,0.0" color="1.0,1.0,1.0,1.0" anim_weight="1.0,0.0,0.0,0.0" material="mtrl_blur" uv_scale="1.0,-1.0" id="blur" anim_time="0.0,0.0,0.0,0.0" position="1.85,0.0,0.001" model="plane" rotation="1.5708,0.0,0.0" /> | |||
<actor anim_speed="1.0,1.0,1.0,1.0" scale="1.28,0.64,0.64" uv_offset="0.0,0.0" color="1.0,1.0,1.0,1.0" anim_weight="1.0,0.0,0.0,0.0" material="mtrl_logo_sd" uv_scale="1.0,-1.0" id="logo_sd" anim_time="0.0,0.0,0.0,0.0" position="1.85,0.0,0.0" model="plane" rotation="1.5708,0.0,0.0" /> | |||
<actor anim_speed="1.0,1.0,1.0,1.0" scale="1.28,0.64,0.64" uv_offset="0.0,0.0" color="1.0,1.0,1.0,1.0" anim_weight="1.0,0.0,0.0,0.0" material="mtrl_footer_sd" uv_scale="1.0,-1.0" id="footer_sd" anim_time="0.0,0.0,0.0,0.0" position="1.85,0.0,0.0001" model="plane" rotation="1.5708,0.0,0.0" /> | |||
<actor anim_speed="1.0,1.0,1.0,1.0" scale="1.28,0.64,0.64" uv_offset="0.0,0.0" color="1.0,1.0,1.0,1.0" anim_weight="1.0,0.0,0.0,0.0" material="mtrl_blur_sd" uv_scale="1.0,-1.0" id="blur_sd" anim_time="0.0,0.0,0.0,0.0" position="1.85,0.0,0.001" model="plane" rotation="1.5708,0.0,0.0" /> | |||
<camera direction="0.0,0.0,-2.0" yfov="0.927292" up="0.0,1.0,0.0" zfar="1000.0" znear="0.01" position="0.0,0.0,4.0" ymag="0.0" type="0" id="camera" /> | |||
<light color="1.0,1.0,1.0" position="0.0,1.0,0.0" attenuation="0.0,1.0,4.0" type="0" id="pointlight" /> | |||
<light color="0.0,0.0,0.0" type="2" id="ambientlight" /> | |||
<script fileref="coldboot.jsx" fileindex="8" /> | |||
</scene> | |||
<model-table num="1"> | |||
<model id="plane"> | |||
<geometry fileref="plane.edge" fileindex="0" /> | |||
<skeleton fileref="plane.skel" fileindex="1" /> | |||
</model> | |||
</model-table> | |||
<material-table num="6"> | |||
<material id="mtrl_logo" effect="sce01"> | |||
<_texture texref="_new_logo.gtf" /> | |||
</material> | |||
<material id="mtrl_footer" effect="sce01"> | |||
<_texture texref="_new_logo_footer.gtf" /> | |||
</material> | |||
<material id="mtrl_blur" effect="sce01"> | |||
<_texture texref="_new_logo_blur.gtf" /> | |||
</material> | |||
<material id="mtrl_logo_sd" effect="sce01"> | |||
<_texture texref="_new_logo_sd.gtf" /> | |||
</material> | |||
<material id="mtrl_footer_sd" effect="sce01"> | |||
<_texture texref="_new_logo_sd_footer.gtf" /> | |||
</material> | |||
<material id="mtrl_blur_sd" effect="sce01"> | |||
<_texture texref="_new_logo_sd_blur.gtf" /> | |||
</material> | |||
</material-table> | |||
<texture-table num="6"> | |||
<texture min_filter="0" mip_filter="0" fileindex="2" mag_filter="0" ext="1" wrap_t="1" wrap_s="1" wrap_p="1" fileref="new_logo.gtf" type="0" id="_new_logo.gtf" /> | |||
<texture min_filter="0" mip_filter="0" fileindex="3" mag_filter="0" ext="1" wrap_t="1" wrap_s="1" wrap_p="1" fileref="new_logo_footer.gtf" type="0" id="_new_logo_footer.gtf" /> | |||
<texture min_filter="0" mip_filter="0" fileindex="4" mag_filter="0" ext="1" wrap_t="1" wrap_s="1" wrap_p="1" fileref="new_logo_blur.gtf" type="0" id="_new_logo_blur.gtf" /> | |||
<texture min_filter="0" mip_filter="0" fileindex="5" mag_filter="0" ext="1" wrap_t="1" wrap_s="1" wrap_p="1" fileref="new_logo_sd.gtf" type="0" id="_new_logo_sd.gtf" /> | |||
<texture min_filter="0" mip_filter="0" fileindex="6" mag_filter="0" ext="1" wrap_t="1" wrap_s="1" wrap_p="1" fileref="new_logo_sd_footer.gtf" type="0" id="_new_logo_sd_footer.gtf" /> | |||
<texture min_filter="0" mip_filter="0" fileindex="7" mag_filter="0" ext="1" wrap_t="1" wrap_s="1" wrap_p="1" fileref="new_logo_sd_blur.gtf" type="0" id="_new_logo_sd_blur.gtf" /> | |||
</texture-table> | |||
<file-table num="9"> | |||
<file src="c:\coldboot\plane.edge" type="0" id="plane.edge" /> | |||
<file src="c:\coldboot\plane.skel" type="2" id="plane.skel" /> | |||
<file src="c:\coldboot\new_logo.gtf" type="4" id="new_logo.gtf" /> | |||
<file src="c:\coldboot\new_logo_footer.gtf" type="4" id="new_logo_footer.gtf" /> | |||
<file src="c:\coldboot\new_logo_blur.gtf" type="4" id="new_logo_blur.gtf" /> | |||
<file src="c:\coldboot\new_logo_sd.gtf" type="4" id="new_logo_sd.gtf" /> | |||
<file src="c:\coldboot\new_logo_sd_footer.gtf" type="4" id="new_logo_sd_footer.gtf" /> | |||
<file src="c:\coldboot\new_logo_sd_blur.gtf" type="4" id="new_logo_sd_blur.gtf" /> | |||
<file src="c:\coldboot\coldboot.jsx" type="5" id="coldboot.jsx" /> | |||
</file-table> | |||
</raf> | |||
</syntaxhighlight>}} | |||
'''Coldboot.xml (original)''' | |||
The XML files generated by "CXML decompiler" contains more info than the original scene.xml. This makes posible to rebuild by hand the orginal scene.xml using as a layout the XML standards explained in [[Rich Appearance Format (RAF)]] page | |||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="xml"> | ||
<?xml version='1.0' encoding="UTF-8"?> | <?xml version='1.0' encoding="UTF-8"?> | ||
<raf> | <raf> | ||
<!-- model --> | |||
<model id="id_model" file="model.dae" vertex_color="" > | |||
<animation id="animation" file="animation.dae" start="1" end="100" sampling_rate="1" /> | |||
</model> | |||
<!-- material --> | |||
<material id="id_material" effect="pure_texture" > | |||
<texture file="texture.jpg" type="color_map" /> | |||
</material> | |||
<!-- actor --> | |||
<actor id="name" model="id_model" material="id_material" position="x,y,z" rotation="x,y,z" scale="x,y,z" color="r,g,b,a" uv_scale="u,v" uv_offset="u,v" anim_weight="anim0, anim1, anim2, anim3" anim_speed="anim0, anim1, anim2, anim3" anim_time="anim0, anim1, anim2, anim3" /> | |||
<!-- camera --> | |||
<camera id="name" file="camera.dae" type="perspective / orthographic" yfov="1" ymag="1" znear="1" zfar="1" position="x,y,z" direction="x,y,z" up="x,y,z" /> | |||
<!-- light --> | |||
<light id="name" file="light.dae" type="ambient / point" color="r,g,b" position="x,y,z" direction="x,y,z" attenuation="1,1,1" /> | |||
<!-- script --> | |||
<script file="script.js" /> | |||
</raf> | </raf> | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
==Model== | ==Model== | ||
==Textures== | ==Textures== | ||
==Script== | ==Script== | ||
{{File Formats}}<noinclude>[[Category:Main]]</noinclude> | {{File Formats}}<noinclude>[[Category:Main]]</noinclude> |