home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
No Fragments Archive 10: Diskmags
/
nf_archive_10.iso
/
MAGS
/
POWERMAG
/
POWER16.MSA
/
POWER_16
/
PACKERS3.PWR
< prev
next >
Wrap
Text File
|
1985-11-20
|
4KB
|
98 lines
YET ANOTHER PACKER ARTICLE
~~~~~~~~~~~~~~~~~~~~~~~~~~
BY RYAN SIMPSON
In the last packing articles I introduced you to packing and gave you some
information on what packer to use for certain jobs. In this article I'm
going to find out which is the best packer.
I've already tested a lot and found the best to be Atomik 3.5 and Pack Ice
2.4. To test these I got a module that was 316k long - modules usually
don't pack very well - the best you can hope for is that the pack file
will be about 59% of the original. Anyway, I packed this file, firstly
with Atimik 3.5 in data pack mode - the packed file was 252k a saving of
60k.
I then unpacked it and loaded it into Pack Ice 2.4. the packed file was
276k in length - a saving of 38k. This proves that Atomik is better in
data mode, 20k can be a lot when you are trying to pack a lot onto one
disk.
In executable mode the results were about the same, Atomik was usually
better by a small amount. The only thing is that some files packed with
Atomik 3.5 in executable mode crash, this only happens the odd time. So
if you are packing any file make a backup copy, then pack it with Atomik
3.5, if it crashes then unpack it and re-pack it with Ice 2.4. This will
usually give you the best results.
Other good packers are Pomey Pirates 2.6 and Automation 5.01. The best
depacker program is Mega Depack as it unpacks files packed with over 50
different types of packers, and most versions of each packer. Atomik also
has a depacker built into it, Pack Ice and Fire Pack don't have this
option, which can a pain if the packed file doesn't work.
If you are going to pack modules, remember to use a replayer program that
can unpack them like the Wild 1.5 Protracker Replay. It can unpack
Automation, Atomik, Fire, Ice and Pomey Pirates packed files and is far
better than Noise Tracker Replay V1.5.
A few people have also asked me how packers work, well the theory is very
simple actually. Take a text file for example that is as follows :
THE CAT SAT ON THE MAT
This file will take up 17 bytes unpacked. What the packer does is it
takes commonly used combinations of letter and replaces them with numbers
or symbols, e.g. it would replace AT with 1 so the file would look like
this :
THE C1 S1 ON THE M1
This takes up 14 bytes. If it does this for all the commonly used
combinations it can save you up to 75%. Text files tend to pack very well.
The packer keeps on doing this until the file looks like this :
2 C1 3 2 M1
A is AT, 2 is THE and 3 is ON. So the final packed file is 7 bytes long,
less than half the size of the original. The packer then writes the
depacking routine to the begining of the file so when the computer loads
it it unpacks it into memory and runs it. If you're not sure what packer
the file is packed with load it into a text editor if it's a data file -
the first few characters will tell you what packer it is.
For example:
ICE! - Ice packer
AU5 - Automation 5.01
A lot of people still use old versions of packers, here is a list of the
latest versions of the most common packers :
POMEY PIRATES PACKER : 2.6
AUTOMATION PACKERS : 5.0.1
FIRE PACKER : 2.2
ICE PACKERS : 2.4
ATOMIK PACKER : 3.6
DC SQUISH : 2.0
SPEED PACKER : 3.0
JAM PACKER : 4.0
If you have disks full of text like P.D. catalogues, pack them with Pack Ice
2.4 and then view then with any version of the Revenge Document Displayer
(latest version is 3.10) as it can depack them.
If you want to play packed modules through a player that can't unpack
them, pack them with Atomik 3.5 and put AUTO_DEC.PRG in the auto folder -
it unpacks them when the program loads them.
Well, that's about all for this month. I'll try and do another packing
article if you really want me to for the next issue of POWER
Ryan Simpson, Naughty Nation Productions