68 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
NOTE: This guide was written for players who wish to use the vanilla Quake executables distributed on Steam. Many Quake sourceports already support playing external music files, and there is a wonderful guide for those available here on Steam:

Quake Soundtrack Solutions

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.
< >
QWEEDDY2 Dec 29, 2019 @ 12:31pm 
Isn't it Windows 7 implement that "security" features?
OpenRift Dec 8, 2019 @ 3:48pm 
Surprised it took me this long to find this solution, but how do you get it working with the mission packs?
whatsawingedhorse Nov 28, 2019 @ 6:13pm 
Does anyone still have ZerTerO's ogg playback versions of GLQuake and Winquake?
Lone Wolfe (Hoover1979) Oct 22, 2019 @ 6:48am 
Is this issue still present on Windows 10? I had the issue on Windows 7 and it affected every single game that used CD Audio for the soundtrack.
Maltz Aug 5, 2019 @ 4:25pm 
This actually works for Q2. :hype:
Maltz Jun 28, 2019 @ 6:11pm 
Should update this guide to include Win10. Yes, it does work for it well!
Brennan Jun 2, 2019 @ 11:38am 
Use this link here [community.pcgamingwiki.com] for the _inmm.
Crackers0106 May 1, 2019 @ 3:48am 
Geocities is dead, anyone have a new link?
Disk Poppy Jan 14, 2019 @ 5:13am 
thank you! that's what i was looking for. worked for me.
Tetrimino⁷7⁷ Apr 22, 2018 @ 12:15pm 
Worked flawlessly for WinQuake. Thanks a lot!