Join also our Discord channel! Click here.

Extracting Bloodborne audio files and could use some Insight!

Get help on any and all audio formats, or chip in and help others!
Post Reply
Rozekail
ultra-n00b
Posts: 8
Joined: Fri Dec 01, 2017 12:55 am
Has thanked: 4 times

Extracting Bloodborne audio files and could use some Insight!

Post by Rozekail » Sat Aug 29, 2020 2:11 pm

As the title says, I'm currently going through and extracting all of the audio from Bloodborne's Game of the Year disc. However, I've run into two snags. The first of which being that I have a batch file which automates extracting .wav from the .at9 files, and then .mp3 from .wav, if I so choose. However, in order to get to the .at9 files, I have to run each .fsb by dragging it onto getfsb.exe. I'd like to implement getfsb.exe into this batch file so that I can simply run it and take the file all the way from .fsb>.at9>.wav in one sweep. My issue is that I can get it to run getfsb.exe, but it seems to be waiting for some other input, as it doesn't extract anything, just opens the command prompt and lists some info about getfsb.exe, never progressing. Now normally, you can't run getfsb.exe without dragging a .fsb file onto it, so I'm guessing that interaction is somehow neessary, but I have no idea how you'd script that interaction in a batch file. I'll post the script below in case it's an easy fix. The only section I've added is the ":2at9" section, the rest is part of the pre-made convert-all batch file.

Code: Select all

setlocal

set /p input=Choice:
echo.
if %input%=="" goto finish
if %input%==1 echo Running option 1... & goto 2wav
if %input%==2 echo Running option 2... & goto 2mp3
if %input%==3 echo Running option 3... & goto 2wav
if %input%==4 echo Running option 4... & goto 2at9

goto finish

:2wav

echo.

for %%a in ("*at9") do (
  echo Converting %%a to wav in current directory...
  at9tool.exe -d "%%a" "%%~na.wav"
  echo.
)

if %input%==1 goto finish

:2mp3

for %%a in ("*.wav") do (
  echo Converting %%a to mp3 in current directory...
  ffmpeg -y -i "%%a" -ab 320k "%%~na.mp3"
  echo.
)

:2at9

echo.

for %%a in ("*fsb") do (
  echo Converting %%a to at9 in current directory...
  getfsb.exe -d "%%a" "%%~na.at9"
  echo.
)

if %input%==4 goto finish

endlocal

:finish

echo Finished.
echo.

pause

exit
My second snag is that for some reason, there are a few .fsb files that will still yield .at9 files, but when converted to .wav, they're all unusable 0kb .wav files, and I'm not entirely sure why. If someone else that knows more than I do has any Insight on either of those issues, I'd greatly appreciate it. Just let me know if you need any more info, or the tools themselves. Thanks in advance!

User avatar
DKDave
mega-veteran
mega-veteran
Posts: 185
Joined: Mon May 06, 2019 6:07 pm
Has thanked: 1 time
Been thanked: 66 times

Re: Extracting Bloodborne audio files and could use some Insight!

Post by DKDave » Sat Aug 29, 2020 11:58 pm

I think there's a simpler way to solve your issue. If you download Foobar2000 and the vgmstream plugin, you should be able to drop all the .fsb files into Foobar and then convert them all in one go, to .wav or .mp3.
"Each person is born with their fate written into their own genetic code. It's unchangeable, immutable. But that's not all there is to life." - Dr. Naomi Hunter

Rozekail
ultra-n00b
Posts: 8
Joined: Fri Dec 01, 2017 12:55 am
Has thanked: 4 times

Re: Extracting Bloodborne audio files and could use some Insight!

Post by Rozekail » Sun Aug 30, 2020 12:02 am

I'll definitely give it a shot! I appreciate it. I'll let you know how it goes tonight.

spennser
ultra-n00b
Posts: 6
Joined: Fri Dec 30, 2016 6:12 am
Has thanked: 1 time

Re: Extracting Bloodborne audio files and could use some Insight!

Post by spennser » Mon Sep 07, 2020 10:46 am

did you have any luck? thanks!
Rozekail wrote:
Sun Aug 30, 2020 12:02 am
I'll definitely give it a shot! I appreciate it. I'll let you know how it goes tonight.

Post Reply