home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- echo Installation for CUJO Quake Mod version 1.0
- echo.
-
- if [%1] == [] goto usage
- if not [%2] == [] goto usage
-
- if exist %1\quake.exe goto gooddir
-
- :baddir
- echo Quake does not appear to be installed in %1.
- echo.
- goto usage
-
- :gooddir
- md %1\cujo11
- md %1\cujo11\progs
-
- copy progs.dat %1\cujo11
- copy cujo11.txt %1\cujo11
- copy source.zip %1\cujo11
- copy cujo11.bat %1
- copy cujo.mdl %1\cujo11\progs
- copy h_cujo.mdl %1\cujo11\progs
-
- cd %1
-
- echo.
- echo Cujo version 1.1 was installed in CUJO11\. If you have an
- echo earlier version of Cujo, it was not overwritten!
- echo.
- echo Type CUJO11 [ENTER] to play Quake with the Cujo mod.
- echo.
-
- goto end
-
- :usage
- echo Usage:
- echo.
- echo INSTALL dir_name [ENTER]
- echo.
- echo where dir_name is the directory where Quake is installed.
- echo.
- echo e.g. INSTALL C:\GAMES\QUAKE
- echo.
- :end
-