Template.xml



 template.xml files are stored in sce_sys/livearea/content and are responsible for the livearea's design and functions of a Game/Application. Once a new app has been installed and the bubble is launched for the first time, the xml's content will be partially written in the ur0:shell/db/app.db (tbl_livearea & tbl_livearea_frame)

Sample of a basic xml structure
Inside the  -tag the basic layout will be declared along with some internal version information of the xml.

In the  -tag inside the -tag the background picture will be declared (by default this will be bg0.png and located next to the template.xml itself)

Analog to this the -tag inside the  -tag declares the startup icon. (startup.png by default)

And lastly the string "Hello World!" will be displayed at the position of frame3 depending on the livearea style.

Example:  Different Layouts for style="":


 bg0.png 


Example: startup.png

Depending on the layout style, there will be different numbers of frames available. The positions itself are fix but you can position your liveitems inside them freely. 

Liveitems are the actual displayed 'widgets' inside a frame. There can be different versions for different; language settings, time settings, age limits or even device models! 

Example for styling options: 

Example for styling options: Lorem Ipsum

Example for styling options: x.png

x.png

Creates a link that can be selected and touched. Can open a website or execute an uri call. Examples: http://xyz.com camera: psns:browse?product=EP4293-PCSB00956_00-GALGUNWAPP000000

Example: The liveitem containing this tag will only become active if the Vita's language setting is set to Japanese. ja Language Codes: ja, en, fr, es, de, it, nl, pt, ru, ko, ch, zh, fi, sv, da, no, pl, en-gb, pt-br, tr

See Languages page.

<exclude-lang>
The liveitem will become active if the Vita's language setting doesn't match the language code(s). (Multiple declarations possible!) <exclude-lang>en-gb</exclude-lang> <exclude-lang>fr</exclude-lang> <exclude-lang>es</exclude-lang> <exclude-lang>de</exclude-lang>

<age-limit>
<age-limit >3</age-limit>

The liveitem will only become active on a Vita. vita

Advanced tags for System Applications
<title color="#000000ff"/> Sets the title color for system apps in the top left corner.

<system-function-zone> voucher-code online-manual sceman:photos reload </system-function-zone> Declares additional buttons to the top of the livearea screen.

Frame Example of NPXS10015


You can always dump the un-encrypted template.xml of any System application from vs0:app/NPXS1????/sce_sys/livearea/contents/ or any installed game/app from ur0:appmeta/TitleID/livearea/contents/.