pack opened this issue on Aug 11, 2001 ยท 6 posts
pack posted Sat, 11 August 2001 at 1:36 PM
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
Mason posted Fri, 17 August 2001 at 7:09 PM
Mason posted Fri, 17 August 2001 at 7:10 PM
sorry, you'll also have to rename it to CompressPoserfiles.py instead of message378938.txt
pack posted Sat, 18 August 2001 at 10:51 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
pack posted Sat, 18 August 2001 at 11:06 PM
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.
Mason posted Mon, 20 August 2001 at 10:56 PM
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.