Skip to content

Instantly share code, notes, and snippets.

@walkeralencar
Last active February 15, 2021 16:29
Show Gist options
  • Save walkeralencar/d9b4039b3fb7acef74ea50b4a89ead11 to your computer and use it in GitHub Desktop.
Save walkeralencar/d9b4039b3fb7acef74ea50b4a89ead11 to your computer and use it in GitHub Desktop.
Proton 5.13 NMS Network Patch
#!/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