The I of the Dragon

The I of the Dragon

cyanic Sep 16, 2015 @ 7:34am
Workaround/patch for background music issue
It turns out the game hardcodes to using a DirectShow filter named "MPEG Layer-3 Decoder" to do its MP3 decoding, and as this filter isn't available on DX10 and above, the game fails to play any music. This workaround hardcodes it to a different filter that comes with newer versions of Windows (MP3 Decoder DMO), and allows the music to play.

How to: Make the music work again
  1. Download[www.dropbox.com] the patch. Unzip it to the game's installation directory, and ensure that patch.cmd, bspatch.exe, and filter_change.patch are in the same directory as TheIOfTheDragon.exe.
  2. Run patch.cmd. Click Yes when Windows asks if you want to run bspatch.exe.
  3. The game will now be patched to use MP3 Decoder DMO. You can delete the unzipped files.
Last edited by cyanic; Mar 20, 2017 @ 7:42am
< >
Showing 1-15 of 24 comments
Szatesz Sep 17, 2015 @ 8:51am 
I tried it out yesterday it worked fine.
But today sudenly my comp have no sound (I tried both headset+speaker)
I deleted this ffdshow and it's ok okey so..... I don't know how to make it use properly so i cannot recomend it
cyanic Sep 17, 2015 @ 9:10am 
Weird. I've only tested it on Windows 7, so I'm not sure how it affects other versions of Windows. The better way would be to have the game use any DirectShow filter that supports MP3, but it's a bit of work rewriting the code in assembly.
LumberMiner Sep 19, 2015 @ 4:06pm 
Thank you it works fine for now :)
cyanic Jan 30, 2016 @ 11:13pm 
Just updated the patch so FFDShow is no longer necessary.

Technical explanation: it turns out newer versions of Windows does come with a MP3 decoder, except the decoder's designed as a hybrid DMO/MFT. With it also comes a new name. The good thing is the game uses the System Device Enumerator, which automatically wraps DMOs as DirectShow filters when binding, so all that was needed was a name change and fixing the pin names. Should work on Windows XP and above.

Still, why they didn't use IGraphBuilder::RenderFile() is beyond me.
P.Joe Feb 18, 2016 @ 6:15am 
Good work mate! You should contact valve and let them apply this fix :D
Atlaimond Mar 17, 2016 @ 10:35am 
I did what you’ve suggested. A black console window appeared for a half second and disappeared. I thought the patch had done. But, the music still doesn’t play.

P.S. Do you know why the game does reset the key binds all the time. I clicked ‘Apply’ but when I got back to game screen all the key binds have already reseted again.
Any idea? :sadgrim:
cyanic Mar 17, 2016 @ 6:47pm 
Did you make sure to extract all the files from the ZIP and put them in the same folder as the game's EXE?

For input mapping, there's an item about it in the fixes guide.
Atlaimond Mar 19, 2016 @ 9:14am 
Originally posted by cyanic:
Did you make sure to extract all the files from the ZIP and put them in the same folder as the game's EXE?

For input mapping, there's an item about it in the fixes guide.
Yes. See here:shaaard:[picasaweb.google.com]
cyanic Mar 19, 2016 @ 2:10pm 
Make sure what you ran was patch.cmd and not bspatch.exe. The latter requires a couple of arguments provided by the former, and will not work on its own.
Atlaimond Mar 20, 2016 @ 2:16pm 
Originally posted by cyanic:
Make sure what you ran was patch.cmd and not bspatch.exe. The latter requires a couple of arguments provided by the former, and will not work on its own.
Ohh damn, you're right. I tried to launch the exe file. I'll try again with the other cmd file.
Atlaimond Mar 22, 2016 @ 1:23am 
Originally posted by cyanic:
Make sure what you ran was patch.cmd and not bspatch.exe. The latter requires a couple of arguments provided by the former, and will not work on its own.
Yes, it works. Sorry for I was that stupid. I thouth every time the EXE file is the right file.
Lavos Mar 31, 2016 @ 5:05am 
so i tried this on Windows 7 Home Premium 64-bit...it didnt work

the music still doesnt work, yes i placed all the files in the right place AND i ran the Patch.CMD file

it gave me the same black windows console box as Altaimond except nothin else..didnt bug out the game either

the thing is, Windows didnt ASK if i "wanted to run BSPatch.exe"

so im assuming something isnt working right as it never prompts me to do that, brings up that black windows console box for a split second then it vanishes and thats it
Last edited by Lavos; Mar 31, 2016 @ 5:09am
cyanic Mar 31, 2016 @ 6:39pm 
Are you sure you extracted all the files? If you have, open a command prompt, cd to the game's folder, and run patch.cmd from the prompt. It'll allow messages, if any, to display.
Lavos Mar 31, 2016 @ 7:10pm 
i extracted everything inside the zip, so i doubt i missed any files, ill try to do it manually via command prompt and see if that works any better
Horizon Apr 4, 2016 @ 2:21pm 
It works on Windows 7 Home Premium 64-bit, but only when i changed patch.cmd:

bspatch.exe TheIOfTheDragon.exe TheIOfTheDragon1.exe filter_change.patch

and then renamed file TheIOfTheDragon1.exe to TheIOfTheDragon.exe

Thanks!
Last edited by Horizon; Apr 4, 2016 @ 2:22pm
< >
Showing 1-15 of 24 comments
Per page: 1530 50