Overview
many proton/wine games launch with a black screen and its a windows codec problem.https://en.wikipedia.org/wiki/Media_FoundationWine/Proton does not include codecs to display these screens.there is a fix:https://github.com/z0z0z/mf-install90% of the time installing this to your APPID will fix the issueif you have more than 8 cores this will be usefulhttps://github.com/z0z0z/mf-install/issues/44set Launch Optionstaskset -c 1-8 %command%
“failsafe”
typing the wrong appid or setting the wrong folders
nothing happens.
really, the script will fail before breaking anything.
my personal PROTON script.
download the files from github mf-install-master.zip
put them in a folder anywhere, i prefer in steamapps main directory for further reference.
this is my personal PROTON script. yours will need to change the directories
run as
./mf-installP.sh APPID#
#!/bin/sh GAME_ID=”$1″ PROTONDIRPATH=”/home/catbox/.steam/steam/SteamApps/common” #set wine to proton export WINEARCH=win64 export PATH=$PROTONDIRPATH/Proton 4.11/dist/bin:$PATH export WINEPATH=$PROTONDIRPATH/Proton 4.11/ export LD_LIBRARY_PATH=$PROTONDIRPATH/Proton 4.11/dist/lib:$PROTONDIRPATH/Proton 4.11/dist/lib64:$LD_LIBRARY_PATH export WINE=$PROTONDIRPATH/Proton 4.11/dist/bin/wine export WINELOADER=$PROTONDIRPATH/Proton 4.11/dist/bin/wine export WINESERVER=$PROTONDIRPATH/Proton 4.11/dist/bin/wineserver export WINEPREFIX=”/home/catbox/.steam/steam/SteamApps/compatdata/$GAME_ID/pfx” export WINEDLLPATH=$PROTONDIRPATH/Proton 4.11/dist/lib64/wine export WINEDEBUG=warn+all+timestamp set -e overrideDll() { wine reg add “HKEY_CURRENT_USERSoftwareWineDllOverrides” /v $1 /d native /f } scriptdir=$(dirname “$0”) cd “$scriptdir” cp -v syswow64/* “$WINEPREFIX/drive_c/windows/syswow64” cp -v system32/* “$WINEPREFIX/drive_c/windows/system32” overrideDll “colorcnv” overrideDll “mf” overrideDll “mferror” overrideDll “mfplat” overrideDll “mfplay” overrideDll “mfreadwrite” overrideDll “msmpeg2adec” overrideDll “msmpeg2vdec” overrideDll “sqmapi” export WINEDEBUG=”-all” $PROTONDIRPATH/Proton 4.11/dist/bin/wine start regedit.exe mf.reg $PROTONDIRPATH/Proton 4.11/dist/bin/wine start regedit.exe wmf.reg $PROTONDIRPATH/Proton 4.11/dist/bin/wine64 start regedit.exe mf.reg $PROTONDIRPATH/Proton 4.11/dist/bin/wine64 start regedit.exe wmf.reg $PROTONDIRPATH/Proton 4.11/dist/bin/wine regsvr32 colorcnv.dll $PROTONDIRPATH/Proton 4.11/dist/bin/wine regsvr32 msmpeg2adec.dll $PROTONDIRPATH/Proton 4.11/dist/bin/wine regsvr32 msmpeg2vdec.dll $PROTONDIRPATH/Proton 4.11/dist/bin/wine64 regsvr32 colorcnv.dll $PROTONDIRPATH/Proton 4.11/dist/bin/wine64 regsvr32 msmpeg2adec.dll $PROTONDIRPATH/Proton 4.11/dist/bin/wine64 regsvr32 msmpeg2vdec.dll
i could use $HOME as a user, but many people have .steam installed in different locations
its better to note they should change this to their directory path than try to setup a perfect variable solution