Skip to content

Instantly share code, notes, and snippets.

View ANBAL534's full-sized avatar

Aníbal Muñoz ANBAL534

View GitHub Profile
@Meister1593
Meister1593 / patch_bindings_spam.sh
Last active October 24, 2024 20:50
SteamVR patcher to remove websocket spam
#!/bin/bash
echo "Latest known working version for patching: 2.3.5"
if [[ -z "$1" ]]; then
echo 'Enter absolute path to SteamVR (for example, /home/user/.local/share/Steam/steamapps/common/SteamVR)'
read STEAMVR_PATH
else
STEAMVR_PATH="$1"
fi
Updated more detailled guide: https://gist.github.com/ANBAL534/8057b5200ace9bdd98795b627e550ba0
Make steam force Proton 5.0-10 (Needs to be this version, no modern one because modern proton/wine versions have broken dotnet winetricks installs, needed to run the game)
* If at any stage of the steps wine asks you to install mono or gecko, just cancel/press 'no' on the popup and continue.
* If at any stage of the steps a info/warning/error message appears and asks you if you want to get more information in a webpage just cancel/press 'no' on the opoup and continue.
* If you mess up and need to restart the process from the start you have to manually delete the 'pfx' (steam's wine bottle folder) (/path/to/SteamLibrary/steamapps/compatdata/244210/pfx) and restart the process from the very begining.
Execute the game once and let it close
Then:
@shamil
shamil / mount_qcow2.md
Last active November 16, 2024 09:15
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8