Post Reply 
Epic Compression
halp
Author Message
Psyko12
Previously TUXi

Posts: 193.3892
Threads: 20
Joined: 17th Oct 2009
Reputation: 1.94271
E-Pigs: 3.7432
Offline
Post: #1
Epic Compression
So... today I -obtained- a PSP mini game. It was only 6mb so I was like "yay praise the creator for making a supr small gaem!!!11one"
So I extracted the .rar and got a 131mb ISO. I was stunned. I had no idea you could compress ISO's that far.

My question is: How can I compress files this much, and will it work with all files, or ISO's only?

30/01/2010 05:04 PM
Find all posts by this user Quote this message in a reply
Silvertie
Older, less cringe, still mad.
Fractal Insanity

Posts: 1,016.3688
Threads: 32
Joined: 9th Jun 2009
Reputation: -5.33618
E-Pigs: 32.7022
Offline
Post: #2
RE: Epic Compression
I've seen some games rar'd to about 25% compression. If you're willing to give it a shot, UHARC does some pretty gnarly compression, too. (No idea how you use it, though. It's all command prompt stuff, but it can get up to 10% compression ratio.)

"Books! I've read several on the subject!"
[Image: khadorsigfinal.jpg]
Silvertie: The Blog | A Door In Nowhere: The Webcomic
30/01/2010 06:07 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Assassinator
...

Posts: 6,646.6190
Threads: 176
Joined: 24th Apr 2007
Reputation: 8.53695
E-Pigs: 140.8363
Offline
Post: #3
RE: Epic Compression
It would depend a lot on the file in question, some stuff are extremely compressible (eg. certain data files), some stuff just don't compress at all (eg. video).


