forked from ThirteenAG/III.VC.SA.CLEOScripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compile.bat
52 lines (46 loc) · 1.23 KB
/
compile.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@echo off
set "gta3sc=%cd%\tools\gta3sc\gta3sc.exe"
set "sanny=%cd%\tools\SannyBuilder3\sanny.exe"
set "inifile=%cd%\tools\SannyBuilder3\inifile.exe"
set "settings=%cd%\tools\SannyBuilder3\data\settings.ini"
rem Compile gta3sc scripts
cd gta3
forfiles /s /m *.sc /c ^"cmd /c ^
echo Processing: @path ^&^
\"%gta3sc%\" compile @file --config=gta3 --cs --guesser -fconst ^&^
exit 0"
cd ..
cd gtavc
forfiles /s /m *.sc /c ^"cmd /c ^
echo Processing: @path ^&^
\"%gta3sc%\" compile @file --config=gtavc --cs --guesser -fconst ^&^
exit 0"
cd ..
cd gtasa
forfiles /s /m *.sc /c ^"cmd /c ^
echo Processing: @path ^&^
\"%gta3sc%\" compile @file --config=gtasa --cs --guesser -fconst ^&^
exit 0"
cd ..
rem Compile sannybuilder scripts
cd gta3
%inifile% %settings% [Main] Engine::EditMode=0
forfiles /s /m *.txt /c ^"cmd /c ^
echo Processing: @path ^&^
\"%sanny%\" \nosplash \gta3 \compile @path ^&^
exit 0"
cd ..
cd gtavc
%inifile% %settings% [Main] Engine::EditMode=1
forfiles /s /m *.txt /c ^"cmd /c ^
echo Processing: @path ^&^
\"%sanny%\" \nosplash \vc \compile @path ^&^
exit 0"
cd ..
cd gtasa
%inifile% %settings% [Main] Engine::EditMode=2
forfiles /s /m *.txt /c ^"cmd /c ^
echo Processing: @path ^&^
\"%sanny%\" \nosplash \sa \compile @path ^&^
exit 0"
cd ..