forked from SMUnlimited/AMAI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MakeOptROC.bat
56 lines (56 loc) · 2.34 KB
/
MakeOptROC.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
53
54
55
56
@ECHO OFF
ECHO Making AMAI
ECHO _____________________________
ECHO creating \Scripts\ROC\common.ai
perl ejass.pl common.eai ROC VER:ROC > Scripts\ROC\common.ai
ECHO \Scripts\ROC\common.ai created
ECHO _____________________________
ECHO creating \Scripts\ROC\elf.ai
perl ejass.pl races.eai ROC VER:ROC ELF RACE:ELF > Scripts\ROC\elf.ai
ECHO \Scripts\ROC\elf.ai created
ECHO _____________________________
ECHO creating \Scripts\ROC\human.ai
perl ejass.pl races.eai ROC VER:ROC HUMAN RACE:HUMAN > Scripts\ROC\human.ai
ECHO \Scripts\ROC\human.ai created
ECHO _____________________________
ECHO creating \Scripts\ROC\orc.ai
perl ejass.pl races.eai ROC VER:ROC ORC RACE:ORC > Scripts\ROC\orc.ai
ECHO \Scripts\ROC\orc.ai created
ECHO _____________________________
ECHO creating \Scripts\ROC\undead.ai
perl ejass.pl races.eai ROC VER:ROC UNDEAD RACE:UNDEAD > Scripts\ROC\undead.ai
ECHO \Scripts\ROC\undead.ai created
ECHO _____________________________
ECHO creating \Scripts\Blizzard.j
perl ejass.pl Blizzard.eai ROC VER:ROC > Scripts\Blizzard.j
ECHO \Scripts\Blizzard.j created
ECHO _____________________________
ECHO Optimizing Scripts
perl Optimize.pl Scripts\ROC\common.ai -l ROC\Races.txt Scripts\ROC\$2
perl Optimize.pl -b Scripts\Blizzard.j
ECHO Optimizing finished
ECHO _____________________________
pjass common.j Scripts\ROC\common.ai
ECHO _____________________________
pjass common.j Scripts\ROC\common.ai Scripts\ROC\elf.ai
ECHO _____________________________
pjass common.j Scripts\ROC\common.ai Scripts\ROC\human.ai
ECHO _____________________________
pjass common.j Scripts\ROC\common.ai Scripts\ROC\orc.ai
ECHO _____________________________
pjass common.j Scripts\ROC\common.ai Scripts\ROC\undead.ai
ECHO _____________________________
pjass common.j Scripts\Blizzard.j
ECHO _____________________________
ECHO creating \Scripts\ROC\AMAI.mpq
copy empty.mpq Scripts\ROC\AMAI.mpq
AddToMPQ Scripts\ROC\AMAI.mpq Scripts\ROC\common.ai Scripts\common.ai Scripts\Blizzard.j Scripts\Blizzard.j
AddToMPQ Scripts\ROC\AMAI.mpq Scripts\ROC\elf.ai Scripts\elf.ai
AddToMPQ Scripts\ROC\AMAI.mpq Scripts\ROC\human.ai Scripts\human.ai
AddToMPQ Scripts\ROC\AMAI.mpq Scripts\ROC\orc.ai Scripts\orc.ai
AddToMPQ Scripts\ROC\AMAI.mpq Scripts\ROC\undead.ai Scripts\undead.ai
copy Scripts\ROC\AMAI.mpq Scripts\AMAI.mpq
ECHO \Scripts\ROC\AMAI.mpq created
ECHO =============================
ECHO Making AMAI finished
pause