CD audio missing - my research [fixed!]

Getting old Windows games working.

CD audio missing - my research [fixed!]

Postby VirtuaIceMan » 2015-6-04 @ 00:18

I've just been Process Monitor-ing a few games where the CD audio fails to play, in particular:
- Sentinel Returns
- Mad Trax
- NASCAR Racers
- Nelson Piquet's Grand Prix Evolution

All of these share the same method of trying to call the CD audio, looking for both of the following:

HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\MCI32\cdaudio (in Process Monitor you get BUFFER OVERFLOW then SUCCESS)

HKLM\SYSTEM\CurrentControlSet\Control\MediaResources\mci\cdaudio\unit 0 (in Process Monitor you get REPARSE then NAME NOT FOUND)

This latter path doesn't exist in Windows XP, you have to go back to Win98 to find it. The registry key it has, back in Windows98 is:
Code: Select all
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\MediaResources\mci\cdaudio]
"Description"="CD Audio Device (Media Control)"
"Driver"="mcicda.drv"
"Disabled"="0"


I tried moving (optimistically) mcicda.drv over to Win8.1, and even installing that Registry path, but still not much happened. The .drv file might even be 16bit, so may just not work in later Windows, I'm not sure about that, either!

Anyone else can have a look into this too, if they want. I may have a play with _inmm.dll, to see if that helps, but I'm not sure it will, as the error for these might be different (or it might not be?!).

Anyway, that's my starter for now. More research is needed...
Last edited by VirtuaIceMan on 2016-9-29 @ 00:11, edited 1 time in total.
My PC spec: Win8.1, i7-4970K (not overclocked) MSI Nvidia GeForce GTX 980, Creative Soundblaster ZXr, 16GB RAM, Asus Z97-A motherboard, NZXT 410 case, ROG Swift GSYNC monitor
User avatar
VirtuaIceMan
Oldbie
 
Posts: 850
Joined: 2003-12-22 @ 00:57

Re: CD audio missing - my research

Postby DosFreak » 2015-6-04 @ 04:19

If it's in the SYSTEM directory then it's 16bit and I think I remember putting that in win.ini so yeah 16bit.
Game Acronym List
DosBox CVS Builds
DosBox Feature Request Thread
DosBox FAQ
PC Game Compatibility List
"Who's got time to read all the way down to the bottom of an email?"
User avatar
DosFreak
l33t++
 
Posts: 9540
Joined: 2002-6-30 @ 16:35
Location: Your Head

Re: CD audio missing - my research

Postby VirtuaIceMan » 2015-6-04 @ 10:57

So, the question is, whether there's a workaround and/or if _inmm.dll does anything for these sort of issues, or not.
My PC spec: Win8.1, i7-4970K (not overclocked) MSI Nvidia GeForce GTX 980, Creative Soundblaster ZXr, 16GB RAM, Asus Z97-A motherboard, NZXT 410 case, ROG Swift GSYNC monitor
User avatar
VirtuaIceMan
Oldbie
 
Posts: 850
Joined: 2003-12-22 @ 00:57

Re: CD audio missing - my research

Postby VirtuaIceMan » 2015-6-04 @ 14:44

Actually, the last 3 all had CD audio in WinXP, so I think I need to check how they did that on that...
My PC spec: Win8.1, i7-4970K (not overclocked) MSI Nvidia GeForce GTX 980, Creative Soundblaster ZXr, 16GB RAM, Asus Z97-A motherboard, NZXT 410 case, ROG Swift GSYNC monitor
User avatar
VirtuaIceMan
Oldbie
 
Posts: 850
Joined: 2003-12-22 @ 00:57

Re: CD audio missing - my research

Postby DosFreak » 2015-6-04 @ 17:02

32 or 64bit XP? Possibly they used NTVDM but I'm just assuming.
Game Acronym List
DosBox CVS Builds
DosBox Feature Request Thread
DosBox FAQ
PC Game Compatibility List
"Who's got time to read all the way down to the bottom of an email?"
User avatar
DosFreak
l33t++
 
