Skip to content

Instantly share code, notes, and snippets.

@jcanfield
Last active July 23, 2026 21:45
Show Gist options
  • Select an option

  • Save jcanfield/ef3d98105eb11262bded9e273a336248 to your computer and use it in GitHub Desktop.

Select an option

Save jcanfield/ef3d98105eb11262bded9e273a336248 to your computer and use it in GitHub Desktop.
Setting up Gears of War 2 Hollow Installer/Launcher on SteamOS (ArchLinux)
#!/usr/bin/env bash
set -euo pipefail
# Alright, so assuming you already own a copy of Gears of War 2 and have the data file, as a ZIP, ready to roll-- here are a few steps
# for setting up on linux using Winetricks and Steam
# Setting sudo password if needed
echo "Setting up environment..."
passwd || true
# Temporarily disabling SteamOS read-only mode
sudo steamos-readonly disable
# Setting up Pacman keys
sudo pacman-key --init || true
sudo pacman-key --populate archlinux holo || sudo pacman-key --populate archlinux
echo "Installing base wine packages..."
sudo pacman -S --needed --noconfirm \
wine-staging \
winetricks \
wine-mono \
wine-gecko \
protontricks \
bottles \
lutris \
mangohud \
gamemode \
vulkan-icd-loader \
lib32-vulkan-icd-loader \
mesa \
lib32-mesa \
giflib \
lib32-giflib \
libpng \
lib32-libpng \
gnutls \
lib32-gnutls \
mpg123 \
lib32-mpg123 \
openal \
lib32-openal \
v4l-utils \
lib32-v4l-utils \
libpulse \
lib32-libpulse \
alsa-lib \
lib32-alsa-lib \
alsa-plugins \
lib32-alsa-plugins \
libjpeg-turbo \
lib32-libjpeg-turbo \
sqlite \
lib32-sqlite \
libxcomposite \
lib32-libxcomposite \
libxinerama \
lib32-libxinerama \
ncurses \
lib32-ncurses \
libxslt \
lib32-libxslt \
gtk3 \
lib32-gtk3 \
gst-plugins-base-libs \
lib32-gst-plugins-base-libs
# Re-enabling SteamOS read-only mode
sudo steamos-readonly enable
echo "==> Base installation complete"
echo "Installed: wine-staging, winetricks, protontricks, bottles, lutris, wine-mono, wine-gecko"
echo "Installing required redistributable packages for wine..."
winetricks vcrun2013
winetricks corefonts
winetricks d3dx9
echo "Creating run script to use in Steam..."
read -r -p "Enter the full path to the Hollow launcher folder: " HOLLOW_DIR
# Using Home folder called .bin for script storage
mkdir -p "$HOME/.bin"
cat > "$HOME/.bin/hollow-launcher.sh" <<'EOF'
#!/usr/bin/env bash
export WINEPREFIX="$HOME/.wine"
cd "$HOLLOW_DIR"
exec wine "$HOLLOW_DIR/HollowLauncher.exe"
EOF
chmod +x "$HOME/bin/hollow-launcher.sh"
echo "Running GoW2 Hollow Launcher..."
echo "==> NOTE: The prefix is $HOME/.wine"
export WINEPREFIX="$HOME/.wine"
wine "/path/to/HollowLauncher.exe"
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment