Extracting Programs (32)

1 Name: 4n0n4ym0u5 h4xx0r : 2007-11-27 21:06 ID:KiMOSbDB

Since Vista doesn't have compatibility for .RAR files, what should I use?

I tried WinRAR but it didn't really work.

2 Name: 4n0n4ym0u5 h4xx0r : 2007-11-27 21:28 ID:Heaven

izarc

3 Name: 4n0n4ym0u5 h4xx0r : 2007-11-27 21:46 ID:Heaven

Lol Vista

4 Name: 4n0n4ym0u5 h4xx0r : 2007-11-30 12:14 ID:CoV9IESX

7zip does a lot of things, but the interface is pure hate.

5 Name: 4n0n4ym0u5 h4xx0r : 2007-11-30 17:10 ID:qB6Zc59C

ubuntu

6 Name: 4n0n4ym0u5 h4xx0r : 2007-12-02 20:35 ID:Heaven

PowerArchiver

7 Name: 4n0n4ym0u5 h4xx0r : 2007-12-03 03:18 ID:gbQl1SGg

I don't mind the 7-Zip interface personally. At least it doesn't try to replicate the look of Explorer. Plus it has its own awesome file format which is at least as good as RAR except even better because it's properly documented.

8 Name: 4n0n4ym0u5 h4xx0r : 2007-12-03 19:36 ID:S9AL/2yJ

Agreed. 7zip ftw.

9 Name: 4n0n4ym0u5 h4xx0r : 2007-12-04 12:57 ID:Heaven

7-zip

10 Name: 4n0n4ym0u5 h4xx0r : 2007-12-06 09:39 ID:um/rCBd5

As everyone says 7Zip,

/thread

11 Name: 4n0n4ym0u5 h4xx0r : 2007-12-06 13:58 ID:GYTmVde7

WinRAR works fine on my Vista machine.

12 Name: Redhatter : 2007-12-07 08:19 ID:Heaven

7-zip... it's:
(1) Free -- download it at no cost.
(2) Open -- source code and format specifications available.
(3) Decent -- 7z does pretty good compression, better than ZIP.

What more could you want? :-)

13 Name: 4n0n4ym0u5 h4xx0r : 2007-12-13 03:38 ID:zFOba397

>>12

> (1) Free -- download it at no cost.
> (2) Open -- source code and format specifications available.

the same can be said about zip and bzip2.

> (3) Decent -- 7z does pretty good compression, better than ZIP.

uncompressed zip + bzip2 does better, and zip and bzip2 are far more common than 7z.

14 Name: 4n0n4ym0u5 h4xx0r : 2007-12-13 10:44 ID:gbQl1SGg

7zip's compression is generally cited as being better than bzip2.

Problem with bzip2 is you can only actually compress one file with it. If you're going to put a zip in it then you may as well put a tar in it.

15 Name: 4n0n4ym0u5 h4xx0r : 2007-12-13 13:55 ID:Heaven

Not only is 7zip's LZMA compression better than bzip2, but LZMA decompresses at a reasonable speed as well. bzip2 encodes a little faster, but is slow as fuck to decode.

I used to compress my old HTTP logs with bzip2. I knocked that off, because it took forever anytime I wanted to search them.

16 Name: 4n0n4ym0u5 h4xx0r : 2007-12-13 14:04 ID:Heaven

To make that more concrete, here's a compression test I did a while back on 101 MB of Apache logs.

$ ls -lS logs.*
-rw-r--r-- 1 me me 13457837 Jun 1 15:01 logs.lzf (87.29%, 0.66s)
-rw-r--r-- 1 me me 11338736 Jun 1 15:01 logs.lzo (89.29%, 1.06s)
-rw-r--r-- 1 me me 6561300 Jun 1 15:00 logs.gz (93.80%, 5.03s)
-rw-r--r-- 1 me me 4041193 Dec 15 10:51 logs.lzpx (96.18%, 13.00s)
-rw-r--r-- 1 me me 4000415 Jun 1 15:00 logs.bz2 (96.22%, 116.00s)
-rw-r--r-- 1 me me 3001727 Oct 20 00:43 logs.pmd (96.28%, 435.79s)
-rw-r--r-- 1 me me 3938324 Jun 16 10:49 logs.lzma (97.17%, 14.15s)
-rw-r--r-- 1 me me 1731711 Jun 1 18:32 logs.paq7 (98.36%, 11052.32s)

