46 ratings
How to fix CD audio looping on Windows Vista/7
By Dragonsbrethren
Windows Vista made changes to MCI which prevents the vanilla Quake executables from looping CD music properly. This guide walks you through patching your copy of Quake to play external music files using DirectX instead.
Patching your Quake executables
Rip your Quake CD-ROM
You will either need to rip the music from your Quake CD-ROM (or another CD you wish to use for music) or download music from the internet. RIpping to MP3 is the safest bet, however you should be able to play back other formats like OGG Vorbis as well.

Obtaining _inmm.dll
Please download _inmm.dll Ver 2.38 from the following website:


Note: This website is in Japanese, but the link to download is in English.

When your download completes, open the zip file and run _inmm238.exe. Make note of the folder you install to as you'll need to know it for the next step.

Patching Quake
Copy winquake.exe, glquake.exe, or one of the Quakeworld executables from your Quake folder (by default this is C:\Program Files (x86)\Steam\steamapps\common\Quake) to the folder where you installed _inmm.dll. Drag and drop each executable you wish to patch onto _inmmconf.exe. The executables will automatically be backed up to .old files. Copy the patched executables back to your Quake folder.

Configuring _inmm.dll
When you're done patching, run _inmmconf.exe by itself. A configuration window will open. On the method tab, change default to use DirectShow.

On the _inmm.ini tab, you can use a GUI to select the ripped tracks you wish to have Quake play. You do not need to include a blank track for the data track from the CD.

When you're done making your _inmm.ini, save it to your Quake folder. The next time you launch Quake, the music should play and loop properly without having a CD in your drive. This guide can be used for other Quake engines (source ports) which do not have support for playing external music and should work with any game that uses MCI to play music.
< >
Strogg Jun 14 @ 9:25am 
Anyone know how to do this for the mission packs?
The Machine Spirit Feb 4 @ 10:34am 
to what file should i save it to exactly?
RangerXT Jan 18 @ 7:10pm 
So what do we do if we want to do this for mission packs?
Lifeisverystrangeindeed! Nov 23, 2016 @ 1:59pm 
does this work with GLQuake 0.98?
Tonio Aug 14, 2016 @ 12:05pm 
looks like strange method but works well ;)
Starman Jul 11, 2016 @ 3:30pm 
Author, you're the best! Thank you so much.

@Officer Spencer, are you sure you changed it from Winamp to Direct Show in the dll phase?
Grampa Walker Jul 6, 2016 @ 4:23am 
Okay, so I managed to successfully patch the Winquake.exe, and I made an _inmm.ini file with all of the OGG tracks in it, but whenever I start up Quake I get a dialog box saying

"_inmmserv (ERROR)
Can't find Winamp."

Followed by another dialog box telling me an error log was made for _inmm.dll after I close Quake. I have absolutely no clue what to do about this, and considering ZerTerO's link no longer works, I really don't have a work around to get this game playing music easily. Do you have any possible idea how I could fix this somehow?
Phoobie Jun 27, 2016 @ 6:24pm 
OGG's work fine provided you have the right codec for them.
MP3's restart 45 seconds in so you don't get the full enjoyment from the soundtrack.
Ankon Apr 18, 2016 @ 8:11am 
Excellent! Works like a charm, ripped my Quake CDs in .wav format (with modern HDDs space is not a problem anymore) and enjoy the games with 100% CD sound quality. Thank you very much for the guide!
Dragonsbrethren  [author] Mar 1, 2016 @ 11:26am 
Sorry, I'm not sure what could be causing that, although if ZerTerO's comment is accurate, they've updated the exes since I wrote this guide. They definitely didn't support ogg playback out of the box when I wrote it.