Skip to content

Commit

Permalink
fix gamecontrollerdb.txt links
Browse files Browse the repository at this point in the history
  • Loading branch information
cobalt2727 committed Aug 2, 2024
1 parent 9131a00 commit 975d14d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/MultiMC/pre-launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ case "$user_output" in

# downloading patched gamecontrollerdb.txt to workaround glfw bug
echo "Downloading latest gamecontrollerdb.txt"
wget "https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt" -O ../config/gamecontrollerdb_temp.txt && rm -rf ../config/gamecontrollerdb.txt && mv ../config/gamecontrollerdb_temp.txt ../config/gamecontrollerdb.txt
wget "https://raw.githubusercontent.com/mdqinc/SDL_GameControllerDB/master/gamecontrollerdb.txt" -O ../config/gamecontrollerdb_temp.txt && rm -rf ../config/gamecontrollerdb.txt && mv ../config/gamecontrollerdb_temp.txt ../config/gamecontrollerdb.txt
echo "Patching gamecontrollerdb.txt for combined joycons to work around bug in lwjgl3"
echo "060000004e696e74656e646f20537700,Nintendo Combined Joy-Cons 2 (joycond),a:b0,b:b1,back:b9,dpdown:b15,dpleft:b16,dpright:b17,dpup:b14,guide:b11,leftshoulder:b5,leftstick:b12,lefttrigger:b7,leftx:a0,lefty:a1,rightshoulder:b6,rightstick:b13,righttrigger:b8,rightx:a2,righty:a3,start:b10,x:b3,y:b2,platform:Linux," >>../config/gamecontrollerdb.txt
cp ../config/gamecontrollerdb.txt ../config/gamecontrollercustommappings.txt
Expand Down
2 changes: 0 additions & 2 deletions scripts/games_and_emulators/SM64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ echo
sudo mv "/tmp/SM64/Super Mario 64.desktop" -t /usr/share/applications
mkdir -p ~/.local/share/sm64ex
cd ~/.local/share/sm64ex || error "Could not find folder"
# svn export https://github.com/gabomdq/SDL_GameControllerDB/trunk/gamecontrollerdb.txt
# never mind the outdated GitHub username, WHY was that an svn command before???????
wget https://raw.githubusercontent.com/mdqinc/SDL_GameControllerDB/master/gamecontrollerdb.txt
mv /tmp/SM64/sm64config.txt -t ~/.local/share/sm64ex
rm -rf /tmp/SM64
Expand Down
2 changes: 1 addition & 1 deletion scripts/games_and_emulators/celeste_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ git clone https://github.com/lemon32767/ccleste.git --depth=1 && cd ccleste || e
rm -rf gamecontrollerdb.txt
status "Compiling the game"
make -j$(nproc) || error "Compilation failed"
wget https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt
wget https://raw.githubusercontent.com/mdqinc/SDL_GameControllerDB/master/gamecontrollerdb.txt

path="/usr/local/share/celeste"

Expand Down

0 comments on commit 975d14d

Please sign in to comment.