Skip to content

64-bit version

Latest
Compare
Choose a tag to compare
@lilggamegenius lilggamegenius released this 11 Apr 01:41
9876b83

This is a 64-bit release of the original driver with very minor modifications which can be found here.

Installation

Since this was only a quick and dirty hack to let me use FL Studio 21 which is only 64-bit, the install requires the original driver and config tool, plus some registry edits.

64-bit programs only - No 32-bit program support

If you only plan on using the 64-bit driver and don't need 32-bit support, simply replace the old dll with this file.

64-bit and 32-bit programs

To support both, registry edits will be needed.
Open regedit and enter this path into the address bar
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32
find the midi key that contains MDMidiDrv.dll (most likely midi1) and change the path to point to wherever you downloaded the 64-bit dll.

Why the driver gets uninstalled randomly on Windows 10+

Starting with Windows 10 (maybe earlier) microsoft decided to fix what wasn't broken and remove audio drivers that aren't installed a certain way, and it requires getting your driver signed which costs hundreds of dollars. This is a workaround to let this driver, and others, actually stay installed

Making the changes stick

To make the driver stay, you'll need to go to these two paths in regedit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Drivers32
and follow the following steps for each

  1. Right click on the Drivers32 folder and go to permissions > Advanced
  2. Remove inheritance if its inheriting
  3. Remove all entries with "Full access", leave the ones with "Read"
  4. Set owner to be your user. On the box that shows up, put in the same username as your user profile folder name (the one in C:\Users)

Once you do that for both folders, you should be all set.

Troubleshooting

Long file paths

If your registry keys are set correctly but the driver is still not loading, the file path may be too long. Windows's midi system is very sensitive to path length so it's recommended to have your path be around 40 characters or less. I recommend something along the lines of
C:\mid2smps_MidiDrv\MDMidiDrv64.dll to ensure path lengths aren't the issue.