Skip to content

Instantly share code, notes, and snippets.

View bwRavencl's full-sized avatar
🛩️

Matteo Hausner bwRavencl

🛩️
View GitHub Profile
@bwRavencl
bwRavencl / Fighters_Anthology.sh
Last active November 24, 2024 17:18
Launches Fighters Anthology and ControllerBuddy
#!/bin/bash
# the variable APP_ID must be adjusted accordingly for each installation, use 'protontricks -l' to list all App IDs
APP_ID=4087466694
"$HOME/ControllerBuddy/bin/ControllerBuddy" -autostart local -profile "$HOME/Documents/ControllerBuddy-Profiles/Fighters_Anthology.json" -tray &
until [ -e /dev/input/js1 ]
do
sleep 1
@bwRavencl
bwRavencl / disable_xbox_controller.reg
Last active December 30, 2024 15:38
Disables the physical Xbox Controller on Wine
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Wine\DirectInput\Joysticks]
"Controller (XBOX 360 For Windows)"="disabled"
[HKEY_CURRENT_USER\Software\Wine\DirectInput\Joysticks]
"Controller (XBOX One For Windows)"="disabled"
local _coord = coord.LLtoLO(37.748611, 245.146667) -- location of the tunnel in latitude (north) / longitude (east)
local _w = 15 -- width of building
local _d = 28 -- depth of building
local _width = _w * 3 -- width of the tunnel (must be a multiple of _w)
local _length = 250 --length of the tunnel in segments
local _baseHeight = 1 -- height of the tunnel in segments, before the tapering starts
for x=0,_length do