Decompressing speed:

$ time paq7 logs.paq7 logs
193m27.43s real 185m3.48s user 0m1.68s system
$ time ppmd d logs.pmd
0m25.62s real 0m19.40s user 0m1.51s system
$ time lzpxj d logs.lzpx logs
0m27.04s real 0m14.17s user 0m0.66s system
$ time bunzip2 -c <logs.bz2 >/dev/null
0m11.33s real 0m11.10s user 0m0.03s system
$ time lunzmash -c <logs.lzma >/dev/null
0m1.98s real 0m1.73s user 0m0.05s system
$ time gunzip -c <logs.gz >/dev/null
0m0.85s real 0m0.76s user 0m0.02s system
$ time lzop -dc <logs.lzo >/dev/null
0m0.72s real 0m0.65s user 0m0.02s system
$ time unlzf <logs.lzf >/dev/null
0m0.59s real 0m0.29s user 0m0.03s system

So I was wrong. LZMA compressed almost ten times as fast as bzip2. It took one-sixth as long (and only twice as long as gzip) to decompress. I used default settings for LZMASH (Unix bzip2-like program based on LZMA), bzip2, and gzip.

It surely depends on the type of data, but I'm still gonna say LZMA kicks bzip2's ass.

17 Name: 4n0n4ym0u5 h4xx0r : 2007-12-13 16:30 ID:0BlxN1S5

Uh, the question here was about decompression. And windows 7zip does that for a load of formats, and reasonably well.

18 Name: 4n0n4ym0u5 h4xx0r : 2007-12-13 19:45 ID:1PakFHm3

>>13-16
bzip2 works better on zip files with no compression that it does on tar files. uncompressed zip + bzip2 is better than 7z.

19 Name: 4n0n4ym0u5 h4xx0r : 2007-12-13 22:54 ID:Heaven

>>18, that makes no sense. Uncompressed zip and tar are both just collections of files. If this is true, it could only be because you're talking about a zip/tar of lots of tiny files where the file info takes up a substantial percentage of the space.

20 Name: 4n0n4ym0u5 h4xx0r : 2007-12-14 02:53 ID:tA7Vl+dK

>>18
ok then, where the data?

21 Name: 4n0n4ym0u5 h4xx0r : 2007-12-14 09:00 ID:Heaven

For a directory with about 30 files in it (all scripts, in fact), I compressed three files. The tar is a tar, the format is never compressed. The zip and 7z were created with compression turned off. Results:

-rw-r--r-- 1 me me 501760 2007-12-14 19:38 test.tar
-rw-r--r-- 1 me me 472411 2007-12-14 19:38 test.zip
-rw------- 1 me me 469089 2007-12-14 19:51 test.7z

Now I will bzip2 the tar and zip files, and then additionally create a zip and 7z file. For all commands I specified compression level 9 (best). Results:

-rw-r--r-- 1 me me 267195 2007-12-14 19:38 test.tar.bz2
-rw-r--r-- 1 me me 267668 2007-12-14 19:38 test.zip.bz2
-rw-r--r-- 1 me me 266118 2007-12-14 19:53 test.zip
-rw------- 1 me me 233809 2007-12-14 19:51 test.7z

Interesting things to note:

  • Even zip by itself is smaller than the zip.bz2.
  • The tar starts out bigger than the uncompressed zip, but after bzipping the two, the tar.bz2 is clearly smaller than the zip.bz2, although the ordinary .zip is smaller still.
  • The 7z is a clear winner in the compressed file category.
  • The 7z is even the winner in the UNCOMPRESSED file category!

