home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 2: Collection B / 17Bit_Collection_B.iso / files / 2135.dms / in.adf / Slide_Show.Script < prev   
Encoding:
AmigaDOS Script File  |  1992-08-18  |  4.2 KB  |  156 lines

  1. .key var1
  2. ; Auto-Script
  3. ; Copyright MINDWARP U.K. 1992. Written by Nigel Bates
  4.  
  5. path sys:system add
  6.  
  7. setenv gifviewer "sys:c/hamgifp"
  8.  
  9. echo " *e[32m*e[1m####################################################### "
  10. echo "**                                                       **"
  11. echo "** This  script file will create a complete slide show   **"
  12. echo "** on the disk in your external drive. To use  it, you   **"
  13. echo "** must first  make sure you have a blank disk in df1:   **"
  14. echo "** and the following files in these directory's:         **"
  15. echo "** SLIDE-SHOW and SLIDESHOW-STARTUP in the S dir.        **"
  16. echo "** PPSHOW (V2.1 or above), EFFECT4, NOISEPLAYER, PLAY,   **"
  17. echo "** WAIT, MOD.CHUNKY_VIBES and HAMGIFP all in the C dir.  **"
  18. echo "** Finally in your LIBS dir. you should have OCTAPLAYER  **"
  19. echo "** and POWERPACKER libraries.                            **"
  20. echo "**                                                       **"
  21. echo "**    First copy all your pictures into RAM: making sure **"
  22. echo "** all the file names end in .PIC (eg. Fred.PIC).        **"
  23. echo "** The maximum combined file length of the pictures,     **"
  24. echo "** (memory permitting!) must not exceed 572,000 Bytes.   **"
  25. echo "** All the pictures can be crunched by using Nico        **"
  26. echo "** Francois's excellent Power Packer.                    **"
  27. echo "** Note: You do not require .INFO files with your pics.  **"
  28. echo "**                                                       **"
  29. echo "**    You are advised to format your disk using this     **"
  30. echo "** script file, as it uses the Fast File System (FFS) &  **"
  31. echo "** delete's the Trashcan (plus .info file) for more      **"
  32. echo "** space. If your pictures are already in RAM: &         **"
  33. echo "** correctly labelled (& crunched if required), then just**"
  34. echo "** type 'Y' at the prompt.                               **"
  35. echo "**                N. A. Bates August 92                  **"
  36. echo "######################################################### "
  37. echo " "
  38.  
  39.  
  40. ask "     *e[33mAre your pics ready in RAM:? [Y/N] "
  41.  
  42. if warn
  43. echo " "
  44. ask "     Do you want to format a disk in df1: ?"
  45. if warn
  46. echo " "
  47. format drive df1: name Slide-Show FFS
  48.  
  49. endif
  50. echo " "
  51. echo "     *e[43m*e[32mNow creating bootable Slide-Show!*e[0m"
  52. echo " "
  53. echo " "
  54. else
  55. echo "     *e[32mO.K. Bye Bye!*e[0m"
  56. echo " "
  57. skip end
  58. endif
  59. cd df1:
  60. echo ""
  61. echo "   Hang on while I get rid of the Trashcan...."
  62. echo ""
  63. delete trashcan
  64. delete trashcan.info
  65. echo ""
  66. echo "   ahhh that's better!!.....Now on with the show!"
  67. echo ""
  68. echo ""
  69.  
  70. lab makedrawers
  71. echo "     Creating directories"
  72. makedir c
  73. makedir s
  74. makedir devs
  75. makedir libs
  76. makedir Prefs
  77.  
  78. cd df1:Prefs
  79. makedir Env-Archive
  80. cd df1:Prefs/Env-Archive
  81. makedir Sys
  82.  
  83. cd df1:devs
  84. makedir keymaps
  85.  
  86.  
  87. lab copyfiles
  88. echo " "
  89. echo "     Copying files across ... please wait Three Mins"
  90.  
  91.  
  92.  
  93. cd sys:c
  94. copy copy to df1:c
  95. copy execute to df1:c
  96. copy loadwb to df1:c
  97. copy setpatch to df1:c
  98. copy Iprefs to df1:c
  99. copy addbuffers to df1:c
  100. copy Noiseplayer to df1:c
  101. copy Mod.Chunky_Vibes to df1:c
  102. copy assign to df1:c
  103. copy makedir to df1:c
  104. copy ppshow to df1:c
  105. copy echo to df1:c
  106. copy hamgifp to df1:c
  107.  
  108. cd ram:
  109. echo ""
  110. echo "     Located pictures in RAM......"
  111. echo ""
  112. copy #?.PIC to df1:
  113. echo ""
  114. echo ""
  115. echo "     All pictures copied Okay!"
  116.  
  117. cd sys:libs
  118. copy diskfont.library to df1:libs
  119. echo ""
  120. echo " If you get a 'DISK FULL' message before the end of this"
  121. echo " script, then it means your pictures total over 572K!..."
  122. copy powerpacker.library to df1:libs
  123. echo ""
  124. echo " Try deleting one of your pictures, or crunching them (if"
  125. echo " there not already crunched), then run this script again."
  126. copy iffparse.library to df1:libs
  127. copy asl.library to df1:libs
  128. copy reqtools.library to df1:libs
  129. copy octaplayer.library to df1:libs
  130.  
  131. echo ""
  132. echo "     Nearly finished!!....."
  133.  
  134.  
  135. cd sys:s
  136. copy SlideShow-Startup to df1:s
  137. rename df1:s/SlideShow-Startup df1:s/startup-sequence
  138. copy Slide-Show to df1:
  139.  
  140. cd sys:devs
  141. copy system-configuration to df1:devs
  142. copy keymaps/gb to df1:devs/keymaps
  143.  
  144. if exists SYS:Prefs/Env-Archive/Sys/Pointer.Ilbm
  145. copy sys:prefs/env-archive/sys/Pointer.Ilbm to df1:Prefs/Env-Archive/Sys
  146. endif
  147.  
  148. install drive df1:
  149.  
  150. echo " "
  151. echo "*e[33m*e[1m  Oooh la LA! *e[32m.....You now have a Slide-Show on disk DF1!*e[0m"
  152. echo " "
  153. lab end
  154. play c:Effect4
  155. wait 3
  156.