Page 1 of 1

Panotour viewr problem

PostPosted: Thu Mar 31, 2016 8:43 am
by ittay
win 7, ptp 2.5.2 64 bit

Hi
Trying to export PTV file produce only 1 kb file (browser page say "ERROR")

I need urgently to export PTV file. is there any solution ?

Re: Panotour viewr problem

PostPosted: Thu Mar 31, 2016 9:25 am
by Annis
Try building in a new directory or otherwise you could create the PTV manually?

Re: Panotour viewr problem

PostPosted: Thu Mar 31, 2016 9:51 am
by ittay
Thank you Annis

I tried new directory - still the same...

How can I create PTV manually?

Re: Panotour viewr problem

PostPosted: Thu Mar 31, 2016 11:14 am
by Annis
1) Create a simple text file called "infos.txt" that will be placed in the same folder as your tour's html file.
In it, you will need to add this information:
Code: Select all
   [ptv]
   version=1

   [tour]
   name=My tour name
   author=The author of the tour
   entryFile=tour.html
   thumbnailFile=tourdata/thumbnail.jpg

Remplace "tour" with your tour's name. So for example if the tour's html file is called index.html, replace tour.html with index.html and tourdata with indexdata.
infos.txt - Bloc-notes.png


2) Save the text file, then select it in the explorer and change it's extension to .pti. A warning will likely pop up warning you about changing extensions but that's fine, click on OK.
001.png
001.png (4.47 KiB) Viewed 978 times


3) Now select the info.pti file, the html file, and your tour's data folder and compress them into a .zip file. It is important that you select these files and zip them instead of compressing the containing folder, the zipped files have to be at the root of the zip file, which won't be the case if you zip the containing folder.
002.png


4) Wait for the compression to finish then just change the .zip extension to .ptv and you're done.
003.png
003.png (5.69 KiB) Viewed 978 times


There may be a size difference from the ptv you would have got from PTP and from the one you created manually because they'll have been compressed differently, but other than that your ptv should be fine.

Re: Panotour viewr problem

PostPosted: Thu Mar 31, 2016 12:09 pm
by ittay
Annis, thank you so much !