Last active
February 15, 2021 16:29
-
-
Save walkeralencar/d9b4039b3fb7acef74ea50b4a89ead11 to your computer and use it in GitHub Desktop.
Proton 5.13 NMS Network Patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Proton 5.13 NMS Networking Patch by Walkynn, | |
# Based on @aeikum(https://github.com/ValveSoftware/Proton/issues/438#issuecomment-764835371) | |
echo "Proton 5.13 NMS Networking Patch" | |
echo -n "Change to Proton 5.13 folder..." | |
cd ~/.steam/steam/steamapps/common/Proton\ 5.13 | |
echo "OK" | |
echo "Backup original files" | |
echo -n "-Creating bkp folder..." | |
mkdir bkp | |
cd bkp | |
mkdir -p dist/lib/wine | |
mkdir -p dist/lib64/wine | |
echo "OK" | |
echo -n "-Copying files..." | |
cp ../dist/lib/wine/vulkan-1.dll ./dist/lib/wine/ | |
cp ../dist/lib64/wine/vulkan-1.dll ./dist/lib64/wine/ | |
cp ../dist/lib/wine/vrclient*.dll.so ./dist/lib/wine/ | |
cp ../dist/lib64/wine/vrclient*.dll.so ./dist/lib64/wine/ | |
echo "OK" | |
echo -n "Modifying permission to write..." | |
chmod u+w dist/lib*/wine/vulkan-1.dll | |
chmod u+w dist/lib*/wine/vrclient*.dll.so | |
echo "OK" | |
echo -n "Extracting files..." | |
tar -xf ~/Downloads/vrclient_nms.tar.gz | |
echo "OK" | |
echo "Files patched. If you need recovery, the original files are in ~/.steam/steam/steamapps/common/Proton\ 5.13/bkp folder." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment