Editing Template.xml

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]]<noinclude>[[Category:Main]]</noinclude>
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)''


<div style="float:right">[[File:Xml-logo.png|100px|left]]</div>
<div style="color: #ffffff; background-color: #786D6C; border: 1px solid #808000; padding: 5px; {{box-shadow|4px|4px|8px|#b0b090}}">
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)''
</div>


==Sample of a basic xml structure==
==Sample of a basic xml structure==
<!-- syntaxhighlight not working for now -->
{{Boxcode|>


<pre><?xml version="1.0" encoding="utf-8"?>
<pre><?xml version="1.0" encoding="utf-8"?>
Line 31: Line 23:
   
   
</livearea></pre>
</livearea></pre>
}}
Inside the '''<livearea>'''-tag the basic layout will be declared along with some internal version information of the xml.
In the '''<image>-tag''' inside the '''<livearea-background>'''-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 '''<startup-image>'''-tag inside the '''<gate>'''-tag declares the startup icon. ''(startup.png by default)''  
Inside the '''<livearea>'''-tag the basic layout will be declared along with some internal version information of the xml. In the '''<image>-tag''' inside the '''<livearea-background>'''-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 '''<startup-image>'''-tag inside the '''<gate>'''-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.  
 
And lastly the string "Hello World!" will be displayed at the position of frame3 depending on the livearea style.  




Line 55: Line 40:
Frames layout a5.jpg|a5
Frames layout a5.jpg|a5
Frames layout ad0.jpg|ad0
Frames layout ad0.jpg|ad0
[https://www.psdevwiki.com/vita/File:VLvcCUf.png]|ad1
Frames layout ad1.jpg|ad1
[https://www.psdevwiki.com/vita/File:ovUfSii.png]|ad2
Frames layout ad2.jpg|ad2
[https://www.psdevwiki.com/vita/File:TfduneH.png]|ad3
Frames layout ad3.jpg|ad3
[https://www.psdevwiki.com/vita/File:3mcKIa4.png]|ad4
Frames layout ad4.jpg|ad4
Frames layout nsx1.jpg|nsx1
Frames layout nsx1.jpg|nsx1
Frames layout ps1emu.jpg|ps1emu
Frames layout ps1emu.jpg|ps1emu
Line 76: Line 61:


===<gate>===
===<gate>===
===<startup-image>===
Example:
<pre><gate>
<pre><gate>
   <startup-image>startup.png</startup-image>
   <startup-image>startup.png</startup-image>
Line 89: Line 70:


===<liveitem>===
===<liveitem>===
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!
Liveitems are the actual displayed 'widgets' inside a frame. There can be different versions for different xxx. For example:
<pre><liveitem default="on"></pre>
<pre><liveitem default="on"></pre>
<pre><liveitem from="2016-07-25T07:00:00.00Z" until="9999-07-25T17:00:00.00Z"></pre>
<pre><liveitem from="2016-07-25T07:00:00.00Z" until="9999-07-25T17:00:00.00Z"></pre>
Line 120: Line 101:
<pre><lang>ja</lang></pre>
<pre><lang>ja</lang></pre>
'''Language Codes:''' ja, en, fr, es, de, it, nl, pt, ru, ko, ch, zh, fi, sv, da, no, pl, en-gb, pt-br, tr
'''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>===
===<exclude-lang>===
Please note that all contributions to Vita Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see Vita 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)

Templates used on this page: