mf-install/install-mf.sh

26 lines
618 B
Bash
Raw Normal View History

2019-04-07 01:38:24 +02:00
#!/bin/bash
[[ -z $WINEPREFIX ]] && echo "WINEPREFIX not set" && exit 1
set -e
scriptdir=$(dirname "$0")
2019-04-07 04:14:28 +02:00
cd "$scriptdir"
2019-04-07 01:38:24 +02:00
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