mirror of
https://github.com/ScrelliCopter/VGM-Tools
synced 2025-02-21 04:09:25 +11:00
Reorganised slightly, and added my spc sample ripper + spc2it.
This commit is contained in:
19
neotools/autoextract.bat
Normal file
19
neotools/autoextract.bat
Normal file
@@ -0,0 +1,19 @@
|
||||
if ["%~x1"]==[".vgz"] goto vgztopcm else goto vgmtopcm
|
||||
|
||||
:vgmtopcm
|
||||
neoadpcmextract.exe %1
|
||||
goto pcmtowav
|
||||
|
||||
:vgztopcm
|
||||
copy /y %1 temp.vgm.gz
|
||||
gzip.exe -d temp.vgm.gz
|
||||
neoadpcmextract.exe temp.vgm
|
||||
del temp.vgm
|
||||
goto pcmtowav
|
||||
|
||||
:pcmtowav
|
||||
for /r %%v in (smpa_*.pcm) do adpcm.exe "%%v" "%%v.wav"
|
||||
for /r %%v in (smpb_*.pcm) do adpcmb.exe -d "%%v" "%%v.wav"
|
||||
del "*.pcm"
|
||||
mkdir "%~n1"
|
||||
move "*.wav" "%~n1"
|
||||
Reference in New Issue
Block a user