echo "This script copies the necessary files from the original AB3d2 game into"
echo "the archive directory."
echo ""
echo "The required files may be copied from an existing HD installation of AB3d2"
echo "or from the original floppy disks. Only the necessary files will be copied."
echo ""
echo "Please choose which to use. If you choose to copy the files from an existing"
echo "HD installation, you will also have to select the directory containing that"
echo "installation."
echo ""
echo "Please note: this script will also copy Aki Laukkanen's TKGPatch, if it finds"
echo "it. If you do not have this patch it is available on Aminet. Please note that"
echo "using the ENGINE option spoils some of the textures in later levels of this game."
echo "It causes a blank line at the joins of graphic tiles preventing them blending"
echo "smoothly together. I don't know why. The ENGINE option is not on by default,"
echo "I recommend you leave it off."
echo ""
Assign MKG: ""
Assign TKG1:
Assign TKG2:
Assign SFX:
if exists MKG:TKG
requestchoice >ENV:inchoice "INSTALL ALERT" "! Do you really want to recopy all the files?*n(The TKG executable is already in this directory)" "Continue" "Quit"
if $inchoice eq 0
quit
endif
endif
requestchoice >ENV:inchoice "File source" "Many of the original AB3d2 files are required for this game.*nWhere do you want to get them from?" "Existing HD installation of the original game" "Original floppy disks" "Cancel"
if $inchoice eq 0
quit
endif
if $inchoice eq 1
requestfile >ENV:TKGHOMEMIKE SYS: TITLE="Please select the directory containing the original game" DRAWERSONLY
assign TKG1: $TKGHOMEMIKE
if not exists TKG1:TKG >NIL:
echo "ERROR! TKG executable not in this directory! (Exiting script..)"
wait 5
quit
endif
assign TKG2: TKG1:
assign SFX: TKG1:
endif
if $inchoice eq 2
echo "Copying files from floppy disks."
echo "Please insert original TKG disks when requested."
echo ""
endif
copy SFX:Samples MKG:Samples
; whole dir copied over existing one, samples already in it not overwritten
copy TKG1:hqn MKG:hqn
; need whole dir, no dir in arc
; AB3DII-TKG ; probably don't want this - include it in archive
; AB3DII-TKG.info
; include boot.dat in archive
copy TKG1:TKG MKG:TKG
; ah! the executable...
copy TKG1:libs MKG:libs
; need whole dir, no dir in arc
; copy the following if they are present
IF EXISTS TKG1:TKGPatch.doc
Copy TKG1:TKGPatch.doc MKG:
ENDIF
IF EXISTS TKG1:TKGPatch.doc.info
Copy TKG1:TKGPatch.doc.info MKG:
ENDIF
IF EXISTS TKG1:TKGPatch
Copy TKG1:TKGPatch MKG:
ENDIF
IF EXISTS TKG1:TKGPatch.info
Copy TKG1:TKGPatch.info MKG:
ENDIF
; dir INCLUDES exists in archive
; includes copied individually to leave out TEXT_FILE & TEST.LNK
; these files will therefore not be overwritten in arc dir