Editing PlayStation 3 Theme (P3T)

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 1: Line 1:
[[Category:Software]]
<div style="float:right">[[File:Tex_classic_theme.png|300px|thumb|left|Classic theme]]</div>
<div style="float:right">[[File:Tex_classic_theme.png|300px|thumb|left|Classic theme]]</div>
<div style="float:right">[[File:Tex_default_theme.png|300px|thumb|left|Original theme]]</div>
<div style="float:right">[[File:Tex_default_theme.png|300px|thumb|left|Original theme]]</div>
Line 7: Line 8:
*Installation methods
*Installation methods
**Downloaded from PSN (SEN) store
**Downloaded from PSN (SEN) store
**Downloaded from web pages using the PS3 web browser (hosted in the server as: '''application/x-ps3-theme''' MIMEtype, and '''p3t''' file extension). E.g: [http://www.ps3-themes.com] [https://web.archive.org/web/*/http://ps3devwiki.com/files/Visuals/Themes]
**Downloaded from web pages using the PS3 web browser (hosted in the server as: '''application/x-ps3-theme''' MIMEtype, and '''p3t''' file extension). E.g: [http://www.ps3-themes.com] [http://www.ps3devwiki.com/files/Visuals/Themes]
**USB, CF, SD, MS, external storage from path: '''device:/PS3/THEME/Theme Name.p3t'''
**USB, CF, SD, MS, external storage from path: '''device:/PS3/THEME/Theme Name.p3t'''
**Game discs extras icons (see: [http://www.ps3devwiki.com/wiki/PARAM.SFO#Creating_Discs Creating Discs])
**Game discs extras icons (see: [http://www.ps3devwiki.com/wiki/PARAM.SFO#Creating_Discs Creating Discs])
Line 16: Line 17:


*There is an small chance of crashing XMB when applying a malformed theme (and consecutive PS3 crashes when rebooting), can be easily fixed by entering "recovery menu" and using the option "Restore Default Settings" (only restores the user configurations made in "XMB settings column")
*There is an small chance of crashing XMB when applying a malformed theme (and consecutive PS3 crashes when rebooting), can be easily fixed by entering "recovery menu" and using the option "Restore Default Settings" (only restores the user configurations made in "XMB settings column")
*Other type of crashes happens when the theme is dynamic (contains a [[Rich Appearance Format (RAF) | .raf]] scene in the backgound). The .raf scene uses a script that runs in real time when the animation is played and usually contains aritmetic operations to calculate positions along time, etc... any problem derivated from code errors of the script or calculations out of order can make the ram to be overloaded (there is a limited amount available for .raf animations). When this happens the .raf scene crashes (but usually the console doesnt crashes is only the animation played at the background what crashed)


{{Boxframe1|content='''Firmware changes related with XMB and Themes'''
{{Boxframe1|content='''Firmware changes related with XMB and Themes'''
*Firmware [[1.90_CEX|1.90]]:
*Added in firmware 1.90
**Added [[XMB]] {{icon category settings}} '''⇨ [Theme settings] ⇨ [Background] ⇨ [Wallpaper]'''. Background setting can use an image from internall HDD. (this image is copied to user profile folder in path: '''dev_hdd0/home/<userid>/theme/wallpaper.png''')
**Background setting can use an image from internall HDD. In {{icon category settings}} '''Theme settings/Background/Wallpaper''' (then copied to user profile folder in path: '''dev_hdd0/home/<userid>/theme/wallpaper.png''')


*Firmware [[2.00_CEX|2.00]]:
*Added in firmware 2.00
**Added [[XMB]] {{icon category settings}} '''⇨ [Theme settings] ⇨ [Theme]'''. Static Themes support. Allows to use custom themes that change the icons, wallpaper, color, font, and the click sounds See [[Qt Resource Container (QRC)]] page
**Static Themes support. Allows the use of custom themes that change the icons, wallpaper, color, font, and the click sounds. In {{icon category settings}} '''Theme settings/Theme''' See [[Qt Resource Container (QRC)]] page
**Added [[XMB]] {{icon category settings}} '''⇨ [Theme settings] ⇨ [Color]'''. (original = changes with the month, 1-12 = the colors predefined for each month)
**Color setting. In {{icon category settings}} '''Theme settings/Color''' (original: changes with the month, or the 12 colors predefined for each month)
**Added [[XMB]] {{icon category settings}} '''⇨ [Theme settings] ⇨ [Background] ⇨ [Brighness]''' (normal, -1, -2, -3, -4. -5)
**Brightness setting. In {{icon category settings}} '''Theme settings/Background/Brighness''' (normal, -1, -2, -3, -4. -5)
**Added [[XMB]] {{icon category settings}} '''⇨ [Theme settings] ⇨ [Font]''' (original, rounded, pop). See [[XMB Fonts]] page
**Font setting. In {{icon category settings}} '''Theme settings/Font''' (original, rounded, pop). See [[XMB Fonts]] page


*Firmware [[3.00_CEX|3.00]]:
*Added in firmware 3.00
**Added Dynamic Themes support. Allows the user to install animated themes. These themes may feature animated backgrounds which change throughout the day or respond to user input. See [[Rich Appearance Format (RAF)]] page
**Dynamic Themes support. Allows the user to install animated themes. These themes may feature animated backgrounds which change throughout the day or respond to user input. See [[Rich Appearance Format (RAF)]] page
**Added Dynamic brightness. XMB now change color depending on the time of day.
**Dynamic brightness. XMB now change color depending on the time of day.
**The old theme has been renamed to 'Classic'. The default theme has been changed to an updated version of the 'Original' waves theme with an animated sparkle effect
**The old theme has been renamed to 'Classic'. The default theme has been changed to an updated version of the 'Original' waves theme with an animated sparkle effect
**Night time black theme has the current month color as a basis instead of white. ?
**Night time black theme has the current month color as a basis instead of white. ?
}}
}}
=P3T structure=
See: [[CXML Containers]] page


=Theme Tools=
=Theme Tools=
Line 42: Line 39:


==P3Tcompiler==
==P3Tcompiler==
P3Tcompiler is made by Sony. For a basic guide creating themes with p3tcompiler read the official manual: [http://us.playstation.com/support/answer/index.htm?a_id=1205 How do I create my own theme for the PlayStation®3 computer entertainment system?]
P3Tcompiler is made by sony. For a basic guide creating themes with p3tcompiler read the official manual: [http://us.playstation.com/support/answer/index.htm?a_id=1205 How do I create my own theme for the PlayStation®3 computer entertainment system?]
*Download links
*Download links
**P3Tcompiler v2.00 included in: [https://web.archive.org/web/20160804062919/http://e1.dl.playstation.net/e1/downloads/ps3/themes/370/PS3_Custom_Theme_v200.zip]
**P3Tcompiler v2.00: [http://uk.playstation.com/ps3/support/settings/detail/linked235336/item85346/Download-PlayStation-3-Custom-Theme-Guidelines/ Playstation 3 custom theme guidelines v2.00]


With the program there is a sample theme ready to compile, you can separate the program folder and the sample folder to any path in your pc, and compile the sample theme just by "drag-and-drop" the simple.xml over ps3compiler.exe (or create a "direct access icon" in the desktop to the program and drag-and-drop .xml files over it). The compiled theme .pt3 is created in the same folder of the source .xml + lot of .gim files (this .gim files are generated in the conversion from .png--->.gim as a previous step before compiling, after compilation the .gim files are not erased)
With the program there is a sample theme ready to compile, you can separate the program folder and the sample folder to any path in your pc, and compile the sample theme just by "drag-and-drop" the simple.xml over ps3compiler.exe (or create a "direct access icon" in the desktop to the program and drag-and-drop .xml files over it). The compiled theme .pt3 is created in the same folder of the source .xml + lot of .gim files (this .gim files are generated in the conversion from .png--->.gim as a previous step before compiling, after compilation the .gim files are not erased)
Line 66: Line 63:


==Playstation 3 Theme Builder==
==Playstation 3 Theme Builder==
https://web.archive.org/web/20080819044230/http://www.lili-chan.com/downloads.htm
http://www.lili-chan.com/


==Xross Media Simulator==
==Xross Media Simulator==
https://web.archive.org/web/20080819044230/http://www.lili-chan.com/downloads.htm
http://www.lili-chan.com/


=Theme Contents=
=Theme Contents=
Line 76: Line 73:
This is the settings file of the theme, needed by the compiler to build the theme, it contains information about the theme and the author, and lists all the files that composes the theme.
This is the settings file of the theme, needed by the compiler to build the theme, it contains information about the theme and the author, and lists all the files that composes the theme.


{{Boxcode|title=Theme_name.xml (complete sample)|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<theme>
<theme>
<!--------------------------------------------------------------------------------------------------------------- Theme Info -->
<!-- Info -------------------------------------------------------------------------------------------->
    <infotable>
<infotable>
        <info
<info
            comment="Theme description"
comment="Theme Description"
            name="Theme name"
name="Theme Name"
            author="Your name, nick, team, company, etc..."
author="You"
            url="http://www.psdevwiki.com"
url="http://www.ps3devwiki.com"
            authoricon="theme_author_icon_64x64.png"
authoricon="authoricon.png"
            version="v0.1 beta"
version="v2.0"
            genre="PS3 Themes Design"
genre="Modding"
            preview="theme_preview_480x270.png"
preview="preview.png"
            icon="theme_icon_64x64.png"
icon="icon.png"
        />
/>
    </infotable>
</infotable>
<!--------------------------------------------------------------------------------------------------------------- Icons -->
<!-- Icons -------------------------------------------------------------------------------------------->
    <icontable>
<icontable>
        <!------------------------------------------------------------------------------------------------------- XMB Horizontal row -->
<!----------------------- horizontal row ------------------->
        <icon id="icon_user"                   src="icon_user.png"/>
<icon id="icon_user" src="icon_user.png"/>
        <icon id="icon_setting"                 src="icon_setting.png"/>
<icon id="icon_setting" src="icon_setting.png"/>
        <icon id="icon_photo"                   src="icon_photo.png"/>
<icon id="icon_photo" src="icon_photo.png"/>
        <icon id="icon_music"                   src="icon_music.png"/>
<icon id="icon_music" src="icon_music.png"/>
        <icon id="icon_video"                   src="icon_video.png"/>
<icon id="icon_video" src="icon_video.png"/>
        <icon id="icon_game"                   src="icon_game.png"/>
<icon id="icon_game" src="icon_game.png"/>
        <icon id="icon_network"                src="icon_network.png"/>
<icon id="icon_network" src="icon_network.png"/>
        <icon id="icon_friend"                  src="icon_friend.png"/>
<icon id="icon_friend" src="icon_friend.png"/>
        <icon id="icon_tv"                      src="icon_tv.png"/>
<icon id="icon_tv" src="icon_tv.png"/>
        <!------------------------------------------------------------------------------------------------------- XMB User column -->
<!-------------------------- user column ----------------------->
        <icon id="icon_poweroff"               src="icon_poweroff.png"/>
<icon id="icon_poweroff" src="icon_poweroff.png"/>
        <icon id="icon_newuser"                 src="icon_newuser.png"/>
<icon id="icon_newuser" src="icon_newuser.png"/>
        <!------------------------------------------------------------------------------------------------------- XMB Settings column -->
<!---------------------- settings column --------------------->
        <icon id="icon_update"                 src="icon_update.png"/>
<icon id="icon_update" src="icon_update.png"/>
        <icon id="icon_game_setting"           src="icon_game_setting.png"/>
<icon id="icon_game_setting" src="icon_game_setting.png"/>
        <icon id="icon_bdvd_setting"           src="icon_bdvd_setting.png"/>
<icon id="icon_bdvd_setting" src="icon_bdvd_setting.png"/>
        <icon id="icon_music_setting"           src="icon_music_setting.png"/>
<icon id="icon_music_setting" src="icon_music_setting.png"/>
        <icon id="icon_chat_setting"           src="icon_chat_setting.png"/>
<icon id="icon_chat_setting" src="icon_chat_setting.png"/>
        <icon id="icon_system_setting"         src="icon_system_setting.png"/>
<icon id="icon_system_setting" src="icon_system_setting.png"/>
        <icon id="icon_theme_setting"           src="icon_theme_setting.png"/>
<icon id="icon_theme_setting" src="icon_theme_setting.png"/>
        <icon id="icon_datetime_setting"       src="icon_datetime_setting.png"/>
<icon id="icon_datetime_setting" src="icon_datetime_setting.png"/>
        <icon id="icon_powersave_setting"       src="icon_powersave_setting.png"/>
<icon id="icon_powersave_setting" src="icon_powersave_setting.png"/>
        <icon id="icon_accessory"               src="icon_accessory.png"/>
<icon id="icon_accessory" src="icon_accessory.png"/>
        <icon id="icon_printer_setting"        src="icon_printer_setting.png"/>
<icon id="icon_printer_setting" src="icon_printer_setting.png"/>
        <icon id="icon_display_setting"        src="icon_display_setting.png"/>
<icon id="icon_display_setting" src="icon_display_setting.png"/>
        <icon id="icon_sound_setting"           src="icon_sound_setting.png"/>
<icon id="icon_sound_setting" src="icon_sound_setting.png"/>
        <icon id="icon_security_setting"       src="icon_security_setting.png"/>
<icon id="icon_security_setting" src="icon_security_setting.png"/>
        <icon id="icon_remoteplay_setting"     src="icon_remoteplay_setting.png"/>
<icon id="icon_remoteplay_setting" src="icon_remoteplay_setting.png"/>
        <icon id="icon_network_setting"         src="icon_network_setting.png"/>
<icon id="icon_network_setting" src="icon_network_setting.png"/>
        <icon id="icon_setting_item"           src="icon_setting_item.png"/>
<icon id="icon_setting_item" src="icon_setting_item.png"/>
        <!------------------------------------------------------------------------------------------------------- XMB Game column -->
<!------------ photo/music/video columns ---------------------------->
        <icon id="icon_gamedata"                src="icon_gamedata.png"/>
<icon id="icon_photo_default" src="icon_photo_default.png"/>
        <icon id="icon_savedata"                src="icon_savedata.png"/>
<icon id="icon_photo_album_default" src="icon_photo_album_default.png"/>
        <icon id="icon_savedata_minis"         src="icon_savedata_minis.png"/>
<icon id="icon_music_default" src="icon_music_default.png"/>
        <icon id="icon_vmc"                     src="icon_vmc.png"/>
<icon id="icon_music_album_default" src="icon_music_album_default.png"/>
        <icon id="icon_newvmc"                 src="icon_newvmc.png"/>
<icon id="icon_video_default" src="icon_video_default.png"/>
        <icon id="icon_trophy"                 src="icon_trophy.png"/>
<icon id="icon_video_album_default" src="icon_video_album_default.png"/>
        <!------------------------------------------------------------------------------------------------------- XMB Network column -->
<!-------------------------- game column ----------------------->
        <icon id="icon_onlinemanual"            src="icon_onlinemanual.png"/>
<icon id="icon_gamedata" src="icon_gamedata.png"/>
        <icon id="icon_remoteplay"             src="icon_remoteplay.png"/>
<icon id="icon_savedata" src="icon_savedata.png"/>
        <icon id="icon_inet_search"             src="icon_inet_search.png"/>
<icon id="icon_savedata_minis" src="icon_savedata_minis.png"/>
        <icon id="icon_browser"                src="icon_browser.png"/>
<icon id="icon_vmc" src="icon_vmc.png"/>
        <icon id="icon_download"                src="icon_download.png"/>
<icon id="icon_newvmc" src="icon_newvmc.png"/>
        <!------------------------------------------------------------------------------------------------------- XMB PSN column -->
<icon id="icon_trophy" src="icon_trophy.png"/>
        <icon id="icon_accountmanage"           src="icon_accountmanage.png"/>
<!----------------------- network column --------------------------->
        <!------------------------------------------------------------------------------------------------------- XMB Friends column -->
<icon id="icon_onlinemanual" src="icon_onlinemanual.png"/>
        <icon id="icon_blocklist"               src="icon_blocklist.png"/>
<icon id="icon_remoteplay" src="icon_remoteplay.png"/>
        <icon id="icon_addfriend"               src="icon_addfriend.png"/>
<icon id="icon_inet_search" src="icon_inet_search.png"/>
        <icon id="icon_playermet"               src="icon_playermet.png"/>
<icon id="icon_browser" src="icon_browser.png"/>
        <icon id="icon_chat"                   src="icon_chat.png"/>
<icon id="icon_download" src="icon_download.png"/>
        <icon id="icon_chatroom"                src="icon_chatroom.png"/>
<!--------------------------- psn column ---------------------------->
        <icon id="icon_chatroom_text"           src="icon_chatroom_text.png"/>
<icon id="icon_accountmanage" src="icon_accountmanage.png"/>
        <icon id="icon_mbox"                   src="icon_mbox.png"/>
<!----------------------- friends column ------------------------>
        <icon id="icon_mbox_received"           src="icon_mbox_received.png"/>
<icon id="icon_blocklist" src="icon_blocklist.png"/>
        <icon id="icon_mbox_sent"               src="icon_mbox_sent.png"/>
<icon id="icon_addfriend" src="icon_addfriend.png"/>
        <icon id="icon_mbox_create"             src="icon_mbox_create.png"/>
<icon id="icon_playermet" src="icon_playermet.png"/>
        <!------------------------------------------------------------------------------------------------------- Default icons -->
<icon id="icon_chat" src="icon_chat.png"/>
        <icon id="icon_default_h"               src="icon_default_h.png"/>
<icon id="icon_chatroom" src="icon_chatroom.png"/>
        <icon id="icon_default_v"               src="icon_default_v.png"/>
<icon id="icon_chatroom_text" src="icon_chatroom_text.png"/>
        <icon id="icon_photo_default"           src="icon_photo_default.png"/>
<icon id="icon_mbox" src="icon_mbox.png"/>
        <icon id="icon_photo_album_default"     src="icon_photo_album_default.png"/>
<icon id="icon_mbox_received" src="icon_mbox_received.png"/>
        <icon id="icon_music_default"          src="icon_music_default.png"/>
<icon id="icon_mbox_sent" src="icon_mbox_sent.png"/>
        <icon id="icon_music_album_default"     src="icon_music_album_default.png"/>
<icon id="icon_mbox_create" src="icon_mbox_create.png"/>
        <icon id="icon_video_default"           src="icon_video_default.png"/>
<!------------------------------ devices ----------------->
        <icon id="icon_video_album_default"    src="icon_video_album_default.png"/>
<icon id="icon_ms" src="icon_ms.png"/>
        <!------------------------------------------------------------------------------------------------------- Devices -->
<icon id="icon_sd" src="icon_sd.png"/>
        <icon id="icon_ms"                     src="icon_ms.png"/>
<icon id="icon_cf" src="icon_cf.png"/>
        <icon id="icon_sd"                     src="icon_sd.png"/>
<icon id="icon_usb" src="icon_usb.png"/>
        <icon id="icon_cf"                     src="icon_cf.png"/>
<icon id="icon_psp" src="icon_psp.png"/>
        <icon id="icon_usb"                     src="icon_usb.png"/>
<icon id="icon_pspms" src="icon_pspms.png"/>
        <icon id="icon_psp"                    src="icon_psp.png"/>
<icon id="icon_usbcamera" src="icon_usbcamera.png"/>
        <icon id="icon_pspms"                   src="icon_pspms.png"/>
<icon id="icon_usbaad" src="icon_usbaad.png"/>
        <icon id="icon_usbcamera"               src="icon_usbcamera.png"/>
<!------------------------- media player ---------------------->
        <icon id="icon_usbaad"                 src="icon_usbaad.png"/>
<icon id="icon_playing" src="icon_playing.png"/>
        <!------------------------------------------------------------------------------------------------------- Media players -->
<icon id="icon_mediaserver_search" src="icon_mediaserver_search.png"/>
        <icon id="icon_playing"                src="icon_playing.png"/>
<icon id="icon_playlist" src="icon_playlist.png"/>
        <icon id="icon_mediaserver_search"      src="icon_mediaserver_search.png"/>
<icon id="icon_playlist_add" src="icon_playlist_add.png"/>
        <icon id="icon_playlist"                src="icon_playlist.png"/>
<icon id="icon_video_upload" src="icon_video_upload.png"/>
        <icon id="icon_playlist_add"            src="icon_playlist_add.png"/>
<!------------------------ default icons ------------------------>
        <icon id="icon_video_upload"            src="icon_video_upload.png"/>
<icon id="icon_default_h" src="icon_default_h.png"/>
    </icontable>
<icon id="icon_default_v" src="icon_default_v.png"/>
<!--------------------------------------------------------------------------------------------------------------- Mouse pointers -->
</icontable>
    <pointertable>
<!-- Mouse pointers ---------------------------------------------------------------------------------->
        <pointer id="pointer_arrow"            src="pointer_arrow.png"    base_x="20"    base_y="5"/>    <!-- Arrow (default) -->
<pointertable>
        <pointer id="pointer_pen"              src="pointer_pen.png"      base_x="5"      base_y="40"/>    <!-- Pen (text input) -->
<pointer id="pointer_arrow" src="pointer_arrow.png" base_x="20" base_y="5"/> <!-- Arrow (default) -->
        <pointer id="pointer_finger"            src="pointer_finger.png"    base_x="15"    base_y="10"/>    <!-- Hand Over Clickable Object -->
<pointer id="pointer_pen" src="pointer_pen.png" base_x="5" base_y="40"/> <!-- Pen (text input) -->
        <pointer id="pointer_click"             src="pointer_click.png"    base_x="15"    base_y="10"/>   <!-- Hand Clicking Object -->
<pointer id="pointer_finger" src="pointer_finger.png" base_x="15" base_y="10"/> <!-- Hand Over Clickable Object -->
        <pointer id="pointer_hand"              src="pointer_hand.png"      base_x="25"    base_y="20"/>    <!-- Hand Over Draggable Object -->
<pointer id="pointer_click" src="pointer_click.png" base_x="15" base_y="10"/> <!-- Hand Clicking Object -->
        <pointer id="pointer_grab"              src="pointer_grab.png"      base_x="25"    base_y="20"/>    <!-- Hand Dragging Object -->
<pointer id="pointer_hand" src="pointer_hand.png" base_x="25" base_y="20"/> <!-- Hand Over Draggable Object -->
    </pointertable>
<pointer id="pointer_grab" src="pointer_grab.png" base_x="25" base_y="20"/> <!-- Hand Dragging Object -->
<!--------------------------------------------------------------------------------------------------------------- Notification window -->
</pointertable>
    <notification                              src="notification.png"/>
<!-- Notification window ----------------------------------------------------------------------------->
<!--------------------------------------------------------------------------------------------------------------- Navigation sounds -->
<notification src="notification.png"/>
    <setable>
<!-- Navigation sounds ------------------------------------------------------------------------------->
        <se id="se_cursor"                      src="se_cursor.vag"/>                                        <!-- Cursor movements: left, right, up, down -->
<setable>
        <se id="se_optionmenu"                  src="se_optionmenu.vag"/>                                    <!-- Open/enter a options menu -->
<se id="se_cursor" src="se_cursor.vag"/> <!-- Left, right, up, down, cursor movement -->
        <se id="se_cancel"                      src="se_cancel.vag"/>                                        <!-- Close/exit a options menu -->
<se id="se_optionmenu" src="se_optionmenu.vag"/> <!-- Open/enter a submenu -->
        <se id="se_decide"                      src="se_decide.vag"/>                                        <!-- Question -->
<se id="se_cancel" src="se_cancel.vag"/> <!-- Cancel/back from a submenu -->
        <se id="se_system_ok"                  src="se_system_ok.vag"/>                                    <!-- Accept -->
<se id="se_decide" src="se_decide.vag"/> <!-- Question -->
    </setable>
<se id="se_system_ok" src="se_system_ok.vag"/> <!-- Accept -->
<!--------------------------------------------------------------------------------------------------------------- Backgrounds -->
</setable>
    <bgimagetable>
<!-- Background -------------------------------------------------------------------------------------->
        <bgimage                                hd="hd_1.jpg"              sd="sd_1.jpg"/>
<bgimagetable>
    </bgimagetable>
<bgimage hd="hd_1.jpg" sd="sd_1.jpg"/>
<!--------------------------------------------------------------------------------------------------------------- Font (0: original, 1: rounded, 2: pop) -->
</bgimagetable>
    <font selection="1"/>
<!-- Font -------------------------------------------------------------------------------------------->
<!--------------------------------------------------------------------------------------------------------------- Color (1 to 12: color of a month, 0: changes with the month) -->
<font selection="1"/> <!-- 0: original, 1: rounded, 2: pop -->
    <color selection="10"/>
<!-- Color ------------------------------------------------------------------------------------------->
<color selection="10"/> <!-- 1 to 12: color of a month, 0: changes with the month -->
</theme>
</theme>
</syntaxhighlight>}}
</syntaxhighlight>}}
Line 209: Line 207:
===Other XML configurations===
===Other XML configurations===
*'''<localizedinfo>'''
*'''<localizedinfo>'''
Is posible to add translations for different languages for some contents of <info> by using <localizedinfo> (XMB replaces contents in the <info> by the contents of <localizedinfo>), each language is identifyed with a "letter code" listed in this table: [[Template:PlayStation Languages|Languages]]
Is posible to add translations for different languages for some contents of <info> by using <localizedinfo> (XMB replaces contents in the <info> by the contents of <localizedinfo>), each language is identifyed with a "letter code" listed in this table: [[Template:XMB_languages|Languages]]


Localized info texts are only displayed when the laguage setting used in XMB matches with the language used in the "locale" of the theme
Localized info texts are only displayed when the laguage setting used in XMB matches with the language used in the "locale" of the theme
Line 215: Line 213:
If the theme doesnt contains <localizedinfo> the default texts from <info> are used , so <localizedinfo> is not mandatory, and usually is not needed (most of the <info> contents doesnt need to be translated)
If the theme doesnt contains <localizedinfo> the default texts from <info> are used , so <localizedinfo> is not mandatory, and usually is not needed (most of the <info> contents doesnt need to be translated)


{{Boxcode|title=Theme_name.xml (section sample)|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
    <infotable>
<infotable>
            <!-- default info -->
<!-- default info -->
        <info
<info
            name="Theme Name"
name="Theme Name"
            comment="No comment, thxbye"
comment="No comment, thxbye"
        />
/>


            <!-- localized info to replace for spanish language ("letter code "es") -->
<!-- localized info to replace for spanish language ("letter code "es") -->
        <localizedinfo
<localizedinfo
            locale="es"
locale="es"
            name="Nombre del tema"
name="Nombre del tema"
            comment="No comentarios, graciasadios"
comment="No comentarios, graciasadios"
        />
/>
    </infotable>
</infotable>
</syntaxhighlight>}}
</syntaxhighlight>}}
{{PlayStation Languages}}


*'''<color selection>'''
*'''<color selection>'''
Line 256: Line 253:
! File !! Image type !! Notes
! File !! Image type !! Notes
|-
|-
| icon_photo_default || rowspan="2" | 170x128, 32-bit .PNG || icon for photo without preview
| icon_photo_default || rowspan="2" | 170x128, 32-bit .PNG ||  
|-
| icon_photo_album_default || icon for folder with photos
|-
| icon_video_default || rowspan="2" | 228x128, 32-bit .PNG || icon for video without preview
|-
|-
| icon_video_album_default || icon for folder with videos
| icon_photo_album_default ||  
|-
|-
| icon_game_default || | 322x178, 32-bit .PNG || icon for game without ICON0.PNG
| icon_video_default || rowspan="2" | 228x128, 32-bit .PNG ||  
|-
|-
| icon_game_album_default || 314x178, 32-bit .PNG || icon for game group
| icon_video_album_default ||  
|-
|-
|}
|}
Line 278: Line 271:


==Notification window (.PNG)==
==Notification window (.PNG)==
<div style="float:right">[[File:Notification Window Frame - Stretching Layout.jpg|200px|thumb|left|Notification Window Frame - Stretching Layout]]</div>
Background image that appears at top-right corner of XMB for system messages (used e.g: to notify when a trophy is unlocked)
Background image that appears at top-right corner of XMB for system messages (used e.g: to notify when a trophy is unlocked)


This image has transparent rounded corners, and is stretched by XMB depending of the length of the texts displayed, this stretching is made in the center of the image (not in the corners) to prevent deformation of the rounded corners.
This image has transparent rounded corners, and is stretched by XMB depending of the lenght of the texts displayed, this stretching is made in the center of the image (not in the corners) to prevent deformation of the rounded corners.
{{clear}}


==Mouse Pointers (.PNG)==
==Mouse Pointers (.PNG)==
(system_plugin.rco)


==Navigation Sounds (.VAG)==
==Navigation Sounds (.VAG)==
(system_plugin.rco)
  -Total sound data under 256 KB spreaded between all sound files. (or 150KB as suggested here: http://www.ps3-themes.com/forum/ps3-themes/sound-tutorial-new )
  -Total sound data under 256 KB spreaded between all sound files. (or 150KB as suggested here: http://www.ps3-themes.com/forum/ps3-themes/sound-tutorial-new )


Line 296: Line 284:
Create the sound files in WAV format @ 44100Hz/16bit-Mono (or lower quality to obtain smaller files). Then use MFaudio v1.1 to convert from WAV to VAG
Create the sound files in WAV format @ 44100Hz/16bit-Mono (or lower quality to obtain smaller files). Then use MFaudio v1.1 to convert from WAV to VAG


{{Boxcode|title=Fake Stereo Sounds (same sound used in left and right channels|code=<syntaxhighlight lang="xml">
{{Boxframe1|content='''Fake Stereo Sounds (same sound used in left and right channels'''
    <setable>
For this method is needed to export the original sound as a single WAV and use the same file in both channels
        <se id="se_system_ok"             left="se_system_ok.vag"         right="se_system_ok.vag"/>
{{Boxcode|content=<syntaxhighlight lang="xml">
        <se id="se_decide"                 left="se_decide.vag"             right="se_decide.vag"/>
<setable>
        <se id="se_cancel"                 left="se_cancel.vag"             right="se_cancel.vag"/>
<se id="se_system_ok" left="se_system_ok.vag" right="se_system_ok.vag"/>
        <se id="se_optionmenu"             left="se_optionmenu.vag"         right="se_optionmenu.vag"/>
<se id="se_decide" left="se_decide.vag" right="se_decide.vag"/>
        <se id="se_cursor"                 left="se_cursor.vag"             right="se_cursor.vag"/>
<se id="se_cancel" left="se_cancel.vag" right="se_cancel.vag"/>
    </setable>
<se id="se_optionmenu" left="se_optionmenu.vag" right="se_optionmenu.vag"/>
<se id="se_cursor" left="se_cursor.vag" right="se_cursor.vag"/>
</setable>
</syntaxhighlight>}}
</syntaxhighlight>}}
*For this method is needed to export the original sound as a single WAV and use the same file in both channels
}}


{{Boxcode|title=Stereo Sounds (separated sounds for left and right channels)|code=<syntaxhighlight lang="xml">
{{Boxframe1|content='''Stereo Sounds (separated sounds for left and right channels)'''
    <setable>
For this method is needed to export each channel of the original sound in a separated WAV
        <se id="se_system_ok"             left="se_system_ok_left.vag"     right="se_system_ok_right.vag"/>
{{Boxcode|content=<syntaxhighlight lang="xml">
        <se id="se_decide"                 left="se_decide_left.vag"       right="se_decide_right.vag"/>
<setable>
        <se id="se_cancel"                 left="se_cancel_left.vag"       right="se_cancel_right.vag"/>
<se id="se_system_ok" left="se_system_ok_left.vag" right="se_system_ok_right.vag"/>
        <se id="se_optionmenu"             left="se_optionmenu_left.vag"   right="se_optionmenu_right.vag"/>
<se id="se_decide" left="se_decide_left.vag" right="se_decide_right.vag"/>
        <se id="se_cursor"                 left="se_cursor_left.vag"       right="se_cursor_right.vag"/>
<se id="se_cancel" left="se_cancel_left.vag" right="se_cancel_right.vag"/>
    </setable>
<se id="se_optionmenu" left="se_optionmenu_left.vag" right="se_optionmenu_right.vag"/>
<se id="se_cursor" left="se_cursor_left.vag" right="se_cursor_right.vag"/>
</setable>
</syntaxhighlight>}}
</syntaxhighlight>}}
*For this method is needed to export each channel of the original sound in a separated WAV
}}


==Background (.JPG .RAF)==
==Background (.JPG .RAF)==
Line 334: Line 326:
===Static Background (.JPG)===
===Static Background (.JPG)===
The basic entry for 1 background in two aspect ratios (16:9 and 4:3). Is highly recommended to add both aspect ratios for compatibility with all TV's
The basic entry for 1 background in two aspect ratios (16:9 and 4:3). Is highly recommended to add both aspect ratios for compatibility with all TV's
{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
    <bgimagetable>
<bgimagetable>
        <bgimage                 hd="bg_hd_1.jpg"         sd="bg_sd_1.jpg"/>
<bgimage hd="bg_hd_1.jpg" sd="bg_sd_1.jpg"/>
    </bgimagetable>
</bgimagetable>
</syntaxhighlight>}}
</syntaxhighlight>}}


Line 349: Line 341:
Every time the PS3 boots or every time the theme is applyed, the system time is readed (seconds) the number of backgrounds is counted starting from top of the list and one of them is selected based in the number of seconds in ps3 time. E.g. if the theme contains 24 images and is applyed at time 23:58:00 the first background is displayed, if the theme is applyed at 23:58:23 the last background is displayed, after the last background it loops to the first background of the list e.g: if the theme is applyed at 23:58:24 the first background is displayed
Every time the PS3 boots or every time the theme is applyed, the system time is readed (seconds) the number of backgrounds is counted starting from top of the list and one of them is selected based in the number of seconds in ps3 time. E.g. if the theme contains 24 images and is applyed at time 23:58:00 the first background is displayed, if the theme is applyed at 23:58:23 the last background is displayed, after the last background it loops to the first background of the list e.g: if the theme is applyed at 23:58:24 the first background is displayed


{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<!-------------------------- Backgrounds linked to PS3 time (seconds) -------------------------->
<!-------------------------- Backgrounds linked to PS3 time (seconds) -------------------------->
    <bgimagetable>
<bgimagetable>
        <bgimage                 hd="bg_hd_1.jpg"         sd="bg_sd_1.jpg"/>
<bgimage hd="bg_hd_1.jpg" sd="bg_sd_1.jpg"/>
        <bgimage                 hd="bg_hd_2.jpg"         sd="bg_sd_2.jpg"/>
<bgimage hd="bg_hd_2.jpg" sd="bg_sd_2.jpg"/>
        <bgimage                 hd="bg_hd_3.jpg"         sd="bg_sd_3.jpg"/>
<bgimage hd="bg_hd_3.jpg" sd="bg_sd_3.jpg"/>
    </bgimagetable>
</bgimagetable>
</syntaxhighlight>}}
</syntaxhighlight>}}


====Backgrounds linked to PS3 time (hours of the day)====
====Backgrounds linked to PS3 time (hours of the day)====
Note the maximum number of background images supported is 24. You can link them to the 24 hours of the day. Or you can divide the day in 3 periods of 8 hours and use 3 backgrounds for "morning" "evening" and "night"
Note the maximun number of background images supported is 24. You can link them to the 24 hours of the day. Or you can divide the day in 3 periods of 8 hours and use 3 backgrounds for "morning" "evening" and "night"


{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<!-------------------------- Backgrounds linked to PS3 time (hours of the day). Time in "HH" Format -------------------------->
<!-------------------------- Backgrounds linked to PS3 time (hours of the day). Time in "HH" Format -------------------------->
    <bgimagetable showtype="datetime">
<bgimagetable showtype="datetime">
        <bgimage                 hd="bg_hd_1.jpg"         sd="bg_sd_1.jpg"     from="00"       until="01"/>
<bgimage hd="bg_hd_1.jpg" sd="bg_sd_1.jpg" from="00" until="01"/>
        <bgimage                 hd="bg_hd_2.jpg"         sd="bg_sd_2.jpg"     from="01"       until="02"/>
<bgimage hd="bg_hd_2.jpg" sd="bg_sd_2.jpg" from="01" until="02"/>
        <bgimage                 hd="bg_hd_3.jpg"         sd="bg_sd_3.jpg"     from="02"       until="03"/>
<bgimage hd="bg_hd_3.jpg" sd="bg_sd_3.jpg" from="02" until="03"/>
    </bgimagetable>
</bgimagetable>
</syntaxhighlight>}}
</syntaxhighlight>}}


