Subversion-Projekte sthq.colony7

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

::Created by Chrisstrahl for c7 Mod 2010.08.05
@echo off
cd "/"
if not exist c7 goto searchforc7
if not exist ef2.exe goto searchforc7
cd "c7"
if not exist c7_01_textures.pk3         goto wrongDir
cd "../"

:start
CLS
echo.
echo ---------------------------------------------------------
echo Starting the "Colony 7" Mod
echo ---------------------------------------------------------
echo.
goto startc7
exit

:searchforc7
cd "../"
if not exist ef2.exe goto error
if not exist c7 goto wrongDir
goto start
exit

:startc7
if not exist cgamex86.dll               goto startParameter2
if not exist gamex86.dll                goto startParameter2
ef2.exe +set fs_game c7
exit

:startParameter2
ef2.exe +set gamedll base/gamex86.dll +set cgamedll base/cgamex86.dll +set fs_game c7
exit

:wrongDir
echo.
echo ----------------------------------------------
echo The c7 mod seams to be in the wrong directory
echo there are some files missing or misspleaced
echo the c7 Mod is not meant to be stored in the 
echo base folder, please READ the readme!
echo ----------------------------------------------
echo.
echo ***QUIT***
pause >NUL
exit

:error
echo.
echo ---------------------------------------
echo WRONG DIRECORY, please READ the readme!
echo ---------------------------------------
echo.
echo ***QUIT***
pause >NUL
exit