Featured Post

Deus Ex - Extraction Guides (Master Post)

Deus Ex (2000) Extract Audio Extract Textures & Models Deus Ex: The Conspiracy (2002) Extract Video Deus Ex: Invisible War (2003) Extrac...

Friday 17 March 2023

Deus Ex: The Fall - Extract Audio

Note: All tools used are linked at the bottom of the post.

Convert audio using SoX (Sound eXchange)

  1. Install SoX before starting
  2. All audio files can be found (for the Steam installation for the game) in the following directory:

    Steam\SteamLibrary\steamapps\common\Deus Ex The Fall\DeusEx_steam_Data\StreamingAssets\Audio\GeneratedSoundBanks\Windows

  3. The audio is contained in the .wem files
  4. Create a .bat file matching the following command, but pointing to your extraction location of SoX - sox.exe

    cd %~dp0
    mkdir converted
    FOR %%A IN (*.wem) DO "...\sox.exe" -t raw -e signed-integer -b 16 -c 1 -r 44100 %%A "converted/%%~nA.wav"

    Example:
  5. Save the .bat file in the directory of the .wem files you want to convert and run it
  6. A command prompt window will appear showing the progress
  7. The .wem files are converted into .wav files, and can be found in a folder named “converted” in the directory of the .wem files
Note: In the .bat file command -b is Bitrate and -c is Channels and -r is Sample Rate. If these are not set correctly, the converted files can come out very strangely, such as being distorted, sped up or slowed down. Setting -c to 1 (one channel - Mono; setting it to 2 makes 2 channels - Stereo) fixes this issue for the most part, but there are a few that remain. In such an event, problem files can be opened with Audacity with the File > Import > Raw Data… function and playing around with the different settings and then this can be exported manually to .wav:

No comments:

Post a Comment