Editing PlayView

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 246: Line 246:


===content.dat(.edat):===
===content.dat(.edat):===
The file contains a file list, and XML files giving the structure to transport elements such video, music background etc...
The file contain the XML structure to transport elements such video, music background etc...
(thiis file format can vary up to PlayView version)


*First part header:
*First part header:
Line 261: Line 260:
| 000C || 4 || Total Length first part/start second part
| 000C || 4 || Total Length first part/start second part
|-
|-
| 0010 || 4 || Offset (without header) on file list
| 0010 || 4 || Offset (without header)
|-
|-
| 0014 || 4 || Length filename (without 0x00)
| 0014 || 4 || Length
|-
|-
| 0018 || 4 || Offset (without this header) of the file (XML)
| 0018 || 4 || Offset  
|-
|-
| 001C || 4 || Length file (XML) without 0x00
| 001C || 4 || Length
|-
|-
| 0020 || xx|| Repeat last 0x10
| 0020 || xx|| Repeat last 0x10
|-
|-
|}
|}
Then come the file list


*Second part XML:
*Second part XML:
Line 281: Line 278:


{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<!--contain all the name file.gvd as XML in order of file appearance-->
 
//'''''File list:contain all the name file.gvd as XML in order of file appearance'''''
content.flst page00.xml page01.xml page02.xml ...page09.xml
content.flst page00.xml page01.xml page02.xml ...page09.xml
0A<?xml version="1.0" encoding="utf-8"?>
0A<?xml version="1.0" encoding="utf-8"?>
Line 287: Line 285:
     <image_files>
     <image_files>
         <archive source="gvd.dat">
         <archive source="gvd.dat">
<!--See other example structure for W & H and Other tile_type as Multiplane and Stereoscopy?-->
 
//'''''Width & Height of layer 0 on file (last layer visually), tile_type can be also Multiplane and Stereoscopy?'''''
 
             <image width="3840" height="2160" id="i0001" source="page00.gvd" tile_type="normal"/>  
             <image width="3840" height="2160" id="i0001" source="page00.gvd" tile_type="normal"/>  
             <image width="3840" height="2160" id="i0002" source="page01.gvd" tile_type="normal"/>
             <image width="3840" height="2160" id="i0002" source="page01.gvd" tile_type="normal"/>
Line 295: Line 295:
         </archive>
         </archive>
     </image_files>
     </image_files>
//'''''Visual effect as turning the page of paper book'''''
     <structure>
     <structure>
         <root ref="i0001"/>
         <root ref="i0001"/>
         <sequence transition="double_page_flip" id="s0001"> <!--visual effect as turning the page of paper book-->
         <sequence transition="double_page_flip" id="s0001">  
             <item ref="i0002"/>  <!--Not all page need to have this double page flip effect-->
             <item ref="i0002"/>
             <item ref="i0003"/>
             <item ref="i0003"/>
         </sequence>
         </sequence>
Line 305: Line 309:




<!--One page example-->
//'''''One page example'''''


0A<?xml version="1.0" encoding="utf-8"?>
0A<?xml version="1.0" encoding="utf-8"?>
Line 314: Line 318:
     </home>
     </home>


<!--Limit of the values (ZOOM IN:limited by the images). Here you can adjust/unlock/lock the level of max/min_zoom (between 1 to 0 ∞)-->
//'''Limit to:'''
//'''''Max_Zoom can be adjusted here'''''
 
     <limit>
     <limit>
         <boundary offset_x="0.000000" max_overshoot="0.000000" offset_y="0.000000" scale="1.000000"  
         <boundary offset_x="0.000000" max_overshoot="0.000000" offset_y="0.000000" scale="1.000000"  
         max_zoom="2.000000" max_invisibility="INF" min_zoom="1.000000"/>
         max_zoom="2.000000" max_invisibility="INF" min_zoom="1.000000"/>
     </limit>
     </limit>''
 
//'''Links to other pages. Here 2 links to jump into other pages defined by selector'''''


<!--Links to other pages. Here you create 2 links, enter by selector (ID_YYYYMMDDHHMMSSSSS
for internal use/(not checked on file attribute or only if file list XML don t load properly?)-->
     <link width="3840.000000" crossfade_range="1.000000" target="page01.xml" center_x="1920.000000"  
     <link width="3840.000000" crossfade_range="1.000000" target="page01.xml" center_x="1920.000000"  
center_y="1080.000000" height="2160.000000" separate="true" id="ID_YYYYMMDDHHMMSSSSS" name="[l]link(1)">
center_y="1080.000000" height="2160.000000" separate="true" id="ID_YYYYMMDDHHMMSS001" name="[l]link(1)">
         <boundary offset_x="0.000000" max_overshoot="0.500000" offset_y="0.000000" scale="1.000000"  
         <boundary offset_x="0.000000" max_overshoot="0.500000" offset_y="0.000000" scale="1.000000"  
max_zoom="INF" action="enable" max_invisibility="INF" min_zoom="0.500000" max_stretch="INF"/>
max_zoom="INF" action="enable" max_invisibility="INF" min_zoom="0.500000" max_stretch="INF"/>
Line 334: Line 340:
     </link>
     </link>


<!--Embed to music and videos-->
 
<!--music-->
//'''''Embed to:'''''
//'''''music'''''
 
     <embed width="1.000000" center_x="1.000000" center_y="1.000000" height="1.000000"  
     <embed width="1.000000" center_x="1.000000" center_y="1.000000" height="1.000000"  
         volume="0.600000" source="mymusic01.mp3" name="[BGM]">
         volume="0.600000" source="mymusic01.mp3" name="[BGM]">
Line 342: Line 350:
     </embed>
     </embed>


<!--videos-->
//'''''videos''''': ''precise where the video appear, name is per page (first video on this page is 1)''
    ...
 
    <embed width="900.000000" center_x="1200.123456" center_y="720.123456" height="500.123456"
        volume="1.000000" source="myvideo01.mp4" name="[v]video(1)">
        <boundary offset_x="0.000000" max_overshoot="0.500000" offset_y="0.000000" scale="1.000000"
        max_zoom="INF" action="play" max_invisibility="INF" min_zoom="0.500000" max_stretch="INF"/>
    </embed>
 


//'''''Select to: values(right-angled with x & y) for the links defined above'''''


<!--Selector values(right-angled with x & y) for the links defined above-->   
    ...


</gigantic_image>
</gigantic_image>
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)

Template used on this page: