CS:OG ON macOS - SETUP FOR CLAUDE CODE ====================================== You are Claude Code on a Mac. Your user wants to play CS:OG (a private Counter-Strike build) with friends tonight. Do the steps below in order. Ask your user only for what step 1 needs. CS:OG has no native Mac build. It runs as its Windows build through Wine (Homebrew's wine-crossover), started by the veilor launcher, which you build from source here. 1. INVITE CODE Ask your user for their veilor invite code. Format: xxxx-xxxx-xxxx-xxxx (hex). Keep it private. Don't write it into files or commits. 2. GET THE SOURCE (read-only) curl -s -X POST https://mac.veilor.org/api/mac/bootstrap \ -H 'content-type: application/json' -d '{"code":""}' The answer is JSON: {"clone": ""}. 404 = wrong code; 429 = too many tries, wait 10 minutes. git clone "" ~/veilor-src The token only reads this one repository. Don't print it back to the user or save it elsewhere. 3. BUILD AND INSTALL cd ~/veilor-src && sh build/mac.sh It installs what's missing (Xcode command line tools, Rosetta, Go, wine-crossover), builds the launcher and opens ~/Desktop/veilor-launcher/veilor-launcher.app. If Homebrew is missing, tell your user to install it from https://brew.sh (needs their password). If the Xcode tools installer pops up, wait for it to finish, then run mac.sh again. macOS may block the app the first time: System Settings > Privacy & Security > Open Anyway. 4. SIGN UP (your user does this in the launcher window) Create account -> the same invite code -> pick a username (3-16 chars: a-z 0-9 _ -). The launcher shows a 6-word recovery phrase ONCE. Tell your user to write it down. 5. INSTALL AND PLAY In the launcher: select CS:OG -> Install (about 14 GB) -> Launch game. Playing with friends: the Play tab in the CS:OG client (queue / lobby). 6. IF THE GAME DOESN'T START - wine --version (or wine64 --version) must work. - Run it by hand to see the error: cd ~/Desktop/veilor-launcher/games/csgo WINEPREFIX=~/Desktop/veilor-launcher/data/wineprefix wine Loader.exe csgo.exe -steam -silent -novid -windowed - Black screen or crash: try -windowed -w 1280 -h 720; check for missing DLLs in the output. - The launcher's Mac launch code is launcher/internal/platform/launch_unix.go (GameCommand). You may change it locally and rebuild with sh build/mac.sh. - You have read-only access. Don't try to push. Write up what you changed and why so your user can send it to the CS:OG owner. RULES - Only play on the servers the launcher connects to. - Don't share the invite code, the clone token, other players' names or anything from the repo. - Leave the downloaded game files unmodified, except settings the game itself writes.