home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Toolkit for DOOM
/
DOOMTOOL.ISO
/
doomhack
/
another1.zip
/
FASTGUN.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-07-14
|
1KB
|
59 lines
@echo off
echo.
if !%1==!in set a=i
if !%1==!In set a=i
if !%1==!IN set a=1
if !%1==!out set a=o
if !%1==!Out set a=o
if !%1==!OUT set a=o
if !%a%==! goto help
if NOT EXIST another1.deh goto missing
if NOT EXIST original.deh goto missing
if NOT EXIST doom.exe goto missing
if NOT EXIST dehacked.exe goto missing
goto %a%
:i
echo Installing the fast weapon patch....
dehacked -load another1.deh >NULL
echo ..Done!
echo.
echo.
echo To uninstall, type :
echo.
echo FASTGUN OUT
goto end
:o
echo Restoring original DOOM executable....
dehacked -load original.deh >NULL
echo ..Done!
goto end
:help
echo FASTGUN.BAT is quite simple.
echo.
echo To install the fast weapon patch, type this:
echo fastgun in
echo.
echo to remove it, type this:
echo fastgun out
goto end
:missing
echo !!WARNING!!
echo Some or all of the files needed to patch and restore DOOM are missing.
ECHO Make sure the following files are in your DOOM directory:
echo another1.deh
echo original.deh
echo dehacked.exe
echo and your original doom.exe.
echo.
echo Cannot patch doom without these files! if you have lost them, go back to
echo where you got them before and get 'em again.
:end
echo.