User:Mainframe98/Audio extraction

Someday, I'll turn this into a blog.

TODO's

 * Add some instructions for other games.

BioShock Infinite
BioShock Infinite uses Unreal Engine 3.

Where's what located
BioShock Infinite has all audio logically separated. In the BioShock Infinite game folder, the game files are separated between the main game and the DLC's. The game data for the main game are located in the XGame folder. The DLC's are in the DLC folder, where DLCA is Clash in the Clouds, DLCB is Burial at Sea - Episode 1. and DLCC is Burial at Sea - Episode 2.

The file structure for DLC's and the main game are equal to each other, except that the main game has the audio files located in the folder Content. Navigating a few folders down, there will be two folders and an XML file. The XML file serves as an index to the packed files that are in the folders. The Packs folder contains all voice lines and the Banks folder contains all the sound effects. Files specific to a language are contained in their own specific folder, such as German for German voice lines. The main game might not contain all languages; to access a specific language requires adjusting the game language in Steam.

How to extract
Use Riveal: (http://www.rshayter.com/riveal/). Riveal requires that Java is installed.

Riveal might not always find files. In that case, you'll need to point Riveal to a more specific folder. For example, if you wish to extract the sound effects for Clash in the Clouds, you should point Riveal to BioShock Infinite\DLC\DLCA\Audio\Packed\Windows.

XML Index file
A lot of files just have numerical names, such as 1008858888.wav, which are not helpful. The XML files list a name property for these files, that clarify (somewhat) what the audio file is about.