Posts: 9540
Joined: 2002-6-30 @ 16:35
Location: Your Head

Re: CD audio missing - my research

Postby ZellSF » 2015-6-04 @ 18:00

My research:

Sentinel Returns (btw, Google string "sentinel returns cdda"):
http://www.old-games.ru/forum/showthread.php?t=51778

Mad Trax:
http://punkrockhacker.blogspot.no/2014_ ... chive.html
Shadows of the Empire works the same as Mad Trax, Mad Trax has broken looping with this though. Suppose a nasty workaround if you don't have the skills to modify ogg-winmm would be to just modify the ogg files themselves to loop.

Haven't looked into the two others. Really need a more complete winmm wrapper :(
ZellSF
Oldbie
 
Posts: 947
Joined: 2006-1-01 @ 18:19

Re: CD audio missing - my research

Postby ZellSF » 2015-6-05 @ 14:29

Further research:

Nelson Piquet's Grand Prix Evolution
NASCAR Racers

Both work with the ogg-winmm with mci_close commented out made for SOTE. No looping issues either.

Random note: using the latest version of _inmm isn't always optimal. LayerSection requires 2.37 or less or it has really annoying pauses when switching music tracks.

I don't think I've found any game I want to play with unsolvable CDDA issues in Vista+.
ZellSF
Oldbie
 
Posts: 947
Joined: 2006-1-01 @ 18:19

Re: CD audio missing - my research

Postby Gamecollector » 2015-6-05 @ 16:48

You need more game names with killed CDA in WinXp/Vista?
Beast Wars: Transformers
Deathtrap Dungeon
Frogger
Hardcore 4x4
Metal Fatique
Asus P4P800 SE/Pentium4 3.2E/2 Gb DDR400B,
Radeon HD3850 Agp (Sapphire), Catalyst 14.4 (XpProSp3).
Voodoo2 12 MB SLI, Win2k drivers 1.02.00 (XpProSp3).
User avatar
Gamecollector
Oldbie
 
Posts: 1289
Joined: 2010-10-06 @ 22:17

Re: CD audio missing - my research

Postby ZellSF » 2015-6-05 @ 18:25

Not sure about the rest, but Frogger works fine with the SOTE fix for ogg-winmm.

Metal Fatigue works fine in _inmm, but I heard there was some delay in switching tracks, I need to try that as I want to play that game someday.
ZellSF
Oldbie
 
Posts: 947
Joined: 2006-1-01 @ 18:19

Re: CD audio missing - my research

Postby collector » 2015-6-05 @ 19:01

I know someone with XP that gets no CDA with Hunter Hunted. No problem on my Win7, but _inmm does not seem to work with it for ripped tracks.
User avatar
collector
l33t
 
Posts: 4036
Joined: 2003-1-15 @ 10:39

Re: CD audio missing - my research

Postby ZellSF » 2015-6-05 @ 22:00

Isn't Deathtrap Dungeon on GoG? Shouldn't that have proper CDDA? I don't care about the game so I'm not investing the money to find out.
collector wrote:I know someone with XP that gets no CDA with Hunter Hunted. No problem on my Win7, but _inmm does not seem to work with it for ripped tracks.

Probably just either not using the first drive letter or a warez copy without the CDDA tracks. Or the CDDA volume mixer is set to 0, maybe the game even does it.
ZellSF
Oldbie
 
Posts: 947
Joined: 2006-1-01 @ 18:19

Re: CD audio missing - my research

Postby collector » 2015-6-06 @ 01:09

Knowing this guy it is definitely a legit copy. Can't say about the drive assignment letters, but I would doubt that he would know how to do so. Though I suppose he might have more than one CD drive and is using the 2nd one.
User avatar
collector
l33t
 