Line 373: Line 365:
Usefull for special days of special months: a birthday, christmas, etc... The background is visible the same days of all years because the year is not specifyed
Usefull for special days of special months: a birthday, christmas, etc... The background is visible the same days of all years because the year is not specifyed


{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<!-------------------------- Backgrounds linked to PS3 time (days of months). Time in MMDD Format -------------------------->
<!-------------------------- Backgrounds linked to PS3 time (days of months). Time in MMDD Format -------------------------->
    <bgimagetable showtype="days">
<bgimagetable showtype="days">
        <bgimage                 hd="bg_hd_1.jpg"         sd="bg_sd_1.jpg"   from="1231"       until="1231"/>
<bgimage hd="bg_hd_1.jpg" sd="bg_sd_1.jpg" from="1231" until="1231"/>
    </bgimagetable>
</bgimagetable>
</syntaxhighlight>}}
</syntaxhighlight>}}


Line 383: Line 375:
Useful for special days of special years: the next olympic games, the next apocalypse, etc... it can be used for restrictions too, in the example the image is visible for a period of 1 year (from 31 december 2012, until 31 december 2013)
Useful for special days of special years: the next olympic games, the next apocalypse, etc... it can be used for restrictions too, in the example the image is visible for a period of 1 year (from 31 december 2012, until 31 december 2013)


