⬅ Go Back to Master Guide List

<aside> 💡

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

</aside>

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

![](<https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiDyvvcFl4ypPOT2fC3gpYQEes0lndaGypizFGCT_GShewYj4Vfhv0SLzW1yFhlmloor-B0xrBZHEAg67272jSd4z6f7Wq_1P2kfPw4ghCh0TRVrjY9ODk_hnx6Sd2fz8ozaKsDT9scUic52vTQ3G9Y6np_fJwpVGfRbm6ykog3s-xPCelgsDT8qgPDw/w640-h352/esgsegsegsegs.png>)
  1. 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:

  2. Save the .bat file in the directory of the .wem files you want to convert and run it

  3. A command prompt window will appear showing the progress

  4. The .wem files are converted into .wav files, and can be found in a folder named “converted” in the directory of the .wem files

<aside> 💡

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

</aside>


Tools