How to install Windows Media Feature Pack? (Required by a game)

21,351

Solution 1

Wine cannot install Windows Media Feature Pack currently, as it does not support installing .msu files yet. This is the workaround that I was able to find:

Get the mfplat.dll, msmpeg2adec.dll, msmpeg2vdec.dll packages from C:~/Windows/system32 and put them into wine's Windows/system32 (get 32 or 64 bit dlls according to your wine settings). Import the following reg file:

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Wine\LicenseInformation]
"msmpeg2adec-AACDecoderV2AddInEnable"=dword:00000001
"msmpeg2adec-AACDecoderV2InSKU"=dword:00000001
"msmpeg2adec-DolbyDigitalDecoderV2AddInEnable"=dword:00000001
"msmpeg2adec-DolbyDigitalDecoderV2InSKU"=dword:00000001
"msmpeg2vdec-H264VideoDecoderV2AddInEnable"=dword:00000001
"msmpeg2vdec-H264VideoDecoderV2InSKU"=dword:00000001
"msmpeg2vdec-MPEG2VideoDecoderV2AddInEnable"=dword:00000001
"msmpeg2vdec-MPEG2VideoDecoderV2InSKU"=dword:00000001

Register dlls:

wine regsvr32 msmpeg2vdec.dll
wine regsvr32 msmpeg2adec.dll

After all of this https://www.youtube.com/html5 should display H.264 and MSE & H.264 as supported on Firefox under wine.

Solution 2

The minimum requirements on the games website are:

  • Minimum OS: Windows 8.1 64 Bit, Windows 8 64 Bit, Windows 7 64 Bit Service Pack 1, Windows Vista 64 Bit Service Pack 2.
  • DirectX 10

I remember that there was such a package for Windows Media Player 10 (the last version for XP) which basically added playback functionality for newer formats, but I'm not sure if that will solve your problem. You are probably just misguided by the installers requirement for this platform and how the target OS or Wine interprets it to satisfy this dependency (play video similar H.264 with Windows Media, I assume).

Since you trick the installer with Wine, make sure that your Wine configuration is set to correctly mimic at least Windows Vista and try to install Windows Media Player 11. WMP10 is the latest version PlayOnLinux and Winetricks seem to support and WMP12 is available since Windows 7, but might be even trickier to install than WMP11.

This is the mess you get, when you don't use the actual target platform but another implementation that tries to mimic it with best effort. A solution to this problem would be implement the functionality that results in this dependency by using another software component like gstreamer (and probably replace the DirectX 10 dependency), that would make it more interoperable or even a good Linux port. However that was not the intention of the game designers or staff responsible for the "PC port". The intention obviously was to provide the best experience and performance on Windows without researching what the best cross-platform solution to video playback is, and I can't blame them.

Share:
21,351

Related videos on Youtube

David
Author by

David

Computer Engineering Tech Major Fluent in .NET, bash, and TypeScript AU User since mid-2015 Using ubuntu since 9.04

Updated on September 18, 2022

Comments

  • David
    David over 1 year

    I've recently bough GTA5 for the computer, but through Game-stop. They gave me a code, and I got the install EXE file. I thought I could simply run it through steam, and I'd be done. However, when I try to install, it says: Unable to detect the Windows Media Feature Pack on your system. Please install the Windows Media feature Pack, then retry the installation. I can't find any way to install it! I think I've got the MSU file, but that can't be run with PlayOnLinux (Which is what I'm also using to run Steam, so It can run windows games) Please help! If necessary I can steal the pack from my old Windows XP computer, but that would be awful. Is there any way to install it?

    enter link description here

    • Rinzwind
      Rinzwind almost 9 years
      Even if you can and before you waste time on this: GTA5 has a garbage rating appdb.winehq.org/… I would suggest installing GTA5 in Windows in virtualBox.
  • David
    David about 8 years
    Note: Answer was un-checked because another user gave a more usable and logical answer
  • Falko Menge
    Falko Menge over 7 years
    I tried the dll registration in a command promt: C:\windows\system32>regsvr32 msmpeg2vdec.dll regsvr32: Failed to load DLL 'msmpeg2vdec.dll' C:\windows\system32>regsvr32 msmpeg2adec.dll regsvr32: Failed to load DLL 'msmpeg2adec.dll'