Forum: Poser - OFFICIAL


Subject: My Program to Organize Runtimes

232bird opened this issue on Mar 22, 2011 · 18 posts


232bird posted Mon, 28 March 2011 at 6:04 AM

Aaaaand another one.  This one will convert .PZ3 scenes to compressed .PZZ files.  And it's WAY faster than opening and resaving every scene from Poser or DAZ.  I wrote it to work with 7-Zip, which is open source and free so everyone has access to it.  Again, download the file, rename .txt to .bat, and put it at the top of the folder tree you want it to work on.  run it, and enter the absolute path to your 7-zip installation when it asks for it.  The script will copy every .PZ3, convert it to a GZIP, and rename the new file to .PZZ.  Yep, that's all a PZZ is.

A couple things to note:

   - The script will NOT harm your original pz3, it only copies it and works on the copy.

   - Because of this, it is best to have at least twice the disk space available as the room your pz3s take up. (Don't worry, it will delete the working file after every cycle of the loop so things don't get out of hand)

   - The script works fine with long filenames, but will not work with folder names that have spaces in them.    I don't know why, and eventually lost patience with trying to debug it.  Just keep that in mind, and rename folders if necessary.

   - Since the original pz3 remains, it wouldn't be a bad idea to verify the new files  before you delete the old ones.  I haven't had any problems, but just thought I should say it.

   - The compression level I used seems to be around %10 better than Poser's.  I left it at 7/10 because anything higher resulted in a substancial increase in compression time, with only a minimal decrease of file size.

Hioushi, you are %100 correct.  It gave me all kinds of fits with the long folder names and renaming files from within the FOR loop.  Time for me to learn Python.