home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fanclub Das Freakmagazin 2
/
FANCLUB2.ISO
/
patches
/
actionre
/
v44
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1995-04-24
|
10KB
|
223 lines
@ECHO OFF
CLS
ECHO █████▒ ███████▒ ██████▒ █████▒ ██▒ █▒ █▒ █▒ █▒ █▒
ECHO ██▒ █▒ ██▒ █▒ ██▒ █▒██▒ ██▒ █▒ █▒ █▒ █▒ █▒
ECHO ███████▒ ██████▒ █████▒ ██▒ ██▒ █▒ ██████▒ ██████▒
ECHO ██▒ █▒ ██▒ █▒ █▒ ██▒ ████▒ █▒ █▒
ECHO ██▒ █▒ ██▒ █▒ █▒ █████▒ ███▒ █▒ █▒ █▒
ECHO
ECHO ┌─────────────────────────────────────────────────────────────────────────────┐
ECHO │ INSTALL.BAT Action Replay hard disk installation utility v4.4 │
ECHO │ (c) 1994 Datel Electronics Ltd. │
ECHO │ Note: People upgrading should use the "upgrade the flash" option in the │
ECHO │ action replay setup.exe program to reprogram their cards to V 4.4 │
ECHO │ once this install program has finished. Also ensure you save out a new│
ECHO │ configuration file. │
ECHO │ See the file 4_4.TXT for information on changes from V 4.30 │
ECHO ├─────────────────────────────────────────────────────────────────────────────┤
IF "%1"=="" GOTO DRIVESERROR
IF "%2"=="" GOTO DRIVESERROR
rem IF "%1"=="a:" GOTO SOURCEDRIVEOK
rem IF "%1"=="A:" GOTO SOURCEDRIVEOK
rem IF "%1"=="b:" GOTO SOURCEDRIVEOK
rem IF "%1"=="B:" GOTO SOURCEDRIVEOK
GOTO SOURCEDRIVEOK
rem GOTO DRIVESERROR
REM ------------------------------SOURCEDRIVEOK-------------------------------
:SOURCEDRIVEOK
IF "%2"=="c:" GOTO DRIVESOK
IF "%2"=="C:" GOTO DRIVESOK
IF "%2"=="d:" GOTO DRIVESOK
IF "%2"=="D:" GOTO DRIVESOK
IF "%2"=="e:" GOTO DRIVESOK
IF "%2"=="E:" GOTO DRIVESOK
IF "%2"=="f:" GOTO DRIVESOK
IF "%2"=="F:" GOTO DRIVESOK
IF "%2"=="g:" GOTO DRIVESOK
IF "%2"=="G:" GOTO DRIVESOK
IF "%2"=="h:" GOTO DRIVESOK
IF "%2"=="H:" GOTO DRIVESOK
GOTO DRIVESERROR
REM ------------------------------SYNTAXERROR---------------------------------
:SYNTAXERROR
ECHO │ │
ECHO │ Syntax : INSTALL [sdrive:] [ddrive:] │
ECHO │ sdrive is the source drive. │
ECHO │ ddrive is the destination drive. │
ECHO │ e.g. A: C: │
ECHO │ B: D: │
ECHO │ │
ECHO │ To install from A: to C: type :- │
ECHO │ INSTALL A: C: │
ECHO │ │
ECHO └─────────────────────────────────────────────────────────────────────────────┘
ECHO
GOTO INSTALLEND
REM ------------------------------DRIVESERROR---------------------------------
:DRIVESERROR
ECHO │ │
ECHO │ ERROR : Valid drives for source are floppy disks A: and B:. │
ECHO │ Valid drives for destination are hard disks C:, D: and E:. │
ECHO │ │
ECHO │ Note that temporary files of the Action Replay │
ECHO │ operating system will need to use drive C: │
ECHO │ │
ECHO └─────────────────────────────────────────────────────────────────────────────┘
ECHO
GOTO INSTALLEND
REM ------------------------------DRIVESOK------------------------------------
:DRIVESOK
ECHO │ │
ECHO │ A subdirectory called AREPLAY is about to be created in the root directory │
ECHO │ of your %2 drive where all the files on drive %1 will be placed. │
ECHO │ │
ECHO └─────────────────────────────────────────────────────────────────────────────┘
ECHO
ECHO Press Ctrl-C to exit or
PAUSE
IF EXIST %1INSTALL.BAT GOTO SOURCEOK
ECHO ┌─────────────────────────────────────────────────────────────────────────────┐
ECHO │ ERROR : Source drive does not exist or not Action Replay installation disk. │
ECHO └─────────────────────────────────────────────────────────────────────────────┘
ECHO
GOTO INSTALLEND
REM ------------------------------SOURCEOK------------------------------------
:SOURCEOK
MD %2\AREPLAY
COPY %1INSTALL.BAT %2\AREPLAY
IF EXIST %2\AREPLAY\INSTALL.BAT GOTO DESTINATIONOK
ECHO ┌─────────────────────────────────────────────────────────────────────────────┐
ECHO │ ERROR : Destination drive does not exist. │
ECHO └─────────────────────────────────────────────────────────────────────────────┘
ECHO
GOTO INSTALLEND
REM ------------------------------DESTINATIONOK-------------------------------
:DESTINATIONOK
IF EXIST %2\AREPLAY\AREPLAY.CFG GOTO DELARCONFIG
ECHO
ECHO Installing files ...... Please wait.
ECHO
GOTO NODELARCONFIG
:DELARCONFIG
DEL %2\AREPLAY\AREPLAY.CFG
ECHO
ECHO
ECHO
ECHO About to delete all files in the existing %2\AREPLAY directory and the
ECHO subdirectories PCMAN, GWS, MODS and CODES. Press CTRL-C to abort.
ECHO
ECHO Deleteing all files in %2\AREPLAY
DEL %2\AREPLAY\*.*
ECHO Deleteing all files in %2\AREPLAY\PCMAN
DEL %2\AREPLAY\PCMAN\*.*
ECHO Deleteing all files in %2\AREPLAY\GWS
DEL %2\AREPLAY\GWS\*.*
ECHO Deleteing all files in %2\AREPLAY\MODS
DEL %2\AREPLAY\MODS\*.*
ECHO Deleteing all files in %2\AREPLAY\CODES
DEL %2\AREPLAY\CODES\*.*
ECHO
ECHO
ECHO Updateing files ...... Please wait.
ECHO
:NODELARCONFIG
COPY %1AREPLAYX.EXE %2\AREPLAY
COPY %1PCMANX.EXE %2\AREPLAY
COPY %1CODESX.EXE %2\AREPLAY
COPY %1MODSX.EXE %2\AREPLAY
COPY %1GWSX.EXE %2\AREPLAY
%2
CD %2\AREPLAY
MD PCMAN
MD MODS
MD CODES
MD GWS
CD %2\AREPLAY
%2\AREPLAY\AREPLAYX
DEL %2\AREPLAY\AREPLAYX.EXE
CD %2\AREPLAY\PCMAN
%2\AREPLAY\PCMANX
DEL %2\AREPLAY\PCMANX.EXE
CD %2\AREPLAY\CODES
%2\AREPLAY\CODESX
DEL %2\AREPLAY\CODESX.EXE
CD %2\AREPLAY\MODS
%2\AREPLAY\MODSX
DEL %2\AREPLAY\MODSX.EXE
CD %2\AREPLAY\GWS
%2\AREPLAY\GWSX
DEL %2\AREPLAY\GWSX.EXE
CD %2\AREPLAY
ARINTRO
PINSTALL
SETUP
CLS
ECHO █████▒ ███████▒ ██████▒ █████▒ ██▒ █▒ █▒ █▒ █▒ █▒
ECHO ██▒ █▒ ██▒ █▒ ██▒ █▒██▒ ██▒ █▒ █▒ █▒ █▒ █▒
ECHO ███████▒ ██████▒ █████▒ ██▒ ██▒ █▒ ██████▒ ██████▒
ECHO ██▒ █▒ ██▒ █▒ █▒ ██▒ ████▒ █▒ █▒
ECHO ██▒ █▒ ██▒ █▒ █▒ █████▒ ███▒ █▒ █▒ █▒
ECHO
ECHO ┌─────────────────────────────────────────────────────────────────────────────┐
ECHO │ If AREPLAY.COM displayed no error messages, then the Action Replay should │
ECHO │ now be on and the light on the controller will be flashing. If an error │
ECHO │ message has been displayed then look towards the back of the manual in the │
ECHO │ troubleshooting section for the possible cause and a solution. │
ECHO │ To use the Action Replay, just press the red button on the controller and │
ECHO │ you will be presented with the Action Replay's main menu. │
ECHO │ │
ECHO │ NOTE: The PROT.EXE protected mode driver must be installed if you want to │
ECHO │ use the Action Replay with protected mode games. │
ECHO │ NOTE2: People upgrading should use the "upgrade the flash" option in the │
ECHO │ action replay setup.exe program to reprogram their cards to V 4.4 │
ECHO │ once this install program has finished. Also ensure you save out a │
ECHO │ new configuration file. │
ECHO │ │
ECHO │ │
ECHO │ ATTENTION │
ECHO │ ========= │
ECHO │ 1. The Difference trainer has been modified, its │
ECHO │ function and operation have changed from previous │
ECHO │ AR versions. The manual entry for the Difference │
ECHO │ trainer is now incorrect and the file 4_4.TXT should │
ECHO │ be read for information on the update. │
ECHO │ │
ECHO │ 2. People upgrading should read the file 4_4.TXT │
ECHO │ to learn about whats changed. Note that some │
ECHO │ modifications have been made to the trainer. │
ECHO │ │
ECHO └─────────────────────────────────────────────────────────────────────────────┘
LH AREPLAY
:INSTALLEND