home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / new / util / boot / picboot / picboot.man < prev    next >
Text File  |  1994-11-30  |  28KB  |  739 lines

  1.  
  2.  
  3.    This file describes PicBoot, version 2.6, a program that shows an
  4. IFF ILBM or GIF picture during boot.
  5.  
  6. Introduction
  7. ************
  8.  
  9.    Have you removed all output in your 2.0+ startup, and only see a
  10. black screen during boot? Wouldn't it be nice to have a picture
  11. instead? A picture that disappeared when the Workbench screen opened?
  12.  
  13.    If so, PicBoot is certainly a program for you. What it will do is
  14. to read any IFF file containing an ILBM - or GIF - picture, and show
  15. it. As soon as the Workbench screen appears (or you press any
  16. mouse-button), the picture will go away.
  17.  
  18.    Features:
  19.  
  20.    *  Fast picture unpacking, using highly optimized assembler. The
  21.      entire picture is read into memory and then unpacked. This applies
  22.      both to the IFF and the GIF unpacker.
  23.  
  24.    *  Optional auto-detaching; the picture is loaded as fast as
  25.      possible, with minimal memory fragmentation.
  26.  
  27.    *  A picture can be shown a user-specified time after the
  28.      Workbench screen opens (see DELAY and PATCH).
  29.  
  30.    *  Extremely flexible argument parser.
  31.  
  32.    *  Random select among any number of pictures, in several different
  33.      ways.
  34.  
  35.    *  Force a certain display mode for a picture, even if saved with
  36.      another (can be selected on a picture by picture basis).
  37.  
  38.    *  The comment field of a file may be used to specify options.
  39.  
  40.    *  Optional screen centering (horisontally).
  41.  
  42.    *  Optional screen fading (in various forms). Uses the increased
  43.      palette range in AA (24 bits).
  44.  
  45.    *  Should work with most "Intuition emulators" for gfx-cards.
  46.  
  47. System requirements
  48. *******************
  49.  
  50.    Apart from OS 2.04+, PicBoot doesn't require any special
  51. libraries. The only non-ROM library required is iffparse.library
  52. (which normally resides in Libs:).
  53.  
  54.        PicBoot have full support for OS 3.0+ and AA graphics. It
  55. should even work with gfx-cards that have an "Intuition emulator".
  56.  
  57. Legal information
  58. *****************
  59.  
  60.    This program is freeware. You may copy and use this program freely,
  61. as long as the following conditions are met:
  62.  
  63.    *  All files are copied in an unmodified state. If additional
  64.      information is needed, place it in a separate file. Preferably
  65.      redistribute in the original archive form (*.Lha).
  66.  
  67.      Exception: So called BBS ads may not be added!
  68.  
  69.    *  The copying is done on a non-commercial and non-profit basis
  70.      only. A copy fee to cover media costs, postage etc. may be
  71.      charged. This fee may not exceed the fee to obtain an AmigaLibDisk
  72.      from Fred Fish.
  73.  
  74.    *  The copier/spreader is not claiming the Copyright © of this
  75.      program.
  76.  
  77.    Any exceptions from these restrictions requires written permission
  78. from the author, Magnus Holmgren (see Author contact).
  79.  
  80. Disclaimer
  81. ==========
  82.  
  83.    Magnus Holmgren neither assume nor accept any responsibility for the
  84. use or misuse of these programs. He also will not be held liable for
  85. damages or any compensation due to loss of profit or any other damages
  86. arising out of the use, or inability to use these programs.
  87.  
  88.    Magnus Holmgren will not be liable for any damage arising from the
  89. failure of these programs to perform as described, or any destruction
  90. of other programs or data residing on a system attempting to run the
  91. programs. While he know of no damaging errors, the user of these
  92. programs uses it at his or her own risk.
  93.  
  94. Usage
  95. *****
  96.  
  97.    To activate PicBoot, add a line to your S:Startup-Sequence,
  98. looking something like this:
  99.  
  100.      PicBoot Pics:Hi-res/Calvin01.Pic DETACH
  101.  
  102. Or, if you have a list of files in "Work:Text/PicList":
  103.  
  104.      PicBoot Work:Text/PicList LIST DETACH
  105.  
  106.    Or, if your drawer Pics:BootPics contains some pictures:
  107.  
  108.      PicBoot Pics:BootPics/#?.(Pic|Gif) DETACH
  109.  
  110.    This line should be located near the beginning in the
  111. S:Startup-Sequence (no point in placing it near the LoadWB
  112. command, is it? :), but keep it after SetPatchPicBoot will only
  113. output any text if it fails, so don't re-direct its output. Note however
  114. that if you place PicBoot before any additional monitors are
  115. installed, you'll be stuck with the default.monitor for showing your
  116. picture. The DEFAULT switch may be of help here.
  117.  
  118.    Make sure no program makes any output in the CLI window, since then
  119. the Workbench screen will open with a boring CLI-window instead...
  120.  
  121.    Options:
  122.  
  123. FILES
  124. =====
  125.  
  126.    This is the only required argument. Here you specify the name of the
  127. picture you want to view. You may enter several files here, in which
  128. case PicBoot will select one of them randomly, and show that one.
  129.  
  130.    The name(s) can also be the name of an ASCII file containing a
  131. filename list if you specified the LIST option.
  132.  
  133.    The name(s) can also be the name of a drawer, in which case
  134. PicBoot will randomly select one of the files in this drawer. To
  135. use a pattern during this scanning, simply enter the pattern like it
  136. had been the name of a file in the drawer. Example:
  137.  
  138.      Work:Pics/#?.gif
  139.  
  140. which would make PicBoot select a file ending in .gif in the drawer
  141. Work:Pics
  142.  
  143.    If the comment field of the selected listfile or picture starts with
  144. "*PicBoot*: " (case sensitive), then the rest of the comment is taken
  145. to be arguments, like those in a LIST file.
  146.  
  147.    You may freely mix picture and drawer names. Listfiles can only be
  148. mixed with the other two ones if the comment contains the LIST switch.
  149. In that case, the LIST argument should not be used on the command line
  150. (or in a list file). Ofcourse you can random select among list files
  151. with the "drawer scanner" if you like.. :)
  152.  
  153. MODEID
  154. ======
  155.  
  156.    Short form: M
  157.  
  158.    NOTE: This argument is mainly for the more "advanced" user.
  159.  
  160.    This argument should be a decimal number specifying which screen
  161. mode to use.  It basically replaces the so called CAMG hunk in an ILBM
  162. file (since it contains which screen mode to use). Thus, you must
  163. select mode with care, or else the picture will look like trash
  164. (nothing more serious can happen. I hope! :). When showing GIF files,
  165. it will override the internal "best mode" routines (which aren't good
  166. at all. But I haven't bothered to add code to make them better.. :).
  167.  
  168.    To make it easier for you to find out which display mode id to use,
  169. there is a small program called GetModeID included, which uses the
  170. ReqTools or Asl screenmode requester. Simply select the display
  171. mode you want, and it will print out the number you should use here.
  172. See GetModeID.
  173.  
  174.    The mode id will be passed through the same validity checking as a
  175. normal so called CAMG chunk, so PicBoot should handle bad values
  176. properly (although I haven't tested this much.. :).
  177.  
  178. LIST
  179. ====
  180.  
  181.    Short form: L
  182.  
  183.    If this switch is specified, PicBoot will interpret the files in
  184. the FILES argument as names of files containing a list of pictures (or
  185. rather, argument lines). PicBoot will then randomly select one of the
  186. lines in the selected file, and process it almost like a normal argument
  187. line. The only difference is that you can't use the DETACH, DELAY,
  188. PATCH or ACTIVATEWB arguments. These arguments may not be specified in
  189. a listfile (no point in doing it anyway).
  190.  
  191.    The listfile is an ASCII (text) file with a simple layout. On the
  192. first line you specify the number of argument lines in the file. This is
  193. usually <number of lines in file>-2 (one line is occupied by the count,
  194. and the other is the last linefeed). If this value is zero, then
  195. PicBoot will exit silently. The rest of the file is simply the
  196. argument lines to choose from. An example:
  197.  
  198.      4
  199.      Work:Pics/Comics/Calvin02.Pic MODEID 137220
  200.      Work:Pics/Comics/Calvin03.Gif
  201.      Work:Text/MoreCalvins.txt LIST CENTER ON
  202.      Work:Pics/Misc/#?.Gif
  203.  
  204.    Note that any arguments specified from the CLI, or in any previous
  205. listfile, will be taken as the new default value. In the listfile you
  206. may alter this default. This does not include the LIST argument
  207. (ofcourse). It is always turned off before parsing a line.
  208.  
  209.        Warning: Since you may enter a new listfile within a listfile,
  210. you can be caug