{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<!-------------------------- Backgrounds linked to PS3 time (days of years). Time in "YYYYMMDD" Format -------------------------->
<!-------------------------- Backgrounds linked to PS3 time (days of years). Time in "YYYYMMDD" Format -------------------------->
    <bgimagetable showtype="days">
<bgimagetable showtype="days">
        <bgimage                 hd="bg_hd_1.jpg"         sd="bg_sd_1.jpg"   from="20121231"   until="20131231"/>
<bgimage hd="bg_hd_1.jpg" sd="bg_sd_1.jpg" from="20121231" until="20131231"/>
    </bgimagetable>
</bgimagetable>
</syntaxhighlight>}}
</syntaxhighlight>}}


Line 396: Line 388:


This is the entry that links to the .RAF background in the main '''Theme Scene.XML''' file. Note inside the .RAF there is another '''RAF Scene.XML''' that is very different. For more information about this RAf files see: [[Rich Appearance Format (RAF)]]
This is the entry that links to the .RAF background in the main '''Theme Scene.XML''' file. Note inside the .RAF there is another '''RAF Scene.XML''' that is very different. For more information about this RAf files see: [[Rich Appearance Format (RAF)]]
{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
    <bgimagetable>
<bgimagetable>
        <bgimage                 anim="anim_1.jpg"/>
<bgimage anim="anim_1.jpg"/>
    </bgimagetable>
</bgimagetable>
</syntaxhighlight>}}
</syntaxhighlight>}}


