@echo.
@echo. Installation of NightMare Isle
@echo.
@echo. Installing Sprites. This could take a while.
@echo.
@rem Check main WAD
@if not exist heretic.wad goto miss
@echo @echo. Restoration > restore.bat
@echo herehack.exe -file sprites.wad nitemare.wad > play.bat 
@rem
@rem Install Sprites or Flats in WAD
@if not exist sprites.wad goto miss
@echo deusf -res sprites.wad >> restore.bat
@echo  Completing sprites and flats, please wait...
@deusf -main .\heretic.wad -as sprites.wad> deusf.log
@if not ERRORLEVEL 0 goto fail 
@rem
@rem
@echo Sprite installation suceeded. Loading new behaviors is the next task.
@echo Type PLAY to play the full game.
@echo Nightmare Isle: Fill out your donor card!
@goto end
:fail
@echo. Installation failed: A tool didn't work.
@echo. See hack.log or deusf.log for details.
@goto end
:miss
@echo. Installation impossible: some files are missing.
@echo. Did you have deusf.exe and hhe.exe ?
@echo. Please copy all your files in the main game directory.
@echo. And try install again.
@goto end
:end
@Echo Off
Echo Ok, to get Nightmare Isle fully operational, you must edit HHE.INI file
Echo and specify the pathnames to your heretic.wad and heretic.exe in order
Echo to continue installation of Nightmare Isle. Got that? Once that's over
Echo with, type HACKLOAD to load the new behaviors.
Echo Note: If you are installing Nightmare Isle in the directory C:\HERETIC
Echo No modifications to HHE.INI will be necessary!
PAUSE
CLS
Echo Go to it!


