home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Over 1,000 Doom Levels
/
1000DOOMLevels-3DSharewareGames.bin
/
pc
/
doomwads
/
flame13
/
flame.bat
next >
Wrap
DOS Batch File
|
1994-07-06
|
1KB
|
55 lines
@echo off
if not exist doom.exe goto noexe
if not exist dehacked.exe goto nohack
if not exist flamethr.deh goto noflame
if "%1"=="" goto noarg
if "%1"=="in" goto in
if "%1"=="IN" goto in
if "%1"=="out" goto out
if "%1"=="OUT" goto out
:noarg
echo This batch file automates the flamethrower patch installation.
echo To install the flamethrower type:
echo.
echo flame in
echo.
echo A backup patch file will be saved and the new weapon will be put in.
echo To remove the flamethrower and restore the exe, type:
echo.
echo flame out
echo.
echo I hope you enjoy this new weapon...now go toast some demon butt!
echo.
goto end
:noexe
echo ERROR: Can't find file doom.exe
echo Be sure this batch file is run from the same directory.
goto end
:nohack
echo ERROR: Can't find dehacked.exe
echo You must have dehacked.exe in the same directory as this batch file.
goto end
:noflame
echo ERROR: Can't find flamethr.deh
echo Hmmm...something seems to have happened to the patch file.
echo Be sure this batch file is run from the same directory.
goto end
:in
dehacked -save oldexe.deh
dehacked -load flamethr.deh
cls
echo Flamethrower installed - go toast some demon ass!
echo.
goto end
:out
if not exist oldexe.deh goto nobkup
dehacked -load oldexe.deh
cls
echo Flamethrower removed - too hot for ya, eh?
echo.
goto end
:nobkup
echo ERROR: Can't find oldexe.deh
echo Sorry, the backup patch seems to have disappeared.
:end