Skip to content

armgit / soju

Public Imported from GitHub
0

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.

README: lead with what Soju is, the download and what runs (#76)

Mikek635a3845b6b4
diff --git a/README.ko.md b/README.ko.md
index d64c4f1ab8b..132ebffe1e8 100644
--- a/README.ko.md
+++ b/README.ko.md
@@ -2,31 +2,24 @@
# Soju (한국어)
-**1.6.1 추가:** Steam 공식 로그인으로 보유 게임 가져오기(API 키 불필요), GOG Galaxy 로컬 보유 목록 가져오기, Steam·GOG 상품/가격 검색과 공식 스토어 연결. [설정 안내](docs/ACCOUNTS.md).
-**v1.6.1:** 설치된 게임을 한 라이브러리에서 검색·필터·즐겨찾기하고 실행할 수 있습니다. 런처 설치와 업데이트는 Platforms에서 관리합니다. Steam·GOG 보유 게임을 가져오고 Discover에서 상품과 가격을 검색할 수 있습니다. Epic·Battle.net 전체 보유 목록 연동은 아직 지원하지 않습니다.
+> **Apple Silicon 맥에서 Windows 게임을 하는 무료 오픈소스 앱.**
-[Desktop / download](docs/DESKTOP.md)
+Soju는 M1 이후 맥에 **Battle.net·Steam·Epic Games·GOG GALAXY** 공식 Windows 런처를 설치하고, 런처마다 Wine 환경을 따로 두고, 게임을 맥 라이브러리 한 곳에 모아 보여줍니다. CrossOver 없이 Battle.net과 디아블로 2: 레저렉션을 돌리려고 시작한 프로젝트입니다.
-> **Apple Silicon 맥용 무료 오픈소스 게임 런처 도구.**
+![Soju 통합 게임 라이브러리](docs/assets/soju-library.png)
-맥에서 **Battle.net·Steam·Epic Games Launcher·GOG GALAXY**를 설치하고 실행하세요.
-Soju는 터미널 설치 도구, 런처별 독립 Wine 환경, 더블클릭으로 실행하는 맥 앱을 제공합니다.
-기존 스토어 계정으로 로그인해 지원되는 Windows 게임을 플레이할 수 있습니다.
+**[Soju 1.10.10 맥 앱 받기](https://github.com/BCD1210/soju/releases/download/v1.10.10/Soju-1.10.10-macos-arm64.zip)**, 또는 터미널에서 설치:
-게임 라이브러리는 각 스토어의 런처에서 이용합니다. 현재 Soju는 CLI와 런처별 실행 앱으로
-구성되어 있으며, 게임과 시스템에 따라 호환성이 달라집니다.
-
-도구는 무료 오픈소스입니다. 기본 Wine 엔진은 CodeWeavers 공개 소스로 빌드하며,
-Steam은 별도의 wine-stable 환경을 사용합니다. Apple의 비공개 GPTK/D3DMetal 구성요소는
-별도로 내려받아야 합니다. 게임과 스토어 클라이언트는 포함하지 않습니다.
+```bash
+brew install BCD1210/soju/soju
+soju install
+```
-**현재 스크립트: [v1.3.6](https://github.com/BCD1210/soju/releases/tag/v1.3.6).**
-아래 실행 사례는 M4 Pro / macOS 26.5에서 확인한 결과입니다.
-디아블로2와 호그와트 레거시는 지원 사례이며, 프로젝트의 범위는 여러 게임 런처입니다.
+앱은 macOS 14 이상에서 돌아갑니다. 디아블로 2: 레저렉션은 macOS 26.4 이상, Steam 게임은 macOS 26 이상이 필요합니다.
-[30초 실제 게임 플레이 영상 보기](https://didimlabs.com/#demo) · 호그와트 레거시 / Epic + Guilt Free / Steam (별도 DXMT 설정)
+[되는 것](#되는-것) · [설치 안내](#설치-한-줄) · [30초 게임 플레이 영상](https://didimlabs.com/#demo) · [맥에서 디아2 돌리기](https://didimlabs.com/guides/ko/diablo-2-mac.html) · [English](README.md) · [简体中文](README.zh.md)
-*[English README](README.md) · [简体中文说明](README.zh.md)*
+게임마다 호환성이 다르고, 커널 안티치트가 붙은 게임은 실행되지 않습니다. 게임, 스토어 클라이언트, Apple GPTK는 포함하지 않으며 GPTK는 따로 받아야 합니다.
## 되는 것
@@ -44,11 +37,12 @@ Steam은 별도의 wine-stable 환경을 사용합니다. Apple의 비공개 GPT
| Battle.net | ✅ | ✅ | Agent 동작, `BLZBNTBNA00000005`는 서명 exe 시딩으로 해결 |
| Epic Games Launcher | ✅ | ✅ | 창을 닫으면 메뉴바 트레이로 |
| GOG GALAXY | ✅ | ✅ | 로그인·라이브러리까지, 게임은 아직 폭넓게 테스트 안 됨 |
-| Steam (Windows 클라이언트) | ✅ | ✅ | 별도 `wine-stable` + DXMT 보틀 |
+| Steam (Windows 클라이언트) | ✅ | ✅ | 별도 Wine 11 + DXMT 보틀 |
+| Xbox PC / Microsoft Store | ✅ | ✅ | Xodus 백엔드, 게임 실행은 실험 기능 (Retro Classics 메뉴까지 확인) |
| 게임 | 스토어 | 그래픽 | 상태 | 비고 |
| --- | --- | --- | :-: | --- |
-| Diablo II: Resurrected | Battle.net | D3DMetal (D3D12) | ✅ 인게임, 온라인 | **macOS 26.4 이상**(전제조건 참고); `play.sh`가 `ROSETTA_ADVERTISE_AVX=1` 설정; [가이드](https://bcd1210.github.io/soju/guides/ko/diablo-2-mac.html) |
+| Diablo II: Resurrected | Battle.net | D3DMetal (D3D12) | ✅ 인게임, 온라인 | **macOS 26.4 이상**(전제조건 참고); `play.sh`가 `ROSETTA_ADVERTISE_AVX=1` 설정; [가이드](https://didimlabs.com/guides/ko/diablo-2-mac.html) |
| Diablo II: Resurrected VR(오프라인) | Battle.net | D3DMetal (D3D12) + OpenXR | 🧪 시뮬레이터만 확인 | `soju vr setup` / `soju vr play`: 오프라인 캐릭터용 D2R VR Unleashed, OXRSys 헤드셋 클라이언트로 스트리밍; [docs/VR.md](docs/VR.md) |
| Hogwarts Legacy | Epic | D3DMetal (D3D12) | ✅ 인게임 | UE4 "AMD 드라이버" 경고는 무해, 입력 소스를 영어로 |
| Unity D3D11 타이틀 | Steam | DXMT | ✅ 인게임, 창 모드 | `soju steam-games` 필요, [docs/STEAM-GAMES.md](docs/STEAM-GAMES.md) |
@@ -56,18 +50,6 @@ Steam은 별도의 wine-stable 환경을 사용합니다. Apple의 비공개 GPT
안 되는 것: 커널 안티치트(EAC, BattlEye, Vanguard)가 붙은 게임 전부. 다른 게임을 돌리셨다면 [Discussions](https://github.com/BCD1210/soju/discussions)에 올리거나 표에 한 줄 추가하는 PR을 보내주세요.
-## 핵심 발견 3가지
-
-설치와 실행을 안정화하면서 확인한 원인과 해결 방법:
-
-1. **`ROSETTA_ADVERTISE_AVX=1`**: D2R 로더는 AVX 명령어가 필수입니다. 이 환경변수가 없으면 게임이 그래픽 초기화 전에 86MB/0%CPU로 영원히 멈춥니다. "맥에서 D2R이 실행 안 됨"의 정체입니다.
-2. **D3DMetal 페이로드 레이아웃**: 애플 GPTK 페이로드는 세 부분이고 셋이 다 있어야 D3DMetal이 붙습니다. `lib/external/`(libd3dshared + D3DMetal.framework), Wine 자체 DLL을 대체하는 애플의 PE shim `d3d11.dll`·`d3d12.dll`·`dxgi.dll`(+ `atidxx64`, `nvapi64`, `nvngx`)을 `lib/wine/x86_64-windows/`에, 그리고 shim마다 `lib/wine/x86_64-unix/<shim>.so`를 `lib/external/`로 가는 **심링크**로. 실물을 복사하면 `@loader_path`가 어긋나 assertion 루프로 죽고, Wine 자체 `d3d11.dll`을 그대로 두면 D3D가 wined3d로 돌아가며 Epic Games Launcher는 시작 직후 크래시합니다. `soju gptk`가 세 부분을 모두 설치합니다.
-3. **Battle.net Agent 서명검증 수정**: Agent는 접속한 클라이언트의 서명을 자기 작업폴더(버전 하위폴더) 기준 상대 파일명으로 검사합니다. 서명된 `Battle.net.exe` 사본을 각 `Battle.net.NNNNN` 폴더에 넣으면 통과합니다 (에러 `BLZBNTBNA00000005` 해결).
-
-함정 하나: 실행 체인에 애플 보호 바이너리(`nohup`, `arch` 등)를 두면 macOS가 `DYLD_*` 변수를 제거해 라이브러리를 못 찾습니다.
-
-**가이드:** [맥에서 디아2 돌리기](https://bcd1210.github.io/soju/guides/ko/diablo-2-mac.html) · [영문 가이드 모음](https://bcd1210.github.io/soju/)
-
## 설치 (한 줄)
```bash
@@ -93,6 +75,27 @@ soju update # 스크립트와 엔진 업데이트 (GPTK와 보틀은 그대
soju uninstall # 앱·보틀·엔진 제거, 항목마다 확인 후 진행
```
+## 앱에 더 있는 것
+
+- **보유 게임 가져오기:** Steam 공식 로그인으로 보유 게임을 가져오고(API 키 불필요), GOG GALAXY가 저장해 둔 보유 목록도 가져옵니다. 설치된 게임과 설치 안 된 게임이 한 라이브러리에 같이 보입니다. Epic·Battle.net 보유 목록 연동은 아직 없습니다. [설정 안내](docs/ACCOUNTS.md)
+- **Discover:** Steam·GOG·Microsoft Store의 상품과 가격을 검색하고 공식 스토어로 연결합니다.
+- **Platforms:** 런처 설치, 구성요소 업데이트, 진단을 한 화면에서 합니다. CLI와 런처별 바로가기도 그대로 쓸 수 있습니다.
+- **Xbox PC (실험 기능), TV·아이패드 스트리밍, Didim Labs Store:** 아래 [Didim Labs Store](#didim-labs-store)와 [Xbox PC](#xbox-pc--microsoft-store-xodus-백엔드-실험-기능) 항목에 있습니다.
+
+기본 Wine 엔진은 CodeWeavers 공개 소스로 빌드하고, Steam은 별도의 Wine 11 환경을 씁니다.
+
+## 핵심 발견 3가지
+
+설치와 실행을 안정화하면서 확인한 원인과 해결 방법:
+
+1. **`ROSETTA_ADVERTISE_AVX=1`**: D2R 로더는 AVX 명령어가 필수입니다. 이 환경변수가 없으면 게임이 그래픽 초기화 전에 86MB/0%CPU로 영원히 멈춥니다. "맥에서 D2R이 실행 안 됨"의 정체입니다.
+2. **D3DMetal 페이로드 레이아웃**: 애플 GPTK 페이로드는 세 부분이고 셋이 다 있어야 D3DMetal이 붙습니다. `lib/external/`(libd3dshared + D3DMetal.framework), Wine 자체 DLL을 대체하는 애플의 PE shim `d3d11.dll`·`d3d12.dll`·`dxgi.dll`(+ `atidxx64`, `nvapi64`, `nvngx`)을 `lib/wine/x86_64-windows/`에, 그리고 shim마다 `lib/wine/x86_64-unix/<shim>.so`를 `lib/external/`로 가는 **심링크**로. 실물을 복사하면 `@loader_path`가 어긋나 assertion 루프로 죽고, Wine 자체 `d3d11.dll`을 그대로 두면 D3D가 wined3d로 돌아가며 Epic Games Launcher는 시작 직후 크래시합니다. `soju gptk`가 세 부분을 모두 설치합니다.
+3. **Battle.net Agent 서명검증 수정**: Agent는 접속한 클라이언트의 서명을 자기 작업폴더(버전 하위폴더) 기준 상대 파일명으로 검사합니다. 서명된 `Battle.net.exe` 사본을 각 `Battle.net.NNNNN` 폴더에 넣으면 통과합니다 (에러 `BLZBNTBNA00000005` 해결).
+
+함정 하나: 실행 체인에 애플 보호 바이너리(`nohup`, `arch` 등)를 두면 macOS가 `DYLD_*` 변수를 제거해 라이브러리를 못 찾습니다.
+
+**가이드:** [맥에서 디아2 돌리기](https://didimlabs.com/guides/ko/diablo-2-mac.html) · [영문 가이드 모음](https://didimlabs.com/)
+
## 직접 빌드하고 싶다면: CrossOver 불필요
이 레포의 스크립트 밖에서 받는 것은 애플의 무료 Game Porting Toolkit 파일 하나뿐입니다 (무료 Apple ID 필요. 애플이 재배포를 금지해서 직접 받아야 합니다).
diff --git a/README.md b/README.md
index f4c9c6e75e8..183c6b352b1 100644
--- a/README.md
+++ b/README.md
@@ -2,45 +2,24 @@
# Soju
-> **Free, open-source game library and launcher for Apple Silicon Macs.**
+> **Play Windows games on Apple Silicon Macs. Free and open source.**
-Bring installed games from **Battle.net, Steam, Epic Games and GOG GALAXY**
-into one native Mac library. Search, filter, favorite and launch games through
-their official Windows clients. The Platforms page handles launcher setup,
-component updates and diagnostics; the CLI and individual shortcuts remain available.
-
-Sign in to **Steam** to import your owned library, or import the
-owned library cached by **GOG GALAXY**. Installed and uninstalled games share the
-same library, with availability filters and official-client install actions.
-**Discover** searches Steam, GOG and Microsoft Store listings and prices, with links to buy from the stores.
-**Xbox PC (experimental):** sign in to a Microsoft account to import owned and PC Game Pass games, download them through the [Xodus](https://github.com/xodus-gaming/xodus) backend and start them on Soju's engine. Retro Classics reaches its main menu on Soju; other games are untested. Purchases, downloads and updates stay with the official stores.
-**TV & iPad:** turn on streaming in Soju, install the free Moonlight app on your TV, iPad or phone, type the PIN it shows, and play Soju games on that screen while they run on your Mac.
-
-**Didim Labs Store:** we sell our own Mac games here. Press Buy, pay on Polar, and Soju downloads the game, checks its SHA-256 and signature, and installs it. No Wine. The key stays in the Keychain, so reinstalling doesn't ask again. If you already have the .zip, use Library → Add Didim Labs game or `soju didim install <zip>`.
-Epic and Battle.net account imports are not included yet. Compatibility varies by game.
+Soju installs the official Windows launchers for **Battle.net, Steam, Epic Games and GOG GALAXY** on M1-or-newer Macs, keeps each one in its own Wine setup, and lists your games in one Mac library. It began as a way to run Battle.net and Diablo II: Resurrected without CrossOver.
![Soju unified game library](docs/assets/soju-library.png)
-![Search Steam and GOG with Soju Discover](docs/assets/soju-discover.png)
-
-[Account connections and store search](docs/ACCOUNTS.md) · Official Steam sign-in, no API key required. Account imports stay on your Mac.
+**[Download Soju 1.10.10 for Mac](https://github.com/BCD1210/soju/releases/download/v1.10.10/Soju-1.10.10-macos-arm64.zip)**, or install from the terminal:
-The tools are free and open source. The main Wine engine is built from
-CodeWeavers' published sources; Steam uses a separate private Wine 11 setup.
-Apple's proprietary GPTK/D3DMetal is downloaded separately. Games and store
-clients are not included.
-
-**Current release: [v1.10.10](https://github.com/BCD1210/soju/releases/tag/v1.10.10).**
-The compatibility examples below were verified on M4 Pro / macOS 26.5.
-D2R and Hogwarts Legacy are examples of supported games, not the scope of the project.
-
-[Watch the 30-second gameplay demo](https://didimlabs.com/#demo) · Hogwarts Legacy / Epic + Guilt Free / Steam (custom DXMT)
+```bash
+brew install BCD1210/soju/soju
+soju install
+```
-*[한국어 README](README.ko.md) · [简体中文说明](README.zh.md)*
+The app runs on macOS 14 or later. Diablo II: Resurrected needs macOS 26.4 or later, and Steam games need macOS 26 or later.
-## Support Soju
+[What runs](#what-runs) · [Install details](#install-one-line) · [30-second gameplay demo](https://didimlabs.com/#demo) · [Guides](https://didimlabs.com/#guides) · [한국어](README.ko.md) · [简体中文](README.zh.md)
-Help keep Soju free and open source. [Support Soju](https://didimlabs.com/support.html) brings together ways to contribute, voluntary support updates and information about game purchase links.
+Compatibility varies by game, and games with kernel anti-cheat will not run. Games, store clients and Apple's Game Porting Toolkit are not included; GPTK is downloaded separately.
## What runs
@@ -63,7 +42,7 @@ All verified on an M4 Pro running macOS 26.5. Separate bottles for each launcher
| Game | Store | Graphics | Status | Notes |
| --- | --- | --- | :-: | --- |
-| Diablo II: Resurrected | Battle.net | D3DMetal (D3D12) | ✅ in-game, online | **macOS 26.4 or later** (see prerequisites); `play.sh` sets `ROSETTA_ADVERTISE_AVX=1`; [guide](https://bcd1210.github.io/soju/guides/diablo-2-resurrected-apple-silicon.html) |
+| Diablo II: Resurrected | Battle.net | D3DMetal (D3D12) | ✅ in-game, online | **macOS 26.4 or later** (see prerequisites); `play.sh` sets `ROSETTA_ADVERTISE_AVX=1`; [guide](https://didimlabs.com/guides/diablo-2-resurrected-apple-silicon.html) |
| Diablo II: Resurrected in VR (offline) | Battle.net | D3DMetal (D3D12) + OpenXR | 🧪 simulator only | `soju vr setup` / `soju vr play`: D2R VR Unleashed for offline characters, streamed to an OXRSys headset client; [docs/VR.md](docs/VR.md) |
| Hogwarts Legacy | Epic | D3DMetal (D3D12) | ✅ in-game | UE4 "AMD driver" warning is harmless |
| Unity D3D11 title | Steam | DXMT | ✅ in-game, windowed | via `soju steam-games`; see [docs/STEAM-GAMES.md](docs/STEAM-GAMES.md) |
@@ -75,22 +54,6 @@ Will not run: anything with kernel anti-cheat (EAC, BattlEye, Vanguard). Got ano
results separately from the maintainer-tested examples, including D2R on M5,
the Dark Souls III renderer workaround, and unresolved launch failures.
-## Why this exists
-
-Community Wine builds (Whisky, Kegworks-era engines) stopped working with modern Battle.net and D2R. The commercial option works, but the underlying Wine engine is GPL, so we built it ourselves and documented every wall we hit. The investigation and fixes are documented below:
-
-### The three keys
-
-1. **`ROSETTA_ADVERTISE_AVX=1`**: D2R's loader requires AVX instructions. Without this env var, the game freezes forever at ~86 MB RSS with 0% CPU, before any graphics init. This is why D2R "hangs at launch" on non-CrossOver Wine builds.
-
-2. **D3DMetal payload layout**: Apple's Game Porting Toolkit payload is three parts, and D3DMetal engages only with all three: `lib/external/` (libd3dshared + D3DMetal.framework), Apple's PE shims `d3d11.dll`, `d3d12.dll`, `dxgi.dll` (plus `atidxx64`, `nvapi64`, `nvngx`) replacing Wine's own in `lib/wine/x86_64-windows/`, and one `lib/wine/x86_64-unix/<shim>.so` per shim as a **symlink** into `lib/external/`. Copying real files there breaks `@loader_path` resolution and D3DMetal dies in an assertion loop; leaving Wine's own `d3d11.dll` in place runs D3D on wined3d instead, and the Epic Games Launcher crashes at start on that. `soju gptk` installs all three parts.
-
-3. **Battle.net Agent caller-signature fix**: the Agent verifies the signature of the connecting client using a relative filename resolved against its CWD (a versioned subfolder). Seeding a copy of the signed `Battle.net.exe` into each `Battle.net.NNNNN` subfolder makes verification pass (fixes error `BLZBNTBNA00000005`).
-
-Plus one trap: never put Apple platform binaries (`nohup`, `arch`, …) in the launch chain. macOS strips `DYLD_*` variables when exec'ing them.
-
-**Guides:** [D2R on Apple Silicon](https://bcd1210.github.io/soju/guides/diablo-2-resurrected-apple-silicon.html) · [Windows Steam client](https://bcd1210.github.io/soju/guides/steam-windows-client-apple-silicon.html) · [Whisky alternatives](https://bcd1210.github.io/soju/guides/whisky-alternative.html)
-
## Install (one line)
```bash
@@ -116,6 +79,39 @@ soju update # updates the scripts and the prebuilt engine, keeping GPTK and
soju uninstall # removes apps, bottles and the engine, asking before each one
```
+## More in the app
+
+- **Owned games:** sign in to Steam to import your owned library, or import the library cached by GOG GALAXY. Installed and uninstalled games share one library, with availability filters and official-client install actions. Epic and Battle.net account imports are not included yet. See [account connections and store search](docs/ACCOUNTS.md): official Steam sign-in, no API key required, and account imports stay on your Mac.
+- **Discover:** searches Steam, GOG and Microsoft Store listings and prices, with links to buy from the stores.
+- **Platforms:** handles launcher setup, component updates and diagnostics. The CLI and individual shortcuts remain available.
+- **Xbox PC (experimental):** sign in to a Microsoft account to import owned and PC Game Pass games, download them through the [Xodus](https://github.com/xodus-gaming/xodus) backend and start them on Soju's engine. Retro Classics reaches its main menu on Soju; other games are untested. Purchases, downloads and updates stay with the official stores. Details [below](#xbox-pc--microsoft-store-xodus-backend-experimental).
+- **TV & iPad:** turn on streaming in Soju, install the free Moonlight app on your TV, iPad or phone, type the PIN it shows, and play Soju games on that screen while they run on your Mac.
+- **Didim Labs Store:** we sell our own Mac games here. Press Buy, pay on Polar, and Soju downloads the game, checks its SHA-256 and signature, and installs it. No Wine. The key stays in the Keychain, so reinstalling doesn't ask again. If you already have the .zip, use Library → Add Didim Labs game or `soju didim install <zip>`.
+
+![Search Steam and GOG with Soju Discover](docs/assets/soju-discover.png)
+
+The main Wine engine is built from CodeWeavers' published sources; Steam uses a separate private Wine 11 setup.
+
+## Support Soju
+
+Help keep Soju free and open source. [Support Soju](https://didimlabs.com/support.html) brings together ways to contribute, voluntary support updates and information about game purchase links.
+
+## Why this exists
+
+Community Wine builds (Whisky, Kegworks-era engines) stopped working with modern Battle.net and D2R. The commercial option works, but the underlying Wine engine is GPL, so we built it ourselves and documented every wall we hit. The investigation and fixes are documented below:
+
+### The three keys
+
+1. **`ROSETTA_ADVERTISE_AVX=1`**: D2R's loader requires AVX instructions. Without this env var, the game freezes forever at ~86 MB RSS with 0% CPU, before any graphics init. This is why D2R "hangs at launch" on non-CrossOver Wine builds.
+
+2. **D3DMetal payload layout**: Apple's Game Porting Toolkit payload is three parts, and D3DMetal engages only with all three: `lib/external/` (libd3dshared + D3DMetal.framework), Apple's PE shims `d3d11.dll`, `d3d12.dll`, `dxgi.dll` (plus `atidxx64`, `nvapi64`, `nvngx`) replacing Wine's own in `lib/wine/x86_64-windows/`, and one `lib/wine/x86_64-unix/<shim>.so` per shim as a **symlink** into `lib/external/`. Copying real files there breaks `@loader_path` resolution and D3DMetal dies in an assertion loop; leaving Wine's own `d3d11.dll` in place runs D3D on wined3d instead, and the Epic Games Launcher crashes at start on that. `soju gptk` installs all three parts.
+
+3. **Battle.net Agent caller-signature fix**: the Agent verifies the signature of the connecting client using a relative filename resolved against its CWD (a versioned subfolder). Seeding a copy of the signed `Battle.net.exe` into each `Battle.net.NNNNN` subfolder makes verification pass (fixes error `BLZBNTBNA00000005`).
+
+Plus one trap: never put Apple platform binaries (`nohup`, `arch`, …) in the launch chain. macOS strips `DYLD_*` variables when exec'ing them.
+
+**Guides:** [D2R on Apple Silicon](https://didimlabs.com/guides/diablo-2-resurrected-apple-silicon.html) · [Windows Steam client](https://didimlabs.com/guides/steam-windows-client-apple-silicon.html) · [Whisky alternatives](https://didimlabs.com/guides/whisky-alternative.html)
+
## Build it yourself instead: no CrossOver required
The only thing you download outside this repo's scripts is Apple's free Game Porting Toolkit (one file, needs a free Apple ID). Apple forbids redistributing it.
diff --git a/README.zh.md b/README.zh.md
index 4b9dc586804..a422171c51f 100644
--- a/README.zh.md
+++ b/README.zh.md
@@ -2,31 +2,24 @@
# Soju(简体中文)
-**1.6.1 新增:** 通过 Steam 官方登录导入已购游戏(无需 API 密钥)、GOG Galaxy 本地游戏库导入,以及 Steam/GOG 商店搜索与官方购买链接。[设置说明](docs/ACCOUNTS.md)。
-**v1.6.1:** 在统一游戏库中搜索、筛选、收藏和启动已安装的游戏。通过 Platforms 管理启动器安装与更新。支持导入 Steam/GOG 已购游戏,并在 Discover 中搜索商品与价格。暂不支持 Epic/Battle.net 的完整账户游戏库导入。
+> **在 Apple Silicon Mac 上玩 Windows 游戏,免费开源。**
-[Desktop / download](docs/DESKTOP.md)
+Soju 在 M1 及更新的 Mac 上安装 **Battle.net、Steam、Epic Games 和 GOG GALAXY** 的官方 Windows 客户端,每个客户端使用独立的 Wine 环境,并把游戏集中显示在一个 Mac 游戏库里。项目最初是为了不用 CrossOver 也能运行战网和 Diablo II: Resurrected。
-> **面向 Apple Silicon Mac 的免费开源游戏启动工具。**
+![Soju 统一游戏库](docs/assets/soju-library.png)
-在 Mac 上安装和运行 **Battle.net、Steam、Epic Games Launcher 和 GOG GALAXY**。
-Soju 提供终端安装工具、独立的 Wine 环境,以及每个商店对应的 Mac 启动应用。
-使用已有的商店账号登录,运行兼容的 Windows 游戏。
+**[下载 Soju 1.10.10(Mac)](https://github.com/BCD1210/soju/releases/download/v1.10.10/Soju-1.10.10-macos-arm64.zip)**,或在终端安装:
-游戏库仍通过各商店自己的客户端访问。Soju 目前提供 CLI 和各启动器的快捷应用;
-兼容性取决于游戏和系统环境。
-
-工具免费开源。主 Wine 引擎基于 CodeWeavers 公开源码构建,Steam 使用独立的
-wine-stable 环境。Apple 的专有 GPTK/D3DMetal 组件需要单独下载。
-项目不包含游戏或商店客户端。
+```bash
+brew install BCD1210/soju/soju
+soju install
+```
-**当前脚本版本:[v1.3.6](https://github.com/BCD1210/soju/releases/tag/v1.3.6)。**
-下方运行案例在 M4 Pro / macOS 26.5 上验证。
-D2R 和 Hogwarts Legacy 是兼容案例,项目面向多个游戏启动器。
+应用需要 macOS 14 或更高版本。Diablo II: Resurrected 需要 macOS 26.4 或更高,Steam 游戏需要 macOS 26 或更高。
-[观看 30 秒实际游戏演示](https://didimlabs.com/#demo) · Hogwarts Legacy / Epic + Guilt Free / Steam(需额外配置 DXMT)
+[能跑什么](#能跑什么) · [安装说明](#安装一行命令) · [30 秒游戏演示](https://didimlabs.com/#demo) · [English](README.md) · [한국어](README.ko.md)
-*[English README](README.md) · [한국어 README](README.ko.md)*
+各游戏的兼容性不同,带内核级反作弊的游戏无法运行。项目不包含游戏、商店客户端和 Apple GPTK,GPTK 需要单独下载。
## 能跑什么
@@ -44,11 +37,12 @@ D2R 和 Hogwarts Legacy 是兼容案例,项目面向多个游戏启动器。
| 战网(Battle.net) | ✅ | ✅ | Agent 正常;`BLZBNTBNA00000005` 通过签名 exe 播种解决 |
| Epic Games Launcher | ✅ | ✅ | 关闭窗口后驻留菜单栏托盘 |
| GOG GALAXY | ✅ | ✅ | 登录和游戏库可用;游戏尚未广泛测试 |
-| Steam(Windows 客户端) | ✅ | ✅ | 独立的 `wine-stable` + DXMT bottle |
+| Steam(Windows 客户端) | ✅ | ✅ | 独立的 Wine 11 + DXMT bottle |
+| Xbox PC / Microsoft Store | ✅ | ✅ | Xodus 后端;游戏启动为实验功能(Retro Classics 可进入主菜单) |
| 游戏 | 平台 | 图形 | 状态 | 说明 |
| --- | --- | --- | :-: | --- |
-| Diablo II: Resurrected | 战网 | D3DMetal (D3D12) | ✅ 进入游戏,可联网 | **需要 macOS 26.4 或更高**(见前提条件);`play.sh` 设置 `ROSETTA_ADVERTISE_AVX=1`;[指南](https://bcd1210.github.io/soju/guides/diablo-2-resurrected-apple-silicon.html) |
+| Diablo II: Resurrected | 战网 | D3DMetal (D3D12) | ✅ 进入游戏,可联网 | **需要 macOS 26.4 或更高**(见前提条件);`play.sh` 设置 `ROSETTA_ADVERTISE_AVX=1`;[指南](https://didimlabs.com/guides/diablo-2-resurrected-apple-silicon.html) |
| Diablo II: Resurrected VR(离线) | 战网 | D3DMetal (D3D12) + OpenXR | 🧪 仅在模拟器验证 | `soju vr setup` / `soju vr play`:离线角色的 D2R VR Unleashed,串流到 OXRSys 头显客户端;[docs/VR.md](docs/VR.md) |
| Hogwarts Legacy | Epic | D3DMetal (D3D12) | ✅ 进入游戏 | UE4 的"AMD 驱动"警告无害 |
| Unity D3D11 游戏 | Steam | DXMT | ✅ 进入游戏,窗口模式 | 需要 `soju steam-games`,见 [docs/STEAM-GAMES.md](docs/STEAM-GAMES.md) |
@@ -56,22 +50,6 @@ D2R 和 Hogwarts Legacy 是兼容案例,项目面向多个游戏启动器。
跑不了的:任何带内核级反作弊(EAC、BattlEye、Vanguard)的游戏。跑通了别的游戏?欢迎发到 [Discussions](https://github.com/BCD1210/soju/discussions),或提 PR 加一行。
-## 为什么会有这个项目
-
-社区 Wine 构建(Whisky、Kegworks 时代的引擎)已经无法运行新版战网和 D2R。商业方案可以用,但其底层 Wine 引擎是 GPL 的,所以我们自己把它编译出来,并记录了撞上的每一堵墙。以下记录了其中三个问题的诊断和修复:
-
-### 三把钥匙
-
-1. **`ROSETTA_ADVERTISE_AVX=1`**:D2R 的加载器要求 AVX 指令集。没有这个环境变量,游戏会在任何图形初始化之前,卡在约 86 MB 内存、0% CPU 的状态永远不动。这就是非 CrossOver 的 Wine 构建上 "D2R 启动即卡死" 的真相。
-
-2. **D3DMetal 载荷布局**:Apple Game Porting Toolkit 的载荷分三部分,三者齐全 D3DMetal 才会生效:`lib/external/`(libd3dshared + D3DMetal.framework);Apple 的 PE 垫片 `d3d11.dll`、`d3d12.dll`、`dxgi.dll`(以及 `atidxx64`、`nvapi64`、`nvngx`),放在 `lib/wine/x86_64-windows/` 下替换 Wine 自带的同名 DLL;以及每个垫片对应一个 `lib/wine/x86_64-unix/<垫片>.so`,必须是指向 `lib/external/` 的**符号链接**。直接复制文件会破坏 `@loader_path` 解析,D3DMetal 会陷入断言循环;若保留 Wine 自带的 `d3d11.dll`,D3D 会走 wined3d,Epic Games Launcher 启动即崩溃。`soju gptk` 会安装全部三部分。
-
-3. **战网 Agent 调用方签名修复**:Agent 校验连接客户端的签名时,用的是相对文件名,相对于它自己的工作目录(一个带版本号的子目录)解析。把签名过的 `Battle.net.exe` 复制一份到每个 `Battle.net.NNNNN` 子目录即可通过校验(修复错误 `BLZBNTBNA00000005`)。
-
-另外一个陷阱:启动链里绝不能出现 Apple 平台二进制(`nohup`、`arch` 等)。macOS 在 exec 它们时会剥掉 `DYLD_*` 环境变量。
-
-**指南(英文):** [D2R on Apple Silicon](https://bcd1210.github.io/soju/guides/diablo-2-resurrected-apple-silicon.html) · [Windows Steam client](https://bcd1210.github.io/soju/guides/steam-windows-client-apple-silicon.html) · [Whisky alternatives](https://bcd1210.github.io/soju/guides/whisky-alternative.html)
-
## 安装(一行命令)
```bash
@@ -97,6 +75,33 @@ soju update # 更新脚本和预编译引擎(保留 GPTK 和所有 bottle
soju uninstall # 卸载:逐项确认后删除 app、bottle 和引擎
```
+## 应用里的其他功能
+
+- **导入已购游戏:** 通过 Steam 官方登录导入已购游戏(无需 API 密钥),也可导入 GOG GALAXY 本地缓存的游戏库。已安装和未安装的游戏显示在同一个游戏库里。暂不支持 Epic 和 Battle.net 的账户游戏库导入。[设置说明](docs/ACCOUNTS.md)
+- **Discover:** 搜索 Steam、GOG 和 Microsoft Store 的商品与价格,并链接到官方商店。
+- **Platforms:** 管理启动器安装、组件更新和诊断。CLI 和各启动器的快捷应用仍可使用。
+- **Xbox PC(实验功能):** 见下文 [Xbox PC / Microsoft Store](#xbox-pc--microsoft-storexodus-后端实验功能)。
+- **电视和 iPad:** 在 Soju 中开启串流,在电视、iPad 或手机上安装免费的 Moonlight,输入它显示的 PIN,就能在那块屏幕上玩 Mac 上运行的游戏。
+- **Didim Labs Store:** 出售我们自己制作的 Mac 游戏,不需要 Wine。
+
+主 Wine 引擎基于 CodeWeavers 公开源码构建,Steam 使用独立的 Wine 11 环境。
+
+## 为什么会有这个项目
+
+社区 Wine 构建(Whisky、Kegworks 时代的引擎)已经无法运行新版战网和 D2R。商业方案可以用,但其底层 Wine 引擎是 GPL 的,所以我们自己把它编译出来,并记录了撞上的每一堵墙。以下记录了其中三个问题的诊断和修复:
+
+### 三把钥匙
+
+1. **`ROSETTA_ADVERTISE_AVX=1`**:D2R 的加载器要求 AVX 指令集。没有这个环境变量,游戏会在任何图形初始化之前,卡在约 86 MB 内存、0% CPU 的状态永远不动。这就是非 CrossOver 的 Wine 构建上 "D2R 启动即卡死" 的真相。
+
+2. **D3DMetal 载荷布局**:Apple Game Porting Toolkit 的载荷分三部分,三者齐全 D3DMetal 才会生效:`lib/external/`(libd3dshared + D3DMetal.framework);Apple 的 PE 垫片 `d3d11.dll`、`d3d12.dll`、`dxgi.dll`(以及 `atidxx64`、`nvapi64`、`nvngx`),放在 `lib/wine/x86_64-windows/` 下替换 Wine 自带的同名 DLL;以及每个垫片对应一个 `lib/wine/x86_64-unix/<垫片>.so`,必须是指向 `lib/external/` 的**符号链接**。直接复制文件会破坏 `@loader_path` 解析,D3DMetal 会陷入断言循环;若保留 Wine 自带的 `d3d11.dll`,D3D 会走 wined3d,Epic Games Launcher 启动即崩溃。`soju gptk` 会安装全部三部分。
+
+3. **战网 Agent 调用方签名修复**:Agent 校验连接客户端的签名时,用的是相对文件名,相对于它自己的工作目录(一个带版本号的子目录)解析。把签名过的 `Battle.net.exe` 复制一份到每个 `Battle.net.NNNNN` 子目录即可通过校验(修复错误 `BLZBNTBNA00000005`)。
+
+另外一个陷阱:启动链里绝不能出现 Apple 平台二进制(`nohup`、`arch` 等)。macOS 在 exec 它们时会剥掉 `DYLD_*` 环境变量。
+
+**指南(英文):** [D2R on Apple Silicon](https://didimlabs.com/guides/diablo-2-resurrected-apple-silicon.html) · [Windows Steam client](https://didimlabs.com/guides/steam-windows-client-apple-silicon.html) · [Whisky alternatives](https://didimlabs.com/guides/whisky-alternative.html)
+
## 或者完全自己构建:不需要 CrossOver
除了本仓库脚本之外,你唯一要自己下载的是 Apple 免费的 Game Porting Toolkit(一个文件,一个免费 Apple ID 即可)。Apple 禁止再分发它。