Aller au contenu

Photo

Extracting DA2 sound files


  • Veuillez vous connecter pour répondre
Aucune réponse à ce sujet

#1
katiebour

katiebour
  • Members
  • 232 messages
 Hello everyone!  I'm working on extracting sound files from DA2- I have the pyGFF editor and have no problems using it to export either the 
wwisebanks__campaign_base.erf or the 
wwisestreams__campaign_base.erf files in

Dragon Age 2/modules/campaign_base/audio/vo/en-us/vo

I'm assuming that's where the voice-overs are stored.  However, I can't find a .bnk editing utility that will unpack the .bnk files (the ones I've tried error out) and when I try the streams I can't find a player or a converter that can handle the .ogg files.

**************

This is the error VLC gives me when I try to play the .ogg files:

No suitable decoder module:
VLC does not support the audio or video format "undf". Unfortunately there is no way for you to fix this.

And this is the error that foobar gives me:

Unable to open item for playback (Unsupported format or corrupted file):"C:\\Documents and Settings\\Administrator\\Desktop\\files\\1000139555.ogg"

My .ogg converter gives me the following message:
Failed to add the following files.  The converter might not support the file type or might not support the codec that was used to compress the file.

****************

It sounds like a codec issue.  If anyone can point me to the codec used in da2 sound files, that'd be great <3

Any pointers to utilities that can unpack/convert/play these files would be greatly appreciated.  Thanks very much!

*****************

Edit:  My friend Impressioniste gave me the following info- posting here and trying now.  Hopefully this helps anyone else needing to know how to extract and convert the files:

I’m posting this publicly just in case it might be useful to anybody else, since I’ve been asked a couple of times and I’m not sure how much my answer will help:The quick answer is that it’s kind of complicated. And tedious. But I’ll do the best I can to try and explain.First, you’ll need to download some programs.

pyGFF
ww2ogg

Then, you need to find your Dragon Age II main folder, which is usually somewhere like C:\\Program Files\\Dragon Age 2[/i] or C:\\Program Files (x86)\\Dragon Age 2[/i]Then you need to locate the source audio bank files to open in pyGFF. The main one with most of the stuff in it for the primary base ‘vanilla’ game (not any DLCs) is in the main folder, located under‘modules\\campaign_base\\audio\\vo\\en-us\\vo\\wwisestreams__campaign_base.erf’[/i]The DLC .erf audio bank files are in different places (look in the ‘addins’ folder and you can find them with some rooting around).Once you know where the files you want are located, open up the gff editor, and you’ll need to click ‘extract all’ from the menu. Open the file, and wait. It’ll prompt you to extract to a folder, pick where you want, and wait some more. It’s going to be extracting tens of thousands of files for the main bank, or a couple thousand if you’re doing a DLC file.

Once you’ve got that done, you’ll have a folder full of randomly named .ogg files, but you won’t be able to do anything with them until you convert them.Use ww2ogg to convert the files. I have a script that I found to save to a .bat file so that it will batch convert them all, otherwise you have to do it manually. You can create this .bat yourself if you open up a notepad document and paste [FOR %%a in (*.ogg) do ww2ogg “%%a”[/b]] (without the brackets) into the document and save it as a .bat file.Make sure the .bat file is in the same folder as all your audio files, and extract all the ww2ogg files into the same folder. Then, click the .bat file. It should convert everything. The ones that have ‘_conv’ at the end are the files you want. Then you’ll have to delete the originals.

You’ll be left with an epic ****ton of files that you’ll need to sort through, that aren’t in any kind of order. You’ll also need to convert them to .wav or .mp3 files yourself to use them most places, like to upload them or use them as ringtones.


Modifié par katiebour, 14 mars 2012 - 11:07 .