home *** CD-ROM | disk | FTP | other *** search
Wrap
failat 21 if not exists XEN-Icons echo "*n Please change current directory to that of MagicWB *n or start the installation from the Workbench!*n" quit endif echo "*n*e[1;32m _________________________________________________________________________" echo " *e[43m *e[0m" echo " *e[0;32;43m Welcome to the INSTALLATION of MagicWB v1.2p*e[1m *e[0m" echo " *e[1;4;43m *e[0m" echo "*n*n This Installation will automatically install *e[32mMagicWB*e[0m to your SYS:" echo " directory. Don't be afraid; the only things that will be replaced" echo " (overwritten) by this installation are the old (and ugly-looking) Icons" echo " from Commodore. These old Icons will be replaced by far better-looking" echo " Icons (called XEN-Icons) from this *e[32mMagicWB*e[0m-Package.*n" echo " MagicWB1.2p now DOES PRESERVE your old tooltypes, stack and default" echo " tool settings! So (for your convenience) your personal modifications" echo " within the Icons WILL NOT be overwritten by this installation. MagicWB" echo " just REPLACES the IMAGES of your old Icons with those magic images" echo " from MagicWB.*n" echo " After all, you do have the old Icons by Commodore on your original" echo " Installation Disks. Therefore you won't lose anything! So, if you dislike" echo " the XEN-Icons - what I really cannot believe - then you can still replace" echo " them with the old ones by re-installing the Workbench again.*n" echo noline " [Return]" set > nil: Return ? echo "*e[1;1H*e[J" echo "*n Second, this installation will install THREE new FONTS to your FONTS-" echo " Drawer called 'XEN', 'XHelvetica' and 'XCourier'.*n" echo " Third, your font.prefs in the ENVARC:SYS directory will be changed to use" echo " the three new installed fonts (you can of course reconfigure these settings" echo " to fit your own personal taste; NOTHING important will be deleted).*n" echo " Fourth, your palette.ilbm will be changed to fit the XEN-Icons: You will" echo " need at least 8 colors. This new palette will NOT change the standard" echo " colors that you are probably using at the moment. These first four" echo " standard colors are Gray, Black, White and Blue. So, you will have the" echo " same standard-looking Workbench with its original colors (again: nothing" echo " will get lost).*n" echo noline " [Return]" set > nil: Return ? echo "*e[1;1H*e[J" echo "*n IMPORTANT: The only thing you have to do is to change SCREENMODE-PREFS to" echo " a proportional resolution with 8 COLORS (e.g. HiRes-Interlaced 8 Colors)" echo " after this installation is finished!*n" echo " Finally, TWO Background-Patterns will be installed in the SYS:Prefs/Patterns" echo " directory (will be created). By default these patterns are 'Marble_CLASSIC'" echo " and 'MarbleDark'. After this installation you can manually copy all patterns" echo " or just your desired ones to this directory and configure them via the" echo " WBPattern-Prefs (only 3.x users) or the program 'NickPrefs' (for 2.x users;" echo " to be found in the 'MagicWB/Patterns/NickPrefs' drawer of this package).*n" echo " That's all! You can now proceed with this installation and in a few minutes" echo " you will be the lucky user of *e[32mMagicWB*e[0m! This installation will be inter-" echo " active, which means that you will be asked certain questions where you" echo " can influence this installation.*n" echo noline " Start the installation? " set > nil: InpVar ? if $InpVar eq "ja" skip Start endif if $InpVar eq "j" skip Start endif if $InpVar eq "y" skip Start endif if $InpVar eq "yes" skip Start endif echo "*n*e[32m Installation aborted! I hope I see you again..." quit lab Start echo "*e[1;1H*e[J" echo " Installation in progress...*n" assign Magic: "" resident IU update/IconUpdate pure if warn echo "*e[32m Installation aborted due to failure of the 'resident' command!*n Please check if you have got the original 'resident' command in C:*n" wait 8 quit endif echo noline " Installing XEN-Icons to SYS:System..." list > ram:MWB SYS:System/#?.info lformat "IU > NIL: tsd XEN-Icons/System/%n SYS:System/%n" failat 21 execute > NIL: ram:MWB if exists SYS:System/DiskCopy.info delete SYS:System/DiskCopy.info ; Icon was redundant, without function! endif if exists SYS:System/CLI.info delete SYS:System/CLI.info ; Icon was redundant. endif echo ".............*e[33mDONE*e[0m" echo noline " Installing XEN-Icons to SYS:Utilities..." list > ram:MWB SYS:Utilities/#?.info lformat "IU > NIL: tsdc XEN-Icons/Utilities/%n SYS:Utilities/%n" failat 21 execute > NIL: ram:MWB echo "..........*e[33mDONE*e[0m" echo noline " Installing XEN-Icons to SYS:Tools..." list > ram:MWB SYS:Tools/#?.info lformat "IU > NIL: tsdw XEN-Icons/Tools/%n SYS:Tools/%n" failat 21 execute > NIL: ram:MWB echo "..............*e[33mDONE*e[0m" echo noline " Installing XEN-Icons to SYS:Tools/Commodities..." list > ram:MWB SYS:Tools/Commodities/#?.info lformat "IU > NIL: tsd XEN-Icons/Tools/Commodities/%n SYS:Tools/Commodities/%n" failat 21 execute > NIL: ram:MWB echo "..*e[33mDONE*e[0m" echo noline " Installing XEN-Icons to SYS:WBStartup..." list > ram:MWB SYS:WBStartup/#?.info lformat "IU > NIL: tsdc XEN-Icons/Tools/Commodities/%n SYS:WBStartup/%n" failat 21 execute > NIL: ram:MWB echo "..........*e[33mDONE*e[0m" if exists SYS:Devs/DataTypes echo noline " Installing XEN-Icons to SYS:Devs/DataTypes..." list > ram:MWB SYS:Devs/DataTypes/#?.info lformat "IU > NIL: tsd XEN-Icons/Devs/DataTypes/def_DataType.info %s%s" failat 21 execute > NIL: ram:MWB if exists sys:Storage/DataTypes list > ram:MWB SYS:Storage/DataTypes/#?.info lformat "IU > NIL: tsd XEN-Icons/Devs/DataTypes/def_DataType.info %s%s" execute > NIL: ram:MWB copy > NIL: XEN-Icons/Devs/DataTypes.info SYS:storage endif copy > NIL: XEN-Icons/Devs/DataTypes.info SYS:Devs echo ".....*e[33mDONE*e[0m" endif echo noline " Installing XEN-Icons to SYS:Devs/DOSDrivers..." list > ram:MWB SYS:Devs/DOSDrivers/#?.info lformat "IU > NIL: tsd XEN-Icons/Devs/DOSDrivers/def_DOSDriver.info %s%s" failat 21 execute > NIL: ram:MWB list > ram:MWB SYS:Devs/DOSDrivers/#?0.info lformat "IU > NIL: dcs XEN-Icons/Devs/DOSDrivers/def_DOSDriver0.info %s%s" execute > NIL: ram:MWB list > ram:MWB SYS:Devs/DOSDrivers/#?1.info lformat "IU > NIL: dcs XEN-Icons/Devs/DOSDrivers/def_DOSDriver1.info %s%s" execute > NIL: ram:MWB list > ram:MWB SYS:Devs/DOSDrivers/#?2.info lformat "IU > NIL: dcs XEN-Icons/Devs/DOSDrivers/def_DOSDriver2.info %s%s" execute > NIL: ram:MWB if exists sys:Storage/DOSDrivers list > ram:MWB SYS:Storage/DOSDrivers/#?.info lformat "IU > NIL: tsd XEN-Icons/Devs/DOSDrivers/def_DOSDriver.info %s%s" execute > NIL: ram:MWB list > ram:MWB SYS:Storage/DOSDrivers/#?0.info lformat "IU > NIL: dcs XEN-Icons/Devs/DOSDrivers/def_DOSDriver0.info %s%s" execute > NIL: ram:MWB list > ram:MWB SYS:Storage/DOSDrivers/#?1.info lformat "IU > NIL: dcs XEN-Icons/Devs/DOSDrivers/def_DOSDriver1.info %s%s" execute > NIL: ram:MWB list > ram:MWB SYS:Storage/DOSDrivers/#?2.info lformat "IU > NIL: dcs XEN-Icons/Devs/DOSDrivers/def_DOSDriver2.info %s%s" execute > NIL: ram:MWB copy > NIL: XEN-Icons/Devs/DOSDrivers.info SYS:storage endif copy > NIL: XEN-Icons/Devs/DOSDrivers.info SYS:Devs echo "....*e[33mDONE*e[0m" echo noline " Installing XEN-Icons to SYS:Devs/Keymaps..." list > ram:MWB SYS:Devs/Keymaps/#?.info lformat "IU > NIL: tsd XEN-Icons/Devs/Keymaps/def_Keymap.info %s%s" failat 21 execute > NIL: ram:MWB if exists sys:Storage/Keymaps list > ram:MWB SYS:Storage/Keymaps/#?.info lformat "IU > NIL: tsd XEN-Icons/Devs/Keymaps/def_Keymap.info %s%s" execute > NIL: ram:MWB copy > NIL: XEN-Icons/Devs/Keymaps.info SYS:storage endif copy > NIL: XEN-Icons/Devs/Keymaps.info SYS:Devs echo ".......*e[33mDONE*e[0m" echo noline " Installing XEN-Icons to SYS:Devs/Monitors..." list > ram:MWB SYS:Devs/Monitors/#?.info lformat "IU > NIL: tsd XEN-Icons/Devs/Monitors/def_Monitor.info %s%s" failat 21 execute > NIL: ram:MWB if exists sys:Storage/Monitors list > ram:MWB SYS:Storage/Monitors/#?.info lformat "IU > NIL: tsd XEN-Icons/Devs/Monitors/def_Monitor.info %s%s" execute > NIL: ram:MWB copy > NIL: XEN-Icons/Devs/Monitors.info SYS:storage endif copy > NIL: XEN-Icons/Devs/Monitors.info SYS:Devs echo "......*e[33mDONE*e[0m" echo noline " Installing XEN-Icons to SYS:Devs/Printers..." list > ram:MWB SYS:Devs/Printers/#?.info lformat "IU > NIL: tsd XEN-Icons/Devs/Printers/def_Printer.info %s%s" failat 21 execute > NIL: ram:MWB if exists sys:Storage/Printers list > ram:MWB SYS:Storage/Printers/#?.info lformat "IU > NIL: tsd XEN-Icons/Devs/Printers/def_Printer.info %s%s" execute > NIL: ram:MWB copy > NIL: XEN-Icons/Devs/Printers.info SYS:storage endif copy > NIL: XEN-Icons/Devs/Printers.info SYS:Devs echo "......*e[33mDONE*e[0m" echo noline " Installing XEN-Icons to SYS:Prefs..." list > ram:MWB SYS:Prefs/#?.info lformat "IU > NIL: tsd XEN-Icons/Prefs/%n SYS:Prefs/%n" failat 21 execute > NIL: ram:MWB copy > NIL: XEN-Icons/Prefs/env-archive/sys/def_Drawer.info TO SYS:Prefs/Presets.info echo "..............*e[33mDONE*e[0m" echo noline " Installing XEN-DEFAULT-Icons to ENVARC:..." copy > NIL: XEN-Icons/Prefs/Env-Archive/Sys/~(Palette3.0|WBPattern.prefs) TO ENVARC:Sys all echo "........*e[33mDONE*e[0m" echo noline " Updating old Drawer-Icons in SYS:..." list > ram:MWB SYS: dirs lformat "if exists *"SYS:%n.info*" *nIU > NIL: cw XEN-Icons/Prefs/Env-Archive/Sys/def_Drawer.info *"SYS:%n.info*" *nendif*n" execute > NIL: ram:MWB delete > NIL: ram:MWB if exists SYS:Trashcan.info IU > NIL: cw XEN-Icons/Prefs/Env-Archive/Sys/def_trashcan.info SYS:Trashcan.info endif echo "..............*e[33mDONE*e[0m" version > NIL: exec.library 39 if warn skip Continue endif echo "*n Kickstart 3.x detected:" echo noline " Installing Palette.prefs and WBPattern.prefs for Kickstart 3.x..." delete > NIL: envarc:sys/sysfont.prefs ; file redundant for 3.x delete > NIL: envarc:sys/wbfont.prefs ; file redundant for 3.x copy > NIL: XEN-Icons/Prefs/Env-Archive/Sys/Palette3.0 ENVARC:Sys/Palette.prefs copy > NIL: XEN-Icons/Prefs/Env-Archive/Sys/WBPattern.prefs ENVARC:Sys echo "..*e[33mDONE*e[0m*n" lab Continue echo " Installing XEN-SPECIAL-Icons:" echo noline " Installing Preset-Default-Icon to SYS:Prefs/Presets..." copy > NIL: XEN-Icons/SPECIAL/Preset.info SYS:Prefs/Presets echo ".........*e[33mDONE*e[0m" echo noline " Installing RAM-Icon to S:RAM.info......" if exists SYS:S/RAM.info IU > NIL: dcw XEN-Icons/SPECIAL/RAM.info SYS:S/RAM.info else copy > NIL: XEN-Icons/SPECIAL/RAM.info SYS:S endif if exists SYS:S/User-Startup search > NIL: SYS:S/User-Startup SYS:S/RAM.info if warn join XEN-Icons/SPECIAL/RAM-Script SYS:S/User-Startup TO RAM:User-Startup copy RAM:User-Startup SYS:S delete > NIL: RAM:User-Startup endif else copy > NIL: XEN-Icons/SPECIAL/RAM-Script TO SYS:S/User-Startup endif echo "........................*e[33mDONE*e[0m" if exists SYS:Disk.info echo noline "*n Installing HardDisk-Icon to SYS:..." IU > NIL: dcw XEN-Icons/SPECIAL/HD.info SYS:Disk.info echo "................................*e[33mDONE*e[0m*n" else lab Path echo noline "*n Please enter the PATH where the HardDisk-Icon should*n be installed (i.e. 'DH0:'): " set > NIL: Path ? if > NIL: not exists $Path echo " Wrong path, path does not exist! Try again...*n" skip back path endif echo noline " Installing HardDisk-Icon to $Path..." cd $Path IU > NIL: dcw Magic:XEN-Icons/SPECIAL/HD.info Disk.info cd Magic: echo "..*e[33mDONE*e[0m*n" endif lab HardDisk echo noline " Do you want to have the HardDisk-Icon installed to other partitions? " set > nil: HardDisk ? echo "*e[1;1H*e[J" if $HardDisk eq "ja" skip InstallHardDisk endif if $HardDisk eq "j" skip InstallHardDisk endif if $HardDisk eq "y" skip InstallHardDisk endif if $HardDisk eq "yes" skip InstallHardDisk endif skip Continue lab InstallHardDisk echo noline "*N Please enter the DEVICE NAME of your desired partition (i.e. 'DH0:'): " set > nil: Device [Return] set > nil: Device ? if not exists $Device echo " Wrong device, $Device does not exist! Try again..." skip back InstallHardDisk endif echo noline "*n Installing HardDisk-Icon to $Device..." cd $Device IU > NIL: dcw Magic:XEN-Icons/SPECIAL/HD.info Disk.info cd Magic: echo "..*e[33mDONE*e[0m*n" skip back HardDisk lab Continue echo "*e[1;1H*e[J" echo noline "*n IMPORTANT: Do you have a SYQUEST (removable cartridge disk drive)? " set > nil: Syquest ? if $Syquest eq "ja" skip InstallSyquest endif if $Syquest eq "j" skip InstallSyquest endif if $Syquest eq "y" skip InstallSyquest endif if $Syquest eq "yes" skip InstallSyquest endif skip Continue lab InstallSyquest echo noline "*n Please enter the DEVICE NAME of your Syquest (for example 'DH1:'): " set > NIL: Dev [Return] set > NIL: Dev ? if not exists $Dev echo " Wrong device, $Dev does not exist! Try again..." skip back InstallSyquest endif echo noline "*n Installing Syquest-Icon to $Dev..." cd $Dev IU > NIL: dcw Magic:XEN-Icons/SPECIAL/Syquest.info Disk.info cd Magic: echo "...*e[33mDONE*e[0m" wait 6 lab Continue echo "*e[1;1H*e[J" echo "*n Now, you are going to decide which Icon you want to have installed for your" echo " Preferences-Drawer. As this is probably one of the most important drawers," echo " it will get its own special Icon. You have the choice between TWO different" echo " Prefs-Icons: A small one (whose size is more compatible with the original" echo " Prefs-Icon by Commodore, or a very big one (having more details, of course)." echo " If you are not sure, I suggest you take the SMALL one. The BIG one is more" echo " convenient for resolutions of 800x600 or higher. It's up to you:" lab Retry echo noline "*n Which Prefs-Drawer-Icon should be installed (enter BIG or SMALL)? " set > NIL: Prefs ? if $Prefs eq "SMALL" Echo noline "*n Installing SMALL Prefs-Icon..." IU > NIL: cw XEN-Icons/SPECIAL/Prefs.info SYS:Prefs.info echo "..*e[33mDONE*e[0m" else if $Prefs eq "BIG" Echo noline "*n Installing BIG Prefs-Icon..." IU > NIL: cw XEN-Icons/SPECIAL/Prefs2.info SYS:Prefs.info echo "..*e[33mDONE*e[0m" else echo " You MUST enter either *"SMALL*" or *"BIG*"! Try again..." skip back Retry endif endif wait 4 echo "*e[1;1H*e[J" echo noline "*n Installing MagicWB-Fonts to FONTS:..." copy > NIL: Fonts/#? TO FONTS: all echo ".................*e[33mDONE*e[0m" set PattPath SYS:Prefs/Patterns if not exists $PattPath makedir $PattPath endif version >NIL: exec.library 39 if warn echo noline "*N*n*n Installing ONE PATTERN to SYS:Prefs/Patterns*n (drawer will be created)..." copy > NIL: Patterns/Patterns2.0/Marble_CLASSIC TO $PattPath else echo noline "*N*n*n Installing TWO PATTERNS to SYS:Prefs/Patterns*n (drawer will be created)..." copy > NIL: Patterns/Marble_CLASSIC TO $PattPath copy > NIL: Patterns/MarbleDark TO $PattPath endif echo "..*e[33mDONE*e[0m" resident IU remove assign Magic: remove Echo "*n*N*n*n*n The installation is now successfully finished." echo "*n*n [Return]" set > nil: Return ? echo "*e[1;1H*e[J" echo "*n Finally some important information: *n" echo "*n There are some things you immediately have to do after this installation" echo " is finished." echo "*n- You have to change the SCREENMODE-Preferences to a proportional resolution" echo " with at least 8 COLORS! Proportional resolutions are for example: 640x480," echo " 640x512, 800x600, 1024x768, 1280x1024 etc. But NOT a resolution like" echo " 640x256 (=MedRes Pal) or similar resolutions where the horizontal pixels" echo " are nearly twice as much than the vertical amount of pixels. With these" echo " 'non-square-pixel' resolutions the Icons and Fonts are being distorted." echo " So you have to use a proportional resolution to enjoy *e[32mMagicWB*e[0m as the" echo " author has planned it to be!" echo "*n And you MUST select at least an 8 COLOR Workbench!" echo "*e[J*n*e[32m Now, by pressing RETURN, the ScreenMode-Prefs will appear. Please select" echo " a square-pixel-screenmode with 8 colors and click 'SAVE'...*e[0m" echo " (if a system requester asks you to close all window, just move the" echo " requester aside and wait until this installation is finished, then" echo " it will disappear)" echo noline "*n [Return]" set > nil: Return ? SYS:Prefs/Screenmode echo "*e[1;1H*e[J*n*n- Second, you can find the patterns 'Marble_CLASSIC' and 'MarbleDark'" echo " in the SYS:Prefs/Patterns directory. These are the only patterns that have" echo " been installed to save diskspace. There are plenty of other patterns in" echo " the MagicWB/Patterns directory (altogether 35 patterns!) that you can copy" echo " to SYS:Prefs/Patterns if required.*n" echo " If you are user of the OS2.0 or OS2.1 you will have to install the program" echo " NickPrefs to use the Patterns of *e[32mMagicWB*e[0m. Please consult the documentation." echo "*n- Programmers should take a look into the MagicWB/XEN-Icons/SPECIAL drawer!" echo " Here you can find Icons for your programs that have logically not been" echo " installed with this installation: AmigaGuide, ReadMe, templates, etc.*n" echo "*n*n [Return]" set > nil: Return ? echo "*e[1;1H*e[J" echo "*n*N*n Thank you for supporting the author of *e[32mMagicWB*e[0m by your registration, making" echo " future versions of *e[32mMagicWB*e[0m possible. Always remember:" echo "*n*n*e[1;32m ______________________________________________________" echo " " echo " A PRODUCT WORTH USING IS ALSO WORTH BEING SUPPORTED " echo " *e[1;31m_____________________________________________________ " echo "*n*N MagicWB © 1993 by Martin Huttenloher" echo "*n - Released as SHAREWARE -*n*n" echo "*e[32m If you would like to get the full version (MagicWB 1.5) you will have" echo " to register! See 'MagicWB.guide' for more information.*e[0m" echo "*n*n [Return]" set > nil: Return ? echo "*e[1;1H*e[J" echo "*n*n*n Now have much fun with *e[32mMagicWB*e[0m!*n*n To enjoy MagicWB immediately you have to reset your AMIGA first,*n so that all configurations will be set properly!*n*n Bye, bye...*n*N" echo "*n*n [Return]" set > nil: Return ? quit