home *** CD-ROM | disk | FTP | other *** search
/ Various Unprotection Examples / unprotect.zip / unprotect / HB2-UNP / HB2-UNP.BAT next >
DOS Batch File  |  1990-01-06  |  1KB  |  37 lines

  1. echo off
  2. if exist hb2ega.exe goto ok
  3. echo I did not find the file HB2EGA.EXE! Proceeding to next file.
  4. echo Hardball II (EGA) is NOT unprotected!
  5. goto docga
  6. :ok
  7. ren hb2ega.exe hb2ega.dat >NUL
  8. debug hb2ega.dat < hb2e-unp.dat >NUL
  9. ren hb2ega.dat hb2ega.exe >NUL
  10. echo The EGA version of Hardball II is now unprotected!
  11. :docga
  12. if exist hb2cga.exe goto ok1
  13. echo I did not find the file HB2CGA.EXE! Proceeding to next file.
  14. echo Hardball II (CGA) is NOT unprotected!
  15. goto dotdy
  16. :ok1
  17. ren hb2cga.exe hb2cga.dat >NUL
  18. debug hb2cga.dat < hb2c-unp.dat >NUL
  19. ren hb2cga.dat hb2cga.exe >NUL
  20. echo The CGA version of Hardball II is now unprotected!
  21. :dotdy
  22. if exist hb2tdy.exe goto ok2
  23. echo I did not find the file HB2TDY.EXE! Terminating batch file.
  24. echo Hardball II (TANDY) is NOT unprotected!
  25. goto end
  26. ren hb2tdy.exe hb2tdy.dat >NUL
  27. debug hb2tdy.dat < hb2t-unp.dat >NUL
  28. ren hb2tdy.dat hb2tdy.exe >NUL
  29. echo The TANDY version of Hardball II is now unprotected!
  30. :end
  31. echo .
  32. echo Enjoy playing without the necessity of the code wheel.
  33. echo .
  34. echo Coutesy of Gumby the Great
  35. echo .
  36. pause
  37.