home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 148.lha / crunch.doc < prev    next >
Text File  |  1988-04-28  |  5KB  |  92 lines

  1. DESOLE CRUNCH EST RETIRE POUR CAUSE DE COPYRIGHT
  2. SORRY BUT CRUNCH SEEMS TO BE COPYRIGHTED
  3.  
  4. July 31, 1988
  5.  
  6. WARNING:  I did not write this program, just this doc file, which is based on
  7. 3 hours of experimentation with Crunch.  Since it is based on just the 3
  8. hours I've used it, everything I say might be wrong :-).  I found it on
  9. GEnie, normally an at least semi-reputable network, with no docs at all,
  10. nothing in the arc file but the program, and a short one paragraph
  11. description of it before downloading.  This program was obviously (to me it
  12. appears obvious) written by one of the many European pirate groups.  The name
  13. "The New Masters", the lack of docs, and the rainbow graphics are a dead
  14. giveaway.  However, it appears to be a potentially very useful utility,
  15. particularly for those of us whose Workbench disk is stuffed full of
  16. utilities and can't find room for any more.  Experiment with Crunch; test it
  17. thoroughly before you use it on anything valuable to you.  It works great for
  18. me, but given the ancestry of it I can't guarantee it will not cause you
  19. problems or loss of data or programs you really didn't want to lose.  Use it
  20. ONLY on backup copies.
  21.  
  22.      Crunch is a utility that compresses single programs only, unlike ARC,
  23. ZOO, or PAK, which can compress several files into one archive.  The big
  24. difference is, after compression with Crunch, the program is still an
  25. executable file and does NOT have to be "unarc'd" or uncompressed before
  26. being run.  Like a PAK'd file, you do not need the original compression
  27. program to uncompress a file.  With PAK though, you must first unPAK the
  28. file, and then run the program.  With Crunch, the file uncompresses itself on
  29. the fly and runs exactly like any other executable program, yet takes up much
  30. less space on your disk.  The added time it takes to uncompress itself
  31. varies, but is usually not significant.
  32.      Run Crunch from the CLI.  After a second of "rainbow graphics", it
  33. brings up its own screen with just three menu items: Open, Write, and Quit. 
  34. When first started, the Write option is not available until you Open
  35. something and "crunch" it.  Then it can be written back to disk.  Select
  36. Open from the menu, and choose the program you want to crunch from the file
  37. requester that comes up.  The size in bytes of the file will be displayed as
  38. the Source in the list on the left.  The two large blocks labeled 'Time
  39. Control' and 'Speed Control' will graphically show you what's happening while
  40. the file is being crunched.  When finished, the size of the file after
  41. crunching will be displayed as Destination in the list on the left.  This
  42. size, plus the small 680 byte header that is added, equals the total size
  43. which is displayed as All in the list.
  44.      Now you can select Write from the menu.  When the file requester comes
  45. up it should still have the program's name in the string gadget, so you can
  46. just click OK and the newly-crunched, smaller file will be written to disk
  47. and replace the old larger file.
  48.      The new, crunched file can still be run either from the CLI or via
  49. Workbench, just like the old one.  When run, it will display its typical
  50. rainbow graphics while uncrunching.
  51.      If in the future you want to permanently uncrunch a file that you have
  52. used Crunch on (i.e., return it to its normal size and state), just select
  53. Open from the menu and then choose the file just as you would one that you
  54. wanted to crunch.  Crunch will detect that the file is already crunched, and
  55. will uncrunch it, displaying some graphics while doing so in the large block
  56. labeled 'Recruncher Control'.  Its size before and after will also be
  57. displayed as Source and Destination on the left.  Then select Write from the
  58. menu and write it back to disk in place of the crunched file.
  59.  
  60.      I ran into several problems with Crunch.  After crunching and saving to
  61. a disk, the icon for that disk would not go away without rebooting. I got
  62. several gurus in a row when I tried to save the crunched file to a device
  63. other than the one it came from.  You may or may not have these problems too.
  64. When I booted up with a standard unaltered Workbench disk, Crunch seemed to
  65. be less finicky.  There also appear to be some programs that Crunch will not
  66. compress.  Three that I tried that it refused to do were DeluxePaintII,
  67. Sculpt3D, and PhotonPaint.  A message in the 'Status Line' said something
  68. like "bad hunk struc." and the left mouse button had to be pressed to halt
  69. everything.
  70.      Here are some examples from my experiments:
  71.  
  72.      Digi-Paint:  102448 bytes before crunching, 13 seconds to load & run
  73.                    65438 bytes after crunching, 15 seconds to load & run
  74.  
  75.      Preferences:  58868 bytes before crunching, 8 seconds to load & run
  76.                    35124 bytes after crunching, 8 seconds to load & run
  77.  
  78.      PixMate:  109600 bytes before crunching, 17 seconds to load & run
  79.                 81836 bytes after crunching, 26 seconds to load & run
  80.  
  81.      Crunch seemed to also work fine on the few AmigaDOS commands that I
  82. tried it on (Run, NewCli, FastMemFirst), although the rainbow graphics are
  83. a bit annoying every time you use a crunched command.  I highly recommend that
  84. you do your own experimenting on some backup copies, until you're satisfied
  85. that Crunch will work for you.
  86.  
  87.      -Joel Salazar
  88.         PeopleLink: WALRUS
  89.              GEnie: WALRUS
  90.         CompuServe: 73557,2347
  91.        QuantumLink: SKYRAT
  92.