Posts: 4036
Joined: 2003-1-15 @ 10:39

Re: CD audio missing - my research

Postby ZellSF » 2015-6-08 @ 18:24

So. Metal Fatigue. Interesting case. CDDA track switching is broken as hell. So I boot it in DOSBox-daum and it's STILL broken as hell.

I wonder if it never worked properly. Anyone ever got it to? I don't mean just music working, but the title screen starting music playback instantly, the game starting music playback instantly, combat music kicking in instantly whenever there's combat, main theme starts instantly when exiting to menu...

Should try PCem next.
ZellSF
Oldbie
 
Posts: 947
Joined: 2006-1-01 @ 18:19

Re: CD audio missing - my research

Postby VirtuaIceMan » 2015-6-22 @ 23:13

Cool, that Sentinel Returns fix works a treat!

However someone should tell that Russian site/person there's a much easier fix for the music in Boss Rally; it's actually detailed in the game's ReadMe.txt file - the line in bold is needed in the ini file:

BossRally.ini
-------------

You can change the behavior of Boss Rally by using a text editor to add lines
to the BossRally.ini file.

Don't interpolate display (reduce input lag):
Interpolate=0

Smooth out display using interpolation (default):
Interpolate=1

Don't play music:
PlayMusic=0

Play music using Windows MCI:
PlayMusic=1

Play music using EAR (default):
PlayMusic=2

Don't play sound effects:
PlaySFX=0

Play sound effects (default):
PlaySFX=1
My PC spec: Win8.1, i7-4970K (not overclocked) MSI Nvidia GeForce GTX 980, Creative Soundblaster ZXr, 16GB RAM, Asus Z97-A motherboard, NZXT 410 case, ROG Swift GSYNC monitor
User avatar
VirtuaIceMan
Oldbie
 
Posts: 850
Joined: 2003-12-22 @ 00:57

Re: CD audio missing - my research

Postby VirtuaIceMan » 2016-9-24 @ 23:05

ZellSF wrote:Further research:

Nelson Piquet's Grand Prix Evolution
NASCAR Racers

Both work with the ogg-winmm with mci_close commented out made for SOTE. No looping issues either.

Random note: using the latest version of _inmm isn't always optimal. LayerSection requires 2.37 or less or it has really annoying pauses when switching music tracks.

I don't think I've found any game I want to play with unsolvable CDDA issues in Vista+.


This might be the longest-time-to-reply-to-this that I've yet done...

So it is possible to get CD audio in Mad Trax, Nelson Piquet and NASCAR Racers? I DO have CD audio in Shadows Of The Empire, which is a bit of a mess of patches etc, as I'm running Windows 10 now (which I believe causes some versions of the modified winmm.dll files to not work properly?).

Anyway, long story short, as I'm not skilled enough to modify and compile the GIT sources, can someone explain in simple terms how I can return CD audio to those games, whether I use the OGG or WAV versions; where can I get pre-compiled binaries that work?

p.s. Beam Breakers also has no CD audio; that on even Play-Old-PC-Games.com couldn't solve yet: http://www.play-old-pc-games.com/2014/0 ... -breakers/
My PC spec: Win8.1, i7-4970K (not overclocked) MSI Nvidia GeForce GTX 980, Creative Soundblaster ZXr, 16GB RAM, Asus Z97-A motherboard, NZXT 410 case, ROG Swift GSYNC monitor
User avatar
VirtuaIceMan
Oldbie
 
Posts: 850
Joined: 2003-12-22 @ 00:57

Re: CD audio missing - my research

Postby VirtuaIceMan » 2016-9-26 @ 21:02

