Note: All tools used are linked at the bottom of the post.
Convert audio using SoX (Sound eXchange)
- Install SoX before starting
- 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
- The audio is contained in the .wem files
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:
Save the .bat file in the directory of the .wem files you want to convert and run it
A command prompt window will appear showing the progress
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:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSrvQn74mwUIQmrZmzArGdgcGrbXiwoexdJnfQsA5BxaFpL6Wrg1DVfprIAluCTwjISFPAAlIw4kYtoGNppeFl3FruUatW3NAnw73oGYuiMSs59sjErl2GQm4C9H1Xw9wrlSa8aCc0I3bT_iP60rxU5CWQVd0RYjEwAZ5nVTE_WSjZMgT9f_TM8L_FSg/w640-h512/awfawfawfaw.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSiMv98KUhN0xGZonVYlRhlZgCWLYD1ET77mx5FlZ2-_M3TzvVYu9gVBYLH7d9iK69vQB77OqTilYZI82h58kgb3eykBYFGqdIj_Vu3Zxq-cxYLdpOygtOhQFmuu7-2TYQnXs3ztwrdxnoOTZk4yqH_bEudwwlqcm26zkbEXb1JPb3OH_QYhqMFzwm-g/s16000/segsegsegse.png)
Tools
No comments:
Post a Comment