home *** CD-ROM | disk | FTP | other *** search
/ Game Killer / Game_Killer.bin / 400.INSTOFT.BAT < prev    next >
DOS Batch File  |  1992-10-12  |  9KB  |  288 lines

  1. @REM "This Batch file is a alternitive to using the" 
  2. @REM "Operation: Fighting Tiger install program."
  3. @REM 
  4. @REM "To run, type:"
  5. @REM "     INSTOFT <Source Drive> <Destination Drive> [path]"
  6. @REM 
  7. @REM "   (Example: INSTOFT A: C:"
  8. @REM "     if OFT disks will be in Drive A and your"
  9. @REM "     FALCON3 subdirectory is on Drive C.)"
  10. @REM
  11. @REM "   (or: INSTOFT A: C: GAMES\FAL3"
  12. @REM "     if Falcon is stored in GAMES\FAL3"
  13. @REM "     rather than \FALCON3)"
  14. @REM
  15. @REM "So the [path] parameter is optional."
  16. @REM 
  17. @REM "This batch file assumes that you have used the"
  18. @REM "default subdirectory name of FALCON3 when you"
  19. @REM "installed Falcon 3.0"
  20. @REM 
  21. @REM "If you used a different name for your FALCON3"
  22. @REM "subdirectory, change all occurances of \FALCON3"
  23. @REM "in this batch file with \<subdir name>"
  24. @REM 
  25. @REM "   (Example: \FAL3 )"
  26. @REM 
  27. @REM 
  28. @REM "Written by Karl Maurer at the suggestion"
  29. @REM "of Randy Angle."
  30. @REM 
  31. @REM "The Authors of this Batch file promise nothing"
  32. @REM "more than that this batch file will take up"
  33. @REM "disk space. No warenty is intended or implied."
  34. @REM 
  35. @REM "Revision 01"
  36. @REM "September 16, 1992"
  37. @REM 
  38. :BEGIN
  39. @cls
  40. @echo "Alternate Operation: Fighting Tiger Install Script "
  41. @echo "by Spectrum HoloByte Customer Support Department   "
  42. @echo "Version 01 - 09/16/92                              "
  43. @echo.
  44. @echo "-Checking for proper source drive syntax-"
  45. @echo "-Source drive is: %1"
  46. @if "%1"=="A:" goto DEST
  47. @if "%1"=="B:" goto DEST
  48. @if "%1"=="a:" goto DEST
  49. @if "%1"=="b:" goto DEST
  50. @echo.
  51. @echo "You must define a Valid Source Drive.              "
  52. @echo "IF your OFT disk is in DRIVE A use: INSTOFT A: C:  "
  53. @goto END
  54. :DEST
  55. @echo "-Checking for proper destination drive syntax-"
  56. @echo "-Destination Drive is: %2"
  57. @if "%2"=="C:" goto START
  58. @if "%2"=="c:" goto START
  59. @if "%2"=="D:" goto START
  60. @if "%2"=="d:" goto START
  61. @if "%2"=="E:" goto START
  62. @if "%2"=="e:" goto START
  63. @if "%2"=="F:" goto START
  64. @if "%2"=="f:" goto START
  65. @if "%2"=="G:" goto START
  66. @if "%2"=="g:" goto START
  67. @if "%2"=="H:" goto START
  68. @if "%2"=="h:" goto START
  69. @if "%2"=="I:" goto START
  70. @if "%2"=="i:" goto START
  71. @if "%2"=="J:" goto START
  72. @if "%2"=="j:" goto START
  73. @if "%2"=="K:" goto START
  74. @if "%2"=="k:" goto START
  75. @if "%2"=="L:" goto START
  76. @if "%2"=="l:" goto START
  77. @if "%2"=="M:" goto START
  78. @if "%2"=="m:" goto START
  79. @if "%2"=="N:" goto START
  80. @if "%2"=="n:" goto START
  81. @if "%2"=="O:" goto START
  82. @if "%2"=="o:" goto START
  83. @if "%2"=="P:" goto START
  84. @if "%2"=="p:" goto START
  85. @if "%2"=="Q:" goto START
  86. @if "%2"=="q:" goto START
  87. @if "%2"=="R:" goto START
  88. @if "%2"=="r:" goto START
  89. @if "%2"=="S:" goto START
  90. @if "%2"=="s:" goto START
  91. @if "%2"=="T:" goto START
  92. @if "%2"=="t:" goto START
  93. @if "%2"=="U:" goto START
  94. @if "%2"=="u:" goto START
  95. @if "%2"=="V:" goto START
  96. @if "%2"=="v:" goto START
  97. @if "%2"=="W:" goto START
  98. @if "%2"=="w:" goto START
  99. @if "%2"=="X:" goto START
  100. @if "%2"=="x:" goto START
  101. @if "%2"=="Y:" goto START
  102. @if "%2"=="y:" goto START
  103. @if "%2"=="Z:" goto START
  104. @if "%2"=="z:" goto START
  105. @echo.
  106. @echo "You must define a place on your HARD DRIVE    "
  107. @echo "where you have FALCON3. You can NOT install   "
  108. @echo "OFT to a floppy.                              "
  109. @echo.
  110. @echo "Proper syntax is:                             "
  111. @echo "INSTOFT <source drive> <destination drive>    "
  112. @echo.
  113. @echo "<source drive> is the drive that you have the "
  114. @echo "Operation: Fighting Tiger disk in.            "
  115. @echo "This is either A: or B:                       "
  116. @echo.
  117. @echo "<destination drive> is the drive on which you "
  118. @echo "installed Falcon 3.0.                         "
  119. @echo "This is usually something like C: or D:       "
  120. @pause
  121. @echo "If you did NOT install Falcon 3.0 to a        "
  122. @echo "directory called FALCON3, then you will       "
  123. @echo "need to provide a third parameter like this:  "
  124. @echo.
  125. @echo "INSTOFT A: C: <path>                          "
  126. @echo.
  127. @echo "Where <path> is something like FAL3 or        "
  128. @echo "GAMES\FALCON3 or JETKILL                      "
  129. @echo.
  130. @goto END
  131. :START
  132. @set SOURCE1=%1
  133. @set DESTIN1=%2
  134. @echo "-checking Path syntax-"
  135. @if NOT "%3"=="" goto REDEFINE
  136. @SET FALPATH=FALCON3
  137. @goto START2
  138. :REDEFINE
  139. @set FALPATH=%3
  140. :START2
  141. @echo "-Path is: %FALPATH%"
  142. @echo "-checking to see if FALCON3.EXE is in %DESTIN1%\%FALPATH%"
  143. @REM %DESTIN1%
  144. @REM CD \%FALPATH%
  145. @IF EXIST %DESTIN1%\%FALPATH%\FALCON3.EXE goto NOTFAIL
  146. @echo.
  147. @echo "I am sorry, but I could not find FALCON3.EXE in the"
  148. @echo "%FALPATH% subdirectory on drive %DESTIN1%."
  149. @echo "Are you sure you gave me the right information?"
  150. @goto END
  151. :NOTFAIL
  152. @cls
  153. @echo "Alternate Operation: Fighting Tiger Install Script "
  154. @echo "by Spectrum HoloByte Customer Support Department   "
  155. @echo "Version 01 - 09/16/92                              "
  156. @echo.
  157. @echo "Now Beginning Install"
  158. @echo "Place OFT Disk 1 in Drive %SOURCE1%"
  159. @pause
  160. @cls
  161. @echo "Alternate Operation: Fighting Tiger Install Script "
  162. @echo "by Spectrum HoloByte Customer Support Department   "
  163. @echo "Version 01 - 09/16/92                              "
  164. @echo.
  165. @echo "-Switching to Drive %DESTIN1%"
  166. @%DESTIN1%
  167. @echo "-Changing to directory %DESTIN1%\%FALPATH%\ARMSDATA\"
  168. @CD \%FALPATH%\ARMSDATA
  169. @echo "-Copying PATCH.EXE from Disk 1"
  170. @COPY %SOURCE1%PATCH.EXE
  171. @echo "-Changing to directory %DESTIN1%\%FALPATH%\"
  172. @CD \%FALPATH%
  173. @echo "-Copying PATCH.EXE from Disk 1 again"
  174. @COPY %SOURCE1%PATCH.EXE
  175. @echo "-Copying PATCH1.RTP to PATCH.RTP"
  176. @COPY %SOURCE1%PATCH1.RTP PATCH.RTP
  177. @cls
  178. @echo "Alternate Operation: Fighting Tiger Install Script "
  179. @echo "by Spectrum HoloByte Customer Support Department   "
  180. @echo "Version 01 - 09/16/92                              "
  181. @echo.
  182. @echo "We are now going to run PATCH to install the"
  183. @echo "first part of OFT. This may take quite a while."
  184. @pause
  185. @PATCH
  186. @cls
  187. @echo "Alternate Operation: Fighting Tiger Install Script "
  188. @echo "by Spectrum HoloByte Customer Support Department   "
  189. @echo "Version 01 - 09/16/92                              "
  190. @echo.
  191. @echo "Please Remove OFT Disk 1 from the drive     "
  192. @echo "and instert OFT Disk 2.                     "
  193. @pause
  194. @cls
  195. @echo "Alternate Operation: Fighting Tiger Install Script "
  196. @echo "by Spectrum HoloByte Customer Support Department   "
  197. @echo "Version 01 - 09/16/92                              "
  198. @echo.
  199. @echo "-Copying PATCH2.RTP to PATCH.RTP"
  200. @COPY %SOURCE1%PATCH2.RTP PATCH.RTP
  201. @cls
  202. @echo "Alternate Operation: Fighting Tiger Install Script "
  203. @echo "by Spectrum HoloByte Customer Support Department   "
  204. @echo "Version 01 - 09/16/92                              "
  205. @echo.
  206. @echo "We are now going to run PATCH again to install"
  207. @echo "the second part of OFT. This may take quite a"
  208. @echo "while again."
  209. @pause
  210. @PATCH
  211. @cls
  212. @echo "Alternate Operation: Fighting Tiger Install Script "
  213. @echo "by Spectrum HoloByte Customer Support Department   "
  214. @echo "Version 01 - 09/16/92                              "
  215. @echo.
  216. @echo "Now we will delete the garbage files that   "
  217. @echo "are not compatible with OFT that may be     "
  218. @echo "in your Falcon 3.0 directory.               "
  219. @echo.
  220. @echo "If it says "File Not Found", that is normal "
  221. @echo "and it only means that no file by that name "
  222. @echo "was in the directory. There is no cause for "
  223. @echo "alarm in this case."
  224. @pause
  225. :DELGARB
  226. @REM "The following lines are taken directly from"
  227. @REM "the DELGARB.BAT file that is on OFT disk 1."
  228. del *.squ 
  229. del *.mtv 
  230. del *.cam 
  231. del *.war 
  232. del *.fla 
  233. del *.tmp 
  234. del *.dmp 
  235. del *.sym 
  236. del *.vcr 
  237. del squ*.mis    
  238. del dump?.tmp   
  239. del dmp*.       
  240. del cdump?.tmp  
  241. del buff.tmp    
  242. del madbuff.tmp 
  243. del theater.bin 
  244. del mission.mis 
  245. del redflag.mis 
  246. del vcr.mis   
  247. del temp?.dat   
  248. del gary.dmp    
  249. del occupy.map  
  250. :ENDDELGARB
  251. @del patch.exe
  252. @del patch.rtp
  253. @cls
  254. @echo "Alternate Operation: Fighting Tiger Install Script "
  255. @echo "by Spectrum HoloByte Customer Support Department   "
  256. @echo "Version 01 - 09/16/92                              "
  257. @echo.
  258. @echo "-Now changing to Directory %DESTIN1%\%FALPATH%\ARMSDATA\"
  259. @CD \%FALPATH%\ARMSDATA
  260. @echo "-Copying PATCHARM.RTP to PATCH.RTP"
  261. @COPY %SOURCE1%PATCHARM.RTP PATCH.RTP
  262. @cls
  263. @echo "Alternate Operation: Fighting Tiger Install Script "
  264. @echo "by Spectrum HoloByte Customer Support Department   "
  265. @echo "Version 01 - 09/16/92                              "
  266. @echo.
  267. @echo "We are now going to run PATCH for the last time"
  268. @echo "to install the 3rd and final part of OFT. This"
  269. @echo "may once again take some time."
  270. @pause
  271. @PATCH
  272. @del patch.exe
  273. @del patch.rtp
  274. @CD \%FALPATH%
  275. @cls
  276. @echo "Alternate Operation: Fighting Tiger Install Script "
  277. @echo "by Spectrum HoloByte Customer Support Department   "
  278. @echo "Version 01 - 09/16/92                              "
  279. @echo.
  280. @echo "Operation: Fighting Tiger has now been installed. "
  281. @echo "It is suggested that you reboot your computer at  "
  282. @echo "this time and use the same boot technique that you"
  283. @echo "normally use for Falcon 3.0 to play."
  284. @echo.
  285. @echo "Thank you for your patience."
  286. @echo "Spectrum HoloByte Customer Support Department"
  287. :END
  288.