home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / arc_lbr / arctool.arc / ARCTOOL.DOC < prev   
Text File  |  1987-01-09  |  10KB  |  213 lines

  1.                             Archive Tools
  2.  
  3.             arctldir - damaged archive directory reader
  4.             arctext  - damaged archive file extracter
  5.  
  6.                       by Paul Nance, Tempe, AZ
  7.  
  8.               These two utilities are designed to be used with
  9.          files created by ARC file archive utility (copyright
  10.          System Enhancement Associates) and damaged through
  11.          various modem transfers.
  12.  
  13.                          WHAT THEY DON'T DO
  14.  
  15.               These programs are not a replacement for ARC, nor
  16.          do they actually remove from and decompress the stored
  17.          files.
  18.  
  19.                            WHAT THEY DO DO
  20.  
  21.               Arctldir - Archive Tool Directory is probably one
  22.          of the slowest programs you will ever come across,
  23.          however it will find every ARC header in an archive. This
  24.          is not achieved with speed as every byte in the ARC must
  25.          be examined.
  26.  
  27.               For example, BASICFN2.ARC which is 219,904 bytes
  28.          long receives the following verbose listing from ARC:
  29.  
  30. Name          Length    Stowage    SF   Size now  Date       Time    CRC
  31. ============  ========  ========  ====  ========  =========  ======  ====
  32. An entry in B:BASICFN2.ARC has a bad header.  2362 bytes skipped.
  33. DRAWCURV.HLP      1408  Crunched   48%       746   1 Apr 85  11:48p  12E8
  34. DRAWDELL.HLP       640  Crunched   33%       433   1 Apr 85  11:48p  A26F
  35. DRAWDL10.HLP       512  Crunched   32%       351   1 Apr 85  11:48p  F60C
  36. DRAWDLBX.HLP      1664  Crunched   48%       881   1 Apr 85  11:48p  1542
  37. DRAWDOTX.HLP       384  Crunched   35%       251   1 Apr 85  11:48p  8D1E
  38. DRAWDRBX.HLP      1792  Crunched   47%       956   1 Apr 85  11:48p  65CA
  39. DRAWDRCO.HLP      1536  Crunched   41%       911   1 Apr 85  11:48p  EF70
  40. DRAWEXIT.HLP      1536  Crunched   43%       876   1 Apr 85  11:48p  0ACB
  41. DRAWEXPE.HLP      1408  Crunched   41%       837   1 Apr 85  11:48p  7CB1
  42. An entry in B:BASICFN2.ARC has a bad header.  568 bytes skipped.
  43.         ====  ========            ====  ========
  44. Total      9     10880             43%      6242
  45.  
  46.               6,242 bytes from a 219,904 byte file.  Wow, 2.84%
  47.          of the file was recoverable.  I somehow felt there was
  48.          more to a file this large then 6,242 bytes.  Arc shows 9
  49.          files are recoverable but running ARC T will show
  50.          DRAWEXPE.HLP to have a bad CRC.  Standard ARC processing
  51.          has retrieved 8 files at 5405 bytes from a 219,904 byte
  52.          file.  Using ARCTLDIR the following directory listing was
  53.          obtained:
  54.  
  55. b:basicfn2.arc  is 35B00 hex bytes
  56.  
  57.    offset                        actual    file
  58.    pointer  stor     name         size     size    eof
  59.  
  60.      93A     8 * DRAWCURV.HLP      2EA     580     C41
  61.      C41     8 * DRAWDELL.HLP      1B1     280     E0F
  62.      E0F     8 * DRAWDL10.HLP      15F     200     F8B
  63.      F8B     8 * DRAWDLBX.HLP      371     680    1319
  64.     1319     8 * DRAWDOTX.HLP       FB     180    1431
  65.     1431     8 * DRAWDRBX.HLP      3BC     700    180A
  66.     1626     8   m a   .  O v    14B21   1E9D1   16164
  67.     180A     8 * DRAWDRCO.HLP      38F     600    1BB6
  68.     1AC7     8   I 6  k   L$S    1AE12   14CDB   1C8F6
  69.     1BB6     8 * DRAWEXIT.HLP      36C     600    1F3F
  70.     1F3F     8   DRAWEXPE.HLP      345     580    22A1
  71.     2000     8 * CONVERT.ASM       CAD    2A00    2CCA
  72.     24D9         End of arc file marker
  73.     290E         End of arc file marker
  74.     2CCA     8 * CONVERT.COM       232     500    2F19
  75.     2F19         End of arc file marker
  76.     3131     8 * DRAWGRID.HLP      13E     200    328C
  77.     328C     8 * DRAWHELP.DIR      211     600    34BA
  78.     34BA     8 * DRAWLINE.HLP      1D4     300    36AB
  79.     36AB     8 * DRAWMOVE.HLP      1E2     300    38AA
  80.     38AA     8 * DRAWMVBX.HLP      649     D00    3F10
  81.     3F10     8   DRAWNEWP.HLP      147     200    4074
  82.     4000     6 * LOCK.ASM          762     EFF    477F
  83.     4352     7   BA L       N    11347   1C6BA   156B6
  84.     477F     6 * PASSWRD3.ASM      E64    1C2B    5600
  85.     5600     6 * PASSWRD3.DOC      8A9     C90    5EC6
  86.     5EC6         End of arc file marker
  87.     5F89     8   A  l   y  f '   13534   1A85D   194DA
  88.     6000     8 * SAVSC.COM         261     300    627E
  89.     627E         End of arc file marker
  90.     720F     8 * ENGUP2.PIC        D6A     E00    7F96
  91.     7F96     8   EYE.PIC           971     A00    8924
  92.     8000     8 * COLORGEN.SCR      342     E80    835F
  93.     835F     8 * PC PRO.SCR        3B5     E80    8731
  94.     8731     4 * PP.EXE           ABEC    C300   1333A
  95.     8786         End of arc file marker
  96.     D5B9     7   U  Bn     c ^   1BE6A   237AD   29440
  97.    10A1B     5     KL    w       1FD1A   18BBA   30752
  98.    13257     6    m     _        1D027   2112C   3029B
  99.    1333A     8 * PP.SCR            2CA     E80   13621
  100.    13621     8 * README.BAT        228     380   13866
  101.    13866     8 * SHRINK.SCR        2D8     E80   13B5B
  102.    13B5B         End of arc file marker
  103.    14000     8 * DEBUG.TXT        3F3B    8700   17F58
  104.    14308     8   C0   K E  hb     D504    D275   21829
  105.    14404     7      F  B ^Vx     13B7D   170BA   27F9E
  106.    158CF     3   qJ # S & 5       3C75   1B5BE   19561
  107.    17F58         End of arc file marker
  108.    18000     8 * PCT3JR.MRG        655     B80   18672
  109.    18672         End of arc file marker
  110.    18744     4       W  t        19ED1   16C32   32632
  111.    18B2E         End of arc file marker
  112.    18F3A     7       T           1133A   1EF89   2A291
  113.    19F8D         End of arc file marker
  114.    1A000     8 * TURBO.BUG         EF9    1D00   1AF16
  115.    1AF11         End of arc file marker
  116.    1AF16         End of arc file marker
  117.    1C000     4 * BUSY.EXE         453C    4B80   20559
  118.    1C055         End of arc file marker
  119.    20098     5     r %           14308    FAAB   343BD
  120.    20559         End of arc file marker
  121.    20A6F     8   n`       T!     15E30    F501   368BC  beyond end of file
  122.    22000     8 * MAKECB.PAS        891    1080   228AE
  123.    2250B     7   9  $k   g N     21F04   1CFC6   4442C  beyond end of file
  124.    228AE         End of arc file marker
  125.    22DA0         End of arc file marker
  126.    23D9B     8   CRIBBAGE.PS2      2AC     500   24064
  127.    24000     8 * MORERAM.ASM       81F     D80   2483C
  128.    24141     8    )     G  ol&   14847   1C906   389A5  beyond end of file
  129.    2483C     8 * MORERAM.COM       1B1     200   24A0A
  130.    24A0A     8 * MORERAM.DOC       7D9     D80   25200
  131.    24B4B     8    )     G  ol&   14847   1C906   393AF  beyond end of file
  132.    25200         End of arc file marker
  133.    25615         End of arc file marker
  134.    26000     8 * SDL30.COM         7E5     880   26802
  135.    26287     3       t q   @P    13E07    F520   3A0AB  beyond end of file
  136.    26779     4   B    0  O  cp    C301    AEE0   32A97
  137.    267E1     1                    3015   13A03   29813
  138.    26802     8 * SDL30.DOC         461     800   26C80
  139.    26C80         End of arc file marker
  140.    26DE7     8   PIBMENUS.PAS     2E4C   12502   29C50
  141.    27258         End of arc file marker
  142.    28000     8 * PCWINDOW.COM     25D3    5580   2A5F0
  143.    2841D     4     I S    $      12E96   1D674   3B2D0  beyond end of file
  144.    28B21         End of arc file marker
  145.    28D6B         End of arc file marker
  146.    28DAD         End of arc file marker
  147.    28DB6     5         Y          CFE0    FE08   35DB3  beyond end of file
  148.    29407     6    N              17F80   122F3   413A4  beyond end of file
  149.    29AC1     3    ` `  aa i  C   20150    C4B9   49C2E  beyond end of file
  150.    2A227     7   c e     ip h@   17A07    9C80   41C4B  beyond end of file
  151.    2A5CB     2                   19BF0   1A7A6   441D8  beyond end of file
  152.    2A5F0     8 * PCWINDOW.DOC       D4     100   2A6E1
  153.    2A6E1         End of arc file marker
  154.    2AAEA     6   @ i0 p  a`&HP    5104   17A58   2FC0B
  155.    2AB4A     5   P    !2  H B    12304   1D674   3CE6B  beyond end of file
  156.    2AD73         End of arc file marker
  157.    2AD7B         End of arc file marker
  158.    2C000     8 * SHRINK.PAS       13AD    2C80   2D3CA
  159.    2D3C4         End of arc file marker
  160.    2D3CA         End of arc file marker
  161.    2E000     8 * TURBOCOM.PAS      CFF    1900   2ED1C
  162.    2EC28     2      T            19A10   13255   48655  beyond end of file
  163.    2ED16         End of arc file marker
  164.    2ED1C         End of arc file marker
  165.    30000     8 * VIEW.EXE          6F5     B00   30712
  166.    3052E         End of arc file marker
  167.    30712         End of arc file marker
  168.    32000     8 * LETTER.WKS       1E3E    3E80   33E5B
  169.    3388A     8       P#Ep  R     10C23   19BC0   444CA  beyond end of file
  170.    33E5B         End of arc file marker
  171.    34000     8 * LOAD US.COM       C38    2300   34C55
  172.    34C55     8 * LOAD US.DOC       58C     900   351FE
  173.    34DAF     8         iE o      1065C   19718   45428  beyond end of file
  174.    351FE         End of arc file marker
  175.  
  176.               While is obvious that some of these files are
  177.          unrecoverable because they are written over by following
  178.          files there are several more available than ARC verbose
  179.          describes and more than ARC eXtract will unpack.  43 of
  180.          these files (186,000 bytes) can be removed and
  181.          successfully de-ARCed to a full size of 271,633 bytes.
  182.          The files with asterisks are the successfully removed
  183.          and expanded files.
  184.  
  185.                     Tips on detecting bad files
  186.  
  187.               If the actual file size is larger than the file
  188.          size.  If the ending address is past the beginning of
  189.          the next file header or the arc end of file.
  190.  
  191.               Actually it is ok to remove an hidden archive
  192.          without knowing and then running ARC test on the removed
  193.          member.
  194.  
  195.                           Using ARCTooLDIR
  196.  
  197.                    [d:]arctldir [d:]arcname.ext
  198.  
  199.               ArcToolDir will prompt for screen, printer or disk
  200.          file output.
  201.  
  202.                        Using ARCToolEXTracter
  203.  
  204.             [d:]artext [d:]filein.arc [d:]fileout.arc address
  205.  
  206.               ARCToolEXTracter will write the requested address
  207.          archive to to desired file.  This will fail if the
  208.          address is not correct.  Use the address as given by
  209.          ArcToolDir.
  210.  
  211.                         Happy Hunting . . . . .
  212.  
  213.