Skip to content

Commit 04d7925

Browse files
authored
Merge pull request #19 from derula/patch-1
Don't unnecessarily run quickbms n times.
2 parents 5c4b81e + feb77c7 commit 04d7925

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Unpack to MP3.bat

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FOR %%a IN ("Game Files\*.PCK") DO ("Tools\quickbms.exe" "Tools\wavescan.bms" "Game Files" "Tools\Decoding")
1+
"Tools\quickbms.exe" "Tools\wavescan.bms" "Game Files" "Tools\Decoding"
22
FOR %%b IN ("Game Files\*.BNK") DO ("Tools\bnkextr.exe" "%%b" & MOVE *.wav "Tools\Decoding")
33
FOR %%c IN (Tools\Decoding\*.WAV) DO ("Tools\ww2ogg.exe" "%%c" --pcb Tools\packed_codebooks_aoTuV_603.bin & DEL "%%c")
44
FOR %%d IN (Tools\Decoding\*.OGG) DO ("Tools\revorb.exe" "%%d" & MOVE "%%d" "MP3")
@@ -29,7 +29,7 @@ echo '\ : /'
2929
echo -.'-/\\\-.'//.-'/:'\.'-.JrS'.'-=_\\
3030
echo ' -.'-.\\'-.'//.-'.`-.'_\\-.'.-\'.-//
3131
echo Watch out, it's the tornado!
32-
32+
3333
echo.
3434
echo -------------------------------------------------------------
3535

@@ -51,14 +51,14 @@ FOR %%e IN ("Game Files\*.PCK") DO (DEL "%%e")
5151
FOR %%f IN ("Game Files\*.BNK") DO (DEL "%%f")
5252

5353
echo Files deleted, enjoy your unpacked audio! -/u/Vextil ;)
54-
pause
54+
pause
5555
exit
5656

5757
:hella_no
5858

5959
echo BNKs and PCKs kept, enjoy your unpacked audio! -/u/Vextil ;)
6060

61-
pause
61+
pause
6262
exit
6363

64-
pause
64+
pause

Unpack to OGG.bat

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FOR %%a IN ("Game Files\*.PCK") DO ("Tools\quickbms.exe" "Tools\wavescan.bms" "Game Files" "Tools\Decoding")
1+
"Tools\quickbms.exe" "Tools\wavescan.bms" "Game Files" "Tools\Decoding"
22
FOR %%b IN ("Game Files\*.BNK") DO ("Tools\bnkextr.exe" "%%b" & MOVE *.wav "Tools\Decoding")
33
FOR %%c IN (Tools\Decoding\*.WAV) DO ("Tools\ww2ogg.exe" "%%c" --pcb Tools\packed_codebooks_aoTuV_603.bin & DEL "%%c")
44
FOR %%d IN (Tools\Decoding\*.OGG) DO ("Tools\revorb.exe" "%%d" & MOVE "%%d" "OGG")
@@ -28,7 +28,7 @@ echo '\ : /'
2828
echo -.'-/\\\-.'//.-'/:'\.'-.JrS'.'-=_\\
2929
echo ' -.'-.\\'-.'//.-'.`-.'_\\-.'.-\'.-//
3030
echo Watch out, it's the tornado!
31-
31+
3232
echo.
3333
echo -------------------------------------------------------------
3434

@@ -50,14 +50,14 @@ FOR %%e IN ("Game Files\*.PCK") DO (DEL "%%e")
5050
FOR %%f IN ("Game Files\*.BNK") DO (DEL "%%f")
5151

5252
echo Files deleted, enjoy your unpacked audio! -/u/Vextil ;)
53-
pause
53+
pause
5454
exit
5555

5656
:hella_no
5757

5858
echo BNKs and PCKs kept, enjoy your unpacked audio! -/u/Vextil ;)
5959

60-
pause
60+
pause
6161
exit
6262

63-
pause
63+
pause

0 commit comments

Comments
 (0)