Take this simplified example....
1). 0000000000001111111111111112222222222299999999999000000000000
2). :Oim&(^$0o[jalaohiPIHUGsfoa)_(*5432"?>:'.'?"{})(12uhfapihgaPOAFMU78

The first one would obviously compress a whole lot better than the second one.  How much you can compress stuff all depends on how compressible the file is.



Btw... 7z > rar.
30/01/2010 06:17 PM
Find all posts by this user Quote this message in a reply
ProperBritish
Daddy Proper
Team DreamArts

Posts: 5,666.3250
Threads: 192
Joined: 19th Nov 2008
Reputation: -2.36574
E-Pigs: 147.7035
Offline
Post: #4
RE: Epic Compression
Assassinator Wrote:It would depend a lot on the file in question, some stuff are extremely compressible (eg. certain data files), some stuff just don't compress at all (eg. video).


Take this simplified example....
1). 0000000000001111111111111112222222222299999999999000000000000
2). :Oim&(^$0o[jalaohiPIHUGsfoa)_(*5432"?>:'.'?"{})(12uhfapihgaPOAFMU78

The first one would obviously compress a whole lot better than the second one.  How much you can compress stuff all depends on how compressible the file is.



Btw... 7z > rar.

the first one could compress to 01290, amirite?

hypothetically speaking

[Image: rsz_contrast.png]

Spoiler for More sigs:
[Image: 6xu74t8]
[Image: sig.php]

[Image: 656embk]
[Image: sig.png]
30/01/2010 06:22 PM
Find all posts by this user Quote this message in a reply
Psyko12
Previously TUXi

Posts: 193.3892
Threads: 20
Joined: 17th Oct 2009
Reputation: 1.94271
E-Pigs: 3.7432
Offline
Post: #5
RE: Epic Compression
well... I asked joo-muh-lah about it and he said something about batch/command stuff. that's all he knew. Google wasn't wanting to help.

edit: 7z doesn't compress better than winrar. I googled some benchmarks, and it turns out that winrar beats 7z, winzip etc...

(This post was last modified: 30/01/2010 06:28 PM by Psyko12.)
30/01/2010 06:27 PM
Find all posts by this user Quote this message in a reply
diego
poof

Posts: 7,826.1659
Threads: 264
Joined: 22nd Jun 2007
Reputation: 1.80067
E-Pigs: 37.4012
Offline
Post: #6
RE: Epic Compression
Theres that KGB archiver that would take hours to compress and decompress.
But it did shrink stuff by a lot.
http://kgbarchiver.net/

[Image: cce6aa9e-c40c-4ae7-aebe-d7780d6fc009.gif]
30/01/2010 06:34 PM
Find all posts by this user Quote this message in a reply
Psyko12
Previously TUXi

Posts: 193.3892
Threads: 20
Joined: 17th Oct 2009
Reputation: 1.94271
E-Pigs: 3.7432
Offline
Post: #7
RE: Epic Compression
diego Wrote:Theres that KGB archiver that would take hours to compress and decompress.
But it did shrink stuff by a lot.
http://kgbarchiver.net/

worth a try.

thanks

30/01/2010 06:40 PM
Find all posts by this user Quote this message in a reply
Assassinator
...

Posts: 6,646.6190
Threads: 176
Joined: 24th Apr 2007
Reputation: 8.53695
E-Pigs: 140.8363
Offline
Post: #8
RE: Epic Compression
Psyko12 Wrote:edit: 7z doesn't compress better than winrar. I googled some benchmarks, and it turns out that winrar beats 7z, winzip etc...

Depends on what stuff.  But on most things, 7z > winrar.


And a lot of these benchmarks are retarded (either retarded settings or retarded test files).  Here's a non-retarded benchmark, as you can see, each are better at different stuff.


diego Wrote:Theres that KGB archiver that would take hours to compress and decompress.
But it did shrink stuff by a lot.
http://kgbarchiver.net/

PAQ compression is like SLOWWWW, and practically unusable in normal circumstances because of how SLOOWWW it is.
(This post was last modified: 30/01/2010 06:47 PM by Assassinator.)
30/01/2010 06:45 PM
Find all posts by this user Quote this message in a reply
diego
poof

Posts: 7,826.1659
Threads: 264
Joined: 22nd Jun 2007
Reputation: 1.80067
E-Pigs: 37.4012
Offline
Post: #9
RE: Epic Compression
Assassinator Wrote:
Psyko12 Wrote:edit: 7z doesn't compress better than winrar. I googled some benchmarks, and it turns out that winrar beats 7z, winzip etc...

Depends on what stuff.  But on most things, 7z > winrar.


And a lot of these benchmarks are retarded (either retarded settings or retarded test files).  Here's a non-retarded benchmark, as you can see, each are better at different stuff.


diego Wrote:Theres that KGB archiver that would take hours to compress and decompress.
But it did shrink stuff by a lot.
http://kgbarchiver.net/

PAQ compression is like SLOWWWW, and practically unusable in normal circumstances because of how SLOOWWW it is.

I agree. I just wanted to show it to him.

[Image: cce6aa9e-c40c-4ae7-aebe-d7780d6fc009.gif]
30/01/2010 06:51 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1314
Offline
Post: #10
RE: Epic Compression
As said, depends on compressability, but 131MB to 6MB is quite astounding for a general PSP ISO, especially since media (music/FMVs) generally takes up the most space and are often compressed.  Perhaps the game has a fair bit of padding.

ProperBritish Wrote:the first one could compress to 01290, amirite?

hypothetically speaking
Depends what scheme you're using.  For deflate (most popular compression algo, used in ZIP/zlib/gzip and I believe RAR is based on it) there's two stages - a dictionary compress and then an entropy encode.
You'd get something like what you said above with the dictionary phase (it just detects duplicate stuff).  The entropy encode phase would then reduce the above to a few bits.

From what I've read, 7-zip with LZMA2 (v9.xx) generally beats RAR consistently.  Previously, I think RAR was slightly better at handling uncompressed media (eg WAV, BMP etc) than LZMA.
I think PAQ8px is generally considered the best compressor.  KGB is based off PAQ6 or something like that, right?
30/01/2010 08:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: