[DISCUSSION] Patch WMC to run on Windows 10 final & possible alternatives

Discussion in 'Windows 10' started by ricktendo64, May 8, 2015.

  1. jspenc3

    jspenc3 MDL Novice

    Dec 12, 2015
    24
    6
    0
    technodevotee,
    What is the optimal output of option 0 to make sure everything possible in WMC is working?

    I just ran it and everything in ehome was different than system32, so I replaced those and now everything matches. Is this the best result, or is there some reason we want (even sometimes) a mix of versions in the different folders?

    C:\WINDOWS\ehome\msvidctl.dll version is 6.5.16299.15
    C:\WINDOWS\ehome\cpfilters.dll version is 10.0.16299.15
    C:\WINDOWS\ehome\encdec.dll version is 10.0.16299.15
    C:\WINDOWS\system32\msvidctl.dll version is 6.5.16299.15
    C:\WINDOWS\system32\cpfilters.dll version is 10.0.16299.15
    C:\WINDOWS\system32\encdec.dll version is 10.0.16299.15
     
  2. technodevotee

    technodevotee MDL Senior Member

    Sep 18, 2015
    250
    47
    10
    #9662 technodevotee, Sep 17, 2019
    Last edited: Sep 17, 2019
    @jspenc3
    Going on what you have listed, I guess that you are using V8.8.4.

    The DLLs in ehome are only used by WMC but the ones in system32 might be used by anything so, for maximum compatibility, it is best to leave the ones in system32 alone if possible. If the PC is only used for Media Center then it probably doesn't really matter.

    The thing is, each DLL in system32 used by WMC causes a different, well documented problem for WMC when updated by Microsoft and Kevin made successive modifications to work around them by putting the required version in ehome as they came along.
    In theory, WMC V8.8.4 should work fine with the ones that Kevin supplied and it certainly works great on the vast majority of PCs with no extra work. However, there have been exceptions where it doesn't work properly and we have found it hard to understand why because it seems to have been something different in each case.

    The idea behind WMC Multi Tool was to replace the DLL identified as causing the problem in ehome then try WMC. If that doesn't help, try replacing the one in system32 then try WMC.

    These are the known issues that have fixes available:

    There's no sound or picture when trying to play recorded TV or a message about no tuners being available or all tuners being in use appears when trying to watch TV. This is because MS changed the functionality of MsVidCtl.dll.

    WMC crashes when trying to watch Live TV or play recorded TV. This is because MS changed the functionality of CpFilters.dll.

    There are no thumbnails. This is because MS changed the functionality of EncDec.dll and in later versions, removed the DLL and the registry entries that link to it entirely. You can use the Restore Functionality of EncDec to fix that.

    It is not be possible to download initial TV setup data and/or PlayReady when installed on a PC that previously had another version. Errors in event viewer point to an invalid security token. You can use the Reset Security Tokens option to fix that.

    There is a significant delay before sound and picture begin when starting to view live TV or watch a recorded TV programme when installed on a PC that previously had another version. I found this was due to PlayReady needing to have its data file (%programdata%\microsoft\playready\mspr.hds) reset. You can use the Reset Playready option to do that.
     
  3. Kévin Chalet

    Kévin Chalet MDL Novice

    Apr 11, 2019
    36
    20
    0
    A quick investigation showed that the SQLite exception is caused by the removal of the SQLite OLE DB components in the recent Windows 10 Insider previews.
    To unblock yourself, you can manually restore C:\Windows\System32\sqlceoledb40.dll, sqlcese40.dll, sqlceqp40.dll and sqlcecompact40.dll from a previous Windows 10 version.

    You'll also need to restore at least this COM registration entry:

    Code:
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\CLSID\{3A5B4772-7946-4E58-9310-B0D423749C1D}]
    @="Microsoft.WINDOWS.SQLLITE.OLEDB.4.0"
    "OLEDB_SERVICES"=dword:fffffffe
    
    [HKEY_CLASSES_ROOT\CLSID\{3A5B4772-7946-4E58-9310-B0D423749C1D}\InprocServer32]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,71,00,\
      6c,00,63,00,65,00,6f,00,6c,00,65,00,64,00,62,00,34,00,30,00,2e,00,64,00,6c,\
      00,6c,00,00,00
    "ThreadingModel"="Both"
    
    [HKEY_CLASSES_ROOT\CLSID\{3A5B4772-7946-4E58-9310-B0D423749C1D}\ProgID]
    @="Microsoft.WINDOWS.SQLLITE.OLEDB.4.0"
    
    I haven't heavily tested it, so let me know if there are other issues.
     
  4. msa4033

    msa4033 MDL Novice

    Sep 16, 2019
    1
    0
    0
    Hi. I know this was a really really old post, but I just did a fresh install of Windows 8 and WMC and the last part I'm stuck on is getting PlayReady installed. Unfortunately, WMC won't download PlayReady and the Microsoft download link is broken. Do you by chance still have the playready-v1.3.2313.10-amd64.msi file that you can send me?
     
  5. jspenc3

    jspenc3 MDL Novice

    Dec 12, 2015
    24
    6
    0
    #9666 jspenc3, Sep 18, 2019
    Last edited: Sep 19, 2019
    Yep, v8.8.4 is the version I moved to after upgrading to 1903. Unfortunately I was still having two of the items you mentioned above, that's why I decided to try the tool.

    Thank you for the re-explanation, that really clarifies what each fix does. I was actually having the playready issue and somehow missed that fix (I didn't know it was a thing) so huge thanks. I've upgraded both Windows and WMC through many generations so I also reset the security tokens as well just in case.

    Everything now matches, so I then rebooted, but I still have one big issue when playing Live OR recorded TV - it just repeats the first second of audio and video for five seconds, then stops with a blue Video Error saying to restart WMC. I've seen that before, but can't remember what causes it.

    Do you have any suggestions?

    Luckily I'm only really using it for Guide and recording, I switched to Emby for playback (the recording in Emby is still not done), but if i could get WMC working again it would be a great backup viewer...
     
  6. technodevotee

    technodevotee MDL Senior Member

    Sep 18, 2015
    250
    47
    10
  7. Bigal

    Bigal MDL Member

    Mar 4, 2011
    137
    9
    10
    @technodevotee
    I have just updated my old x86 machine from LTSC to 1903 and i am about to install your WMC-V13_x86.7z version. Before I do, have you made any updates?
    I have suggested that you have a link to all your apps in your signature, so they're all in one place and easily accessible.
    Failing that could you colaborate with @ricktendo64 and have them linked in the first page?
    This would make it nice and easy for noobs
     
  8. technodevotee

    technodevotee MDL Senior Member

    Sep 18, 2015
    250
    47
    10
    Top Man, this worked a treat for me so I have added it to my WMC Multi Tool.
     
  9. technodevotee

    technodevotee MDL Senior Member

    Sep 18, 2015
    250
    47
    10
    #9670 technodevotee, Sep 18, 2019
    Last edited: Sep 18, 2019
    No changes to 32bit WMC V13.

    There are at least 12 things in my Public dropbox folder and I'm not really a fan of having links in my signature in any case but I might see if the OP could help by linking some of the new stuff somewhere easy to find.
     
  10. Bigal

    Bigal MDL Member

    Mar 4, 2011
    137
    9
    10
    Thanks, I'll install it tomorrow.
    wow you've been busy :) or you could make one post with links to your tools and then people can link to that post.
    Could an 8.8.4 be made in x86??
     
  11. jspenc3

    jspenc3 MDL Novice

    Dec 12, 2015
    24
    6
    0
    BINGO! WOW, I never would have thought turning off sounds would have fixed it. The transitions was OK to leave on, but I have to leave the "Play sounds when navigating WMC" turned off if I want to play video. I guess it's definitely something with the sound stack not transitioning from WMC sound effects to video playback. Unfortunately I already had allow exclusive mode on, and I actually imported your fix a few months ago, but I went ahead and ran it again but it didn't help. I'm recording something right now so I can't reboot, but I don't suspect that is necessary?

    Anyway at least it plays video again, YAY! I'll miss the sounds, but oh well. I'm now back to 98% fully working WMC, which is nice since the past two years I haven't been able to run full screen (8.8.4 and 1903 fixed that).

    Thanks again for your help!!!
     
  12. technodevotee

    technodevotee MDL Senior Member

    Sep 18, 2015
    250
    47
    10
    I actually meant navigation but it came out as transition so I have edited it. Whatever it is, I think the problem is that because they are a different format to the audio stream the system can't handle them at the same time. System sounds drive my AV Amp nuts when I'm playing music or watching TV!

    Adding the app paths only helps with the issue of having Windows and WMC speaker settings on 5.1 (works irrespective of WMC version - for me at least).
    Interesting that you can run Full Screen now because I can also use Full Screen on one PC that would never work until I upgraded to 1903. The thing is, I'm using V13 on that one so I think the change must be in the OS rather than in WMC.

    What is the 2% that's not working for you then - crashing when downloading music artwork?
     
  13. jspenc3

    jspenc3 MDL Novice

    Dec 12, 2015
    24
    6
    0
    #9675 jspenc3, Sep 20, 2019
    Last edited: Sep 20, 2019
    I think just the sounds, but I didn't want to say 99% until I had a few days of use on it LOL. I let Emby handle my metadata downloading.

    Speaking of Emby, I'm so glad this is working because it started having playback issues of it's own a few months ago and I wasn't able to watch in process recording TV until I did your fix last night :).

    I also have it FULLY working on my bedroom computer, but I couldn't get the 1903 update to work so I had to install it clean, then install WMC 8.8.4. So a fresh install of both definitely seems the most likely to work without issues.

    Unfortunately my office computer (also upgraded, not fresh) just spins the cursor if I try to play video, but I never watch it in here so I haven't bothered to fix it...
     
  14. paulsk58

    paulsk58 MDL Novice

    Jan 25, 2009
    30
    4
    0

    This is great Kevin. So far works fine in latest 20H1 18985. Thank you for your efforts. It seems, if even inadvertently, Microsoft is determined to eliminate WMC. lol
     
  15. technodevotee

    technodevotee MDL Senior Member

    Sep 18, 2015
    250
    47
    10
    #9677 technodevotee, Sep 21, 2019
    Last edited: Sep 25, 2019
    I have just uploaded a WMC add-on, which can be used to reinstate the functionality of MSSQLLite in the latest versions of Windows 10 per @Kévin Chalet's instructions.

    It is included in WMC-V13 and WMC Multi Tool.
     
  16. Bigal

    Bigal MDL Member

    Mar 4, 2011
    137
    9
    10
  17. technodevotee

    technodevotee MDL Senior Member

    Sep 18, 2015
    250
    47
    10
    #9679 technodevotee, Sep 22, 2019
    Last edited: Sep 24, 2019
    I'm working on it.…...

    Happy now?
     
  18. Bigal

    Bigal MDL Member

    Mar 4, 2011
    137
    9
    10
    #9680 Bigal, Sep 24, 2019
    Last edited: Sep 24, 2019
    sweet, you da man!!