Really not having much luck; I tried transferring the files that make up the SOTE winmm variant (which works) into the other games folders (Mad Trax or Piquet) along with the MUSIC folder of ogg files (Star Wars music, but for testing it shouldn't matter, right?), and... nothing, not a peep. No music.

Note: this is using the updated Win10 compatible version of WINM0.dll for SOTE, not the original one.

Help me ZellSF! Or anyone else!
My PC spec: Win8.1, i7-4970K (not overclocked) MSI Nvidia GeForce GTX 980, Creative Soundblaster ZXr, 16GB RAM, Asus Z97-A motherboard, NZXT 410 case, ROG Swift GSYNC monitor
User avatar
VirtuaIceMan
Oldbie
 
Posts: 850
Joined: 2003-12-22 @ 00:57

Re: CD audio missing - my research

Postby Myloch » 2016-9-26 @ 21:33

I'll add another game to the list: Asuka 120% burning fest return, cdda not working on xp or newer (mute music), unless you use _inmm tool.
I wonder how many methods existed to play cdda tracks.
This game has a fade out effect when you skip scenes or when you win matches, it's the first time I notice this in a cdda game.
"Gamer & collector for passion, I firmly believe in the preservation and the diffusion of old/rare software, against all personal egoisms"
User avatar
Myloch
Member
 
Posts: 401
Joined: 2007-4-18 @ 22:13

Re: CD audio missing - my research

Postby VirtuaIceMan » 2016-9-27 @ 21:43

Okay I tried various versions from some of the following links on my Win10 64bit, and nothing works (for example in Mad Trax). I've ripped the soundtrack to .ogg files (starting with track02.ogg) and put them in a "music" sub-directory, but none of these variants do anything:

https://www.gog.com/forum/battle_isle/w ... game/page2
https://www.gog.com/forum/star_wars_xwi ... windows_10
https://steamcommunity.com/app/355250/d ... 438656713/
https://github.com/bangstk/ogg-winmm - I don't have the skills to compile this version!

Now I don't know if, in threory, you can just drop the updated winmm.dll into the game folder, along with the various OGG dll files and a "music" sub-folder and it works, or whether the game's executable needs editing too? I don't think there was much done in that area for the original (NON Win10 version) for SOTE here: http://punkrockhacker.blogspot.co.uk/20 ... chive.html

SOTE does work fine for me though with ogg music, using the files from the final link above (before they went away) along with the updated Win10 specific winm0.dll updated file.
My PC spec: Win8.1, i7-4970K (not overclocked) MSI Nvidia GeForce GTX 980, Creative Soundblaster ZXr, 16GB RAM, Asus Z97-A motherboard, NZXT 410 case, ROG Swift GSYNC monitor
User avatar
VirtuaIceMan
Oldbie
 
Posts: 850
Joined: 2003-12-22 @ 00:57

Re: CD audio missing - my research

Postby Jorpho » 2016-9-27 @ 22:08

You've been poking around with Process Monitor, right? Can you see the applications trying to access the winmm.dll in the game folder?

If editing is required, it should just be a fairly trivial matter of replacing every instance of "winmm" with "winm0".
User avatar
Jorpho
l33t++
 
Posts: 7043
Joined: 2003-2-14 @ 19:50
Location: Canada

Re: CD audio missing - my research

Postby VirtuaIceMan » 2016-9-27 @ 23:32

So far I tried renaming winm0 to winmm with no success, and have tried various other versions that are supposed to work with Win10. I'd be keen to know how ZellSF got the Shadows Of The Empire winmm implementation to work for other games, as he mentions above, but I'm not sure he visits these parts so often...

If I did need to edit an executable to search for winm0 instead of winmm, what sort of program might you advise would be useful?
My PC spec: Win8.1, i7-4970K (not overclocked) MSI Nvidia GeForce GTX 980, Creative Soundblaster ZXr, 16GB RAM, Asus Z97-A motherboard, NZXT 410 case, ROG Swift GSYNC monitor
User avatar
VirtuaIceMan
Oldbie
 
Posts: 850
Joined: 2003-12-22 @ 00:57

Next

Return to Windows

Who is online

Users browsing this forum: mannyca05 and 1 guest