dots/scripts/Documents/Scripts/cpwasio.sh
2024-04-29 19:05:39 +02:00

13 lines
892 B
Bash
Executable file

# !!! WATCH OUT FOR VARIABLES !!!
PROTON=/home/zoey/.steam/steam/compatibilitytools.d/GE-Proton7-38/files/
STEAMLIBRARY=/mnt/Usagichan/Games/Steam/SteamLibrary/
cp /usr/lib32/wine/i386-unix/wineasio.dll.so "$PROTON/lib/wine/i386-unix/wineasio.dll.so"
cp /usr/lib/wine/x86_64-unix/wineasio.dll.so "$PROTON/lib64/wine/x86_64-unix/wineasio.dll.so"
cp /usr/lib32/wine/i386-windows/wineasio.dll "$PROTON/lib/wine/i386-windows/wineasio.dll"
cp /usr/lib/wine/x86_64-windows/wineasio.dll "$PROTON/lib64/wine/x86_64-windows/wineasio.dll"
WINEPREFIX=$STEAMLIBRARY/steamapps/compatdata/221680/pfx $PROTON/bin/wine regsvr32 /usr/lib32/wine/i386-windows/wineasio.dll
cp $PROTON/lib/wine/i386-windows/wineasio.dll $STEAMLIBRARY/steamapps/compatdata/221680/pfx/drive_c/windows/system32/
cp $PROTON/lib/wine/i386-windows/wineasio.dll $STEAMLIBRARY/steamapps/compatdata/221680/pfx/drive_c/windows/syswow64/