Windows 10: m$ screwed up winmm in windows 10

Discus and support m$ screwed up winmm in windows 10 in Windows 10 Gaming to solve the problem; 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... Discussion in 'Windows 10 Gaming' started by medievil, Aug 19, 2015.

  1. medievil Win User

    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?

    :)
     
    medievil, Aug 19, 2015
    #1

  2. Microsoft Windows 10 Store Apps Update Fix & Info

    I,m so sick of paying M$ to fix their screw-ups .
     
    MarieDeutsch, Aug 19, 2015
    #2
  3. Windows 10 download without my permission

    Sounds like the grounds for a good class action lawsuit against M$, or at least action by your State's Attorney General.

    They really screwed this one up!
     
    CalvinKutemeier, Aug 19, 2015
    #3
  4. m$ screwed up winmm in windows 10

    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:
    Free File Hosting - Online Storage; Upload Mp3, Videos, Music. Backup Files

    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.
     
    batteryshark, Aug 21, 2015
    #4
  5. medievil Win User
    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)
     
    medievil, Aug 21, 2015
    #5
  6. 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: Free File Hosting - Online Storage; Upload Mp3, Videos, Music. Backup Files

    Cheers!
     
    batteryshark, Aug 22, 2015
    #6
  7. medievil Win User
    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
     
    medievil, Aug 22, 2015
    #7
  8. m$ screwed up winmm in windows 10

    I generally use IDA pro with the hex rays decompiler... any version in the 6.x range (I use 6.8, at the moment).
     
    batteryshark, Aug 22, 2015
    #8
  9. moranms Win User
    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?
     
    moranms, Aug 23, 2015
    #9
  10. Hi, can you repost the modified winmm wrapper for SHADOWS? Thx.
     
    nosecureboot, Aug 27, 2015
    #10
  11. 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).
     
    AnonVendetta, Aug 29, 2015
    #11
  12. medievil Win User
    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.
     
    medievil, Aug 30, 2015
    #12
  13. m$ screwed up winmm in windows 10

    Can you or someone else please repost the Shadows W10 winmm wapper? Thx.
     
    nosecureboot, Aug 30, 2015
    #13
  14. RKK
    rkk Win User
    Hey @batteryshark could you tell what have you done in order to make it work?
    Not sure if @batteryshark is active anymore.. but if somebody else would figure out how to make it work on W10, it would be highly appreciated.
    Thanks.
     
Thema:

m$ screwed up winmm in windows 10

Loading...
  1. m$ screwed up winmm in windows 10 - Similar Threads - screwed winmm

  2. Windows 11 cmd dir output all screwed up.

    in Windows 10 Software and Apps
    Windows 11 cmd dir output all screwed up.: In the "old" days, doing a dir command in cmd prompt provided a perfectlyformatted output. Now, doing the dir command results in a totally screwedup output it starts off normal:F:\>dir Volume in drive F is Backup Plus Volume Serial Number is 5D8D-4F95 Directory of...
  3. Windows 11 cmd dir output all screwed up.

    in Windows 10 Gaming
    Windows 11 cmd dir output all screwed up.: In the "old" days, doing a dir command in cmd prompt provided a perfectlyformatted output. Now, doing the dir command results in a totally screwedup output it starts off normal:F:\>dir Volume in drive F is Backup Plus Volume Serial Number is 5D8D-4F95 Directory of...
  4. Phone link all screwed up in multiple ways

    in Windows 10 Gaming
    Phone link all screwed up in multiple ways: I recently built a new computer running Windows 11. I try to link my new phone Android 15 on a Samsung S25 Ultra to the Phone Link app on my computer, but it never leaves the attached screen clicking "Continue" does nothing, the page never refreshes. I try to connect my phone...
  5. Phone link all screwed up in multiple ways

    in Windows 10 Software and Apps
    Phone link all screwed up in multiple ways: I recently built a new computer running Windows 11. I try to link my new phone Android 15 on a Samsung S25 Ultra to the Phone Link app on my computer, but it never leaves the attached screen clicking "Continue" does nothing, the page never refreshes. I try to connect my phone...
  6. Windows Hello all screwed up after BIOS update

    in Windows 10 Gaming
    Windows Hello all screwed up after BIOS update: I updated my BIOS in an attempt to fix an issue unrelated to Windows Hello. Now Hello is working either much worse or not at all, depending what I'm trying to do; in particular, it no longer lets me use my fingerprint even though this does appear to be enabled. It's driving...
  7. Windows Hello all screwed up after BIOS update

    in Windows 10 Software and Apps
    Windows Hello all screwed up after BIOS update: I updated my BIOS in an attempt to fix an issue unrelated to Windows Hello. Now Hello is working either much worse or not at all, depending what I'm trying to do; in particular, it no longer lets me use my fingerprint even though this does appear to be enabled. It's driving...
  8. Windows Hello all screwed up after BIOS update

    in Windows Hello & Lockscreen
    Windows Hello all screwed up after BIOS update: I updated my BIOS in an attempt to fix an issue unrelated to Windows Hello. Now Hello is working much worse if at all and it's driving me up the wall.It used to be that when I restarted my computer or wanted to log into my password manager, all I had to do was touch my...
  9. Windows update screwed my computer

    in Windows 10 Software and Apps
    Windows update screwed my computer: After a update earlier this month from windows, I have noticed my computer running hot and this particular error appearing. I dont know how to fix it. If any can help, i would be very appreciative....
  10. Windows update screwed my computer

    in Windows 10 Gaming
    Windows update screwed my computer: After a update earlier this month from windows, I have noticed my computer running hot and this particular error appearing. I dont know how to fix it. If any can help, i would be very appreciative....