Page 1 of 1

Software Compression Concept Help

Posted: Wed Jun 09, 2010 10:54 pm
by Gaigemasta
Ok, I really wanna know how programs such as Winrar work at their core function, i mean do they search for syntax strings like X5X and then tell it to eliminate the 5, and when to go decompress it says put all 5's back between two X's? or something on that line?
or does any1 have the true basic algorithm for it?

Re: Software Compression Concept Help

Posted: Thu Jun 10, 2010 12:22 am
by KillAndChill
Google can give you more information than any of us can.

Source code to decrypt rar files is publicly available though: http://www.rarlabs.com/rar_add.htm

Re: Software Compression Concept Help

Posted: Thu Jun 10, 2010 1:37 am
by boast
http://en.wikipedia.org/wiki/DEFLATE

so what you say is half of it.

Re: Software Compression Concept Help

Posted: Thu Jun 10, 2010 2:45 am
by EvGa
There are many different algorithms you can use for compression.

Google ftw.

The beginning: http://en.wikipedia.org/wiki/Lempel%E2% ... 80%93Welch

Re: Software Compression Concept Help

Posted: Thu Jun 10, 2010 3:21 am
by Gaigemasta
roflcopter, thanx guys