logo  
 
ddd
Plug-ins, Content & Tutorials for Poser
ddddddd

----->
unzip Python script for Poser
Home | Tutorials | General | unzip

Python Script to install ZIP files into Poser

unzip by PhilC

Poser 6 (PC only).
Poser 7, Poser 8, Poser Pro 2010 (PC & Mac).
Poser 9, Poser Pro 2012 (PC & Mac)

A utility to install zip files primarily of use to Mac users because the files will be ADDED to existing directories rather than replacing the entire directory. Works fine on a PC also.

There is an "Install From Zip Archive" button on the Poser Content Page but this only allows you to install to the Download folder. (It appears to give the option to select a different directory but on every version I own, PC or Mac, it reverts to the Download directory). This script will allow you to install to ANY folder.

Written by PhilC using reference material from the Python Cookbook, the uncompressPoserFiles.py script and associated XML file that comes with Poser.

This is a free utility and as such is issued with no support or warranty. Use at your own risk. Do not redistribute. For more details, current version etc please visit:- http://www.philc.net/unzip.htm


File placing Poser 6, 7, 8, Pro 2010:-
----------------------------------------------------------------------
Poser 7\Runtime\Python\poserScripts\PhilC\unzip
----------------------------------------------------------------------
unzip.pyc
unzip.xml
start_unzip.py
----------------------------------------------------------------------
Poser 7\Runtime\Python\poserScripts\ScriptsMenu\PhilC
----------------------------------------------------------------------
P7_start_unzip.py
----------------------------------------------------------------------

File Placing Poser 9, Pro 2012,
----------------------------------------------------------------------

Poser 9\Runtime\Python\poserScripts\ScriptsMenu\PhilC\unzip.py
Poser 9\Runtime\ui\unzip.xml
----------------------------------------------------------------------

On screen video showing how to install this utility on a PC:-

For a tutorial explaining how to copy files from a ZIP into their correct
Poser 7 directories ON A MAC please see

http://www.philc.net/tutorial11.php

------------------------------------------------------
Start the script using one of these methods:-
------------------------------------------------------

  1. Select the Poser menu "Scripts" ---> "PhilC" ---> "P7_start_unzip"
    Then select the Poser menu "Window" ---> "Python Scripts"

  2. Select the Poser menu "File" ---> "Run Python script" ---> browse to:-
    Poser 7\Runtime\Python\poserScripts\PhilC\unzip\start_unzip.py
    Then select the Poser menu "Window" ---> "Python Scripts"

  3. Select the Poser menu "Window" ---> "Python Scripts"
    Click an empty script button then browse to:-
    Poser 7\Runtime\Python\poserScripts\PhilC\unzip\start_unzip.py

In all instances you will need to open the Poser Python script window manually using the Poser menu Window > Python Scripts. The starter script will not do it for you.

If required you can edit mainButtons.py to have this permanently displayed as one of the default script buttons.

------------------------
Method
------------------------
You will first need to check any documentation, readme, info file etc that is supplied with the zip file. A very large number of Poser files require that they be installed to the Poser directory but not all. Also most ZIP files contain the required directory structure, but not all. This script will install in accordance with the directory structure in the ZIP file. Please do not email me asking where to install. I'll only be able to reply, "Well what does it say in the readme file?" :)

When the script is run a window will appear containing two buttons. One to select the ZIP file, the other to select the root directory that the files will be installed into. The default is set the the Poser directory of the version that you are running. You can browse to select a different folder if required.

Once you are happy with your selections click the "OK" and the files will be extracted from the zip file into the directories on your hard drive.

------------------------

Hope folks find this helpful.

PhilC

pcooke@philc.net
http://www.philc.net

 

 

 

footer

About Us | Site Map | Store Policy | Contact Us | ©2011 PhilC Designs Ltd