POV-Ray : Newsgroups : povray.off-topic : It's a fact Server Time
13 Oct 2026 17:36:05 EDT (-0400)
  It's a fact (Message 1 to 18 of 18)  
From: Invisible
Subject: It's a fact
Date: 26 Aug 2009 06:46:39
Message: <4a95128f@news.povray.org>
Fact: Staring at hex dumps makes your eyes go weird after a while. O_O


Post a reply to this message

From: Invisible
Subject: Re: It's a fact
Date: 26 Aug 2009 09:10:30
Message: <4a953446$1@news.povray.org>
I've just been reading

http://www.pkware.com/documents/casestudies/APPNOTE.TXT

which contains the specification of the file format used by PKZIP. 
(Otherwise known as a "zip file".)

Jesus, this file format is so old and crufty! >_< Talk about lame...

Anyway, on line 554 we find the following:

       compression method: (2 bytes)

           (see accompanying documentation for algorithm
           descriptions)

           0 - The file is stored (no compression)
           1 - The file is Shrunk
           2 - The file is Reduced with compression factor 1
           3 - The file is Reduced with compression factor 2
           4 - The file is Reduced with compression factor 3
           5 - The file is Reduced with compression factor 4
           6 - The file is Imploded
           7 - Reserved for Tokenizing compression algorithm
           8 - The file is Deflated
           9 - Enhanced Deflating using Deflate64(tm)
          10 - PKWARE Data Compression Library Imploding (old IBM TERSE)
          11 - Reserved by PKWARE
          12 - File is compressed using BZIP2 algorithm
          13 - Reserved by PKWARE
          14 - LZMA (EFS)
          15 - Reserved by PKWARE
          16 - Reserved by PKWARE
          17 - Reserved by PKWARE
          18 - File is compressed using IBM TERSE (new)
          19 - IBM LZ77 z Architecture (PFS)
          97 - WavPack compressed data
          98 - PPMd version I, Rev 1

