home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsf / hammer / !Hammer / !Help < prev    next >
Encoding:
Text File  |  1996-05-01  |  3.2 KB  |  63 lines

  1. Hammer Help File
  2. -----------------
  3.  
  4. This is a desktop utility that allows easy use of the Hammer module, which
  5. is closely linked to Andy Southgate's GameSuite game designer package.
  6. GameSuite is best used for sprites that have been converted to FastSprite
  7. format, since these can be processed and displayed much quicker than
  8. standard sprites using standard routines. The drawback is that these
  9. FastSprite files tend to be massively bigger than standard sprite files, so
  10. Andy created the Hammer module to compress them dramatically. Using Hammer,
  11. the FastSprite files end up much smaller than their equivalent sprite files.
  12.  
  13. The annoying drawback to the Hammer module is that it can only easily be
  14. operated from the command line, which can become a bit of a pain. Therefore,
  15. at the expense of all the information and reams of statistics, I have
  16. created this application to avoid this problem. Simply drag a FastSprite
  17. file or Hammered data file (filetypes &113 and &FFD respectively) onto the
  18. icon bar icon or into the window and click on OK to transform the file. Part
  19. of the path name of the selected file will appear in the box at the bottom
  20. of the window, and the current filetype will also be displayed.
  21.  
  22. Hammer - compresses a FastSprite file and saves it as a data file under the
  23.          same name. This takes a long time for quite large files.
  24.  
  25. Claw - decompresses a data file that was previously hammered, saves it under
  26.        the same name, and sets the file type to FastSprite.
  27.  
  28. There are six options available when hammering a file, but only three of
  29. these are any use for this desktop frontend:
  30.  
  31. Hammer -d: take differences first
  32.  
  33. Hammer -f: flash - do not use certain codes
  34.  
  35. Hammer -w: word align before compressing
  36.  
  37. I only have ever used -w since this works particularly well on FastSprite
  38. files, which is why I have put it as the default option. I don't actually
  39. know what the other two options do - but have provided them for those that
  40. do. These can be selected in combination if you wish.
  41.  
  42. REQUEST: If anybody can explain to me how to load hammered FastSprite files
  43. directly into the FastSpr module area, I would be very grateful. At the
  44. moment I create an adequate RAM disc, copy a hammered FastSprite file into
  45. it, decompress it, load it, delete it from the RAM disc, and repeat the
  46. process for all my files. Hardly ideal, is it?
  47.  
  48. On a final note, this program uses the excellent WimpTools module, which I
  49. got from the August 1994 Acorn User cover disc. There will be problems if
  50. this module is removed by RMKill, RMClear and the like before the program
  51. is quitted, so beware. This actually represents my second completed attempt
  52. at writing a desktop program. Although I have a pretty extensive knowledge
  53. of programming in BASIC I had never understood how to write desktop programs
  54. until I found the WimpTools program, manual and demo on the cover disc,
  55. which somehow made it all clear. I would recommend WimpTools to anyone who
  56. finds desktop programming really complicated - it is so simple to create
  57. menus, load templates, alter icon/menu item states and so on. And it doesn't
  58. take up that much room in your module area, either.
  59.  
  60. Written by Chris Grant
  61.             Welfengasse 15
  62.              D-82487 Oberammergau
  63.               GERMANY