home *** CD-ROM | disk | FTP | other *** search
- ' *****************************************
- ' **** Football Masters Install Script ****
- ' *****************************************
- '
- ' (Use "pkzip -ex -rP fmpatch.zip" to create archive)
-
- BACKGROUND 127
- LANGUAGE ENGLISH
- BORDER 0
- TELESCOPE OFF
- WINOPEN 0 2 30
-
- " Football Masters "
- " Patch Disk "
- " version 8.02 "
- ""
- " ESP Software"
- " 14th of December 1997"
-
- ' ******************************
- ' **** Input Drive and Path ****
- ' ******************************
-
-
- WINOPEN 0 12 95
- "This patch needs to be installed to your"
- " current FOOTBALL MASTERS directory. "
- ""
- " Press the [Enter] key to continue "
- 'WAIT 57 12
- WAIT +39 +4
- WINCLOSE
-
- :START
-
- SPACE 2000
- DRIVE C 0 12 127 112 0 18 95
- PATH \FM98 0 12 127 112 0 18 95
-
-
- ' ***************************
- ' **** Check for FM97.EXE ****
- ' ***************************
- '
- EXIST ~1~2\FM98.EXE
- JUMP.YES CONFIRM
- JUMP.NO ASK_CONTINUE
- 'If no then ask to continue or restart.
-
- :ASK_CONTINUE
- WINOPEN 0 12 95
- "This does not appear to be a valid Football Masters"
- "directory. Do you want to continue?"
- ""
- ""
- ""
- "Press [Y] to continue or [N] to start again."
-
- WINUPDATE +4 +4 94
- "~1~2."
- ASK +46 +6
- WINCLOSE
- JUMP.NO START
- JUMP.YES DO_PATCH
-
- ' *****************
- ' **** Confirm ****
- ' *****************
- '
- :CONFIRM
- WINOPEN 0 12 95
- "Football Masters 98 will now be updated."
- ""
- ""
- ""
- "Press [Y] to continue or [N] to start again."
-
- WINUPDATE +4 +3 94
- "~1~2."
- ASK +46 +5
- WINCLOSE
- JUMP.NO START
-
- :DO_PATCH
- ' **************************
- ' **** Copy Patch Files ****
- ' **************************
- '''''''
- 'Extract (restore directory structure and overwriting existing files)
- SHELL
- "pkunzip -d -o ~0\fmpatch.zip ~1~2\"
-
- 'fm7
- 'DELETE ~1~2\kits\6\pspbrwse.jbf 23 10 127
-
- 'sort out wrong stadium names installed on HD
- EXIST ~1~2\stadiums\6\107.pcx
- JUMP.NO NEXTSTADIUM
- COPY ~1~2\stadiums\6\107.pcx ~1~2\stadiums\6\111.pcx 23 10 127
- DELETE ~1~2\stadiums\6\107.pcx 23 10 127
- EXIST ~1~2\stadiums\10\111.pcx
- :NEXTSTADIUM
- JUMP.NO HELP_BATCH
- COPY ~1~2\stadiums\10\111.pcx ~1~2\stadiums\10\79.pcx 23 10 127
- DELETE ~1~2\stadiums\10\111.pcx 23 10 127
-
- :HELP_BATCH
-
- EXIST ~1\FM_Help.BAT
- JUMP.YES SUCCESS
-
- FILE ~1~2\FM_Help.BAT
- "@~1"
- "@cd ~2"
- "@cls"
- "@echo."
- "@echo To start Football Masters, type"
- "@echo."
- "@echo FM"
- "@echo."
- "@echo and press ENTER."
- "@echo."
-
- :GO_BATCH
-
- EXIST ~1\FM.BAT
- JUMP.YES SUCCESS
-
- FILE ~1\FM.BAT
- "@~1"
- "@cd ~2"
- "@FM.BAT %1"
-
- ' *****************
- ' **** Success ****
- ' *****************
-
- :SUCCESS
-
- WINOPEN 0 12 95
-
- "Football Masters 98 has been updated"
- "successfully in the directory"
- ""
- ""
- ""
- "Press the [Enter] key to continue."
-
- WINUPDATE +4 +4 94
- "~1~2."
- WAIT +36 +6
- WINCLOSE
-
- RUN ~1~2\FM_Help.BAT
- END
-