From da208a6f2deb3d95dcb0ec8aeed703b4cc351b1e Mon Sep 17 00:00:00 2001 From: quadruplea0 Date: Mon, 3 Mar 2025 17:08:51 +0000 Subject: [PATCH 1/3] Update installer.nsi --- installer/windows/installer.nsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/windows/installer.nsi b/installer/windows/installer.nsi index 7faf5bc3a..5141c3d2f 100644 --- a/installer/windows/installer.nsi +++ b/installer/windows/installer.nsi @@ -7,7 +7,7 @@ Name "Geode" OutFile "geode-installer-win.exe" Unicode true - InstallDir "$PROGRAMFILES32\Steam\steamapps\common\Geometry Dash\" ; set default path to the most common one + InstallDir "Z:\Steam\steamapps\common\Geometry Dash\" ; set default path to the most common one XPStyle on RequestExecutionLevel user ManifestSupportedOS Win7 From eba095784c58877ed7f35762406e308da24c97d8 Mon Sep 17 00:00:00 2001 From: noob Date: Sun, 22 Mar 2026 22:00:21 +0200 Subject: [PATCH 2/3] old ass commit didnt even work --- installer/windows/installer.nsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/windows/installer.nsi b/installer/windows/installer.nsi index 3eb2ff2b7..35429bb55 100644 --- a/installer/windows/installer.nsi +++ b/installer/windows/installer.nsi @@ -7,7 +7,7 @@ Name "Geode" OutFile "geode-installer-win.exe" Unicode true - InstallDir "Z:\Steam\steamapps\common\Geometry Dash\" ; set default path to the most common one + InstallDir "$PROGRAMFILES32\Steam\steamapps\common\Geometry Dash\" ; set default path to the most common one XPStyle on RequestExecutionLevel user ManifestSupportedOS Win7 From 5627fe8e82e2582b763b5bf078b9dddf637a1cc2 Mon Sep 17 00:00:00 2001 From: noob Date: Sun, 22 Mar 2026 22:01:25 +0200 Subject: [PATCH 3/3] dll rhings --- installer/linux/install.sh | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/installer/linux/install.sh b/installer/linux/install.sh index c3c349019..8a5c925bf 100755 --- a/installer/linux/install.sh +++ b/installer/linux/install.sh @@ -127,6 +127,23 @@ ask_gd_path() { done } +update_wine_overrides() { + local STEAMAPPS_DIR="${GD_PATH%/common/*}" + + local PREFIX="$STEAMAPPS_DIR/compatdata/322170/pfx" + + if [ -d "$PREFIX" ]; then + echo "Updating registry..." + + WINEPREFIX="$PREFIX" wine reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "XInput1_4" /d "native,builtin" /f + + echo -e "${BLUE}Registry updated successfully${NC}" + else + echo -e "${RED}Error${NC}: Proton prefix not found at $PREFIX." + echo "Please launch Geometry Dash at least once via Steam." + fi +} + install() { if [ ! -d "$GD_PATH" ]; then echo -e "${RED}Error:${NC} Geometry Dash path is not set." >&2 @@ -164,6 +181,8 @@ install() { echo "Deleting conflicting XINPUT1_4.dll..." rm "$GD_PATH/XINPUT1_4.dll" fi + + update_wine_overrides } check_dependencies @@ -177,6 +196,7 @@ cat << "EOF" .@@@@...@@@......@@@@@@@@@@. ..@@@..@@@..@@@@@@..@@@..@@@.. ..@@@..@@.@@@@@@@@@..@@..@@@.. +..@@@..@@.@@@@@@@@@..@@..@@@.. ..@@@@..@@@@@@@@@@@.@@..@@@@.. ..@@@@..@@@@@@@@@@..@@.@@@@@.. .@@@@@..@@........@@..@@@@@. @@ -228,8 +248,5 @@ fi install echo -e "Geode has been installed successfully at ${YELLOW}$GD_PATH${NC}!" -echo -e "┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓" -echo -e "┃ Make sure to set \"${YELLOW}WINEDLLOVERRIDES=\"xinput1_4=n,b\" %command%${NC}\" as your ${YELLOW}launch options${NC} for Geometry Dash inside ${BLUE}Steam${NC}. ┃" -echo -e "┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛" echo "Have fun modding!" echo ""