home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / graphics / sprtools_1 / !readme
Text File  |  1999-01-15  |  10KB  |  234 lines

  1. SPRtools
  2. ========
  3.  
  4. SPRtools block 1e release (15-Jan-1999).
  5. (C) 1989-1998 DEEJ Technology PLC
  6.  
  7. Contents
  8. --------
  9. SPRtools provides bitmap format conversion and image processing utilities,
  10. designed to run on RISC OS and UNIX platforms.
  11.  
  12. This release contains the following tools:-
  13.  
  14. bmp2spr  : Version 3.00 (02-Feb-1995) : Windows 3 / OS2 BMP to sprite
  15. bmp_info : Version 3.01 (06-Feb-1998) : Windows 3 / OS2 BMP file information
  16. chmode   : Version 1.51 (05-Feb-1998) : Sprite change mode
  17. clr2spr  : Version 2.10 (15-Jul-1994) : !Translator Clear format to Sprite
  18. clr_info : Version 2.02 (06-Feb-1998) : !Translator Clear file information
  19. ras2spr  : Version 2.50 (17-Jun-1994) : Sun raster format to Sprite
  20. ras_info : Version 2.01 (06-Feb-1998) : Sun raster file information
  21. sb2spr   : Version 2.00 (24-Jun-1993) : HP Starbase format to Sprite
  22. sb_info  : Version 2.01 (06-Feb-1998) : HP Starbase file information
  23. spr2bmp  : Version 3.00 (02-Feb-1995) : Sprite to Windows 3 BMP
  24. spr2clr  : Version 2.00 (27-Aug-1993) : Sprite to !Translator Clear format
  25. spr2ras  : Version 2.00 (18-Nov-1993) : Sprite to Sun raster format
  26. spr2sb   : Version 5.00 (23-Aug-1993) : Sprite to HP Starbase format
  27. spr2tga  : Version 2.00 (22-Aug-1993) : Sprite to Targa TGA format
  28. spr2xbm  : Version 5.01 (25-Nov-1993) : Sprite to X Windows bitmap/pixmap
  29. spr2xwd  : Version 1.60 (06-Feb-1998) : Sprite to X Windows Display format
  30. spr3spr  : Version 1.10 (15-Jul-1994) : Sprite separation utility
  31. spr_diff : Version 1.02 (06-Feb-1998) : Sprite differencing utility
  32. spr_fsi  : Version 1.20 (10-Jan-1999) : Sprite image processing tool
  33. spr_info : Version 4.03 (06-Feb-1998) : Sprite information and statistics
  34. spr_pal  : Version 2.12 (20-Aug-1993) : Sprite palette image creator
  35. tga2spr  : Version 2.00 (23-Aug-1993) : Targa TGA format to Sprite
  36. tga_info : Version 2.51 (06-Feb-1998) : Targa TGA file information
  37. xwd2spr  : Version 1.60 (18-Nov-1993) : X Windows Display format to Sprite
  38. xwd_info : Version 1.51 (06-Feb-1998) : X Windows Display file information
  39.  
  40.  
  41. License
  42. -------
  43. SPRtools are and remain the copyright of DEEJ Technology PLC.
  44.  
  45. The unmodified distribution package may be freely copied by users and
  46. distributed by organisations as long it remains free of charge (except for the
  47. minimum of distribution media costs), and is not bundled with any commercial
  48. product, either software or in the form of a disc based magazine. It may be
  49. placed on builtin boards or archive servers without restriction.
  50.  
  51. Only the original distrubtion packages can be passed on, copying of parts
  52. of the package other than described in the installation is not permmited.
  53. The code may be modified by the user, but must not be passed on, all
  54. changes should be notified to the address at the end of this document.
  55. No code may be used in commercial products with out prior and express
  56. permission of DEEJ Technology PLC.
  57.  
  58. SPRtools is not supplied with WARRANTY of any kind either expressed or implied.
  59. The author is under no obligation to provide support, corrections or
  60. enhancements, any supplied are purely on a good will basis.
  61.  
  62.  
  63. Distribution
  64. ------------
  65. SPRtools is distributed in to forms; a spark archive for RISC OS, and a
  66. compressed tar file for UNIX. Both forms contain the same files with
  67. differing filenames to conform to RISC OS and UNIX conventions. Scripts
  68. are provided to convert between RISC OS and UNIX filenames.
  69.  
  70. Directories contained in the Release
  71.  
  72.     bin    - contains executables when built
  73.     docs    - documentation on SPRtools
  74.     riscos    - RISC OS specific files, makefile, plus directories
  75.             basic     - BASIC files for creating 24 bit sprites
  76.             comndcfg - configuration files for !ComndCTRL
  77.             obey     - scripts for RISC OS / UNIX transferring
  78.     unix    - UNIX specific file, including makefiles
  79.     win32   - makefile for Visual C++ 4.2 on Windows 95 and Windows NT
  80.     sprites - test sprite files
  81.     source    - contains source files - Tar release only
  82.     c,h,o   - contains source files - Archive release only
  83.  
  84.  
  85. Installation
  86. ------------
  87. Spark archive on RISC OS
  88.         Create a directory called SPRtools in the desired location
  89.         on your harddisc. Using !Spark, !SparkFS, !ArcFS (or other
  90.         popular archive handling tools) to copy the contents of
  91.         the archive to the SPRtools directory.
  92.  
  93. Spark archive on UNIX
  94.         First install the archive on a RISC OS machine as described
  95.         above. Place an empty  DOS formatted disc (720K should be
  96.         sufficient for this release, but 1.44M may be necessary) in
  97.         drive 0, and double click on the SPRtools.riscos.obey.tounix
  98.         script. Files will be copied on to the DOS disc, from where
  99.         they can be copied to a UNIX system, either directly or via a
  100.         NFS PC.
  101.  
  102. Spark archive on Windows
  103.         First install the archive on a RISC OS machine as described
  104.         above. Using !SparkFS create a ZIP archive called SPRtools.Z
  105.         in the SPRtools directory and and double click on the
  106.         SPRtools.riscos.obey.tozip script. Files will be copied in to
  107.         the ZIP archive, which should be copied to a PC and renamed
  108.         SPRtools.zip the files can then be extracted using WinZIP
  109.         or pkunzip.
  110.         
  111. Tar file on RISC OS
  112.         If you have access to !SparkFS (or another RISC OS program
  113.         that can handle tar files), make a directory called SPRtools
  114.         and copy the tar file in to it (the tar file can be in any
  115.         compressed or uuencoded form), the tarfile must be called
  116.         'sprtools/t' (case is important). Extract just the file
  117.         sprtools/t.riscos.obey.fromtar to the SPRtools directory
  118.         and set its file type to TaskObey. Running this script will
  119.         extract and install the files, and set the file types.
  120.  
  121.         If you do not have !SparkFS, first install on UNIX as
  122.         described above. The sprtools directory can then be copied
  123.         to DOS disc (720K should be sufficient for this release, but
  124.         1.44M may be necessary), either directly or via a NFS PC.
  125.         On a RISC OS machine, place the DOS disc in drive zero and
  126.         create a directory called SPRtools. Copy just the file
  127.         sprtools.riscos.obey.fromunix into this directory, set its
  128.         file type to TaskObey and double click to install the files.
  129.  
  130. Tar file on UNIX
  131.         Create a directory called sprtools in the desired location.
  132.         Extract the contents of the tar file into this directory
  133.         (using 'tar xvf sprtools.tar' after uudecoding and uncomp-
  134.         ressing).
  135.  
  136. ZIP file on RISC OS
  137.         Copy the ZIP file to a directory called SPRtools, using
  138.         !SparkFS open the ZIP file and locate the script
  139.         SPRtools/Z.riscos.obey.fromzip/feb and set its type to
  140.         &feb if it is not already. You may also need to set the type
  141.         of the file SPRtools/Z.riscos.filecopy/ffb to BASIC.
  142.         Running this scrip will extract    the files to the SPRtools
  143.         directory. 
  144.  
  145. ZIP file on Windows
  146.         Extract the contents of the zip file to a  directory called
  147.         sprtools using WinZip or pkunzip.
  148.  
  149.  
  150. Building
  151. --------
  152. RISC OS        Copy the file SPRtools.riscos.makefile to the SPRtools
  153.         directory. Ensure that C$path is set up so the Clib is
  154.         accessible to the compiler. Build SPRtools using AMU
  155.         (or Make) using DDE or from the command line.
  156.  
  157. UNIX        First read the readme file in sprtools/unix, choose the
  158.         most appropriate make file for your system and copy
  159.         it to sprtools/source/makefile. Change to the sprtools/source
  160.         directory and type 'make'.
  161.         
  162. Windows         Load the project workspace SPRtools\win32\SPRtools.mdp,
  163.                 select the project SPRtools/Release and do a Build All.
  164.  
  165.  
  166. Running
  167. -------
  168. RISC OS        Place the SPRtools.bin directory on your Run$Path. This
  169.         should be done by placing a line in your desktop boot file.
  170.         e.g. Set Run$Path %,[...].,adfs::HardDisc.SPRtools.bin.
  171.         where [...] are a list of comma separated directories (ending
  172.         in '.') that you also want on the run path.
  173.  
  174.         SPRtools may then be run form the command line, or a task
  175.         window. A full RISC OS interface to the tools is provided
  176.         in conjunction with !ComndCTRL, this enables input and
  177.         files to be selected by dragging, options set using menus,
  178.                 and the correct filetype allocated to image files produced.
  179.         See SPRtools/riscos/comndcfg/readme for more details.
  180.  
  181.         When dealing with very big sprites a large amount of memory
  182.         will be required, all SPRtools can be run under VIRTUAL.
  183.         VIRTUAL is available from many PD sources and enables
  184.         limited virtual memory support in taskwindows.
  185.  
  186. UNIX        Place the sprtools/bin directory on your $PATH. For csh
  187.         add the following to your .cshrc after any other 'set $paths's.
  188.         e.g. set path=($path $HOME/sprtools/bin)
  189.  
  190.         Under csh type 'rehash', you will then be able to access
  191.         SPRtools from any directory. Under UNIX shells several
  192.         operations may be chained together using pipes.
  193.  
  194.         e.g. to display Windows BMP on X windows
  195.              bmp2spr windows.bmp | spr2xwd | xwud
  196.  
  197.         e.g. to convert a sprite to a X window backdrop
  198.              spr_fsi -bpp 1 -scale 1280,1024 -in sprite | spr2xbm >bits
  199.              xsetroot -fg white -bg black -bitmap bits
  200.              
  201. Windows         Create a DOS box in Windows 95 or windows NT to run the
  202.                 programs in a command line environment. The SPRtools.bin
  203.                 directory can be added to the PATH variable.
  204.  
  205. General        Full documentation is provided in the Docs directory.
  206.  
  207.  
  208. Information
  209. -----------
  210. SPRtools is continually being developed and improved. Please report any
  211. problems or suggestions for improvements / new features to the address
  212. below.
  213.  
  214. If SPRtools is required to be converted to any platforms not covered
  215. in the sprtools/unix/readme please send the output from the endian program,
  216. and I will attempt to provide the required update. Alternatively if you
  217. develop a new makefile and machine definitions, please send all changes to
  218. me so they can be integrated into the official release version.
  219.  
  220. The DEEJ Technology application !CommndCTRL and module DEEJmodes are
  221. required by some files in the riscos directory. These are commercial products,
  222. details are available by requesting the "DEEJ Technology Product Guide" from
  223. the address below.
  224.  
  225. ---------------------------------------------------------------------------
  226.     _    __  __ ____   _____ __  __            __       __   __
  227.    / |  /_  /_    /      /  /_  /   /__/ /| / /  / /   /  / / _ \__/
  228.   /__/ /__ /__ \_/      /  /__ /__ /  / / |/ /__/ /__ /__/ /__/   /   PLC
  229.  
  230.  T E C H N O L O G Y  .  I N T E L L I G E N C E  .  A P P L I C A T I O N
  231.  
  232.  David J. Ruck BSc   Phone: +44-1452-712925   Email: druck@armclub.org.uk
  233. ___________________________________________________________________________
  234.