home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Various Unprotection Examples
/
unprotect.zip
/
unprotect
/
HB2-UNP
/
HB2-UNP.BAT
next >
Wrap
DOS Batch File
|
1990-01-06
|
1KB
|
37 lines
echo off
if exist hb2ega.exe goto ok
echo I did not find the file HB2EGA.EXE! Proceeding to next file.
echo Hardball II (EGA) is NOT unprotected!
goto docga
:ok
ren hb2ega.exe hb2ega.dat >NUL
debug hb2ega.dat < hb2e-unp.dat >NUL
ren hb2ega.dat hb2ega.exe >NUL
echo The EGA version of Hardball II is now unprotected!
:docga
if exist hb2cga.exe goto ok1
echo I did not find the file HB2CGA.EXE! Proceeding to next file.
echo Hardball II (CGA) is NOT unprotected!
goto dotdy
:ok1
ren hb2cga.exe hb2cga.dat >NUL
debug hb2cga.dat < hb2c-unp.dat >NUL
ren hb2cga.dat hb2cga.exe >NUL
echo The CGA version of Hardball II is now unprotected!
:dotdy
if exist hb2tdy.exe goto ok2
echo I did not find the file HB2TDY.EXE! Terminating batch file.
echo Hardball II (TANDY) is NOT unprotected!
goto end
ren hb2tdy.exe hb2tdy.dat >NUL
debug hb2tdy.dat < hb2t-unp.dat >NUL
ren hb2tdy.dat hb2tdy.exe >NUL
echo The TANDY version of Hardball II is now unprotected!
:end
echo .
echo Enjoy playing without the necessity of the code wheel.
echo .
echo Coutesy of Gumby the Great
echo .
pause