Jump to content

How to Encode xWMA Files


blankstate

Recommended Posts

Decided to pull this out from my Game of Thrones Cover Main Menu Theme Replacement Mod and pop it up here to get the word out!

 

The first thing you need to know is that Skyrim reads .xwm files for its audio. The only utility I was able to find that converts audio files (WAVs, specifically) into .xwm format is a utility in the Microsoft DirectX Software Developer's Kit. The SDK is around 500+ MB, so please make sure you really want to go through with this before downloading and installing.

 

The latest DirectX SDK build is from June 2010. Your Visual Basic C++ redistributable packages may be and probably are more current, and this will cause errors with the SDK's installation. You may need to uninstall your most recent or two most recent packages via Add/Remove Programs in order for the SDK installation to work.

 

Once installed, navigate (in Windows) to the directory /Program Files/Microsoft DirectX SDK (June 2010)/Utilities/bin/x86. Drop the file(s) you wish to convert in this folder. Rename them to something very simple, for example '1.wav.'

 

Go to Start -> Run -> Type CMD and hit enter. This will bring up the DOS prompt. Type cd\ to return to root directory, and using 'cd <dir>', navigate to the folder above. For instance, on my computer, I go:

 

cd program files

cd microsoft directx sdk (june 2010)

cd utilities

cd bin

cd x86

 

Once you're there, type 'xwmaencode <file.wav> <file.xwm>' For example, if I wanted to make '1.wav' into main menu music, I would type 'xwmaencode.exe 1.wav mus_maintheme.xwm'. Press 'enter' and voila, you have converted a file to .xwm format. I'm hoping someone releases a utility for this sometime in the future.

 

I'm not sure if the entire SDK is required for xWMAEncode.exe to work. I may try pulling that out later on today and seeing if it can survive standalone, in which case I will put it... Somewhere where people can download it. It'd streamline the whole process quite a bit.

 

Anyhow, hope someone finds this useful. :)

Link to comment
Share on other sites

  • Replies 47
  • Created
  • Last Reply

Top Posters In This Topic

Outstanding. Works like a charm, just as OP prescribes. blankstate is ace in my book! Now I've put town_05 from oblivion into skyrim because every single elder scrolls game I play must contain that song. I also highly recommend particular cuts from Bo Hansson's - Sagan om ringen from 1971. Lord of the rings inspired instrumental music with lots of hammond organ! Thanks!! Edited by VerticalHilarity
Link to comment
Share on other sites

Awesome thanks!

 

Now in Oblivion you just dropped music files into say, /oblivion/music/explore and the game would randomly select a file to play from that directory, be it the originals or the ones you added. But in Skyrim, you have to actually REPLACE the files with the exact name to work don't you? Or is it possible to add directories through an .esp to extend the list?

 

~Hopes that made sense~

Link to comment
Share on other sites

Awesome thanks!

 

Now in Oblivion you just dropped music files into say, /oblivion/music/explore and the game would randomly select a file to play from that directory, be it the originals or the ones you added. But in Skyrim, you have to actually REPLACE the files with the exact name to work don't you? Or is it possible to add directories through an .esp to extend the list?

 

~Hopes that made sense~

Ya...Sadly I think you do. I haven't heard any responses back from anyone about just putting it into the folder and naming it +1 like the old days

Link to comment
Share on other sites

I put the .exe on mediafire for now:

Download xWMAEncode.zip (394.19 KB)

 

It WILL NOT WORK if you don't first have Microsoft Visual C++ Runtimes installed:

Visual C++ Runtimes 32-bit (4.8 MB)

Visual C++ Runtimes 64-bit (5.5 MB)

 

 

 

I apologize in advance when, 3 months from now, someone finds this thread and the Mediafire link goes nowhere. If it's broken, download the full 500MB DirectX SDK and follow the steps in the first post of this thread.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...