home *** CD-ROM | disk | FTP | other *** search
/ Hot Shareware 32 / hot34.iso / ficheros / VDUKE / NAVPATCH.ZIP / Fussel.bat next >
DOS Batch File  |  1998-06-01  |  4KB  |  163 lines

  1. echo off
  2.  
  3. if not exist duke3d.exe goto error
  4.  
  5. :menu
  6. cls
  7. echo.
  8. echo """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  9. echo "                                                                    "
  10. echo "                 DUKE NAVY SEALS WEAPON PATCH 1  final version      "
  11. echo "                          by Fussel                                 "
  12. echo "                                                                    "
  13. echo """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  14. echo.
  15. echo                        1 Install the Duke Navy SEALs Weapon Patch
  16. echo                        2 Uninstall the Duke Navy SEALs Weapon Patch
  17. echo                        3 Play the patch
  18. echo                        4 Go to setup
  19. echo                        5 read the readme file
  20. echo                        6 Go home
  21. echo.
  22.  
  23. if exist navy.on  echo  Navy Seals Patch is installed
  24. if exist navy.off echo  Navy Seals Patch is not installed
  25.  
  26. choice /c:123456
  27.  
  28. if errorlevel 6 goto gohome
  29. if errorlevel 5 goto readme
  30. if errorlevel 4 goto setup
  31. if errorlevel 3 goto play
  32. if errorlevel 2 goto uninstall
  33. if errorlevel 1 goto install
  34.  
  35. :error
  36. echo.
  37. echo Copy the files in your right Duke directory 
  38. echo.
  39. goto end
  40.  
  41. :gohome
  42. goto end
  43.  
  44. :readme
  45. type danger.txt |more
  46. pause
  47. goto menu
  48.  
  49. :ghelieb
  50. echo.
  51. echo NAVY SEALs WEAPON PATCH IS ALREADY INSTALLED!!!
  52. echo.
  53. pause
  54. goto menu
  55.  
  56. :uninstall
  57. if exist navy.off goto ghelieb
  58. echo. 
  59. echo  ARE YOU SURE THAT YOU WANT TO DELETE THE NAVY SEALS WEAPON PATCH ??
  60. echo.
  61. choice /c:yn
  62. if errorlevel 2 goto menu
  63. if errorlevel 1 goto byebye2
  64.  
  65. :byebye2
  66. cls
  67. echo.
  68. echo   UNINSTALLING NAVY SEALS WEAPON PATCH
  69. echo   CTRL+BREAK to stop it
  70. echo.
  71.  
  72. del 1.voc
  73. del 2.voc
  74. del 3.voc
  75. del 4.voc
  76. del 5.voc
  77. del 6.voc
  78. del 7.voc
  79. del 8.voc
  80. del tiles009.art
  81. del tiles010.art
  82. del tiles006.art
  83.  
  84. del game.con
  85. del navyuser.con
  86. del navydefs.con
  87. del danger.txt
  88.  
  89. if exist gameold.bak rename gameold.bak game.con
  90. if exist told006.bak rename told006.bak tiles006.art
  91. if exist told009.bak rename told009.bak tiles009.art
  92. if exist told010.bak rename told010.bak tiles010.art
  93. rename navpatch.exe navpatch.no 
  94. rename navy.on navy.off
  95.  
  96. echo.
  97. echo NAVY SEALS WEAPON PATCH SUCCESSFULLY UNINSTALLED!!!
  98. echo IF YOU WANT TO DELETE ALL FILES FROM YOUR HARD DISK
  99. echo DELETE navpatch.no, navpatch.zip, fussel.bat, info.txt 
  100. echo              and navy.off
  101. echo.
  102. goto end
  103.  
  104. :ghlieb1
  105. echo.
  106. echo YOU HAVE ALREADY INSTALLED NAVY SEALS WEAPON PATCH!!!
  107. echo.
  108. pause
  109. goto menu
  110.  
  111. :install
  112. if exist navy.on goto ghlieb1
  113. cls
  114. echo.
  115. echo  INSTALLING NAVY SEALS WEAPON PATCH
  116. echo  CTRL+BREAK to stop
  117. echo.
  118. pause
  119.  
  120. echo the file is now making backups of existing double files
  121. echo.
  122.  
  123. if exist game.con rename game.con gameold.bak
  124. if exist tiles006.art rename tiles006.art told006.bak
  125. if exist tiles009.art rename tiles009.art told009.bak 
  126. if exist tiles010.art rename tiles010.art told010.bak 
  127.  
  128. rename navpatch.no navpatch.exe
  129.  
  130. navpatch.exe
  131.  
  132. echo Done.
  133. echo.
  134. rename navy.off navy.on
  135. echo INSTALLATION COMPLETE
  136. echo.
  137.  
  138. cls
  139. echo.
  140. echo  if you want to play it over network (deathmatch/modem) 
  141. echo  all players must have the NAVY SEALS WEAPON PATCH INSTALLED
  142. pause
  143. echo.
  144.  
  145. goto menu
  146.  
  147. :play
  148. duke3d.exe
  149. goto menu
  150.  
  151. :setup
  152. setup.exe
  153. goto menu
  154.  
  155. :end
  156. echo.
  157. echo NAVY SEALS WEAPON PATCH BY FUSSEL
  158. echo VISIT THE SITE AT
  159. echo http://rotc.home.pages.de/
  160. echo ro-team@freepage.de
  161. echo.
  162. echo COMING THIS SUMMER RUSSIAN OVERKILL TC
  163. echo.