home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / DEARC31.ARJ / READ.ME < prev   
Text File  |  1988-07-26  |  4KB  |  72 lines

  1.  
  2.  
  3.           A while back, I stumbled across a file called DEARC512.ARC on a
  4.           bbs that I happen to frequent.  Contained in this archive was a
  5.           Turbo Pascal program for extracting files from an ARChive.  While
  6.           not as fast as the more familiar ARC, ARCE, and PKXARC programs,
  7.           the source code provided me with the insights into ARC file
  8.           structure and decompression algorithms that I had been looking
  9.           for (I've always been a bit curious about things of this type). I
  10.           found something lacking in the source code, however, and that was
  11.           support for "squashed" files (as created by Phil Katz's PKARC
  12.           program).
  13.  
  14.           About that time, a file called NARC11.ARC was beginning to appear
  15.           in the upload directories of many bulletin boards. This file,
  16.           created by Gary Conway, contained a program to front-end ARC with
  17.           a mouse driven menu. It also happened to contain the most
  18.           understandable documentation of ARC compression methods I had
  19.           ever encountered (thanks, Gary).  Whether you use Gary's program
  20.           or not, it is well worth the download time just to have a peek at
  21.           his documentation.
  22.  
  23.           With the NARC document in hand, I was able to modify the original
  24.           program (DEARC512.PAS) to include support for extraction of
  25.           "squashed" files.  In doing this, I wanted to avoid, as much as
  26.           possible, changing the "flavor" of the original coding, which
  27.           actually worked quite well.  For this reason, a comparison of
  28.           dearcsq.pas with dearc512.pas will reveal very few changes (e.g.,
  29.           I left the original argc and argv functions in, rather than
  30.           replace them with Turbo's ParamCount and ParamStr functions).
  31.  
  32.           My thanks to Gary Conway, the original author of dearc.pas
  33.           (whoever you are) and also to Roy Collins and David W. Carroll
  34.           who have also made contributions to the upkeep of this program.
  35.  
  36.  
  37.  
  38.                                                                 rpb
  39.                                                                 7/28/87
  40.  
  41.  
  42.           -----------------------------------------------------------------
  43.  
  44.  
  45.           my experience was similar - i ran into both dearc512 and dearcsq
  46.           (richard's un-squashing version).  i thought it might be nice to
  47.           modernize the code (which had been written for cp/m 86 and dos
  48.           compatibility).  i felt relatively secure that eliminating the
  49.           cp/m end of things wouldn't hurt anybody (after all,  there's
  50.           always the old version).  i also added a few 'bells and
  51.           whistles',  such as time/date stamping of extracted files to
  52.           match the dates in the archive,  more descriptive decompression
  53.           messages ('unCrunching', 'unSquashing',  etc),  as well as a few
  54.           bug fixes and general tidying up of the code.  some speed is
  55.           gained by the fact that floating point is no longer used,  along
  56.           with a buffer size of 512 rather than 128 bytes,  more reflective
  57.           of the DOS world.
  58.  
  59.           ditto richard's nod to gary conway's narc docs - i would also
  60.           recommend the ARC source and,  if you can find it,  a completely
  61.           incompatible but very good (and well-documented with source)
  62.           ARC/UNARC utility called DWC (check the Cork Board,
  63.           (201)-463-001).
  64.  
  65.           and of course,  hats off to richard,  roy,  david,  and the tomb
  66.           of the unknown original author.  sorry i didn't add another ARC
  67.           version this time - there aren't any new ones!
  68.  
  69.                                                                  paul
  70.                                                                  7-26-88
  71.  
  72.