Play Windows games on Apple Silicon Macs. Free, open-source app that installs the official Battle.net, Steam, Epic and GOG launchers and lists your games in one library.
HTML apple-siliconbattle-netcrossover-alternatived3dmetaldiablo-ii-resurrecteddxmtea-appepic-gamesgame-porting-toolkitgogmac-gamingmacosmacos-gamingrockstar-gamessteamubisoft-connectwhisky-alternativewindows-gameswinewine-wrapper
Add soju CLI entry point + Homebrew install instructions
mikey922b7d7b6f1c47
diff --git a/README.ko.md b/README.ko.mdindex bbbb3e59e46..3f15ad025aa 100644--- a/README.ko.md+++ b/README.ko.md@@ -26,6 +26,13 @@ CodeWeavers가 GPL로 공개한 소스(Wine 11.0, CrossOver 26.3 소스 드롭)curl -fsSL https://raw.githubusercontent.com/BCD1210/soju/main/install.sh | bash```+Homebrew로도 됩니다:++```bash+brew install BCD1210/soju/soju+soju install # 이후: soju battlenet / soju d2r / soju steam+```+프리빌드 엔진(~350MB)을 받고, 애플 무료 GPTK 다운로드(애플이 재배포 금지한 파일 1개)를 안내하고, 블리자드 공식 설치기로 Battle.net을 자동 설치한 뒤 `~/Applications/Battle.net.app`을 만들어줍니다. 로그인하고 플레이하세요.## 직접 빌드하고 싶다면 — CrossOver 불필요diff --git a/README.md b/README.mdindex 5778c3535c9..d7f570866ef 100644--- a/README.md+++ b/README.md@@ -30,6 +30,13 @@ Plus one trap: never put Apple platform binaries (`nohup`, `arch`, …) in the lcurl -fsSL https://raw.githubusercontent.com/BCD1210/soju/main/install.sh | bash```+Or via Homebrew:++```bash+brew install BCD1210/soju/soju+soju install # then: soju battlenet / soju d2r / soju steam+```+Downloads the prebuilt engine (~350 MB), walks you through Apple's free GPTK download (the one file Apple forbids redistributing), auto-installs Battle.net with Blizzard's official installer, and drops a `Battle.net.app` in `~/Applications`. Log in and play.## Build it yourself instead — no CrossOver requireddiff --git a/scripts/soju b/scripts/sojunew file mode 100755index 00000000000..5e4e08688c1--- /dev/null+++ b/scripts/soju@@ -0,0 +1,34 @@+#!/usr/bin/env bash+# soju — command-line entry point (used by the Homebrew formula)+set -euo pipefail++ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"++usage() {+ cat <<'EOF'+soju — free Battle.net / Diablo II: Resurrected / Steam on Apple Silicon++Usage:+ soju install Set up the Wine engine, Apple GPTK and Battle.net+ soju battlenet Launch Battle.net (default bottle)+ soju d2r Launch Diablo II: Resurrected directly+ soju kill Stop everything in the Battle.net bottle++ soju steam-install Set up the Steam bottle (wine-stable + wrapper + Steam)+ soju steam-games Wire DXMT so D3D11 games render (needs built artifacts)+ soju steam Launch Steam+ soju steam-kill Stop everything in the Steam bottle++Docs: https://github.com/BCD1210/soju+EOF+}++case "${1:-}" in+ install) shift; exec bash "$ROOT/install.sh" "$@" ;;+ steam-install) shift; exec bash "$ROOT/scripts/create-steam-bottle.sh" "$@" ;;+ steam-games) shift; exec bash "$ROOT/scripts/setup-steam-games.sh" "$@" ;;+ battlenet|d2r|steam|kill|steam-kill)+ exec bash "$ROOT/scripts/play.sh" "$@" ;;+ -h|--help|help|"") usage ;;+ *) echo "soju: unknown command '$1'" >&2; usage >&2; exit 64 ;;+esac