Short: V1-26 of Random Amiga Setting Program (RASP) Author: garpa@southwales.u-net.com (Carl Harrison) Uploader: garpa southwales u-net com (Carl Harrison) Type: util/boot Architecture: m68k-amigaos MAJOR BUG FIXED !!!! NOW VERSION 1.26 FASTER! *********************************************************************** GaRpA_RASP ! V1.26 *********************************************************************** by Carl Harrison (c) CopyRight 1997 Written in AMOS_Pro V2 Compiled in September 1997 Every fancied having a "different" Amiga EVERY time you booted up ? Do you run a BBS? Would you like random log-on and log-off ANSI screens? Would you like different UPD or IFX settings EVERY bootup? Would you like different WorkBench Backdrop, Window and Picture on EVERY bootup? Would you like random worms samples? Would you like random worms levels? Any program that uses an external data file can be RASP'd (especially nice wb commodity type programs) R.A.S.P. "Random Amiga Settings Program" only requires three pieces of information to work. These are;- Source Directory WildCards (MulTiSearCh) i.e. no need for *.* or #? Destination Directory and Filename In the Source Directory, RASP can read upto 500 entries per "3 pieces of information". Once run, RASP will plough through a text file (see below) actioning 3 pieces of information at once until the end of the text file has been reached or an error occurred - in which case RASP will end and control will return back to your Amiga. PLEASE NOTE: RASP is pretty much crash proof. It won't crash because of your setup, if anything it will only tell you what piece of information was processed last before the crash thus helping you debug your config file. THE Ultimate Random Amiga Settings Program. - - - - R.A.S.P. What is it? It is a CLI program that reads in three pieces of information at a time. These are;- (1) Source Directory (must have / at end) (2) Wildcards (use one space for ALL files or in-string search for wildcards i.e. IFF/SND or JPG will pick all IFF/SND or JPG files.) (3) Destination Directory and Destination Filename i.e. Data:Pics/defaultWBbackground.Pic Holds upto 500 objects PER directory for randomisation !!!!!! UNLIMITED DIRECTORIES!!!! INSTALLATION ------------ Chuck it somewhere in yer Startup-Sequence or User-Startup. (I put it in after setpatch and before PICBOOT and IPREFS) The only argument required is the script file location (file enclosed). example on how to make a random WorkBench Backdrop script. ---------------------------------------------------------- Copy a picture and rename it to WBBACK.PIC and put it anywhere you want. In WBPATTERN (prefs) choose the above picture. Have a directory of pictures, datatypes only relevant if yer have 'em so just put in pictures that yer datatypes support. In the script file, the first three lines should be for the above;- HD1:PICTURES/ IFF HD0:THE_DIRECTORY_AND_NAME_OF_THE_WBBACK.PIC Thats It! Simple. (To cover ALL wildcards, have a SPACE instead of the wildcard-associated-letters, and you can repeat this as many times as you want! ALL random settings YEHAAA! This program is E-Mail Ware. Please E-Mail me just to show your appreciation of my work. Thanks. Long Live yer Miggy! WoRkBench-ThEmEs - AVAILABLE FROM AMINET NOW! --- Have FUn, as I certainly did in making this product. E-Mail me with yer suggestions to garpa@southwales.u-net.com Version Modification History ---------------------------- There are now two versions available in this archive. One is the graphical version with the progression bar, the other, a quiet non-graphical (slighly faster too (coz of the non-graphical presence)). Garpa_rnd Graphical Version Garpa_rnd2 Quiet Version V1.23 - Hard-Drive COPY routine re-wrote for approx 35% increase in boot-up speed. Routine modifications has allowed a drop in nearly 10k of program space, although the program still takes up as much memory (not much anyways so doesn't really matter - bit of a perfectionist i think.... ;) V1.24 - "directory snooper" routine optmised. Used more machine-code related instructions to speed up directory reading. Speed increase of about 200%. All I need now is an extremly FAST copy command....Any ideas? ;) V1.25 - Changed the randomise routine to repeat 3 times. Slight slow down. Changed some math instructions to pure-machine code which should not only absorb the 3-random-loop routine but generally give a boost (the progression bar was one change). V1.26 - Thanks to Tony McKimm, I found a MAJOR bug in the script loading routine which looked for a line feed and carriage return - dummy! - the Amiga only uses a line feed. Duh. I really feel the fool. Anyways, RASP works.....at LAST! ENJOY! Oh - and the script file can be whatever you want. No-Limit, so you can have several script files, no just a boot up one! This program should work on all WB2.0 and above Amiga's. Program tested on CD32 020 SX32 10MB RAM A1200 18MEG RAM Blizzard 4 030 50Mhz 68882 50Mhz Support Amiga! Release E-MAILWARE !