For Programmers: Free Programming Magazines  


Home > Archive > Compression > January 2007 > .z files









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author .z files
megajack@gmail.com

2007-01-12, 6:55 pm

Hi there,
Are there any windows tools to extract a .z file generated on a linux
machine.
It's an exotic archive, and can be read on the machine it belongs to.

I've tried Winzip 11.0, gives invalid archive
Winrar , message format either unknown or damaged
Powerarchiver, It does not appear to be a valid archive
gnu zip 1.2.4 , gzip: test.z: not in gzip format

Any other special tricks needed to extract the info?

Thank you and regards,

Jack

Carsten Neubauer

2007-01-12, 6:55 pm

There must be something wrong with your file.

At least WinZip and WinRar can decompress
..z-files and it should not matter, if it comes from
linux, unix or whatever.


Carsten Neubauer
http://www.c14sw.de/

Mark Adler

2007-01-12, 6:55 pm

megaj...@gmail.com wrote:
> Are there any windows tools to extract a .z file generated on a linux
> machine.
> It's an exotic archive, and can be read on the machine it belongs to.


With what program on that machine?

> gnu zip 1.2.4 , gzip: test.z: not in gzip format


The .z name could mean the old Unix pack format or it could be a
mutation of the .Z suffix used for the Unix compress format. Both
however are autodetected and decompressible by gzip, so I wonder what
it is.

mark

jasen

2007-01-12, 6:55 pm

On 2007-01-12, megajack@gmail.com <megajack@gmail.com> wrote:
> Hi there,
> Are there any windows tools to extract a .z file generated on a linux
> machine.
> It's an exotic archive, and can be read on the machine it belongs to.
>
> Any other special tricks needed to extract the info?


sound like it's stuffed.

with .z extension it's form either an early gzip, from pack (unlikely)
misnamed, or mangled.

you could try gzip

Bye.
Jasen
Willem

2007-01-12, 6:55 pm

jasen wrote:
) On 2007-01-12, megajack@gmail.com <megajack@gmail.com> wrote:
)> Hi there,
)> Are there any windows tools to extract a .z file generated on a linux
)> machine.
)> It's an exotic archive, and can be read on the machine it belongs to.
)>
)> Any other special tricks needed to extract the info?
)
) sound like it's stuffed.
)
) with .z extension it's form either an early gzip, from pack (unlikely)
) misnamed, or mangled.
)
) you could try gzip

You could try running it through the 'file' command on the unix box.


SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT
jasen

2007-01-13, 3:55 am

On 2007-01-12, Mark Adler <madler@alumni.caltech.edu> wrote:
> megaj...@gmail.com wrote:
>
> With what program on that machine?
>
[color=darkred]
> The .z name could mean the old Unix pack format or it could be a
> mutation of the .Z suffix used for the Unix compress format. Both
> however are autodetected and decompressible by gzip, so I wonder what
> it is.


possibly he fumbled it via text-mode FTP.

a hex dump of the first 20 bytes or so may shed some light.

Bye.
Jasen
megajack@gmail.com

2007-01-13, 6:56 pm

Could this help?

00000000: 78 9c ec 9b 09 78 54 45 b6 c7 eb ee b7 3b 4d 08
x=9C=EC=9B.xTE=B6=C7=EB=EE=B7;M.
00000010: 49 d8 21 69 64 47 88 49 58 04 64 27 a0 91 00 21
I=D8!idG=88IX.d' '.!

Thank you!!

Jack,

jasen schreef:
> On 2007-01-12, Mark Adler <madler@alumni.caltech.edu> wrote:
>
>
> possibly he fumbled it via text-mode FTP.
>
> a hex dump of the first 20 bytes or so may shed some light.
>=20
> Bye.
> Jasen


Carsten Neubauer

2007-01-13, 6:56 pm

> 00000000: 78 9c ec 9b 09 78 54 45 b6 c7 eb ee b7 3b 4d 08
> x=C5=93=C3=AC=E2=80=BA.xTE=C2=B6=C3=87=C3=AB=C3=AE=C2=B7;M.
> 00000010: 49 d8 21 69 64 47 88 49 58 04 64 27 a0 91 00 21
> I=C3=98!idG=CB=86IX.d' '.!
>


..Z-files usually start with 1F 9D.
78 9C indicates, your file was compressed with ZLIB;
using the DEFLATE method.

You can download ZLIB at http://www.zlib.net/
and write your own decompressor or search for
a standalone tool.=20


Carsten Neubauer
http://www.c14sw.de/

Mark Adler

2007-01-14, 3:55 am

Carsten Neubauer wrote:
> 78 9C indicates, your file was compressed with ZLIB;


Right you are. The remaining provided bytes are in fact the start of a
valid deflate stream.

> You can download ZLIB at http://www.zlib.net/
> and write your own decompressor or search for
> a standalone tool.


You can find the source for a simple decompressor here:

http://zlib.net/zlib_how.html

with a link at the bottom of that page for zpipe.c.

mark

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com