Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)
Mason, Ummm, I seem to have found an ugly bug in this script. It deleted the PZ3 file, without creating a pzz file. This is not good, as those were my only copies-= It compressed them alright- into completely gone.. here is the script feedback window message: Looking under directory: E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pz3) ------ --> dog_beg.pz3 *** E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pz3)dog_beg.pz3 *** --> E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pzz ( E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pz3)dog_beg.pz3 deleted) --> dog_jump.pz3 *** E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pz3)dog_jump.pz3 *** --> E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pzz ( E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pz3)dog_jump.pz3 deleted) --> dog_lie.pz3 *** E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pz3)dog_lie.pz3 *** --> E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pzz ( E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pz3)dog_lie.pz3 deleted) --> dog_run.pz3 *** E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pz3)dog_run.pz3 *** --> E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pzz ( E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pz3)dog_run.pz3 deleted) --> dog_sit.pz3 *** E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pz3)dog_sit.pz3 *** --> E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pzz ( E:Poser 4ProjectsAnimania_Dog(Poser)Motions (.pz3)dog_sit.pz3 deleted) --> dog_beg.bvh
Disaster averted- I recreated the deleted pz3's that I know were deleted , as I bought them & unzipped the orig again. They were in 3 different folders, & all pz3 in the 3 folders were deleted, with no pzz created.. None of the others seem to have this problem, & I have hundreds of files- most of them were already compressed from the original python script. I don't know what to say- very strange indeed. I still appreciate your help. Could be a one time fluke, possibly.
Geez, that scared me. Sorry about that. I tried the script on my own files without a problem. All I did was add a line to lower case the file name when it did the compare. Sorry for any inconvienence. You might try marking files read-only before running the script. I didn't think the script deleted anything at all. I ended up with pz3 and pzz files with the same name with no deletion.
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
Sorry if this is too easy or dumb, but there is a very useful script which compresses all cr2 & pz3 files but not PZ3 (caps) or CR2. Can someone add this please (compresses cap'ed extension)? C:Program FilesMetaCreationsPoser 4RuntimePythonposerScriptsUtilityCompressPoserfiles.py