Browse Source

Updated compile scripts to include music folder.

pull/3/head
Mathew Antich 5 months ago
parent
commit
a08525a50f
3 changed files with 30 additions and 8 deletions
  1. 8
    2
      CompilePK3-Jenkins.bat
  2. 11
    3
      CompilePK3.bat
  3. 11
    3
      CompilePK3Fast.bat

+ 8
- 2
CompilePK3-Jenkins.bat View File

@@ -2,7 +2,7 @@
2 2
 
3 3
 set FileName=Lexicon
4 4
 
5
-echo Step 2: ACS
5
+echo Step 1: ACS
6 6
 	cd Compiler
7 7
 	bcc -acc-err-file -x bcs ..\pk3\acs\%FileName%.c ..\pk3\acs\%FileName%.o
8 8
 	if not exist ..\pk3\acs\acs.err goto 20
@@ -13,8 +13,14 @@ echo Step 2: PACK
13 13
 	cd pk3
14 14
 	..\Compiler\7za a -r -ssw -mx9 -tzip  ..\%FileName%n.pk3 *
15 15
 
16
+echo Step 3: PACK MUSIC AND MISC. FILES
17
+	cd ..
18
+	cd music_pk3
19
+	..\Compiler\7za a -r -ssw -mx9 -tzip  ..\%MusFileName%n.pk3 *
16 20
 	
17
-echo Step 3: REPLACE
21
+echo Step 4: REPLACE
18 22
 	cd ..
19 23
 	del %FileName%.pk3
20 24
 	ren %FileName%n.pk3 %FileName%-alpha-build-%BUILD_NUMBER%.pk3
25
+	del %MusFileName%.pk3
26
+	ren %MusFileName%n.pk3 %MusFileName%-alpha-build-%BUILD_NUMBER%.pk3

+ 11
- 3
CompilePK3.bat View File

@@ -1,6 +1,7 @@
1 1
 @echo off
2 2
 
3 3
 set FileName=Lexicon
4
+set MusFileName=Lexicon-miscdata
4 5
 
5 6
 echo Step 2: ACS
6 7
 	cd Compiler
@@ -8,13 +9,20 @@ echo Step 2: ACS
8 9
 	if not exist ..\pk3\acs\acs.err goto 20
9 10
 :20
10 11
 
11
-echo Step 2: PACK
12
+echo Step 2: PACK GAME FILES
12 13
 	cd ..
13 14
 	cd pk3
14 15
 	..\Compiler\7za a -r -ssw -mx9 -tzip  ..\%FileName%n.pk3 *
15 16
 
17
+echo Step 3: PACK MUSIC AND MISC. FILES
18
+	cd ..
19
+	cd music_pk3
20
+	..\Compiler\7za a -r -ssw -mx9 -tzip  ..\%MusFileName%n.pk3 *
21
+
16 22
 	
17
-echo Step 3: REPLACE
23
+echo Step 4: REPLACE
18 24
 	cd ..
19 25
 	del %FileName%.pk3
20
-	ren %FileName%n.pk3 %FileName%.pk3
26
+	ren %FileName%n.pk3 %FileName%.pk3
27
+	del %MusFileName%.pk3
28
+	ren %MusFileName%n.pk3 %MusFileName%.pk3

+ 11
- 3
CompilePK3Fast.bat View File

@@ -8,13 +8,21 @@ echo Step 2: ACS
8 8
 	if not exist ..\pk3\acs\acs.err goto 20
9 9
 :20
10 10
 
11
-echo Step 2: PACK
11
+echo Step 3: PACK GAME FILES
12 12
 	cd ..
13 13
 	cd pk3
14 14
 	..\Compiler\7za a -r -ssw -mx0 -tzip  ..\%FileName%n.pk3 *
15 15
 
16 16
 	
17
-echo Step 3: REPLACE
17
+echo Step 3: PACK MUSIC AND MISC. FILES
18
+	cd ..
19
+	cd music_pk3
20
+	..\Compiler\7za a -r -ssw -mx0 -tzip  ..\%MusFileName%n.pk3 *
21
+
22
+	
23
+echo Step 4: REPLACE
18 24
 	cd ..
19 25
 	del %FileName%.pk3
20
-	ren %FileName%n.pk3 %FileName%.pk3
26
+	ren %FileName%n.pk3 %FileName%.pk3
27
+	del %MusFileName%.pk3
28
+	ren %MusFileName%n.pk3 %MusFileName%.pk3

Loading…
Cancel
Save