Line 408: Line 400:


In this example the image "safe" is used when the time doesnt match with any of them, the image "win" is used only the day 1 of january of years before 2010 and after 2020, the image "1" is used during the period from 2010 until 2020 included the days 1 of january (in this day "1" and "win" collides and "win" is deprecated because is at the bottom of the list)
In this example the image "safe" is used when the time doesnt match with any of them, the image "win" is used only the day 1 of january of years before 2010 and after 2020, the image "1" is used during the period from 2010 until 2020 included the days 1 of january (in this day "1" and "win" collides and "win" is deprecated because is at the bottom of the list)
{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
    <bgimagetable showtype="days">
<bgimagetable showtype="days">
        <bgimage                 hd="hd_safe.jpg"         sd="sd_safe.jpg"         from="99991231"       until="99991231"/>
<bgimage hd="hd_safe.jpg" sd="sd_safe.jpg" from="99991231" until="99991231"/>
        <bgimage                 hd="hd_1.jpg"             sd="sd_1.jpg"           from="20100101"       until="20200101"/>
<bgimage hd="hd_1.jpg" sd="sd_1.jpg" from="20100101" until="20200101"/>
        <bgimage                 hd="hd_win.jpg"           sd="sd_win.jpg"         from="0101"           until="0101"/>
<bgimage hd="hd_win.jpg" sd="sd_win.jpg" from="0101" until="0101"/>
    </bgimagetable>
</bgimagetable>
</syntaxhighlight>}}
</syntaxhighlight>}}


