Subversion-Projekte sthq.colony7

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
62 chriss 1
::Created by Chrisstrahl for c7 Mod 2010.08.05
2
@echo off
3
cd "/"
4
if not exist c7 goto searchforc7
5
if not exist ef2.exe goto searchforc7
6
cd "c7"
7
if not exist c7_01_textures.pk3		goto wrongDir
8
cd "../"
9
 
10
:start
11
CLS
12
echo.
13
echo ---------------------------------------------------------
14
echo Starting the "Colony 7" Mod
15
echo ---------------------------------------------------------
16
echo.
17
goto startc7
18
exit
19
 
20
:searchforc7
21
cd "../"
22
if not exist ef2.exe goto error
23
if not exist c7 goto wrongDir
24
goto start
25
exit
26
 
27
:startc7
28
if not exist cgamex86.dll		goto startParameter2
29
if not exist gamex86.dll		goto startParameter2
30
ef2.exe +set fs_game c7
31
exit
32
 
33
:startParameter2
34
ef2.exe +set gamedll base/gamex86.dll +set cgamedll base/cgamex86.dll +set fs_game c7
35
exit
36
 
37
:wrongDir
38
echo.
39
echo ----------------------------------------------
40
echo The c7 mod seams to be in the wrong directory
41
echo there are some files missing or misspleaced
42
echo the c7 Mod is not meant to be stored in the
43
echo base folder, please READ the readme!
44
echo ----------------------------------------------
45
echo.
46
echo ***QUIT***
47
pause >NUL
48
exit
49
 
50
:error
51
echo.
52
echo ---------------------------------------
53
echo WRONG DIRECORY, please READ the readme!
54
echo ---------------------------------------
55
echo.
56
echo ***QUIT***
57
pause >NUL
58
exit