Skip to content

Instantly share code, notes, and snippets.

@kode54
Created January 7, 2015 05:09
Show Gist options
  • Save kode54/7260679f404b784e4f73 to your computer and use it in GitHub Desktop.
Save kode54/7260679f404b784e4f73 to your computer and use it in GitHub Desktop.
How to install DirectSound audio effects in Wineskin for OpenMPT
1. Acquire dsdmo.dll and msdmo.dll from a copy of Windows. This may include up to Windows 8.1,
or possibly even Windows 10. You want the 32-bit versions, so if you're working with a 64-
bit version, you want the ones from the SysWOW64 directory.
2. Copy them in Finder, or prepare to do this in a Terminal prompt if you wish.
3. Open Package Contents on the OpenMPT.app Wineskin bottle.
4. Drill into the drive_c shortcut, or go the long way, through Contents/Resources.
5. Drill deeper, into windows/system32.
6. Copy the two DLL files here, overwriting as necessary.
That's just the preparation. Now you need to make it actually register with the bottled system, so:
1. Open the Wineskin.app inside the OpenMPT.app package.
2. Click the Advanced button.
3. Navigate to the Tools tab.
4. Click the Command Line Shell button.
5. From the cmd.exe prompt which opened, and should be navigated to C:\windows\system32,
run the command: "regsvr32 dsdmo.dll", and observe a successful registration.
6. Now "exit" the command prompt.
There, now the full compliment of DirectSound effects should work from OpenMPT.
For future reference, all non-Windows versions of Ian Luck's BASS library (libbass) implement
their own version of these stock effects internally. Only the Windows bass.dll requires dsdmo.dll
to be registered in a system for the effects to work, so keep this in mind when using effects
for things like games, where you may be using BASS for music playback. If you don't port to
other operating systems, people will need to use these steps to hear the effects in their Wine
setups.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment