m$ screwed up winmm in windows 10

Page 1 of 2 12 LastLast

  1. Posts : 20
    windows 10
       #1

    m$ screwed up winmm in windows 10


    Dunno why they changed it, now all older games that used to work fine with an alternate built winmm to read ogg files for cd music (Since later pc's don't have a physical cd connection for audio)..with windows 10.. they screwed it... it will no longer work. I had Shadows of the empire working pretty much perfectly in windows 7 64 bit (With said winmm and DXGL) now it crashes and burns unless you remove the alt winmm.dll

    so does anyone know of a new build for windows 10?? one that of course reads ogg files in the 'MUSIC' folder?
      My Computer


  2. Posts : 3
    Windows 10
       #2

    medievil said:
    Dunno why they changed it, now all older games that used to work fine with an alternate built winmm to read ogg files for cd music (Since later pc's don't have a physical cd connection for audio)..with windows 10.. they screwed it... it will no longer work. I had Shadows of the empire working pretty much perfectly in windows 7 64 bit (With said winmm and DXGL) now it crashes and burns unless you remove the alt winmm.dll

    so does anyone know of a new build for windows 10?? one that of course reads ogg files in the 'MUSIC' folder?
    I'm not sure what they did, either...
    From the look of it, the new library doesn't import winmm.dll at all(the real one); maybe it causes some circular resolution deadlock trying to get all the right functions (the waveOut stuff is no longer imported)... also, SendMessageA is imported now as well....

    I have a new wrapper though that seems to work:
    http://www.filedropper.com/winmmw10

    Cheers!

    PS - that's funny... I actually did a blog once on writing wrappers and had a modified Shadows of the Empire setup as well that ran perfectly (although you'll have to modify this dll slightly because shadows loves to send MCI_CLOSE(iirc) a lot and it needs to just quit whining and deal.
      My Computer


  3. Posts : 20
    windows 10
    Thread Starter
       #3

    dunno why, but doesn't work.. I mean the game loads and everything but doesn't play the background music. May have been your wrapper I was using.. I got it from a blog... Diary of a Punk Rock Hacker: June 2014
    Also what do I need to modify in the dll (or exe) to make the mci change? maybe the close is making it never get to the actual playing of the sound...

    It's funny, GOG released new version of JK and Mysteries of the sith that use winmm and in those games their replacement winmm works fine..but plugging it int he shadows sdata directory (and making sure shadows is looking fro it, original hack used the name winm0) I get the same results as with yours..game loads, just no background music. All the directories are correct in the registry and the MUSIC folder is in the same folder as the winmm (Same setup that worked fine before)
      My Computer


  4. Posts : 3
    Windows 10
       #4

    medievil said:
    dunno why, but doesn't work.. I mean the game loads and everything but doesn't play the background music. May have been your wrapper I was using.. I got it from a blog... Diary of a Punk Rock Hacker: June 2014
    Also what do I need to modify in the dll (or exe) to make the mci change? maybe the close is making it never get to the actual playing of the sound...

    It's funny, GOG released new version of JK and Mysteries of the sith that use winmm and in those games their replacement winmm works fine..but plugging it int he shadows sdata directory (and making sure shadows is looking fro it, original hack used the name winm0) I get the same results as with yours..game loads, just no background music. All the directories are correct in the registry and the MUSIC folder is in the same folder as the winmm (Same setup that worked fine before)
    Haha that was my blog actually!

    I don't remember what I changed, but I never bothered to look into why shadows was being stupid with the new winmm wrapper - I just modified the winmm wrapper to not actually close:

    The modified winmm wrapper for SHADOWS: http://www.filedropper.com/winm0shadows

    Cheers!
      My Computer


  5. Posts : 20
    windows 10
    Thread Starter
       #5

    batteryshark said:
    Haha that was my blog actually!

    I don't remember what I changed, but I never bothered to look into why shadows was being stupid with the new winmm wrapper - I just modified the winmm wrapper to not actually close:

    The modified winmm wrapper for SHADOWS: http://www.filedropper.com/winm0shadows

    Cheers!
    yes!! works perfectly!!

    the close must have been screwing it all up with the other you made as well as the gog build they made.
    Thanks!!!..

    BTW what were you using to give the decompiled view you had pictured on your blog (Not the green code but the other) I can kinda follow a programs code and weed stuff like cd checks out in views like that, but just raw assembler gives me a headache...lol
      My Computer


  6. Posts : 3
    Windows 10
       #6

    medievil said:
    yes!! works perfectly!!

    the close must have been screwing it all up with the other you made as well as the gog build they made.
    Thanks!!!..

    BTW what were you using to give the decompiled view you had pictured on your blog (Not the green code but the other) I can kinda follow a programs code and weed stuff like cd checks out in views like that, but just raw assembler gives me a headache...lol
    I generally use IDA pro with the hex rays decompiler... any version in the 6.x range (I use 6.8, at the moment).
      My Computer


  7. Posts : 1
    Windows 10
       #7

    batteryshark said:
    I generally use IDA pro with the hex rays decompiler... any version in the 6.x range (I use 6.8, at the moment).
    Hey batteryshark, nice work. Any chance you'd release the source for this? I had made a customized version of the ogg-winmm library for one of my old games, and as you know that standard wrapper no longer works in Windows 10. I worked around it by using DLL injection, but I'd love to go back to just dropping the modified winmm.dll into the game directory. Even if you don't want to share the full source, would you mind sharing details on what needed to change to avoid the recursive Winmm.dll loading issue in Windows 10?
      My Computer


  8. Posts : 73
    Windows
       #8

    batteryshark said:
    Haha that was my blog actually!

    I don't remember what I changed, but I never bothered to look into why shadows was being stupid with the new winmm wrapper - I just modified the winmm wrapper to not actually close:

    The modified winmm wrapper for SHADOWS: http://www.filedropper.com/winm0shadows

    Cheers!
    Hi, can you repost the modified winmm wrapper for SHADOWS? Thx.
      My Computer


  9. Posts : 197
    Windows 10 Enterprise LTSB N 1607 x64
       #9

    New releases of Windows sometimes have a tendency to mess with DLLs that some older games may depend on. By changing them, some games may no longer work correctly. One thing you can try is to get a correct copy of the DLL file you need, then drop it in the game folder (usually where the game exe/launcher is located). This *should* force the game to use the older DLL file rather than MS's newer version. I've had to do this with a few older games (GTA San Andreas and Vice City).
      My Computer


  10. Posts : 20
    windows 10
    Thread Starter
       #10

    AnonVendetta said:
    New releases of Windows sometimes have a tendency to mess with DLLs that some older games may depend on. By changing them, some games may no longer work correctly. One thing you can try is to get a correct copy of the DLL file you need, then drop it in the game folder (usually where the game exe/launcher is located). This *should* force the game to use the older DLL file rather than MS's newer version. I've had to do this with a few older games (GTA San Andreas and Vice City).
    Not the case here, with older games (Shadows for example) we had to use a wrapper fro winmm because the older games were made before windows switched to winmm for cd access. with win 10, they screwed up their implementation of winmm and the wrapper was no longer working. Any older game, ones that even use winmm will have issue with windows 10 version of it because it is not behaving like it did previously.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:05.
Find Us




Windows 10 Forums