Line 420: Line 412:
====Static and Dynamic backgrounds linked to PS3 time (seconds)====
====Static and Dynamic backgrounds linked to PS3 time (seconds)====
This combines static (.jpg images), and dynamic (.raf animations) backgrounds, selected based on seconds
This combines static (.jpg images), and dynamic (.raf animations) backgrounds, selected based on seconds
{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
    <bgimagetable>
<bgimagetable>
        <bgimage                 hd="hd_1.jpg"             sd="sd_1.jpg"/>
<bgimage hd="hd_1.jpg" sd="sd_1.jpg"/>
        <bgimage                 anim="anim_1.jpg"/>
<bgimage anim="anim_1.jpg"/>
        <bgimage                 hd="hd_2.jpg"             sd="sd_2.jpg"/>
<bgimage hd="hd_2.jpg" sd="sd_2.jpg"/>
        <bgimage                 anim="anim_2.jpg"/>
<bgimage anim="anim_2.jpg"/>
        <bgimage                 hd="hd_3.jpg"             sd="sd_3.jpg"/>
<bgimage hd="hd_3.jpg" sd="sd_3.jpg"/>
        <bgimage                 anim="anim_3.jpg"/>
<bgimage anim="anim_3.jpg"/>
    </bgimagetable>
</bgimagetable>
</syntaxhighlight>}}
</syntaxhighlight>}}


See also {{talk}} page
See also [[Talk:Themes_(.p3t)| Talk page]].
 
 
{{File Formats}}
<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)