It's not actually 100% clear whether these codes are decimal or 
hexdecimal. But either way, I have a Zip file with nothing seems to be 
able to read, and all the files are compressed with method 0x0063. 
(That's 99 decimal.)

So I guess that's why nothing can read this Zip file then...

Man, spending a day staring at hex dumps is no fun at all! >_<


Post a reply to this message

From: scott
Subject: Re: It's a fact
Date: 26 Aug 2009 09:25:26
Message: <4a9537c6@news.povray.org>
> It's not actually 100% clear whether these codes are decimal or 
> hexdecimal. But either way, I have a Zip file with nothing seems to be 
> able to read, and all the files are compressed with method 0x0063. 
> (That's 99 decimal.)

Did you try the latest version of WinZip?


Post a reply to this message

From: Fredrik Eriksson
Subject: Re: It's a fact
Date: 26 Aug 2009 09:25:42
Message: <op.uy9t84fm7bxctx@e6600>
On Wed, 26 Aug 2009 15:10:30 +0200, Invisible <voi### [at] devnull> wrote:
> It's not actually 100% clear whether these codes are decimal or  
> hexdecimal. But either way, I have a Zip file with nothing seems to be  
> able to read, and all the files are compressed with method 0x0063.  
> (That's 99 decimal.)
>
> So I guess that's why nothing can read this Zip file then...

GIYF

http://www.winzip.com/aes_info.htm



-- 
FE


Post a reply to this message

From: Invisible
Subject: Re: It's a fact
Date: 26 Aug 2009 09:30:57
Message: <4a953911@news.povray.org>
scott wrote:

> Did you try the latest version of WinZip?

No - for the obvious reason that this would require money.


Post a reply to this message

From: Invisible
Subject: Re: It's a fact
Date: 26 Aug 2009 09:31:59
Message: <4a95394f$1@news.povray.org>
Fredrik Eriksson wrote:

>> all the files are compressed with method 0x0063. 
>>
>> So I guess that's why nothing can read this Zip file then...
> 
> GIYF
> 
> http://www.winzip.com/aes_info.htm

Hmm, that also explains the 0x9901 extra record tag I keep seeing.

So it's just AES encrypted? I'm surprised 7zip can't handle that...


Post a reply to this message

From: Invisible
Subject: Re: It's a fact
Date: 26 Aug 2009 09:36:18
Message: <4a953a52$1@news.povray.org>
Invisible wrote:

> So it's just AES encrypted? I'm surprised 7zip can't handle that...

Well would you look at that? It seems I'm using the very last version of 
7zip to *not* support AES encryption. *facepalm*

I used to check the 7zip website all the time, but after years of 
seeming inactivity, I gave up looking for new versions... Apparently 
development has started going forward again.


Post a reply to this message

From: Invisible
Subject: Re: It's a fact
Date: 26 Aug 2009 09:54:13
Message: <4a953e85@news.povray.org>
>> Did you try the latest version of WinZip?
> 
> No - for the obvious reason that this would require money.

...but apparently using the latest version of 7zip fixes the problem. 
It's because the files are AES-256 encrypted. Go figure.


Post a reply to this message

From: scott
Subject: Re: It's a fact
Date: 26 Aug 2009 10:45:46
Message: <4a954a9a$1@news.povray.org>
>> Did you try the latest version of WinZip?
> 
> No - for the obvious reason that this would require money.

No it doesn't:

http://www.winzip.com/downwz.htm


Post a reply to this message

From: nemesis
Subject: Re: It's a fact
Date: 26 Aug 2009 13:26:32
Message: <4a957048@news.povray.org>
scott escreveu:
>> It's not actually 100% clear whether these codes are decimal or 
>> hexdecimal. But either way, I have a Zip file with nothing seems to be 
>> able to read, and all the files are compressed with method 0x0063. 
>> (That's 99 decimal.)
> 
> Did you try the latest version of WinZip?

You lamer!  I was expecting this to make him post all day long about his 
efforts to implement an unzipper in Haskell. :P

oh the fun...

-- 
a game sig: http://tinyurl.com/d3rxz9


Post a reply to this message

From: andrel
Subject: Re: It's a fact
Date: 26 Aug 2009 15:02:07
Message: <4A9586B0.3050605@hotmail.com>
On 26-8-2009 15:36, Invisible wrote:
> Invisible wrote:
> 
>*facepalm*

what is the emoticon for that?


Post a reply to this message

From: Orchid XP v8
Subject: Re: It's a fact
Date: 26 Aug 2009 15:12:49
Message: <4a958931$1@news.povray.org>
>> *facepalm*
> 
> what is the emoticon for that?

E:-(

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Jim Henderson
Subject: Re: It's a fact
Date: 26 Aug 2009 16:02:13
Message: <4a9594c5$1@news.povray.org>
On Wed, 26 Aug 2009 20:12:58 +0100, Orchid XP v8 wrote:

>>> *facepalm*
>> 
>> what is the emoticon for that?
> 
> E:-(

LOL, good one.

Jim


Post a reply to this message

From: clipka
Subject: Re: It's a fact
Date: 26 Aug 2009 16:57:19
Message: <4a95a1af$1@news.povray.org>
Invisible schrieb:
> It's not actually 100% clear whether these codes are decimal or 
> hexdecimal. 

Given that the values 0 to 9 are directly followed by 10 to 19, I'd say 
chances are it's perfectly decimal...


Post a reply to this message

From: SharkD
Subject: Re: It's a fact
Date: 26 Aug 2009 20:28:52
Message: <4a95d344$1@news.povray.org>
Invisible wrote:
> Invisible wrote:
> 
>> So it's just AES encrypted? I'm surprised 7zip can't handle that...
> 
> Well would you look at that? It seems I'm using the very last version of 
> 7zip to *not* support AES encryption. *facepalm*
> 
> I used to check the 7zip website all the time, but after years of 
> seeming inactivity, I gave up looking for new versions... Apparently 
> development has started going forward again.

FileHippo has a tool that sits in the tray and checks for updates to 
installed software. Google has something similar, but just for their own 
apps. Normally I would automatically categorize such a program as 
spyware, but it is surprisingly unintrusive. It can be configured to 
check automatically or manually only when you want it to, and the 
results are loaded in a web page so you can compare your own version 
number with the version number of the update. It also accurately detects 
tons of software (including 7zip), and lists beta versions in a separate 
list.

In Vista it can be annoying because it triggers UAC when it does its 
checking.

-Mike


Post a reply to this message

From: Invisible
Subject: Re: It's a fact
Date: 27 Aug 2009 04:28:25
Message: <4a9643a9$1@news.povray.org>
>> Did you try the latest version of WinZip?
> 
> You lamer!  I was expecting this to make him post all day long about his 
> efforts to implement an unzipper in Haskell. :P
> 
> oh the fun...

Well, I *did* implement a primitive hex dump program to allow me to read 
the raw binary contents of the file, and also a second program capable 
of locating the file chunks and parsing some of them in human-readable form.

But no, I didn't get as far as writing a DEFLATE decoder. :-P


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: It's a fact
Date: 27 Aug 2009 16:32:43
Message: <4a96ed6b@news.povray.org>
Invisible wrote:
> Well, I *did* implement a primitive hex dump program to allow me to read
> the raw binary contents of the file,

On Unix, use 'xxd' or 'od'.

> and also a second program capable 
> of locating the file chunks and parsing some of them in human-readable
> form.

On Windows, get Hex Workshop (shareware). It even *comes* with a structure
file for zip archives.


Post a reply to this message

From: Orchid XP v8
Subject: Re: It's a fact
Date: 27 Aug 2009 17:18:21
Message: <4a96f81d$1@news.povray.org>
> On Windows, get Hex Workshop (shareware). It even *comes* with a structure
> file for zip archives.

I've looked at several hex editors for Windows. All of them are either 
shareware or just plain rubbish. I've yet to find a really good one.

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.