80 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.
ZerTerO Oct 26, 2022 @ 3:11pm 
Hi. You can now find my file (solution for playing ogg files) here:

Fireryhell Sep 12, 2021 @ 4:07am 
Does anyone know how to do this for the mission packs?
:::... FulVal85 [LMHT] ...::: Mar 2, 2021 @ 1:52am 
Someone in gog forum says that ffdshow can be needed to fix that Directshow problem...
Without it there is an error about Directshow (i was playing Hexen II that has the same issue) i don't know if that program can fix that error... I post a feedback today to Microsoft about this bug
Nuclear Kangaroo Jul 2, 2020 @ 7:20pm 
excellent guide my dude, for the longest time i thought Quake didnt have music
broccoli May 27, 2020 @ 12:03pm 
The link in the post doesn't work, there is a mirror on pcgamingwiki.com but I found original here https://cryo.jp/_inmm/
ManedManRicky Apr 15, 2020 @ 1:19am 
I tried this and it works for the base game and mission pack 1. I've tried it on number two, but it says "Directshow filter for this format is not installed". Going back to the first two; They worked fine when done separately, but doesn't work when both _inmm.ini files are in the quake directory. When I choose the base game, it chooses the first .ini file, in this case the base game one. When I choose to play mission pack 1, it chooses the first .ini file, in this case the base game one and playing the wrong music. I am not sure if I can do anything about this. If there is any fix that doesn't involve changing the vanilla quake.exe to some modded one.
λntekpjk Apr 2, 2020 @ 3:59am 
What format should the patched Winquake have? Winquake.org? It doesn't work for me with both .OGG and MP3.
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?
what'sawingedhorse Nov 28, 2019 @ 6:13pm 
Does anyone still have ZerTerO's ogg playback versions of GLQuake and Winquake?