Vector_Matt
09-29-2011, 05:43 PM
Prerequisites:
Blade Kitten (of course)
quickbms.zip (from here: http://aluigi.altervista.org/quickbms.htm)
rkv.bms (also from here: http://aluigi.altervista.org/quickbms.htm)
fsbext.zip (from here: http://aluigi.altervista.org/papers.htm#fsbext)
audacity (from here: http://audacity.sourceforge.net/download/)
ffmpeg for audacity (from here: http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#installffmpeg)
This code in a file named "fsbextract.bat"
@echo off
echo Extracting files from rkv
quickbms rkv.bms common_d9.rkv
mkdir sounds
echo Done extracting. Now moving audio files. This may take a while.
for %%F in (*.fsb) do move "%%F" sounds
echo Removing non-audio files. This may also take a while.
for %%F in (*.ads) do del "%%F"
for %%F in (*.fnb) do del "%%F"
for %%F in (*.mdg) do del "%%F"
for %%F in (*.mdlb) do del "%%F"
for %%F in (*.raw) do del "%%F"
for %%F in (*.tex) do del "%%F"
for %%F in (*.bin) do del "%%F"
copy fsbext.exe sounds
cd sounds
echo Converting fsb files.
for %%F in (*.fsb) do "fsbext" "%%F"
for %%F in (*.fsb) do del "%%F"
del fsbext.exe
cd ../
echo Done. Please manually delete the *.sht files.
echo You may now convert the .wav files.
pause
If the links for rkv.bms, quickbms.zip, or fsbext.zip don't work, I've uploaded all three here: http://www.mediafire.com/?ry4dz7pxj897hyb
1. Create a folder to store the temporary files in. I named mine "blade kitten audio", but any name will work.
2. Copy the "Steam\steamapps\common\blade kitten\common_d9.rkv" file to the temporary folder. (you could extract the files while in the main Blade Kitten folder, but that would be rather messy)
3. Extract "quickbms.exe" amd "fsbext.exe" to the temporary folder from step one.
4. Run "fsbextract.bat". (Make sure it's in the same directory as the other files.) There are approximately 10,000 files in the "common_d9.rkv" file, so this step will take a while.
5. Install Audacity. (if you don't already have it on your system)
6. Install ffmpeg for audacity. (if you don't already have it on your system)
7. Manually delete the leftover .sht files (For some reason they simply aren't deleted if I have the .bat try to delete them). Delete the "common_d9.rkv" file (the copy, not the original).
8. Open one of the .wav files (from the "sounds" folder) in audacity.
9. Export the file to your prefered format. (Note, mp3 export will require the installation of lamemp3. See here for instructions/download: http://audacity.sourceforge.net/help/faq?s=install&item=lame-mp3)
Notes:
The .wav files are not standard wav files. They use the "ima_adpcm" codec. They will not be readable by other programs until you convert them to another format (such as standard Microsoft 16bit pcm wav files).
There's probably a way to automate converting the .wav files, but I don't know how (since the wav's use a non-standard codec).
This method was only tested on 32 bit Windows XP. It will probably work for other versions of Windows, but I haven't tested them.
There's also probably a way to do this on Linux using wine, but again I haven't tested it. And the .bat file would need to be replaced with a shell script. (I might work on a tutorial for Linux later, but I make no guarantees)
Edit: I have noticed that a few of the wav files won't open properly with this method. I shall look into this and see if I can figure out what's going on. In the mean time, most of the wav's do work (including almost all of the music).
Blade Kitten (of course)
quickbms.zip (from here: http://aluigi.altervista.org/quickbms.htm)
rkv.bms (also from here: http://aluigi.altervista.org/quickbms.htm)
fsbext.zip (from here: http://aluigi.altervista.org/papers.htm#fsbext)
audacity (from here: http://audacity.sourceforge.net/download/)
ffmpeg for audacity (from here: http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#installffmpeg)
This code in a file named "fsbextract.bat"
@echo off
echo Extracting files from rkv
quickbms rkv.bms common_d9.rkv
mkdir sounds
echo Done extracting. Now moving audio files. This may take a while.
for %%F in (*.fsb) do move "%%F" sounds
echo Removing non-audio files. This may also take a while.
for %%F in (*.ads) do del "%%F"
for %%F in (*.fnb) do del "%%F"
for %%F in (*.mdg) do del "%%F"
for %%F in (*.mdlb) do del "%%F"
for %%F in (*.raw) do del "%%F"
for %%F in (*.tex) do del "%%F"
for %%F in (*.bin) do del "%%F"
copy fsbext.exe sounds
cd sounds
echo Converting fsb files.
for %%F in (*.fsb) do "fsbext" "%%F"
for %%F in (*.fsb) do del "%%F"
del fsbext.exe
cd ../
echo Done. Please manually delete the *.sht files.
echo You may now convert the .wav files.
pause
If the links for rkv.bms, quickbms.zip, or fsbext.zip don't work, I've uploaded all three here: http://www.mediafire.com/?ry4dz7pxj897hyb
1. Create a folder to store the temporary files in. I named mine "blade kitten audio", but any name will work.
2. Copy the "Steam\steamapps\common\blade kitten\common_d9.rkv" file to the temporary folder. (you could extract the files while in the main Blade Kitten folder, but that would be rather messy)
3. Extract "quickbms.exe" amd "fsbext.exe" to the temporary folder from step one.
4. Run "fsbextract.bat". (Make sure it's in the same directory as the other files.) There are approximately 10,000 files in the "common_d9.rkv" file, so this step will take a while.
5. Install Audacity. (if you don't already have it on your system)
6. Install ffmpeg for audacity. (if you don't already have it on your system)
7. Manually delete the leftover .sht files (For some reason they simply aren't deleted if I have the .bat try to delete them). Delete the "common_d9.rkv" file (the copy, not the original).
8. Open one of the .wav files (from the "sounds" folder) in audacity.
9. Export the file to your prefered format. (Note, mp3 export will require the installation of lamemp3. See here for instructions/download: http://audacity.sourceforge.net/help/faq?s=install&item=lame-mp3)
Notes:
The .wav files are not standard wav files. They use the "ima_adpcm" codec. They will not be readable by other programs until you convert them to another format (such as standard Microsoft 16bit pcm wav files).
There's probably a way to automate converting the .wav files, but I don't know how (since the wav's use a non-standard codec).
This method was only tested on 32 bit Windows XP. It will probably work for other versions of Windows, but I haven't tested them.
There's also probably a way to do this on Linux using wine, but again I haven't tested it. And the .bat file would need to be replaced with a shell script. (I might work on a tutorial for Linux later, but I make no guarantees)
Edit: I have noticed that a few of the wav files won't open properly with this method. I shall look into this and see if I can figure out what's going on. In the mean time, most of the wav's do work (including almost all of the music).