echo "Installing ANIMS internal renderer for Producer 2.3x (or better)"
echo "----------------------------------------------------------------"
echo ""

IF EXISTS Producer:modules/Anims
	echo "Another installation of the Anims render module has been found in"
	echo "Producer:Modules.  This install will remove any links to custom"
	echo "animations already in place.  You may wish to simply copy the new"
	echo "Anims executable into Producer:Modules manually (without the icon)."
	echo ""
	ask "Do you wish to continue with the auto install? (Y/N):"
	IF WARN
		copy Producer:modules/Anims.info Producer:modules/Anims.infobak"
		echo "Any old icon settings have been moved to Producer:modules/Anims.infobak."
		echo ""
	ELSE
		quit
	ENDIF
ENDIF

ask "Do you have Producer version 2.34 installed? (Y/N):"
IF WARN
	copy tools/RenderModule Producer:Tools
ELSE
	ask "Do you have Producer version 2.41 or higher installed? (Y/N):"
	IF WARN
		echo "Lucky you"
	ELSE
		echo "You will need to install Producer version 2.34 first."
		quit
	ENDIF
ENDIF


copy modules/Anims Producer:modules
ask "Do you have a PAL system? (Y/N):"
IF WARN
	echo "Installing PAL Tooltypes."
	copy modules/AnimsPAL.info Producer:modules/Anims.info
ELSE
	echo "Installing NTSC Tooltypes."
	copy modules/AnimsNTSC.info Producer:modules/Anims.info
ENDIF


copy Producer:tdevs/internal/definition Producer:tdevs/internal/definition.old
copy Producer:tdevs/rendered/definition Producer:tdevs/rendered/definition.old
echo "Old definition files have been backed up"
wait 1
copy tdevs/internal/definition Producer:tdevs/internal
copy tdevs/rendered/definition Producer:tdevs/rendered
echo "New definition files have been installed"
wait 1
echo "Installing transition icons."
copy transicons/#? Producer:transicons > NIL:
echo "New transition icons have been installed"
wait 1
echo "Installation is complete."
echo "You can start using ANIM wipes right now, if you have the Animation"
echo "Wipes Pack 1 installed in Producer:Anims.  This pack is available at"
echo "http://www.amagic.com/software.html."

echo ""
ask "Press Enter:"

quit

