11 lines
294 B
Bash
Executable file
11 lines
294 B
Bash
Executable file
#!/bin/zsh
|
|
|
|
mkdir bgm
|
|
find Bgm -name \*.adx -delete
|
|
for i in Bgm/*.acb;
|
|
do
|
|
mono acb_extract.exe "$i"
|
|
done
|
|
find Bgm -name \*.adx | parallel ffmpeg -i {} -acodec libopus -ab 192k -af aresample=48000 bgm/{/.}.opus -n
|
|
../scripts/adx_parse.py $(find Bgm -name \*.adx)
|
|
cp loop.json bgm/BgmLoop.json
|