Skip to content

Instantly share code, notes, and snippets.

@tomduckering
tomduckering / convertHL2ForAppleSilicon.sh
Last active April 6, 2025 03:49
HL2 on Apple Silicon
#!/bin/bash -x
TEMP_INSTALL_DIR="$HOME/SourceEngineGames/Half Life 2"
TEMP_CHECKOUT_DIR="/tmp/source-engine"
STEAM_INSTALL="$HOME/Library/Application Support/Steam/steamapps/common/Half-Life 2"
if ! test -d "$STEAM_INSTALL"; then
echo "Ensure you have HL2 installed - ensure it's the steam_legacy edition (Steam -> Library -> Half Life 2 -> Properties -> Betas -> Beta Participation"
echo "Did not find it installed at ${STEAM_INSTALL}"
exit 1