.K ""
echo "This script will unpack Haktar.lha to create a games disk."
echo ""

ask "Do you have a blank disk ready?"
if not WARN
	echo "Try again when you do ..."
	echo "All Done.  Click close gadget to get rid of window."
	endcli
endif

ask "Is floppy drive df1: free?"
if not WARN
	echo "You will need to do the unpacking yourself."
	echo "All Done.  Click close gadget to get rid of window."
	endcli
endif

echo "Formatting and unpacking disk."
sys:system/format drive df1: name HaktarGame noicons

echo "Extracting files from Haktar.lha..."
:c/lha -mraxe x Haktar.lha HaktarGame:

echo ""
echo "All Done.  Click close gadget to get rid of window."
endcli
