Add files via upload
This commit is contained in:
parent
794839a6af
commit
130374f771
3 changed files with 57 additions and 0 deletions
25
install-mf.sh
Normal file
25
install-mf.sh
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
[[ -z $WINEPREFIX ]] && echo "WINEPREFIX not set" && exit 1
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
scriptdir=$(dirname "$0")
|
||||||
|
cd $scriptdir
|
||||||
|
|
||||||
|
cp -v syswow64/* "$WINEPREFIX/drive_c/windows/syswow64"
|
||||||
|
cp -v system32/* "$WINEPREFIX/drive_c/windows/system32"
|
||||||
|
|
||||||
|
echo "Set to native in Libraries: mf, mferror, mfplat, mfreadwrite, msmpeg2adec, msmpeg2vdec, sqmapi"
|
||||||
|
WINEDEBUG="-all" winecfg
|
||||||
|
|
||||||
|
wine start regedit.exe mf.reg
|
||||||
|
wine start regedit.exe wmf.reg
|
||||||
|
wine64 start regedit.exe mf.reg
|
||||||
|
wine64 start regedit.exe wmf.reg
|
||||||
|
|
||||||
|
wine64 regsvr32 msmpeg2vdec.dll
|
||||||
|
wine64 regsvr32 msmpeg2adec.dll
|
||||||
|
|
||||||
|
wine regsvr32 msmpeg2vdec.dll
|
||||||
|
wine regsvr32 msmpeg2adec.dll
|
32
mf.reg
Normal file
32
mf.reg
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
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
|
||||||
|
|
||||||
|
[HKEY_CLASSES_ROOT\CLSID\{271C3902-6095-4c45-A22F-20091816EE9E}]
|
||||||
|
@="MPEG4 Byte Stream Handler"
|
||||||
|
|
||||||
|
[HKEY_CLASSES_ROOT\CLSID\{271C3902-6095-4c45-A22F-20091816EE9E}\InprocServer32]
|
||||||
|
@="mf.dll"
|
||||||
|
"ThreadingModel"="Both"
|
||||||
|
|
||||||
|
[HKEY_CLASSES_ROOT\CLSID\{477EC299-1421-4bdd-971F-7CCB933F21AD}]
|
||||||
|
@="File Scheme Handler"
|
||||||
|
|
||||||
|
[HKEY_CLASSES_ROOT\CLSID\{477EC299-1421-4bdd-971F-7CCB933F21AD}\InprocServer32]
|
||||||
|
@="mf.dll"
|
||||||
|
"ThreadingModel"="Both"
|
||||||
|
|
||||||
|
[HKEY_CLASSES_ROOT\CLSID\{48e2ed0f-98c2-4a37-bed5-166312ddd83f}]
|
||||||
|
@="MFReadWrite Class Factory"
|
||||||
|
|
||||||
|
[HKEY_CLASSES_ROOT\CLSID\{48e2ed0f-98c2-4a37-bed5-166312ddd83f}\InprocServer32]
|
||||||
|
@="mfreadwrite.dll"
|
||||||
|
"ThreadingModel"="Both"
|
BIN
wmf.reg
Normal file
BIN
wmf.reg
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue