home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Cruncher / xpkbest.lha / xpkbest.doc < prev    next >
Encoding:
Text File  |  1995-06-19  |  2.9 KB  |  78 lines

  1. Introduction:
  2.  
  3. xpkbest is a very little cli-only utility that checks whether a file should be
  4. packed with the xpkNUKE, or the xpkSMPL-library. I use it to pack my modules.
  5. Some modules get a better compression-ratio with NUKE, others with SMPL.
  6.  
  7. I made it because I was checking by hand all the time and it was a lot of typing
  8. and you even had to THINK while doing it! (comparing 2 ratios is quite some
  9. thinking ;-) I know it's just a quick and dirty memory-hungry hack, but it works
  10. for me! I configured DOpus with a button 'Pack' and that does the trick. No more
  11. typing!
  12.  
  13. Features:
  14. - Takes 1 file as parameter. If you need to do a whole directory, you can use
  15.   'spat xpkbest #?' (spat is supplied with 2.0+ I think)
  16.   or use DOpus with the 'Do all files'-option.
  17. - Original file will be overwritten with the compressed one. If a file can't
  18.   be overwritten, a file with the extension '.nuke' or '.smpl' will be saved
  19.   instead.
  20. - Testing with xpkNUKE and xpkSMPL-library.
  21. - It won't try files that are already packed.
  22. - It reads the original file in memory and allocates 2 additional buffers: one
  23.   for NUKE, and one for SMPL. So you need free memory roughly 3 times the size
  24.   of the original file. Since I have plenty of memory and don't use files larger
  25.   than 1 Mb, that's no problem to me ;-)
  26. - The creation date will be preserved
  27. - The crunch-process is running at priority -1, so you can easily crunch your
  28.   entire modules-collection in the background.
  29. - Filenames (including path) shouldn't be longer than 255 characters.
  30. - Written in AmigaE (Thanks go to Wouter van Oortmerssen!)
  31. - OS V36+ (Kickstart 2.0+) is needed. On lower versions xpkbest just quits
  32.   without a message.
  33.  
  34. Future:
  35.  
  36. Okay, you're right: There's a lot of room for improvement. Right now I don't
  37. need anymore features, but if you want me to I'll improve (if you don't ask too
  38. much) Possible things I might add:
  39.  
  40. - file-patterns as an argument
  41. - selectable library-names
  42. - selectable priority
  43. - selectable overwrite, (maybe a source and destination-dir?)
  44. - Config-file
  45. - GUI (if you ask really nice...)
  46. - Low-memoryhandling. Write temporary-files to (hard)disk
  47. - ....
  48.  
  49.  
  50. Bug reports, contacting author:
  51.  
  52. I'd love to hear whether you like this or not. If the response is good enough I
  53. will go on improving it. If there's no need to improve it, I won't. There are
  54. other things to do and it's usefull for me as it is now. Let me know anyway if
  55. you use it. That's all I'm asking.
  56.  
  57. This is E-Mailware, but if you feel the urge to send me money, gifts,
  58. 68060-boards, 21"-monitors, or a new Ferrari, I don't mind. Anything is welcome!
  59.  
  60.  
  61.  
  62. Here's my address:
  63.  
  64. Jaco Schoonen
  65.  
  66. Internet: jaco@stack.urc.tue.nl  (reply guaranteed)
  67.  
  68. Snail mail:
  69.  
  70. Jaco Schoonen
  71. Sibeliuslaan 45
  72. 5654 CZ Eindhoven
  73. The Netherlands
  74.  
  75. If there aren't thousands of letters I will reply the snail mail as well. I don't
  76. expect thousands of letters so I guess that this guarantees a reply-letter as well.
  77.  
  78.