Incidentally I tried creating a solid archive as well (in this situation 7z groups the files together and then compresses the whole set in blocks) as I expected this to be smaller. But it turned out to be exactly the same size, so my input files mustn't be small enough to pay off for that optimisation.

22 Name: 4n0n4ym0u5 h4xx0r : 2007-12-14 15:18 ID:Heaven

>>21 Oh wow, the difference of 1,077 bytes between .zip and .tar.bz2 is HUGE :/

bzip2 is often worse or on par with deflate (gzip / zip) for very small files, and I guess that's what happened here.

23 Name: 4n0n4ym0u5 h4xx0r : 2007-12-14 19:25 ID:vuDrVHSs

All you guys have been talking about are plain text files.

Take binary files (even different kinds) into account and you can start your discussion from the beginning again.

24 Name: 4n0n4ym0u5 h4xx0r : 2007-12-14 23:07 ID:Heaven

Not really. The bottom line is that LZMA decompresses much faster than bzip2, compresses better, and is slightly slower than bzip2 to compress (or on par / faster in certain cases).

LZMA obsoletes bzip2, in my view.

25 Name: 4n0n4ym0u5 h4xx0r : 2007-12-15 12:17 ID:Heaven

Text or binary is irrelevant. What's relevant is entropy.

26 Name: Redhatter : 2007-12-15 19:13 ID:Heaven

>>13

> > (1) Free -- download it at no cost.
> > (2) Open -- source code and format specifications available.
>
> the same can be said about zip and bzip2.

This is somewhat true. There are free implementations of the ZIP format, such as InfoZIP ( http://www.info-zip.org IIRC ), but I'm not sure what the patent situation is.

BZIP2 is a open-source royalty-free compression algorithm, so in that regard, yes, it has the same benefits as 7z.

> > (3) Decent -- 7z does pretty good compression, better than ZIP.
>
> uncompressed zip + bzip2 does better, and zip and bzip2 are far more common than 7z.

7z and ZIP are simply different ways of bundling files for compression by an algorithm such as BZIP2 or LZMA. As such, the container format shouldn't make a great deal of difference unless there's significant overheads. File ordering might play a part here too.

27 Name: 4n0n4ym0u5 h4xx0r : 2007-12-15 20:02 ID:Heaven

> my input files mustn't be small enough to pay off for that optimisation.

that's probably why the .zip and .tar.bz2 are smaller than the .zip.bz2 also.

28 Name: 4n0n4ym0u5 h4xx0r : 2007-12-15 20:42 ID:Heaven

>>26
zip normally uses the same deflate algorithm as gzip. it's not patented.

29 Name: 4n0n4ym0u5 h4xx0r : 2007-12-16 12:22 ID:Heaven

>>26

> BZIP2 is a open-source royalty-free compression algorithm, so in that regard, yes, it has the same benefits as 7z.

Yes and no. bzip2 can only do compression, 7z is a whole archive format, and not strictly a form of compression (the compression it uses is LZMA, I believe.)

30 Name: 4n0n4ym0u5 h4xx0r : 2008-01-03 19:00 ID:M+psBlzk

31 Name: 4n0n4ym0u5 h4xx0r : 2008-01-04 13:40 ID:gbQl1SGg

>>23 fails to understand that 99% of what needs compressing is text in the first place. For graphics, video and audio we already have other ways to do it. Remaining files which are not graphics, video, audio nor text, are not the reason we are running out of disk space and thus do not need compressing.

On the other hand mail archives (text) get big. Log files (text) get big.

32 Name: 4n0n4ym0u5 h4xx0r : 2008-01-06 08:23 ID:pusZgS8a

>>31
there's always bandwidth. there's a reason most windows installers are self-extracting and most *nix binaries are compressed.

This thread has been closed. You cannot post in this thread any longer.