Forum: Poser - OFFICIAL


Subject: Compressed File Format

Kaji opened this issue on Apr 25, 2008 · 17 posts


Kaji posted Fri, 25 April 2008 at 10:59 PM

What is the compression format that Poser uses to compress the runtime files? I don't have Poser anymore, so I can't use the script to do it. I think it is gzip, but I'm not 100% sure.



pjz99 posted Fri, 25 April 2008 at 11:33 PM

hadn't tested this myself but according to Kuroyume0161 it's just zip:
http://www.renderosity.com/mod/forumpro/showthread.php?message_id=2429106&ebot_calc_page#message_2429106

My Freebies


markschum posted Fri, 25 April 2008 at 11:38 PM

winzip will extract the file.


Kaji posted Fri, 25 April 2008 at 11:43 PM

I'm on a Mac. =D

I tried gzipping the file and renaming to .crz, seems to open ok, but I got a few errors about missing bones on this product: http://www.daz3d.com/i.x/shop/itemdetails/-/?item=6647&cat=421&_m=d



pjz99 posted Fri, 25 April 2008 at 11:51 PM

are you trying to UNzip, or to zip it up?  If you need the plaintext/uncompressed version I'm sure you can re-download that from DAZ.

My Freebies


Kaji posted Fri, 25 April 2008 at 11:57 PM

Zip them up. I hate wasting that much space...



pjz99 posted Sat, 26 April 2008 at 12:11 AM

If you're getting errors about missing bones, that probably means the rig of the conforming armor item is trashed.  Good luck getting that going, you may have better luck asking in the DAZ|Studio forum here or at DAZ (assuming you're using that).

My Freebies


Kaji posted Sat, 26 April 2008 at 12:23 AM

Thanks. I checked the uncompressed files and the bones are still missing. I'll talk to Daz.



onnetz posted Sat, 26 April 2008 at 6:54 AM

The format is gzip.

Handle every stressful situation like a dog.

If you can't eat it or play with it,

just pee on it and walk away. :-)

....................................................

I wouldnt have to manage my anger

if people would manage their stupidity......

 


nruddock posted Sat, 26 April 2008 at 8:06 AM

Poser comes with scripts to compress/uncompress files.
Using the supplied script should prove to be much easier than other utilities for compressing files.


Kaji posted Sat, 26 April 2008 at 8:18 AM

Quote - Poser comes with scripts to compress/uncompress files.
Using the supplied script should prove to be much easier than other utilities for compressing files.

No Poser. I switched to Mac and the "sidegrade" fee is $130. It's not worth it for something that I've heard doesn't work very well in Leopard. Maybe when Poser 8 comes out.

I can write a shell script to gzip and rename files.



Penguinisto posted Sat, 26 April 2008 at 10:59 AM

Yep - gzip and gunzip are nestled in OSX. You can do it yourself, or be lazy and use this (name it "pack", or whatever you like):


#!/bin/sh<br></br><br></br>
# cheesy little script. do whatever you like with it.<br></br><br></br>
# usage:  pack <file> [newname]<br></br><br></br>
if [ "$2" != "" ];<br></br>
then<br></br>
     gzip -c $1 > $2.gz<br></br>
else<br></br>
     gzip $1<br></br>
fi<br></br><br></br>
exit

Took all of 30 second to whomp it out, so test it first. :)

/P


Kaji posted Sat, 26 April 2008 at 12:58 PM

Quote - Yep - gzip and gunzip are nestled in OSX. You can do it yourself, or be lazy and use this (name it "pack", or whatever you like):


#!/bin/sh<br></br><br></br>
# cheesy little script. do whatever you like with it.<br></br><br></br>
# usage:  pack <file> [newname]<br></br><br></br>
if [ "$2" != "" ];<br></br>
then<br></br>
     gzip -c $1 > $2.gz<br></br>
else<br></br>
     gzip $1<br></br>
fi<br></br><br></br>
exit

Took all of 30 second to whomp it out, so test it first. :)

/P

Hmm thanks :)



kuroyume0161 posted Sat, 26 April 2008 at 8:48 PM

My Unofficial CR2 File Structure says:

Compressed files use zlib compression.

Of course, gzip is based on zlib compression but most file compression/decompression software these days supports this compression (WinZip, StuffIt, etc.).   WinZip and StuffIt do the decompression but use their own compression algorithms in that direction.  Penguinisto's script should get you going. :)

C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, you blow your whole leg off.

 -- Bjarne Stroustrup

Contact Me | Kuroyume's DevelopmentZone


grichter posted Sat, 26 April 2008 at 9:24 PM

try zipeg on a Mac, uncompresses just about everything and its donation ware

http://www.zipeg.com/

Gary

"Those who lose themselves in a passion lose less than those who lose their passion"


Kaji posted Sat, 26 April 2008 at 9:28 PM

Quote - try zipeg on a Mac, uncompresses just about everything and its donation ware

http://www.zipeg.com/

Stuffit expander is free... and OSX will unzip just about anything. You might need to go to the command line.

I like how people are trying to take advantage of not so knowledgeable users and sell them things they already have. Stuffit doesn't do much for you that you can't do on the command line.



grichter posted Sat, 26 April 2008 at 9:33 PM

Yeah, but it is tens times easier to double click on a file then open terminal, etc. I happen to like quick and easy :)

Gary

"Those who lose themselves in a passion lose less than those who lose their passion"