60 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.
< >
🗦Tetrimino ⇆ 777🗧 Apr 22 @ 12:15pm 
Worked flawlessly for WinQuake. Thanks a lot!
Danbuster C Leadboot Feb 3 @ 4:08pm 
When I tried to follow this to fix my Game CD music problem, it would either tell me to insert the (already present) CD-ROM and the game wouldn't start... or it told me that _inmmserv.exe couldn't run - the game would play anyway, but as normal with CD-music playing only once
Shade Wintergaze Jan 28 @ 4:09pm 
Sadly this won't work for me no matter what. I don't even get an error to try to fix, it just stays musicless.
MarK2097 Dec 27, 2017 @ 7:39am 
For the Glquake.exe: no imports from WINNM.DLL error, you can use just the glquake.exe binary contained in this archive [www.quaketerminus.com].

It solved the problem for me.
Tonhão Oct 17, 2017 @ 5:19pm 
its work for me
but, how i make this with mission packs ?(the mission packs executable are not a .exe file)
[sorry for my bad english]
exojjl2 Jul 7, 2017 @ 1:31am 
I tried to repatch the .exe and now I'm getting a new error from the
C:\_inmm\Glquake.exe: no imports from WINNM.DLL
Is doing this suppose to be so buggy? I'm also using windows 7, which has given me nothing but problems in general since I started using it 6 months ago.
exojjl2 Jul 7, 2017 @ 1:06am 

BarkSeal9 Feb 15, 2015 @ 1:28am
If program refuse to play .ogg files go here: http://xiph.org/dshow/
Download and install "opencodecs_0.85.17777.exe"

I tried this and this also does not work.
exojjl2 Jul 7, 2017 @ 1:05am 
Won't work for me. I did everything exactly as the guide shows. I think the author missed something or messed up.
I get this:
"Cannot render C:\Program Files (x860\Steam\SteamApps\common\Quake\Id1\track02.ogg
DirectShow filter for this format is not installed. " when using the .ogg and the first track plays during the intro, how does not play during an actually game. Also tried it with MP3's and it game me no error but does not play anything.
Strogg Jun 14, 2017 @ 9:25am 
Anyone know how to do this for the mission packs?
The Machine Spirit Feb 4, 2017 @ 10:34am 
to what file should i save it to exactly?