home *** CD-ROM | disk | FTP | other *** search
/ Fanclub Das Freakmagazin 2 / FANCLUB2.ISO / patches / actionre / v44 / install.bat < prev    next >
DOS Batch File  |  1995-04-24  |  10KB  |  223 lines

  1. @ECHO OFF
  2. CLS
  3. ECHO  █████▒  ███████▒ ██████▒ █████▒      ██▒   █▒ █▒ █▒    █▒ █▒   
  4. ECHO  ██▒  █▒  ██▒   █▒ ██▒  █▒██▒          ██▒  █▒ █▒ █▒    █▒ █▒   
  5. ECHO  ███████▒  ██████▒  █████▒ ██▒          ██▒ █▒ ██████▒  ██████▒ 
  6. ECHO  ██▒    █▒  ██▒  █▒  █▒     ██▒          ████▒    █▒       █▒ 
  7. ECHO  ██▒     █▒  ██▒  █▒  █▒     █████▒       ███▒    █▒ █▒    █▒ 
  8. ECHO                                                          
  9. ECHO ┌─────────────────────────────────────────────────────────────────────────────┐
  10. ECHO │ INSTALL.BAT Action Replay hard disk installation utility v4.4               │
  11. ECHO │ (c) 1994 Datel Electronics Ltd.                                             │
  12. ECHO │ Note: People upgrading should use the "upgrade the flash" option in the     │
  13. ECHO │       action replay setup.exe program to reprogram their cards to V 4.4     │
  14. ECHO │       once this install program has finished. Also ensure you save out a new│
  15. ECHO │       configuration file.                                                   │
  16. ECHO │ See the file 4_4.TXT for information on changes from V 4.30                 │
  17. ECHO ├─────────────────────────────────────────────────────────────────────────────┤
  18.  
  19. IF "%1"==""   GOTO DRIVESERROR
  20. IF "%2"==""   GOTO DRIVESERROR
  21. rem IF "%1"=="a:" GOTO SOURCEDRIVEOK
  22. rem IF "%1"=="A:" GOTO SOURCEDRIVEOK
  23. rem IF "%1"=="b:" GOTO SOURCEDRIVEOK
  24. rem IF "%1"=="B:" GOTO SOURCEDRIVEOK
  25. GOTO SOURCEDRIVEOK
  26. rem GOTO DRIVESERROR
  27.  
  28. REM ------------------------------SOURCEDRIVEOK-------------------------------
  29.  
  30. :SOURCEDRIVEOK
  31.  
  32. IF "%2"=="c:" GOTO DRIVESOK
  33. IF "%2"=="C:" GOTO DRIVESOK
  34. IF "%2"=="d:" GOTO DRIVESOK
  35. IF "%2"=="D:" GOTO DRIVESOK
  36. IF "%2"=="e:" GOTO DRIVESOK
  37. IF "%2"=="E:" GOTO DRIVESOK
  38. IF "%2"=="f:" GOTO DRIVESOK
  39. IF "%2"=="F:" GOTO DRIVESOK
  40. IF "%2"=="g:" GOTO DRIVESOK
  41. IF "%2"=="G:" GOTO DRIVESOK
  42. IF "%2"=="h:" GOTO DRIVESOK
  43. IF "%2"=="H:" GOTO DRIVESOK
  44. GOTO DRIVESERROR
  45.  
  46. REM ------------------------------SYNTAXERROR---------------------------------
  47.  
  48. :SYNTAXERROR
  49.  
  50. ECHO │                                                                             │
  51. ECHO │ Syntax : INSTALL [sdrive:] [ddrive:]                                        │
  52. ECHO │          sdrive is the source drive.                                        │
  53. ECHO │          ddrive is the destination drive.                                   │
  54. ECHO │          e.g. A: C:                                                         │
  55. ECHO │               B: D:                                                         │
  56. ECHO │                                                                             │
  57. ECHO │          To install from A: to C: type :-                                   │
  58. ECHO │               INSTALL A: C:                                                 │
  59. ECHO │                                                                             │
  60. ECHO └─────────────────────────────────────────────────────────────────────────────┘
  61. ECHO  
  62. GOTO INSTALLEND
  63.  
  64. REM ------------------------------DRIVESERROR---------------------------------
  65.  
  66. :DRIVESERROR
  67.  
  68. ECHO │                                                                             │
  69. ECHO │ ERROR : Valid drives for source are floppy disks A: and B:.                 │
  70. ECHO │         Valid drives for destination are hard disks C:, D: and E:.          │
  71. ECHO │                                                                             │
  72. ECHO │           Note that temporary files of the Action Replay                    │ 
  73. ECHO │           operating system will need to use drive C:                        │
  74. ECHO │                                                                             │
  75. ECHO └─────────────────────────────────────────────────────────────────────────────┘
  76. ECHO  
  77. GOTO INSTALLEND
  78.  
  79. REM ------------------------------DRIVESOK------------------------------------
  80.  
  81. :DRIVESOK
  82.  
  83. ECHO │                                                                             │
  84. ECHO │ A subdirectory called AREPLAY is about to be created in the root directory  │
  85. ECHO │ of your %2 drive where all the files on drive %1 will be placed.            │
  86. ECHO │                                                                             │
  87. ECHO └─────────────────────────────────────────────────────────────────────────────┘
  88. ECHO  
  89. ECHO Press Ctrl-C to exit or
  90. PAUSE
  91.  
  92. IF EXIST %1INSTALL.BAT GOTO SOURCEOK
  93. ECHO ┌─────────────────────────────────────────────────────────────────────────────┐
  94. ECHO │ ERROR : Source drive does not exist or not Action Replay installation disk. │
  95. ECHO └─────────────────────────────────────────────────────────────────────────────┘
  96. ECHO  
  97. GOTO INSTALLEND
  98.  
  99. REM ------------------------------SOURCEOK------------------------------------
  100.  
  101. :SOURCEOK
  102.  
  103. MD %2\AREPLAY
  104. COPY %1INSTALL.BAT %2\AREPLAY
  105. IF EXIST %2\AREPLAY\INSTALL.BAT GOTO DESTINATIONOK
  106. ECHO ┌─────────────────────────────────────────────────────────────────────────────┐
  107. ECHO │ ERROR : Destination drive does not exist.                                   │
  108. ECHO └─────────────────────────────────────────────────────────────────────────────┘
  109. ECHO  
  110. GOTO INSTALLEND
  111.  
  112. REM ------------------------------DESTINATIONOK-------------------------------
  113.  
  114. :DESTINATIONOK
  115.  
  116. IF EXIST %2\AREPLAY\AREPLAY.CFG GOTO DELARCONFIG
  117. ECHO  
  118. ECHO Installing files ...... Please wait.
  119. ECHO  
  120. GOTO NODELARCONFIG
  121. :DELARCONFIG
  122. DEL %2\AREPLAY\AREPLAY.CFG
  123. ECHO  
  124. ECHO  
  125. ECHO  
  126. ECHO About to delete all files in the existing %2\AREPLAY directory and the 
  127. ECHO subdirectories PCMAN, GWS, MODS and CODES. Press CTRL-C to abort. 
  128. ECHO  
  129. ECHO Deleteing all files in %2\AREPLAY
  130. DEL %2\AREPLAY\*.*
  131. ECHO Deleteing all files in %2\AREPLAY\PCMAN
  132. DEL %2\AREPLAY\PCMAN\*.*
  133. ECHO Deleteing all files in %2\AREPLAY\GWS 
  134. DEL %2\AREPLAY\GWS\*.*
  135. ECHO Deleteing all files in %2\AREPLAY\MODS
  136. DEL %2\AREPLAY\MODS\*.*
  137. ECHO Deleteing all files in %2\AREPLAY\CODES
  138. DEL %2\AREPLAY\CODES\*.*
  139. ECHO  
  140. ECHO  
  141. ECHO Updateing files ...... Please wait.
  142. ECHO  
  143. :NODELARCONFIG
  144.  
  145.  
  146. COPY %1AREPLAYX.EXE %2\AREPLAY
  147. COPY %1PCMANX.EXE %2\AREPLAY
  148. COPY %1CODESX.EXE %2\AREPLAY
  149. COPY %1MODSX.EXE %2\AREPLAY
  150. COPY %1GWSX.EXE %2\AREPLAY
  151.  
  152. %2
  153. CD %2\AREPLAY
  154. MD PCMAN
  155. MD MODS
  156. MD CODES
  157. MD GWS
  158.  
  159. CD %2\AREPLAY
  160. %2\AREPLAY\AREPLAYX
  161. DEL %2\AREPLAY\AREPLAYX.EXE
  162.  
  163. CD %2\AREPLAY\PCMAN
  164. %2\AREPLAY\PCMANX
  165. DEL %2\AREPLAY\PCMANX.EXE
  166.  
  167. CD %2\AREPLAY\CODES
  168. %2\AREPLAY\CODESX
  169. DEL %2\AREPLAY\CODESX.EXE
  170.  
  171. CD %2\AREPLAY\MODS
  172. %2\AREPLAY\MODSX
  173. DEL %2\AREPLAY\MODSX.EXE
  174.  
  175. CD %2\AREPLAY\GWS
  176. %2\AREPLAY\GWSX
  177. DEL %2\AREPLAY\GWSX.EXE
  178.  
  179. CD %2\AREPLAY
  180. ARINTRO
  181. PINSTALL
  182. SETUP
  183.  
  184. CLS
  185. ECHO  █████▒  ███████▒ ██████▒ █████▒      ██▒   █▒ █▒ █▒    █▒ █▒   
  186. ECHO  ██▒  █▒  ██▒   █▒ ██▒  █▒██▒          ██▒  █▒ █▒ █▒    █▒ █▒   
  187. ECHO  ███████▒  ██████▒  █████▒ ██▒          ██▒ █▒ ██████▒  ██████▒ 
  188. ECHO  ██▒    █▒  ██▒  █▒  █▒     ██▒          ████▒    █▒       █▒ 
  189. ECHO  ██▒     █▒  ██▒  █▒  █▒     █████▒       ███▒    █▒ █▒    █▒ 
  190. ECHO  
  191. ECHO ┌─────────────────────────────────────────────────────────────────────────────┐
  192. ECHO │ If AREPLAY.COM displayed no error messages,  then the Action Replay should  │
  193. ECHO │ now be on and the light on the  controller  will be flashing.  If an error  │
  194. ECHO │ message has been displayed then look towards the back of the manual in the  │
  195. ECHO │ troubleshooting section for the possible cause and a solution.              │
  196. ECHO │ To use the Action Replay, just press the red button on the controller and   │
  197. ECHO │ you will be presented with the Action Replay's main menu.                   │
  198. ECHO │                                                                             │
  199. ECHO │ NOTE:  The PROT.EXE protected mode driver must be installed if you want to  │
  200. ECHO │        use the Action Replay with protected mode games.                     │
  201. ECHO │ NOTE2: People upgrading should use the "upgrade the flash" option in the    │
  202. ECHO │        action replay setup.exe program to reprogram their cards to V 4.4    │
  203. ECHO │        once this install program has finished. Also ensure you save out a   │
  204. ECHO │        new configuration file.                                              │
  205. ECHO │                                                                             │
  206. ECHO │                                                                             │
  207. ECHO │                                 ATTENTION                                   │
  208. ECHO │                                 =========                                   │
  209. ECHO │           1. The Difference trainer has been modified, its                  │
  210. ECHO │              function and operation have changed from previous              │
  211. ECHO │              AR versions. The manual entry for the Difference               │
  212. ECHO │              trainer is now incorrect and the file 4_4.TXT should           │
  213. ECHO │              be read for information on the update.                         │
  214. ECHO │                                                                             │
  215. ECHO │           2. People upgrading should read the file 4_4.TXT                  │
  216. ECHO │              to learn about whats changed. Note that some                   │
  217. ECHO │              modifications have been made to the trainer.                   │
  218. ECHO │                                                                             │
  219. ECHO └─────────────────────────────────────────────────────────────────────────────┘
  220. LH AREPLAY
  221.  
  222. :INSTALLEND
  223.