home *** CD-ROM | disk | FTP | other *** search
- .key var1
- ; Auto-Script
- ; Copyright MINDWARP U.K. 1992. Written by Nigel Bates
-
- path sys:system add
-
- setenv gifviewer "sys:c/hamgifp"
-
- echo " *e[32m*e[1m####################################################### "
- echo "** **"
- echo "** This script file will create a complete slide show **"
- echo "** on the disk in your external drive. To use it, you **"
- echo "** must first make sure you have a blank disk in df1: **"
- echo "** and the following files in these directory's: **"
- echo "** SLIDE-SHOW and SLIDESHOW-STARTUP in the S dir. **"
- echo "** PPSHOW (V2.1 or above), EFFECT4, NOISEPLAYER, PLAY, **"
- echo "** WAIT, MOD.CHUNKY_VIBES and HAMGIFP all in the C dir. **"
- echo "** Finally in your LIBS dir. you should have OCTAPLAYER **"
- echo "** and POWERPACKER libraries. **"
- echo "** **"
- echo "** First copy all your pictures into RAM: making sure **"
- echo "** all the file names end in .PIC (eg. Fred.PIC). **"
- echo "** The maximum combined file length of the pictures, **"
- echo "** (memory permitting!) must not exceed 572,000 Bytes. **"
- echo "** All the pictures can be crunched by using Nico **"
- echo "** Francois's excellent Power Packer. **"
- echo "** Note: You do not require .INFO files with your pics. **"
- echo "** **"
- echo "** You are advised to format your disk using this **"
- echo "** script file, as it uses the Fast File System (FFS) & **"
- echo "** delete's the Trashcan (plus .info file) for more **"
- echo "** space. If your pictures are already in RAM: & **"
- echo "** correctly labelled (& crunched if required), then just**"
- echo "** type 'Y' at the prompt. **"
- echo "** N. A. Bates August 92 **"
- echo "######################################################### "
- echo " "
-
-
- ask " *e[33mAre your pics ready in RAM:? [Y/N] "
-
- if warn
- echo " "
- ask " Do you want to format a disk in df1: ?"
- if warn
- echo " "
- format drive df1: name Slide-Show FFS
-
- endif
- echo " "
- echo " *e[43m*e[32mNow creating bootable Slide-Show!*e[0m"
- echo " "
- echo " "
- else
- echo " *e[32mO.K. Bye Bye!*e[0m"
- echo " "
- skip end
- endif
- cd df1:
- echo ""
- echo " Hang on while I get rid of the Trashcan...."
- echo ""
- delete trashcan
- delete trashcan.info
- echo ""
- echo " ahhh that's better!!.....Now on with the show!"
- echo ""
- echo ""
-
- lab makedrawers
- echo " Creating directories"
- makedir c
- makedir s
- makedir devs
- makedir libs
- makedir Prefs
-
- cd df1:Prefs
- makedir Env-Archive
- cd df1:Prefs/Env-Archive
- makedir Sys
-
- cd df1:devs
- makedir keymaps
-
-
- lab copyfiles
- echo " "
- echo " Copying files across ... please wait Three Mins"
-
-
-
- cd sys:c
- copy copy to df1:c
- copy execute to df1:c
- copy loadwb to df1:c
- copy setpatch to df1:c
- copy Iprefs to df1:c
- copy addbuffers to df1:c
- copy Noiseplayer to df1:c
- copy Mod.Chunky_Vibes to df1:c
- copy assign to df1:c
- copy makedir to df1:c
- copy ppshow to df1:c
- copy echo to df1:c
- copy hamgifp to df1:c
-
- cd ram:
- echo ""
- echo " Located pictures in RAM......"
- echo ""
- copy #?.PIC to df1:
- echo ""
- echo ""
- echo " All pictures copied Okay!"
-
- cd sys:libs
- copy diskfont.library to df1:libs
- echo ""
- echo " If you get a 'DISK FULL' message before the end of this"
- echo " script, then it means your pictures total over 572K!..."
- copy powerpacker.library to df1:libs
- echo ""
- echo " Try deleting one of your pictures, or crunching them (if"
- echo " there not already crunched), then run this script again."
- copy iffparse.library to df1:libs
- copy asl.library to df1:libs
- copy reqtools.library to df1:libs
- copy octaplayer.library to df1:libs
-
- echo ""
- echo " Nearly finished!!....."
-
-
- cd sys:s
- copy SlideShow-Startup to df1:s
- rename df1:s/SlideShow-Startup df1:s/startup-sequence
- copy Slide-Show to df1:
-
- cd sys:devs
- copy system-configuration to df1:devs
- copy keymaps/gb to df1:devs/keymaps
-
- if exists SYS:Prefs/Env-Archive/Sys/Pointer.Ilbm
- copy sys:prefs/env-archive/sys/Pointer.Ilbm to df1:Prefs/Env-Archive/Sys
- endif
-
- install drive df1:
-
- echo " "
- echo "*e[33m*e[1m Oooh la LA! *e[32m.....You now have a Slide-Show on disk DF1!*e[0m"
- echo " "
- lab end
- play c:Effect4
- wait 3
-