mf-install
mf-install copied to clipboard
Uses system Wine instead of Lutris Wine
For anyone being stumped by the error...
wine: '/path/to/my/wineprefix' is a 64-bit installation, it cannot be used with a 32-bit wineserver.
The script uses your system wine install to register the DLLs. That means you need to have the appropriate wine64 package installed (called wine64 on Ubuntu 20.04 -- unsure about other versions).
Ideally, you would be able to specify a path to a Lutris wine runner and use that instead.
This entire script likely won't be needed anymore soon as Guy1524 has largely implemented working Media Foundation support into Wine already.
Which is why I did this to mf-install script locally:
#!/bin/bash
wine(){
"${WINE:-`which wine`}" "$@"
}
wine64(){
"${WINE64:-`which wine64`}" "$@"
}
It's a bit hacky, bu when further down the script, whenever there's a call to wine or wine64, the script will call whatever the WINE and WINE64 environment variables are pointing at if they're set, otherwise it uses the system's wine and wine64.
So whenever I wanna use mf-install, just set the WINE, WINE64 and WINEPREFIX environment variables to whatever I need.
You can just use PATH="$HOME/.local/share/lutris/runners/wine/lutris-fshack-7.1-x86_64/bin:$PATH" ./mf-install.sh