Monthly Archives: July 2011

Fixing DirectMusic on some 64-bit Windows versions

If you’re getting error messages such as “No sound device detected. Sounds might not play.” or “Failed to create Direct Music Performance.” when running Game Maker games, the following may help you. Here’s what I did to fix them on my system:

  1. Download the DirectX redistributable
  2. Unpack it
  3. Unpack dxnt.cab
  4. In dmusic.inf, search and replace “HKCR,” with “HKCR,Wow6432Node\
  5. Install the edited dmusic.inf (from the right-click menu)
  6. Copy missing DLLs (dm*.dll) to %WINDIR%/SysWOW64.

That’s it! The same method could work for other DirectX components as well.