Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
the folder must be on your desktop.
you need to edit the bat files to include your usrname in the directory paths.
the programs used are as follows:
-vgaudio
-soneek's Wii3DSUSoundTool
-sf2comp
-cseq2midi
Place your BCSAR files inside the main folder with the script, then run it. The resulting SF2 files will be placed in the `output` folder.

The programs used are as follows:
* vgmstream
* Soneek's Wii3DSUSoundTool
* sf2comp
* cseq2midi

Thanks!
remember that this is a fork, so give the original tools some love too.
(results may vary depending on the bcsar)

Remember that this is a fork, so give the original tools some love too.

(Results may vary depending on the bcsar)
58 changes: 32 additions & 26 deletions bcsar cseq2midi protocall.bat
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
@Echo Off
FOR %%C IN (*.bcsar) DO tools\Wii3DSUSoundTool.exe %%C
FOR %%C IN (*.csar) DO tools\Wii3DSUSoundTool.exe %%C
echo put all bcseq and txt archives in root folder (the one with the bcsar files in it) and put the bcwav files in the bcwav folder
PAUSE
FOR %%C IN (*.bcseq) DO tools\cseq2midi.exe %%C
FOR %%C IN (*.cseq) DO tools\cseq2midi.exe %%C
DEL cseq2midi.log.txt
cd C:\Users\%USERNAME%\Desktop\bcsar2midi\bcwav
FOR %%a IN (*.bcwav) DO tools\test.exe -o "%%~na.wav" -L "%%a"
move *.wav C:\Users\%USERNAME%\Desktop\bcsar2midi
cd C:\Users\%USERNAME%\Desktop\bcsar2midi
FOR %%C IN (*.txt) DO tools\sf2comp c "%%C"
echo Pressing a key will delete all files used to create the midi files and soundfonts. (.txt,.bcseq,.cseq,.wav,.bcwav).
PAUSE
DEL *.txt
DEL *.bcseq
DEL *.cseq
DEL *.wav
cd C:\Users\%USERNAME%\Desktop\bcsar2midi\bcwav
DEL *.bcwav
echo The extraction process is complete! Thanks for using this tool!
PAUSE
EXIT


@ECHO OFF

SET "$WORKDIR=%~dp0"
SET "$TEMPDIR=%$WORKDIR%/tmp"

FOR %%A IN (*.bcsar;*.csar) DO (
MKDIR "%$TEMPDIR%" >NUL 2>&1

"%$WORKDIR%tools\Wii3DSUSoundTool.exe" "%%~A"

PUSHD "%%~nxA_ext"
FOR /R %%B IN (*.txt) DO MOVE /Y "%%~B" "%$TEMPDIR%" >NUL 2>&1
FOR /R %%B IN (*.bcseq;*.cseq) DO (
"%$WORKDIR%tools\cseq2midi.exe" "%%~B"
MOVE /Y "%%~B.mid" "%$WORKDIR%" >NUL 2>&1
)
FOR /R %%B IN (*.bcwav) DO "%$WORKDIR%tools\test.exe" -o "%$TEMPDIR%\%%~nB.wav" -L "%%~B" >NUL 2>&1
POPD
RMDIR /S /Q "%%~nxA_ext"

FOR %%B IN (%$TEMPDIR%\*.txt) DO (
MKDIR "%$WORKDIR%output\%%~A" >NUL 2>&1
"%$WORKDIR%tools\sf2comp" c "%%~B" "%$WORKDIR%output\%%~A\%%~nB"
)

RMDIR /S /Q "%$TEMPDIR%" >NUL 2>&1
)

ECHO.
ECHO The extraction process is complete! Thanks for using this tool!
PAUSE >NUL
EXIT /B
1 change: 0 additions & 1 deletion bcwav/Place warc files here

This file was deleted.