Converting the WEM files is not so difficult, you can do this with ww2ogg.
However, I am not sure why you want to get those files. Most of the soundtrack is already on YouTube, and the remaining pieces are either background music or music from the Star Wars movies / KotOR games. The beautiful pieces that contain an actual melody are online.
And the file names in SW:TOR are terrible; you just have hundreds of files like /resources/bnk2/streamed/1004295821.wem
and don't know what kind of music is in them.
Anyway, here's a noobish step-by-step guide; I hope it's not too simple for you: Guide to identifying audio files in SW:TORStar Wars: The Old Republic
uses three kinds of audio files: .bnk, .acb and .wem files. The first two file types are archives, a.k.a. they contain .wem files. The .wem files are just sound files in a special format developed by Wwise
Depending on which files you have, pick the appropriate guide below.
If you have a different file extension, or are unsure which file you have, follow these steps:1.
If you do not have a hex editor, download HxD
, and open your file in this program.2.
Look at the first bytes at the beginning of the file. These will tell you which file you have:
If the file starts with BKHD
, you have a *.bnk
file. These files contain sound effects, like blaster fire, steps, wind effects, etc.
If the file starts with RIFF....WAVEfmt
, you have a *.wem
file. These are the files that contain the soundtrack, a.k.a. the music.
If bytes #5-9 are zeros (00 00 00 00
), then you have a *.acb
file. These files contain dialogue, i.e. spoken words.Guide: Converting .bnk to .wem1.
Go to the folder where you have your .bnk files stored.2.
. You may need to click on the bold link on that Russian page if the download does not pop up immediately.3.
Extract the zip archive and copy bnkextr.exe
to your .bnk folder.4.
Now drag a .bnk file and drop it onto bnkextr.exe
. Beware: A .bnk archive may contain hundreds of .wem files, so do this one file at a time.5.
In the folder, you will now find a few .wav files. These are actually .wem files; the bnkextr program just uses an older file extension.6.
Create a new text document in this folder, rename it to extensionChanger.bat
. Open this .bat file with notepad, then copy & paste the following line. Then save and close Notepad.
ren *.wav *.wem7.
In the folder, double-click on the .bat file. Your .wav files will now be renamed to .wem files. You can now follow the steps below to convert the .wem files to .ogg files.Guide: Converting .acb to .wem1.
Go to the folder where you have your .acb files stored.2.
Create a new text document in this folder, rename it to convert.bms
. Open this .bms file with notepad, then copy & paste the following lines. Then save and close Notepad.
get numberOfFiles longlong3.
for i = 0 < numberOfFiles
get fileName string
get fileSize longlong
get fileOffset longlong
log fileName fileOffset fileSize
, copy quickbms.exe in your *.acb folder and run it.4.
In the open file dialogue, select your convert.bms
file. In the second dialogue, select a .acb file or enter ""
to convert all .acb files in the folder.5.
Select the output folder.6.
QuickBMS will now convert all .acb files to .wem files. See below on how to convert these files to .ogg files.Guide: Converting .wem to .ogg1.
Go to the folder where you have your *.wem files.2.
. Extract the ZIP archive. Then copy ww2ogg.exe
into the folder with your *.wem files.3.
Now create a new text document in this folder, rename it to convert.bat
. Open this .bat file with notepad, then copy & paste the following lines. Then save and close Notepad.
for %%f in (*.wem) do ww2ogg.exe %%f --pcb packed_codebooks_aoTuV_603.bin4.
for %%f in (*.ogg) do revorb.exe %%f
In the folder, double-click on the .bat file. Now you will find—in addition to your .wem files—.ogg files in the folder. These files can be played in any .ogg player. I recommend foobar2000
as it is easy to create playlists there, but any other programs (except Windows Media Player) will work as well.