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:
- Download the DirectX redistributable
- Unpack it
- Unpack dxnt.cab
- In dmusic.inf, search and replace “HKCR,” with “HKCR,Wow6432Node\”
- Install the edited dmusic.inf (from the right-click menu)
- Copy missing DLLs (dm*.dll) to %WINDIR%/SysWOW64.
That’s it! The same method could work for other DirectX components as well.