guide made by jxhug. video here:

if you like the guide pls like the video :)

https://youtu.be/91hUbGrDrpg

Steps 1-5 aren’t required if you’ve done my tutorials before

  1. Install Homebrew
/bin/bash -c "$(curl -fsSL [<https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>](<https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>))"
  1. If you are using an Intel Mac: (replace yourusername with your username)
(echo; echo 'eval "$(/usr/local/bin/brew shellenv)"') >> /Users/yourusername/.zprofile
    eval "$(/usr/local/bin/brew shellenv)"
  1. If you are using an Apple Silicon Mac: (replace yourusername with your username)
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/yourusername/.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"
  1. Install Xcode Command Line Tools
xcode-select --install
  1. Install required packages from Homebrew
brew help
brew doctor
brew cleanup
brew install sdl2 freetype2 fontconfig pkg-config opus jpeg jpeg-turbo libpng libedit python3
  1. Clone the Source Engine GitHub repository
git clone --recursive [<https://github.com/nillerusr/source-engine>](<https://github.com/nillerusr/source-engine>)
cd source-engine
  1. Configure CS build
python3 waf configure -T release --prefix='' --build-games=cstrike
  1. Build the game
python3 waf build