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
Free game demos in the Didim Labs Store: soju didim demo, Free demo / Play demo buttons (1.10.4)
mikey9246d1d76ac6fc
diff --git a/README.ko.md b/README.ko.mdindex e061f038cef..02891515d33 100644--- a/README.ko.md+++ b/README.ko.md@@ -83,7 +83,7 @@ soju install # 이후: soju battlenet / soju d2r / soju steam / soju epic /설치기는 **다운로드 전에 원하는 런처부터 선택**합니다. Steam만 선택하면 CX 엔진과 애플 GPTK를 받지 않습니다. Steam 그래픽 구성요소는 SHA-256으로 검증한 뒤 Soju 전용 Wine 11.0 환경에 자동으로 설치합니다. Battle.net·Epic·GOG는 공통 CX 엔진과 사용자가 별도로 받은 애플 GPTK를 사용합니다. 각 런처의 보틀·로그인·게임은 독립적으로 유지합니다.-[Soju 맥 앱 다운로드](https://github.com/BCD1210/soju/releases/download/v1.10.3/Soju-1.10.3-macos-arm64.zip): 네이티브 앱 프리뷰에서 설치된 게임과 보유 게임, 스토어 검색, 즐겨찾기, 게임 실행, 플랫폼 관리를 한 화면에서 다룰 수 있습니다. [설치 안내와 요구 사항](docs/DESKTOP.md)을 확인해 주세요.+[Soju 맥 앱 다운로드](https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip): 네이티브 앱 프리뷰에서 설치된 게임과 보유 게임, 스토어 검색, 즐겨찾기, 게임 실행, 플랫폼 관리를 한 화면에서 다룰 수 있습니다. [설치 안내와 요구 사항](docs/DESKTOP.md)을 확인해 주세요.## 일상 명령diff --git a/README.md b/README.mdindex 011b6241264..aeffce87aab 100644--- a/README.md+++ b/README.md@@ -28,7 +28,7 @@ CodeWeavers' published sources; Steam uses a separate private Wine 11 setup.Apple's proprietary GPTK/D3DMetal is downloaded separately. Games and storeclients are not included.-**Current release: [v1.10.3](https://github.com/BCD1210/soju/releases/tag/v1.10.3).**+**Current release: [v1.10.4](https://github.com/BCD1210/soju/releases/tag/v1.10.4).**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.@@ -104,7 +104,7 @@ soju install # then: soju battlenet / soju d2r / soju steam / soju epic / soThe installer asks which launchers you want **before downloading anything**. Steam-only installs skip the CX engine and Apple GPTK. Steam rendering components are downloaded with SHA-256 verification and installed in a Soju-owned Wine 11.0 runtime. Battle.net, Epic and GOG use the shared CX engine and your separately downloaded Apple GPTK. Each official client keeps its own bottle and shortcut in `~/Applications`.-[Download Soju for Mac](https://github.com/BCD1210/soju/releases/download/v1.10.3/Soju-1.10.3-macos-arm64.zip): the native desktop preview includes installed and owned games, store search, favorites, game launching and platform management. See [desktop setup and requirements](docs/DESKTOP.md).+[Download Soju for Mac](https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip): the native desktop preview includes installed and owned games, store search, favorites, game launching and platform management. See [desktop setup and requirements](docs/DESKTOP.md).## Everyday commandsdiff --git a/README.zh.md b/README.zh.mdindex 06a719e320c..8f8413b946b 100644--- a/README.zh.md+++ b/README.zh.md@@ -87,7 +87,7 @@ soju install # 然后:soju battlenet / soju d2r / soju steam / soju epic /安装器会**先询问要安装哪些启动器,再下载对应组件**。仅选择 Steam 时,不会下载 CX 引擎或 Apple GPTK。Steam 图形组件经过 SHA-256 校验后,自动安装到 Soju 专用的 Wine 11.0 环境中。战网、Epic 和 GOG 使用共享 CX 引擎及用户单独下载的 Apple GPTK。各客户端的 bottle、账户和游戏分别保留。-[下载 Soju Mac 应用](https://github.com/BCD1210/soju/releases/download/v1.10.3/Soju-1.10.3-macos-arm64.zip):原生桌面预览版在一个窗口中管理已安装和已拥有的游戏、商店搜索、收藏、游戏启动和平台管理。[安装说明与要求](docs/DESKTOP.md)。+[下载 Soju Mac 应用](https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip):原生桌面预览版在一个窗口中管理已安装和已拥有的游戏、商店搜索、收藏、游戏启动和平台管理。[安装说明与要求](docs/DESKTOP.md)。## 日常维护diff --git a/VERSION b/VERSIONindex 587c5f0c730..18b31142065 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-1.10.3+1.10.4diff --git a/app/Store.swift b/app/Store.swiftindex 64b5af8ac58..71e2b72f8c3 100644--- a/app/Store.swift+++ b/app/Store.swift@@ -14,6 +14,16 @@ struct StoreGame: Decodable, Identifiable {let details: Stringlet requires: Stringlet steam: String?+ let demo: StoreDemo?+}++/// A free demo: its own game ID, a zip on the Soju GitHub releases, and its size and SHA-256.+struct StoreDemo: Decodable {+ let id: String+ let url: String+ let size: Int+ let sha256: String+ var megabytes: String { String(max(1, size / 1_000_000)) + " MB" }}struct StoreCatalog: Decodable {@@ -33,8 +43,14 @@ struct StoreCatalog: Decodable {&& safe(game.checkout, hosts: ["buy.polar.sh", "polar.sh"]) != nil&& (game.cover == nil || safe(game.cover!, hosts: ["didimlabs.com"]) != nil)&& (game.steam == nil || safe(game.steam!, hosts: ["store.steampowered.com"]) != nil)+ && (game.demo == nil || validDemo(game.demo!, of: game.id))}}+ static func validDemo(_ demo: StoreDemo, of id: String) -> Bool {+ demo.id != id && demo.id.range(of: "^[a-z0-9][a-z0-9-]{0,63}$", options: .regularExpression) != nil+ && demo.url.hasPrefix("https://github.com/BCD1210/soju/releases/download/") && demo.url.hasSuffix(".zip")+ && demo.size > 0 && demo.sha256.range(of: "^[0-9a-f]{64}$", options: .regularExpression) != nil+ }static func safe(_ value: String, hosts: Set<String>) -> URL? {guard let url = URL(string: value), url.scheme == "https", let host = url.host, hosts.contains(host),url.user == nil, url.password == nil else { return nil }@@ -103,7 +119,10 @@ struct StoreView: View {}private func installed(_ game: StoreGame) -> InstalledGame? {- model.games.first { $0.id == "didim:" + game.id && $0.isInstalled }+ installed(id: game.id)+ }+ private func installed(id: String) -> InstalledGame? {+ model.games.first { $0.id == "didim:" + id && $0.isInstalled }}private func card(_ game: StoreGame) -> some View {@@ -128,11 +147,25 @@ struct StoreView: View {Button { if let url = StoreCatalog.safe(game.checkout, hosts: ["buy.polar.sh", "polar.sh"]) { NSWorkspace.shared.open(url) } } label: {Label("Buy · " + game.price, systemImage: "cart")}.buttonStyle(.borderedProminent).tint(accent)+ if let demo = game.demo {+ if let demoGame = installed(id: demo.id) {+ Button { model.play(demoGame) } label: { Label("Play demo", systemImage: "play") }+ .disabled(model.launchingGames.contains(demoGame.id))+ } else {+ Button { model.run(["didim", "demo", game.id], title: "Downloading the " + game.title + " demo…") } label: {+ Label("Free demo · " + demo.megabytes, systemImage: "arrow.down.circle")+ }.disabled(model.busy).help("The first nights of the game, free")+ }+ }}Button(installed(game) == nil ? "I have a key" : "Reinstall") {if installed(game) == nil { key = ""; keyFor = game }else { model.run(["didim", "activate", game.id], title: "Updating " + game.title + "…") }}.disabled(model.busy)+ if installed(game) != nil, let demo = game.demo, installed(id: demo.id) != nil {+ Button("Remove demo") { model.run(["didim", "remove", demo.id], title: "Removing the demo…") }+ .disabled(model.busy)+ }if let steam = game.steam, let url = URL(string: steam) {Link("Windows: Steam", destination: url).font(.system(size: 12))}diff --git a/docs/DESKTOP.md b/docs/DESKTOP.mdindex ac693a30d24..a510973294b 100644--- a/docs/DESKTOP.md+++ b/docs/DESKTOP.md@@ -1,6 +1,6 @@# Soju for Mac-[Download v1.10.3](https://github.com/BCD1210/soju/releases/download/v1.10.3/Soju-1.10.3-macos-arm64.zip)+[Download v1.10.4](https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip)1. Unzip and move **Soju.app** into Applications or ~/Applications.2. Open **Platforms** to install or open Battle.net, Steam, Epic Games or GOG GALAXY.diff --git a/docs/games/dont-sell-the-cat.html b/docs/games/dont-sell-the-cat.htmlindex a41f965a53c..c74135227d3 100644--- a/docs/games/dont-sell-the-cat.html+++ b/docs/games/dont-sell-the-cat.html@@ -128,7 +128,7 @@<a href="#ko" lang="ko" hreflang="ko">한국어</a></div></nav><main id="main">-<link rel="preload" as="image" href="../store/dont-sell-the-cat-wide.jpg" fetchPriority="high"/><header class="hero"><h1>Don't Sell the Cat</h1><p class="lead">Seven nights behind the counter of a pawnshop that opened in 1958. Check what people bring in with a loupe, a UV lamp, a scale and the shop cat. Pay the rent. The ledger writes lines you didn't write, and someone knocks on the back shutter after closing. Don't open it.</p><p class="actions"><a class="btn" href="https://buy.polar.sh/polar_cl_RUBxcP2f3cFwGAUA0yXiuQcMm12Mu0kMaTJEB2yhNh2">Buy for $6.99</a><span class="meta">Mac and Windows in one purchase · about 2 hours · English, 한국어</span></p><img src="../store/dont-sell-the-cat-wide.jpg" alt="Title art: a black cat with yellow eyes on a pawnshop counter, a man's silhouette behind it" width="920" height="430" class="shot" fetchPriority="high"/></header><section id="about" aria-labelledby="about-title"><h2 id="about-title">About the game</h2><p>Pell & Daughter Loans, 1414 Corvin Street. The owner leaves notes and never comes down. Customers come in one at a time: a mother with a ring, a man who won't take cash, a nurse from the hospital across the street who always comes back for what she pawns. Fakes show under the loupe, under UV or on the scale. Cursed things are harder; Moth, the cat, hisses at them. Most nights.</p><div class="features"><div class="feature"><h3>7 nights</h3><p>22 scripted visits, plus 14 neighbourhood regulars whose cases change every run.</p></div><div class="feature"><h3>Choices stick</h3><p>What you buy, sell or refuse changes who comes back and what they say.</p></div><div class="feature"><h3>10 endings</h3><p>Two only appear in the Second Ledger, a harder run that opens after you finish once.</p></div><div class="feature"><h3>Few big scares</h3><p>No gore. Flashing lights can be turned down in Settings. No voice acting.</p></div></div><div class="gallery"><img src="img/1_counter.jpg" alt="A customer at the counter with an item for sale" width="1280" height="720" loading="lazy"/><img src="img/2_uv.jpg" alt="Checking an item under the UV lamp" width="1280" height="720" loading="lazy"/><img src="img/3_moth_hiss.jpg" alt="Moth the cat hissing at a cursed item" width="1280" height="720" loading="lazy"/><img src="img/4_ledger.jpg" alt="The ledger with a line in red ink" width="1280" height="720" loading="lazy"/><img src="img/5_cctv.jpg" alt="Security camera view of the shop at night" width="1280" height="720" loading="lazy"/><img src="img/8_shutter.jpg" alt="The back shutter of the shop" width="1280" height="720" loading="lazy"/></div></section><section id="buy" aria-labelledby="buy-title"><h2 id="buy-title">Buy and install</h2><p class="intro">Checkout is handled by Polar, our reseller, which also takes care of sales tax. You get a license key and both downloads; the Polar customer portal lets you get them again with your email.</p><ol class="steps"><li><b>Pay on Polar</b><p><a href="https://buy.polar.sh/polar_cl_RUBxcP2f3cFwGAUA0yXiuQcMm12Mu0kMaTJEB2yhNh2">Buy for $6.99</a>. The receipt email has your license key.</p></li><li><b>Mac</b><p>Install <a href="../">Soju</a>, open the Didim Labs Store tab, choose <strong>I have a key</strong> and paste it. Soju downloads, checks and installs the game.</p></li><li><b>Windows</b><p>Download the Windows zip from the receipt, unzip it and run the exe. <a href="../windows.html">Windows install steps</a>.</p></li></ol><p class="note">The Windows version will also be on Steam.</p></section><section id="specs" aria-labelledby="specs-title"><h2 id="specs-title">Requirements</h2><div class="table-scroll" role="region" aria-label="System requirements" tabindex="0"><table><thead><tr><th scope="col"></th><th scope="col">Mac</th><th scope="col">Windows</th></tr></thead><tbody><tr><th scope="row">System</th><td>macOS 12 or later</td><td>Windows 10 or 11, 64-bit</td></tr><tr><th scope="row">Processor / GPU</th><td>Apple M1 or newer</td><td>DirectX 12 GPU (runs on Intel HD 615 at Low)</td></tr><tr><th scope="row">Memory</th><td>4 GB</td><td>4 GB</td></tr><tr><th scope="row">Download</th><td>369 MB</td><td>376 MB</td></tr></tbody></table></div></section><section id="faq" aria-labelledby="faq-title"><h2 id="faq-title">FAQ</h2><div class="faq"><details open=""><summary>How long is Don't Sell the Cat?</summary><p>About two hours to a first ending. There are ten endings; two only open in the Second Ledger, a harder second run unlocked after finishing once.</p></details><details><summary>Does Don't Sell the Cat run on Mac?</summary><p>Yes, natively on Apple Silicon (M1 or newer, macOS 12+). Buy it here and install it through Soju's store tab with your license key. One purchase includes the Windows version too.</p></details><details><summary>Is it very scary?</summary><p>There are only a few big scares, and no gore. Flashing lights can be turned down in Settings.</p></details><details><summary>Which languages are supported?</summary><p>English and Korean, for both interface and text. There is no voice acting.</p></details><details><summary>Was AI used to make it?</summary><p>Some 3D character and item models were generated with Meshy and edited for the game, and story text was drafted with AI help and rewritten by us. Props, sound and music were not made with AI. Nothing is generated while you play.</p></details></div></section><section id="ko" aria-labelledby="ko-title"><h2 id="ko-title">고양이는 팔지 마세요</h2><p>1958년에 문을 연 전당포의 야간 카운터에서 일곱 밤을 보내는 1인칭 공포 게임입니다. 손님이 가져온 물건을 확대경, UV 램프, 저울, 가게 고양이로 확인하고 집세를 냅니다. 장부에는 내가 쓰지 않은 줄이 생기고, 문을 닫으면 누군가 뒷문 셔터를 두드립니다.</p><p>첫 결말까지 약 2시간, 결말 10개, 한국어 지원. $6.99에 맥판과 윈도우판이 같이 들어 있습니다. 맥에서는 <a href="../ko/">소주</a>의 Didim Labs Store 탭에서 영수증 메일의 키를 넣으면 설치됩니다.</p><p class="actions"><a class="btn" href="https://buy.polar.sh/polar_cl_RUBxcP2f3cFwGAUA0yXiuQcMm12Mu0kMaTJEB2yhNh2">구매하기 ($6.99)</a></p></section>+<link rel="preload" as="image" href="../store/dont-sell-the-cat-wide.jpg" fetchPriority="high"/><header class="hero"><h1>Don't Sell the Cat</h1><p class="lead">Seven nights behind the counter of a pawnshop that opened in 1958. Check what people bring in with a loupe, a UV lamp, a scale and the shop cat. Pay the rent. The ledger writes lines you didn't write, and someone knocks on the back shutter after closing. Don't open it.</p><p class="actions"><a class="btn" href="https://buy.polar.sh/polar_cl_RUBxcP2f3cFwGAUA0yXiuQcMm12Mu0kMaTJEB2yhNh2">Buy for $6.99</a><a class="btn secondary" href="#demo">Free demo on Mac</a><span class="meta">Mac and Windows in one purchase · about 2 hours · English, 한국어</span></p><img src="../store/dont-sell-the-cat-wide.jpg" alt="Title art: a black cat with yellow eyes on a pawnshop counter, a man's silhouette behind it" width="920" height="430" class="shot" fetchPriority="high"/></header><section id="demo" aria-labelledby="demo-title"><h2 id="demo-title">Free demo</h2><p>The demo is the first three nights. On a Mac with Apple Silicon, <a href="../#install">install Soju</a>, open <strong>Didim Labs Store</strong> and press <strong>Free demo</strong>. It downloads, installs and shows up in your library like any other game. Demo saves are kept apart from the full game's.</p></section><section id="about" aria-labelledby="about-title"><h2 id="about-title">About the game</h2><p>Pell & Daughter Loans, 1414 Corvin Street. The owner leaves notes and never comes down. Customers come in one at a time: a mother with a ring, a man who won't take cash, a nurse from the hospital across the street who always comes back for what she pawns. Fakes show under the loupe, under UV or on the scale. Cursed things are harder; Moth, the cat, hisses at them. Most nights.</p><div class="features"><div class="feature"><h3>7 nights</h3><p>22 scripted visits, plus 14 neighbourhood regulars whose cases change every run.</p></div><div class="feature"><h3>Choices stick</h3><p>What you buy, sell or refuse changes who comes back and what they say.</p></div><div class="feature"><h3>10 endings</h3><p>Two only appear in the Second Ledger, a harder run that opens after you finish once.</p></div><div class="feature"><h3>Few big scares</h3><p>No gore. Flashing lights can be turned down in Settings. No voice acting.</p></div></div><div class="gallery"><img src="img/1_counter.jpg" alt="A customer at the counter with an item for sale" width="1280" height="720" loading="lazy"/><img src="img/2_uv.jpg" alt="Checking an item under the UV lamp" width="1280" height="720" loading="lazy"/><img src="img/3_moth_hiss.jpg" alt="Moth the cat hissing at a cursed item" width="1280" height="720" loading="lazy"/><img src="img/4_ledger.jpg" alt="The ledger with a line in red ink" width="1280" height="720" loading="lazy"/><img src="img/5_cctv.jpg" alt="Security camera view of the shop at night" width="1280" height="720" loading="lazy"/><img src="img/8_shutter.jpg" alt="The back shutter of the shop" width="1280" height="720" loading="lazy"/></div></section><section id="buy" aria-labelledby="buy-title"><h2 id="buy-title">Buy and install</h2><p class="intro">Checkout is handled by Polar, our reseller, which also takes care of sales tax. You get a license key and both downloads; the Polar customer portal lets you get them again with your email.</p><ol class="steps"><li><b>Pay on Polar</b><p><a href="https://buy.polar.sh/polar_cl_RUBxcP2f3cFwGAUA0yXiuQcMm12Mu0kMaTJEB2yhNh2">Buy for $6.99</a>. The receipt email has your license key.</p></li><li><b>Mac</b><p>Install <a href="../">Soju</a>, open the Didim Labs Store tab, choose <strong>I have a key</strong> and paste it. Soju downloads, checks and installs the game.</p></li><li><b>Windows</b><p>Download the Windows zip from the receipt, unzip it and run the exe. <a href="../windows.html">Windows install steps</a>.</p></li></ol><p class="note">The Windows version will also be on Steam.</p></section><section id="specs" aria-labelledby="specs-title"><h2 id="specs-title">Requirements</h2><div class="table-scroll" role="region" aria-label="System requirements" tabindex="0"><table><thead><tr><th scope="col"></th><th scope="col">Mac</th><th scope="col">Windows</th></tr></thead><tbody><tr><th scope="row">System</th><td>macOS 12 or later</td><td>Windows 10 or 11, 64-bit</td></tr><tr><th scope="row">Processor / GPU</th><td>Apple M1 or newer</td><td>DirectX 12 GPU (runs on Intel HD 615 at Low)</td></tr><tr><th scope="row">Memory</th><td>4 GB</td><td>4 GB</td></tr><tr><th scope="row">Download</th><td>369 MB</td><td>376 MB</td></tr></tbody></table></div></section><section id="faq" aria-labelledby="faq-title"><h2 id="faq-title">FAQ</h2><div class="faq"><details open=""><summary>How long is Don't Sell the Cat?</summary><p>About two hours to a first ending. There are ten endings; two only open in the Second Ledger, a harder second run unlocked after finishing once.</p></details><details><summary>Does Don't Sell the Cat run on Mac?</summary><p>Yes, natively on Apple Silicon (M1 or newer, macOS 12+). Buy it here and install it through Soju's store tab with your license key. One purchase includes the Windows version too.</p></details><details><summary>Is it very scary?</summary><p>There are only a few big scares, and no gore. Flashing lights can be turned down in Settings.</p></details><details><summary>Which languages are supported?</summary><p>English and Korean, for both interface and text. There is no voice acting.</p></details><details><summary>Was AI used to make it?</summary><p>Some 3D character and item models were generated with Meshy and edited for the game, and story text was drafted with AI help and rewritten by us. Props, sound and music were not made with AI. Nothing is generated while you play.</p></details></div></section><section id="ko" aria-labelledby="ko-title"><h2 id="ko-title">고양이는 팔지 마세요</h2><p>1958년에 문을 연 전당포의 야간 카운터에서 일곱 밤을 보내는 1인칭 공포 게임입니다. 손님이 가져온 물건을 확대경, UV 램프, 저울, 가게 고양이로 확인하고 집세를 냅니다. 장부에는 내가 쓰지 않은 줄이 생기고, 문을 닫으면 누군가 뒷문 셔터를 두드립니다.</p><p>첫 결말까지 약 2시간, 결말 10개, 한국어 지원. $6.99에 맥판과 윈도우판이 같이 들어 있습니다. 맥에서는 <a href="../ko/">소주</a>의 Didim Labs Store 탭에서 영수증 메일의 키를 넣으면 설치됩니다.</p><p class="actions"><a class="btn" href="https://buy.polar.sh/polar_cl_RUBxcP2f3cFwGAUA0yXiuQcMm12Mu0kMaTJEB2yhNh2">구매하기 ($6.99)</a></p></section></main><footer><div class="inner"><p><span>Didim Labs · <a href="mailto:[email protected]">[email protected]</a> · <a href="../">Soju</a></span></p>diff --git a/docs/index.html b/docs/index.htmlindex fb84ca748c8..ac293b369d2 100644--- a/docs/index.html+++ b/docs/index.html@@ -54,8 +54,8 @@"@id": "https://didimlabs.com/#soju","name": "Soju","url": "https://didimlabs.com/",- "downloadUrl": "https://github.com/BCD1210/soju/releases/download/v1.10.3/Soju-1.10.3-macos-arm64.zip",- "softwareVersion": "1.10.3",+ "downloadUrl": "https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip",+ "softwareVersion": "1.10.4","description": "Free, open-source Mac app that installs the official Windows launchers for Steam, Battle.net, Epic Games, GOG GALAXY and Xbox PC on Apple Silicon and shows every installed game in one library.","applicationCategory": "GameApplication","operatingSystem": "macOS 14 or later, Apple Silicon (M1 or newer)",@@ -146,7 +146,7 @@<a href="ko/" lang="ko" hreflang="ko">한국어</a></div></nav><main id="main">-<link rel="preload" as="image" href="assets/soju-logo.png?v=20261109c"/><link rel="preload" as="image" href="assets/soju-library.png?v=20261109c" fetchPriority="high"/><header class="hero"><h1 class="with-logo"><img src="assets/soju-logo.png?v=20261109c" width="72" height="72" alt=""/>Soju</h1><p class="lead">A free Mac app for playing Windows games on Apple Silicon. It installs the real Steam, Battle.net, Epic, GOG GALAXY and Xbox PC launchers, keeps each in its own Wine setup, and lists every installed game in one library.</p><p class="actions"><a class="btn" href="https://github.com/BCD1210/soju/releases/download/v1.10.3/Soju-1.10.3-macos-arm64.zip">Download Soju 1.10.3</a><span class="meta">macOS 14+, M1 or newer · open source (GPL-3.0)</span></p><img src="assets/soju-library.png?v=20261109c" alt="Soju 1.10 library with Diablo II: Resurrected, Don't Sell the Cat, Guilt Free, Hogwarts Legacy and other installed games" width="1140" height="780" class="shot" fetchPriority="high"/></header><section id="what" aria-labelledby="what-title"><h2 id="what-title">What it does</h2><div class="features"><div class="feature"><h3>Real launchers</h3><p>Battle.net, Epic and GOG share a Wine engine built from <a href="https://www.codeweavers.com/crossover/source">CodeWeavers' sources</a> with Apple's D3DMetal. Steam gets its own Wine 11 setup with DXMT for D3D11 games.</p></div><div class="feature"><h3>One library</h3><p>Finds installed games across every launcher and imports the games you own on Steam and GOG.</p></div><div class="feature"><h3>Store search</h3><p>Searches Steam, GOG and Microsoft Store listings with prices for your region.</p></div><div class="feature"><h3>Xbox PC</h3><p>Experimental: imports owned and Game Pass games and downloads them through the <a href="https://github.com/xodus-gaming/xodus">Xodus</a> backend.</p></div></div><p>Logins, purchases and game updates stay with each store. Soju doesn't bundle games, store clients or Apple's Game Porting Toolkit.</p></section><section id="works" aria-labelledby="works-title"><h2 id="works-title">Games we've run</h2><p class="intro">Tested on an M4 Pro Mac with macOS 26.5. Other games may or may not work; please <a href="https://github.com/BCD1210/soju/issues/new?template=compatibility.yml">report what you try</a>.</p><div class="table-scroll" role="region" aria-label="Tested games" tabindex="0"><table><thead><tr><th scope="col">Game</th><th scope="col">Store</th><th scope="col">Result</th></tr></thead><tbody><tr><th scope="row">Diablo II: Resurrected</th><td>Battle.net</td><td>Plays online. Needs macOS 26.4+. <a href="guides/diablo-2-resurrected-apple-silicon.html">Guide</a></td></tr><tr><th scope="row">Hogwarts Legacy</th><td>Epic</td><td>Installs and plays with D3DMetal.</td></tr><tr><th scope="row">Guilt Free (Unity, D3D11)</th><td>Steam</td><td>Plays with the DXMT setup. <a href="guides/steam-windows-client-apple-silicon.html">Guide</a></td></tr><tr><th scope="row">Retro Classics</th><td>Xbox PC</td><td>Reaches the main menu.</td></tr><tr><th scope="row">GOG GALAXY</th><td>GOG</td><td>Login and library work; few games tried yet.</td></tr></tbody></table></div><p>Games with kernel-level anti-cheat won't run. The Steam edition of Diablo II: Resurrected hasn't been checked.</p><figure class="video"><video controls="" playsInline="" preload="none" poster="assets/soju-gameplay-demo-poster.jpg?v=20261109c" aria-label="30-second clip of Hogwarts Legacy and Guilt Free running through Soju" width="1280" height="720"><source src="assets/soju-gameplay-demo.mp4?v=20261109c" type="video/mp4"/><track kind="captions" src="assets/soju-gameplay-demo.vtt" srcLang="en" label="English" default=""/></video><figcaption>Hogwarts Legacy through Epic, Guilt Free through Steam. 30 seconds.</figcaption></figure></section><section id="store" aria-labelledby="store-title"><h2 id="store-title">Games from Didim Labs</h2><a class="game" href="games/dont-sell-the-cat.html"><img src="store/dont-sell-the-cat-wide.jpg" alt="Don't Sell the Cat: a black cat with yellow eyes on a pawnshop counter" width="920" height="430" loading="lazy"/><span class="game-body"><b>Don't Sell the Cat</b><span class="game-meta">$6.99 · Mac and Windows · about 2 hours</span><span>Seven nights at a 1958 pawnshop counter. Check items with a loupe, UV lamp, scale and the shop cat, and don't open the back shutter.</span></span></a></section><section id="install" aria-labelledby="install-title"><h2 id="install-title">Install</h2><ol class="steps"><li><b>Download the app</b><p><a href="https://github.com/BCD1210/soju/releases/download/v1.10.3/Soju-1.10.3-macos-arm64.zip">Soju-1.10.3-macos-arm64.zip</a>. Unzip it and move Soju to Applications. <a href="https://github.com/BCD1210/soju/blob/main/docs/DESKTOP.md">Signing notes</a>.</p></li><li><b>Pick launchers</b><p>Open Soju, go to Platforms and choose the launchers you use. Battle.net, Epic and GOG also need <a href="https://developer.apple.com/games/game-porting-toolkit/">Apple's Game Porting Toolkit</a>, which you download with your Apple ID.</p></li><li><b>Sign in and play</b><p>Sign in inside each launcher as usual. Installed games show up in the library.</p></li></ol><p>Prefer the terminal? Run the installer, or use Homebrew. You'll need Rosetta 2, the Xcode Command Line Tools and Homebrew.</p><pre><code>curl -fsSL https://didimlabs.com/install.sh | bash+<link rel="preload" as="image" href="assets/soju-logo.png?v=20261109c"/><link rel="preload" as="image" href="assets/soju-library.png?v=20261109c" fetchPriority="high"/><header class="hero"><h1 class="with-logo"><img src="assets/soju-logo.png?v=20261109c" width="72" height="72" alt=""/>Soju</h1><p class="lead">A free Mac app for playing Windows games on Apple Silicon. It installs the real Steam, Battle.net, Epic, GOG GALAXY and Xbox PC launchers, keeps each in its own Wine setup, and lists every installed game in one library.</p><p class="actions"><a class="btn" href="https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip">Download Soju 1.10.4</a><span class="meta">macOS 14+, M1 or newer · open source (GPL-3.0)</span></p><img src="assets/soju-library.png?v=20261109c" alt="Soju 1.10 library with Diablo II: Resurrected, Don't Sell the Cat, Guilt Free, Hogwarts Legacy and other installed games" width="1140" height="780" class="shot" fetchPriority="high"/></header><section id="what" aria-labelledby="what-title"><h2 id="what-title">What it does</h2><div class="features"><div class="feature"><h3>Real launchers</h3><p>Battle.net, Epic and GOG share a Wine engine built from <a href="https://www.codeweavers.com/crossover/source">CodeWeavers' sources</a> with Apple's D3DMetal. Steam gets its own Wine 11 setup with DXMT for D3D11 games.</p></div><div class="feature"><h3>One library</h3><p>Finds installed games across every launcher and imports the games you own on Steam and GOG.</p></div><div class="feature"><h3>Store search</h3><p>Searches Steam, GOG and Microsoft Store listings with prices for your region.</p></div><div class="feature"><h3>Xbox PC</h3><p>Experimental: imports owned and Game Pass games and downloads them through the <a href="https://github.com/xodus-gaming/xodus">Xodus</a> backend.</p></div></div><p>Logins, purchases and game updates stay with each store. Soju doesn't bundle games, store clients or Apple's Game Porting Toolkit.</p></section><section id="works" aria-labelledby="works-title"><h2 id="works-title">Games we've run</h2><p class="intro">Tested on an M4 Pro Mac with macOS 26.5. Other games may or may not work; please <a href="https://github.com/BCD1210/soju/issues/new?template=compatibility.yml">report what you try</a>.</p><div class="table-scroll" role="region" aria-label="Tested games" tabindex="0"><table><thead><tr><th scope="col">Game</th><th scope="col">Store</th><th scope="col">Result</th></tr></thead><tbody><tr><th scope="row">Diablo II: Resurrected</th><td>Battle.net</td><td>Plays online. Needs macOS 26.4+. <a href="guides/diablo-2-resurrected-apple-silicon.html">Guide</a></td></tr><tr><th scope="row">Hogwarts Legacy</th><td>Epic</td><td>Installs and plays with D3DMetal.</td></tr><tr><th scope="row">Guilt Free (Unity, D3D11)</th><td>Steam</td><td>Plays with the DXMT setup. <a href="guides/steam-windows-client-apple-silicon.html">Guide</a></td></tr><tr><th scope="row">Retro Classics</th><td>Xbox PC</td><td>Reaches the main menu.</td></tr><tr><th scope="row">GOG GALAXY</th><td>GOG</td><td>Login and library work; few games tried yet.</td></tr></tbody></table></div><p>Games with kernel-level anti-cheat won't run. The Steam edition of Diablo II: Resurrected hasn't been checked.</p><figure class="video"><video controls="" playsInline="" preload="none" poster="assets/soju-gameplay-demo-poster.jpg?v=20261109c" aria-label="30-second clip of Hogwarts Legacy and Guilt Free running through Soju" width="1280" height="720"><source src="assets/soju-gameplay-demo.mp4?v=20261109c" type="video/mp4"/><track kind="captions" src="assets/soju-gameplay-demo.vtt" srcLang="en" label="English" default=""/></video><figcaption>Hogwarts Legacy through Epic, Guilt Free through Steam. 30 seconds.</figcaption></figure></section><section id="store" aria-labelledby="store-title"><h2 id="store-title">Games from Didim Labs</h2><a class="game" href="games/dont-sell-the-cat.html"><img src="store/dont-sell-the-cat-wide.jpg" alt="Don't Sell the Cat: a black cat with yellow eyes on a pawnshop counter" width="920" height="430" loading="lazy"/><span class="game-body"><b>Don't Sell the Cat</b><span class="game-meta">$6.99 · Mac and Windows · about 2 hours</span><span>Seven nights at a 1958 pawnshop counter. Check items with a loupe, UV lamp, scale and the shop cat, and don't open the back shutter.</span></span></a></section><section id="install" aria-labelledby="install-title"><h2 id="install-title">Install</h2><ol class="steps"><li><b>Download the app</b><p><a href="https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip">Soju-1.10.4-macos-arm64.zip</a>. Unzip it and move Soju to Applications. <a href="https://github.com/BCD1210/soju/blob/main/docs/DESKTOP.md">Signing notes</a>.</p></li><li><b>Pick launchers</b><p>Open Soju, go to Platforms and choose the launchers you use. Battle.net, Epic and GOG also need <a href="https://developer.apple.com/games/game-porting-toolkit/">Apple's Game Porting Toolkit</a>, which you download with your Apple ID.</p></li><li><b>Sign in and play</b><p>Sign in inside each launcher as usual. Installed games show up in the library.</p></li></ol><p>Prefer the terminal? Run the installer, or use Homebrew. You'll need Rosetta 2, the Xcode Command Line Tools and Homebrew.</p><pre><code>curl -fsSL https://didimlabs.com/install.sh | bash# orbrew install BCD1210/soju/sojudiff --git a/docs/ko/index.html b/docs/ko/index.htmlindex 17031b1560f..851ca88db10 100644--- a/docs/ko/index.html+++ b/docs/ko/index.html@@ -88,7 +88,7 @@<a href="../" lang="en" hreflang="en">English</a></div></nav><main id="main">-<link rel="preload" as="image" href="../assets/soju-logo.png?v=20261109c"/><link rel="preload" as="image" href="../assets/soju-library.png?v=20261109c" fetchPriority="high"/><header class="hero"><h1 class="with-logo"><img src="../assets/soju-logo.png?v=20261109c" width="72" height="72" alt=""/>소주 (Soju)</h1><p class="lead">애플 실리콘 맥에서 윈도우 게임을 하기 위한 무료 맥 앱입니다. 진짜 스팀, 배틀넷, 에픽, GOG GALAXY, Xbox PC 런처를 각각 따로 된 Wine 환경에 설치하고, 설치된 게임을 한 라이브러리에 모아 보여 줍니다.</p><p class="actions"><a class="btn" href="https://github.com/BCD1210/soju/releases/download/v1.10.3/Soju-1.10.3-macos-arm64.zip">소주 1.10.3 다운로드</a><span class="meta">macOS 14 이상, M1 이상 · 오픈소스(GPL-3.0)</span></p><img src="../assets/soju-library.png?v=20261109c" alt="디아블로 II: 레저렉션, 고양이는 팔지 마세요, Guilt Free, 호그와트 레거시가 있는 소주 1.10 라이브러리" width="1140" height="780" class="shot" fetchPriority="high"/></header><section id="what" aria-labelledby="what-title"><h2 id="what-title">하는 일</h2><div class="features"><div class="feature"><h3>진짜 런처</h3><p>배틀넷·에픽·GOG는 <a href="https://www.codeweavers.com/crossover/source">CodeWeavers 소스</a>로 만든 Wine 엔진과 애플 D3DMetal을 같이 씁니다. 스팀은 D3D11 게임용 DXMT가 들어간 Wine 11 환경을 따로 씁니다.</p></div><div class="feature"><h3>라이브러리 하나</h3><p>모든 런처에 설치된 게임을 찾고, 스팀과 GOG에서 산 게임 목록을 가져옵니다.</p></div><div class="feature"><h3>스토어 검색</h3><p>스팀, GOG, 마이크로소프트 스토어를 지역 가격으로 검색합니다.</p></div><div class="feature"><h3>Xbox PC</h3><p>실험 기능입니다. 보유 게임과 게임 패스 게임을 가져와 Xodus 백엔드로 내려받습니다.</p></div></div><p>로그인, 구매, 게임 업데이트는 각 스토어가 그대로 맡습니다. 소주는 게임, 스토어 프로그램, 애플 게임 포팅 툴킷을 포함하지 않습니다.</p></section><section id="works" aria-labelledby="works-title"><h2 id="works-title">직접 실행해 본 게임</h2><p class="intro">M4 Pro 맥, macOS 26.5에서 확인했습니다. 다른 게임은 해 보기 전에는 모릅니다. <a href="https://github.com/BCD1210/soju/issues/new?template=compatibility.yml">결과를 알려 주세요</a>.</p><div class="table-scroll" role="region" aria-label="실행한 게임" tabindex="0"><table><thead><tr><th scope="col">게임</th><th scope="col">스토어</th><th scope="col">결과</th></tr></thead><tbody><tr><th scope="row">디아블로 II: 레저렉션</th><td>배틀넷</td><td>온라인 플레이 됨. macOS 26.4 이상. <a href="../guides/ko/diablo-2-mac.html">가이드</a></td></tr><tr><th scope="row">호그와트 레거시</th><td>에픽</td><td>D3DMetal로 설치·플레이 됨</td></tr><tr><th scope="row">Guilt Free (Unity, D3D11)</th><td>스팀</td><td>DXMT 설정으로 플레이 됨</td></tr><tr><th scope="row">Retro Classics</th><td>Xbox PC</td><td>메인 화면까지 실행</td></tr><tr><th scope="row">GOG GALAXY</th><td>GOG</td><td>로그인·라이브러리 됨, 게임은 아직 조금만 시험</td></tr></tbody></table></div><p>커널 안티치트를 쓰는 게임은 실행되지 않습니다.</p></section><section id="store" aria-labelledby="store-title"><h2 id="store-title">Didim Labs 게임</h2><a class="game" href="../games/dont-sell-the-cat.html#ko"><img src="../store/dont-sell-the-cat-wide.jpg" alt="고양이는 팔지 마세요: 전당포 카운터 위의 노란 눈 검은 고양이" width="920" height="430" loading="lazy"/><span class="game-body"><b>고양이는 팔지 마세요</b><span class="game-meta">$6.99 · 맥·윈도우 · 약 2시간</span><span>1958년 전당포 야간 카운터에서 보내는 일곱 밤. 확대경, UV 램프, 저울, 가게 고양이로 물건을 확인하고, 뒷문 셔터는 열지 마세요.</span></span></a></section><section id="install" aria-labelledby="install-title"><h2 id="install-title">설치</h2><ol class="steps"><li><b>앱 받기</b><p><a href="https://github.com/BCD1210/soju/releases/download/v1.10.3/Soju-1.10.3-macos-arm64.zip">Soju-1.10.3-macos-arm64.zip</a>을 받아 압축을 풀고 응용 프로그램 폴더로 옮깁니다.</p></li><li><b>런처 고르기</b><p>소주를 열고 Platforms에서 쓰는 런처를 고릅니다. 배틀넷·에픽·GOG는 애플 ID로 직접 받은 <a href="https://developer.apple.com/games/game-porting-toolkit/">게임 포팅 툴킷</a>도 필요합니다.</p></li><li><b>로그인하고 플레이</b><p>각 런처에서 평소처럼 로그인하면 설치된 게임이 라이브러리에 나타납니다.</p></li></ol><p>터미널이 편하면 설치 스크립트나 Homebrew를 쓰세요. Rosetta 2, Xcode Command Line Tools, Homebrew가 필요합니다.</p><pre><code>curl -fsSL https://didimlabs.com/install.sh | bash+<link rel="preload" as="image" href="../assets/soju-logo.png?v=20261109c"/><link rel="preload" as="image" href="../assets/soju-library.png?v=20261109c" fetchPriority="high"/><header class="hero"><h1 class="with-logo"><img src="../assets/soju-logo.png?v=20261109c" width="72" height="72" alt=""/>소주 (Soju)</h1><p class="lead">애플 실리콘 맥에서 윈도우 게임을 하기 위한 무료 맥 앱입니다. 진짜 스팀, 배틀넷, 에픽, GOG GALAXY, Xbox PC 런처를 각각 따로 된 Wine 환경에 설치하고, 설치된 게임을 한 라이브러리에 모아 보여 줍니다.</p><p class="actions"><a class="btn" href="https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip">소주 1.10.4 다운로드</a><span class="meta">macOS 14 이상, M1 이상 · 오픈소스(GPL-3.0)</span></p><img src="../assets/soju-library.png?v=20261109c" alt="디아블로 II: 레저렉션, 고양이는 팔지 마세요, Guilt Free, 호그와트 레거시가 있는 소주 1.10 라이브러리" width="1140" height="780" class="shot" fetchPriority="high"/></header><section id="what" aria-labelledby="what-title"><h2 id="what-title">하는 일</h2><div class="features"><div class="feature"><h3>진짜 런처</h3><p>배틀넷·에픽·GOG는 <a href="https://www.codeweavers.com/crossover/source">CodeWeavers 소스</a>로 만든 Wine 엔진과 애플 D3DMetal을 같이 씁니다. 스팀은 D3D11 게임용 DXMT가 들어간 Wine 11 환경을 따로 씁니다.</p></div><div class="feature"><h3>라이브러리 하나</h3><p>모든 런처에 설치된 게임을 찾고, 스팀과 GOG에서 산 게임 목록을 가져옵니다.</p></div><div class="feature"><h3>스토어 검색</h3><p>스팀, GOG, 마이크로소프트 스토어를 지역 가격으로 검색합니다.</p></div><div class="feature"><h3>Xbox PC</h3><p>실험 기능입니다. 보유 게임과 게임 패스 게임을 가져와 Xodus 백엔드로 내려받습니다.</p></div></div><p>로그인, 구매, 게임 업데이트는 각 스토어가 그대로 맡습니다. 소주는 게임, 스토어 프로그램, 애플 게임 포팅 툴킷을 포함하지 않습니다.</p></section><section id="works" aria-labelledby="works-title"><h2 id="works-title">직접 실행해 본 게임</h2><p class="intro">M4 Pro 맥, macOS 26.5에서 확인했습니다. 다른 게임은 해 보기 전에는 모릅니다. <a href="https://github.com/BCD1210/soju/issues/new?template=compatibility.yml">결과를 알려 주세요</a>.</p><div class="table-scroll" role="region" aria-label="실행한 게임" tabindex="0"><table><thead><tr><th scope="col">게임</th><th scope="col">스토어</th><th scope="col">결과</th></tr></thead><tbody><tr><th scope="row">디아블로 II: 레저렉션</th><td>배틀넷</td><td>온라인 플레이 됨. macOS 26.4 이상. <a href="../guides/ko/diablo-2-mac.html">가이드</a></td></tr><tr><th scope="row">호그와트 레거시</th><td>에픽</td><td>D3DMetal로 설치·플레이 됨</td></tr><tr><th scope="row">Guilt Free (Unity, D3D11)</th><td>스팀</td><td>DXMT 설정으로 플레이 됨</td></tr><tr><th scope="row">Retro Classics</th><td>Xbox PC</td><td>메인 화면까지 실행</td></tr><tr><th scope="row">GOG GALAXY</th><td>GOG</td><td>로그인·라이브러리 됨, 게임은 아직 조금만 시험</td></tr></tbody></table></div><p>커널 안티치트를 쓰는 게임은 실행되지 않습니다.</p></section><section id="store" aria-labelledby="store-title"><h2 id="store-title">Didim Labs 게임</h2><a class="game" href="../games/dont-sell-the-cat.html#ko"><img src="../store/dont-sell-the-cat-wide.jpg" alt="고양이는 팔지 마세요: 전당포 카운터 위의 노란 눈 검은 고양이" width="920" height="430" loading="lazy"/><span class="game-body"><b>고양이는 팔지 마세요</b><span class="game-meta">$6.99 · 맥·윈도우 · 약 2시간</span><span>1958년 전당포 야간 카운터에서 보내는 일곱 밤. 확대경, UV 램프, 저울, 가게 고양이로 물건을 확인하고, 뒷문 셔터는 열지 마세요.</span></span></a></section><section id="install" aria-labelledby="install-title"><h2 id="install-title">설치</h2><ol class="steps"><li><b>앱 받기</b><p><a href="https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip">Soju-1.10.4-macos-arm64.zip</a>을 받아 압축을 풀고 응용 프로그램 폴더로 옮깁니다.</p></li><li><b>런처 고르기</b><p>소주를 열고 Platforms에서 쓰는 런처를 고릅니다. 배틀넷·에픽·GOG는 애플 ID로 직접 받은 <a href="https://developer.apple.com/games/game-porting-toolkit/">게임 포팅 툴킷</a>도 필요합니다.</p></li><li><b>로그인하고 플레이</b><p>각 런처에서 평소처럼 로그인하면 설치된 게임이 라이브러리에 나타납니다.</p></li></ol><p>터미널이 편하면 설치 스크립트나 Homebrew를 쓰세요. Rosetta 2, Xcode Command Line Tools, Homebrew가 필요합니다.</p><pre><code>curl -fsSL https://didimlabs.com/install.sh | bash# 또는brew install BCD1210/soju/sojudiff --git a/docs/llms.txt b/docs/llms.txtindex bc3f73eda70..7da730ebd33 100644--- a/docs/llms.txt+++ b/docs/llms.txt@@ -5,7 +5,7 @@## Soju- [Soju home](https://didimlabs.com/): what Soju does, tested games, install steps, FAQ- [Soju in Korean / 소주 한국어](https://didimlabs.com/ko/)-- [Source code and releases](https://github.com/BCD1210/soju): GPL-3.0-or-later; current version 1.10.3+- [Source code and releases](https://github.com/BCD1210/soju): GPL-3.0-or-later; current version 1.10.4- Supported launchers: Steam, Battle.net, Epic Games, GOG GALAXY, Xbox PC (experimental). Needs an Apple Silicon Mac (M1 or newer) and macOS 14+; Steam games need macOS 26+; Diablo II: Resurrected needs macOS 26.4+.- Tested on M4 Pro / macOS 26.5: Diablo II: Resurrected (Battle.net, online), Hogwarts Legacy (Epic, D3DMetal), Guilt Free (Steam, DXMT). Kernel anti-cheat games do not run.- Install: `curl -fsSL https://didimlabs.com/install.sh | bash` or `brew install BCD1210/soju/soju`diff --git a/docs/store/catalog.json b/docs/store/catalog.jsonindex 775d74d46cc..3c41438d857 100644--- a/docs/store/catalog.json+++ b/docs/store/catalog.json@@ -11,7 +11,13 @@"summary": "Seven nights behind the counter of a pawnshop that opened in 1958. Check what people bring in with a loupe, a UV lamp, a scale and the shop cat. Pay the rent. The ledger writes lines you didn't write, and someone knocks on the back shutter after closing. Don't open it.","details": "First-person horror · about 2 hours · 10 endings · English and Korean · Windows version included","requires": "Apple Silicon Mac, macOS 12 or later · 369 MB",- "steam": "https://store.steampowered.com/app/5584970"+ "steam": "https://store.steampowered.com/app/5584970",+ "demo": {+ "id": "dont-sell-the-cat-demo",+ "url": "https://github.com/BCD1210/soju/releases/download/dont-sell-the-cat-demo-1.0/DontSellTheCat-demo-mac-1.0.zip",+ "size": 388469226,+ "sha256": "3ffc4775fd3ff4c99e80c2b5d292865a7ea19a42d191cf2d1711de6486a7e0a7"+ }}]}diff --git a/resources/didim-store.json b/resources/didim-store.jsonindex 775d74d46cc..3c41438d857 100644--- a/resources/didim-store.json+++ b/resources/didim-store.json@@ -11,7 +11,13 @@"summary": "Seven nights behind the counter of a pawnshop that opened in 1958. Check what people bring in with a loupe, a UV lamp, a scale and the shop cat. Pay the rent. The ledger writes lines you didn't write, and someone knocks on the back shutter after closing. Don't open it.","details": "First-person horror · about 2 hours · 10 endings · English and Korean · Windows version included","requires": "Apple Silicon Mac, macOS 12 or later · 369 MB",- "steam": "https://store.steampowered.com/app/5584970"+ "steam": "https://store.steampowered.com/app/5584970",+ "demo": {+ "id": "dont-sell-the-cat-demo",+ "url": "https://github.com/BCD1210/soju/releases/download/dont-sell-the-cat-demo-1.0/DontSellTheCat-demo-mac-1.0.zip",+ "size": 388469226,+ "sha256": "3ffc4775fd3ff4c99e80c2b5d292865a7ea19a42d191cf2d1711de6486a7e0a7"+ }}]}diff --git a/scripts/desktop-action.sh b/scripts/desktop-action.shindex bee3eee6913..f97349b4ddd 100755--- a/scripts/desktop-action.sh+++ b/scripts/desktop-action.sh@@ -23,6 +23,7 @@ case "$ACTION" incase "${1:-}" in install) exec python3 "$ROOT/scripts/didim_games.py" install "${2:?Choose the game zip}" ;;remove) exec python3 "$ROOT/scripts/didim_games.py" remove "${2:?Choose a game}" ;;activate) exec python3 "$ROOT/scripts/didim_games.py" activate "${2:?Choose a game}" ;;+ demo) exec python3 "$ROOT/scripts/didim_games.py" demo "${2:?Choose a game}" ;;*) echo "Unknown Didim Labs action."; exit 64 ;; esac ;;xbox)case "${1:-}" in login|logout|kill|status) exec bash "$ROOT/scripts/xbox.sh" "$1" ;;diff --git a/scripts/didim_games.py b/scripts/didim_games.pyindex 2b83e386869..c509c73c534 100755--- a/scripts/didim_games.py+++ b/scripts/didim_games.py@@ -150,7 +150,6 @@ def fetch_json(url, body):def activate(uid):"""Download and install a bought game. The key comes from SOJU_DIDIM_KEY or the keychain."""- import urllib.requestif not ID.fullmatch(uid or ''): raise ValueError('Choose a game.')key = os.environ.pop('SOJU_DIDIM_KEY', '').strip() or saved_key(uid)if not key: raise ValueError('Enter the license key from your purchase email.')@@ -163,6 +162,12 @@ def activate(uid):and isinstance(url, str) and url.startswith('https://')):raise ValueError('The store sent an unexpected answer.')save_key(uid, key)+ download_install(name, size, digest, url, expect=uid)+++def download_install(name, size, digest, url, expect):+ """Stream a zip into didim-games/.downloads, check its size and SHA-256, then install it."""+ import urllib.requestfolder = games_dir() / '.downloads'folder.mkdir(parents=True, exist_ok=True, mode=0o700)target = folder / name@@ -182,11 +187,37 @@ def activate(uid):try:if done != size or sha.hexdigest() != digest:raise ValueError('The download was damaged. Try again.')- install(target, expect=uid)+ install(target, expect=expect)finally:target.unlink(missing_ok=True)+DEMO_PREFIX = 'https://github.com/BCD1210/soju/releases/download/'+++def demo(uid):+ """Download and install the free demo listed for a game in the store catalog."""+ import urllib.request, urllib.error+ if not ID.fullmatch(uid or ''): raise ValueError('Choose a game.')+ print('Looking up the demo…', flush=True)+ try:+ request = urllib.request.Request(STORE + '/store/catalog.json', headers={'User-Agent': 'Soju'})+ with urllib.request.urlopen(request, timeout=30) as response:+ catalog = json.loads(response.read(512 * 1024))+ except (urllib.error.URLError, ValueError):+ raise ValueError('Could not reach the store. Check the internet connection.')+ game = next((g for g in catalog.get('games', []) if isinstance(g, dict) and g.get('id') == uid), None)+ info = game.get('demo') if game else None+ if not isinstance(info, dict): raise ValueError('This game has no demo yet.')+ demo_id, url, size, digest = info.get('id'), info.get('url'), info.get('size'), info.get('sha256')+ if not (isinstance(demo_id, str) and ID.fullmatch(demo_id) and demo_id != uid+ and isinstance(url, str) and url.startswith(DEMO_PREFIX) and url.endswith('.zip')+ and isinstance(size, int) and 0 < size < 4 * 1024 ** 3+ and isinstance(digest, str) and re.fullmatch(r'[0-9a-f]{64}', digest)):+ raise ValueError('The store listed a demo Soju cannot use.')+ download_install(url.rsplit('/', 1)[1], size, digest, url, expect=demo_id)++def remove(uid):if not ID.fullmatch(uid or ''): raise ValueError('Choose a game ID.')dest = games_dir() / uid@@ -197,13 +228,14 @@ def remove(uid):def main():parser = argparse.ArgumentParser(description=__doc__)- parser.add_argument('action', choices=['install', 'activate', 'list', 'remove'])+ parser.add_argument('action', choices=['install', 'activate', 'demo', 'list', 'remove'])parser.add_argument('target', nargs='?')args = parser.parse_args()try:if args.action == 'install': install(args.target or '')elif args.action == 'remove': remove(args.target)elif args.action == 'activate': activate(args.target)+ elif args.action == 'demo': demo(args.target)else: print(json.dumps(installed(), ensure_ascii=False))except (OSError, ValueError, json.JSONDecodeError, subprocess.CalledProcessError) as error:print('soju: ' + str(error), file=sys.stderr); sys.exit(1)diff --git a/scripts/soju b/scripts/sojuindex 55923f8b92b..b984eb11eb7 100755--- a/scripts/soju+++ b/scripts/soju@@ -24,6 +24,7 @@ Usage:soju search <term> Search Steam, GOG and the Microsoft Store (--country US|KR|GB|DE|JP)soju didim install <game.zip> Install a native Mac game from Didim Labssoju didim list|remove <id> List or remove installed Didim Labs games+ soju didim demo <id> Download and install a game's free demosoju --version Print the Soju versionsoju battlenet Launch Battle.net (default bottle)soju d2r Launch Diablo II: Resurrected directlydiff --git a/site/content/game-dont-sell-the-cat.json b/site/content/game-dont-sell-the-cat.jsonindex e9ff55eecd8..6c79b5c9b9e 100644--- a/site/content/game-dont-sell-the-cat.json+++ b/site/content/game-dont-sell-the-cat.json@@ -28,10 +28,13 @@{"type": "Hero", "props": {"title": "Don't Sell the Cat","lead": "Seven nights behind the counter of a pawnshop that opened in 1958. Check what people bring in with a loupe, a UV lamp, a scale and the shop cat. Pay the rent. The ledger writes lines you didn't write, and someone knocks on the back shutter after closing. Don't open it.",- "actions": [{"label": "Buy for $6.99", "href": "https://buy.polar.sh/polar_cl_RUBxcP2f3cFwGAUA0yXiuQcMm12Mu0kMaTJEB2yhNh2", "primary": true}],+ "actions": [{"label": "Buy for $6.99", "href": "https://buy.polar.sh/polar_cl_RUBxcP2f3cFwGAUA0yXiuQcMm12Mu0kMaTJEB2yhNh2", "primary": true}, {"label": "Free demo on Mac", "href": "#demo"}],"meta": "Mac and Windows in one purchase · about 2 hours · English, 한국어","image": {"src": "../store/dont-sell-the-cat-wide.jpg", "alt": "Title art: a black cat with yellow eyes on a pawnshop counter, a man's silhouette behind it", "width": 920, "height": 430}}},+ {"type": "Section", "props": {"id": "demo", "title": "Free demo"}, "children": [+ {"type": "Text", "props": {"text": "The demo is the first three nights. On a Mac with Apple Silicon, [install Soju](../#install), open **Didim Labs Store** and press **Free demo**. It downloads, installs and shows up in your library like any other game. Demo saves are kept apart from the full game's."}}+ ]},{"type": "Section", "props": {"id": "about", "title": "About the game"}, "children": [{"type": "Text", "props": {"text": "Pell & Daughter Loans, 1414 Corvin Street. The owner leaves notes and never comes down. Customers come in one at a time: a mother with a ring, a man who won't take cash, a nurse from the hospital across the street who always comes back for what she pawns. Fakes show under the loupe, under UV or on the scale. Cursed things are harder; Moth, the cat, hisses at them. Most nights."}},{"type": "Features", "props": {"items": [diff --git a/site/content/index.json b/site/content/index.jsonindex 27d2f79e1bf..ab11f0cd646 100644--- a/site/content/index.json+++ b/site/content/index.json@@ -90,8 +90,8 @@"@id": "https://didimlabs.com/#soju","name": "Soju","url": "https://didimlabs.com/",- "downloadUrl": "https://github.com/BCD1210/soju/releases/download/v1.10.3/Soju-1.10.3-macos-arm64.zip",- "softwareVersion": "1.10.3",+ "downloadUrl": "https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip",+ "softwareVersion": "1.10.4","description": "Free, open-source Mac app that installs the official Windows launchers for Steam, Battle.net, Epic Games, GOG GALAXY and Xbox PC on Apple Silicon and shows every installed game in one library.","applicationCategory": "GameApplication","operatingSystem": "macOS 14 or later, Apple Silicon (M1 or newer)",@@ -120,8 +120,8 @@"lead": "A free Mac app for playing Windows games on Apple Silicon. It installs the real Steam, Battle.net, Epic, GOG GALAXY and Xbox PC launchers, keeps each in its own Wine setup, and lists every installed game in one library.","actions": [{- "label": "Download Soju 1.10.3",- "href": "https://github.com/BCD1210/soju/releases/download/v1.10.3/Soju-1.10.3-macos-arm64.zip",+ "label": "Download Soju 1.10.4",+ "href": "https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip","primary": true}],@@ -274,7 +274,7 @@"items": [{"title": "Download the app",- "text": "[Soju-1.10.3-macos-arm64.zip](https://github.com/BCD1210/soju/releases/download/v1.10.3/Soju-1.10.3-macos-arm64.zip). Unzip it and move Soju to Applications. [Signing notes](https://github.com/BCD1210/soju/blob/main/docs/DESKTOP.md)."+ "text": "[Soju-1.10.4-macos-arm64.zip](https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip). Unzip it and move Soju to Applications. [Signing notes](https://github.com/BCD1210/soju/blob/main/docs/DESKTOP.md)."},{"title": "Pick launchers",diff --git a/site/content/ko.json b/site/content/ko.jsonindex 168008fc4c6..2cad4c5ddae 100644--- a/site/content/ko.json+++ b/site/content/ko.json@@ -64,8 +64,8 @@"lead": "애플 실리콘 맥에서 윈도우 게임을 하기 위한 무료 맥 앱입니다. 진짜 스팀, 배틀넷, 에픽, GOG GALAXY, Xbox PC 런처를 각각 따로 된 Wine 환경에 설치하고, 설치된 게임을 한 라이브러리에 모아 보여 줍니다.","actions": [{- "label": "소주 1.10.3 다운로드",- "href": "https://github.com/BCD1210/soju/releases/download/v1.10.3/Soju-1.10.3-macos-arm64.zip",+ "label": "소주 1.10.4 다운로드",+ "href": "https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip","primary": true}],@@ -208,7 +208,7 @@"items": [{"title": "앱 받기",- "text": "[Soju-1.10.3-macos-arm64.zip](https://github.com/BCD1210/soju/releases/download/v1.10.3/Soju-1.10.3-macos-arm64.zip)을 받아 압축을 풀고 응용 프로그램 폴더로 옮깁니다."+ "text": "[Soju-1.10.4-macos-arm64.zip](https://github.com/BCD1210/soju/releases/download/v1.10.4/Soju-1.10.4-macos-arm64.zip)을 받아 압축을 풀고 응용 프로그램 폴더로 옮깁니다."},{"title": "런처 고르기",diff --git a/tests/test_didim.py b/tests/test_didim.pyindex a9823c71917..179fd3aa26b 100644--- a/tests/test_didim.py+++ b/tests/test_didim.py@@ -91,6 +91,12 @@ if __name__ == '__main__':class DidimStore(unittest.TestCase):"""activate() talks to the store; these cover the paths that never touch the network or keychain."""+ def setUp(self):+ self.tmp = tempfile.TemporaryDirectory(); self.dir = Path(self.tmp.name)+ self.base = self.dir / 'base'+ self.env = dict(os.environ, SOJU_BASE=str(self.base))+ self.addCleanup(self.tmp.cleanup)+def run_activate(self, key, store='http://127.0.0.1:9'):env = dict(os.environ, SOJU_BASE=tempfile.mkdtemp(), SOJU_DIDIM_STORE=store, SOJU_DIDIM_KEY=key)return subprocess.run([sys.executable, str(SCRIPT), 'activate', 'no-such-game-for-tests'], env=env,@@ -106,6 +112,55 @@ class DidimStore(unittest.TestCase):self.assertNotEqual(result.returncode, 0)self.assertIn('Could not reach the store', result.stderr)+ def serve_catalog(self, catalog):+ import http.server, threading+ body = json.dumps(catalog).encode()+ class Handler(http.server.BaseHTTPRequestHandler):+ def do_GET(self):+ self.send_response(200 if self.path == '/store/catalog.json' else 404)+ self.end_headers(); self.wfile.write(body)+ def log_message(self, *args): pass+ server = http.server.HTTPServer(('127.0.0.1', 0), Handler)+ threading.Thread(target=server.serve_forever, daemon=True).start()+ self.addCleanup(server.shutdown)+ return 'http://127.0.0.1:%d' % server.server_port++ def run_demo(self, catalog):+ env = dict(self.env, SOJU_DIDIM_STORE=self.serve_catalog(catalog))+ return subprocess.run([sys.executable, str(SCRIPT), 'demo', 'test-game'], env=env, capture_output=True, text=True)++ def test_demo_needs_a_listed_demo(self):+ result = self.run_demo({'schema': 1, 'games': [{'id': 'test-game'}]})+ self.assertNotEqual(result.returncode, 0)+ self.assertIn('no demo yet', result.stderr)++ def test_demo_from_another_host_is_refused(self):+ demo = {'id': 'test-game-demo', 'url': 'https://example.com/demo.zip', 'size': 10, 'sha256': '0' * 64}+ result = self.run_demo({'schema': 1, 'games': [{'id': 'test-game', 'demo': demo}]})+ self.assertNotEqual(result.returncode, 0)+ self.assertIn('cannot use', result.stderr)+ same_id = dict(demo, id='test-game', url='https://github.com/BCD1210/soju/releases/download/x/demo.zip')+ result = self.run_demo({'schema': 1, 'games': [{'id': 'test-game', 'demo': same_id}]})+ self.assertIn('cannot use', result.stderr)++ @unittest.skipUnless(sys.platform == 'darwin', 'needs ditto and codesign')+ def test_download_checks_hash_then_installs(self):+ import hashlib, importlib.util+ archive = make_zip(self.dir, dict(GOOD, id='test-game-demo'))+ data = archive.read_bytes()+ spec = importlib.util.spec_from_file_location('didim_games', SCRIPT)+ module = importlib.util.module_from_spec(spec); spec.loader.exec_module(module)+ old = os.environ.get('SOJU_BASE'); os.environ['SOJU_BASE'] = str(self.base)+ try:+ with self.assertRaises(ValueError):+ module.download_install('d.zip', len(data), '0' * 64, archive.as_uri(), expect='test-game-demo')+ self.assertFalse((self.base / 'didim-games/test-game-demo').exists())+ module.download_install('d.zip', len(data), hashlib.sha256(data).hexdigest(), archive.as_uri(), expect='test-game-demo')+ self.assertTrue((self.base / 'didim-games/test-game-demo/Test Game.app').is_dir())+ finally:+ if old is None: os.environ.pop('SOJU_BASE', None)+ else: os.environ['SOJU_BASE'] = old+def test_catalog_copies_match_and_are_valid(self):bundled = json.loads((ROOT / 'resources/didim-store.json').read_text())public = json.loads((ROOT / 'docs/store/catalog.json').read_text())@@ -115,3 +170,6 @@ class DidimStore(unittest.TestCase):self.assertTrue(game['checkout'].startswith('https://buy.polar.sh/'))self.assertTrue(game['cover'].startswith('https://didimlabs.com/store/'))self.assertTrue((ROOT / 'docs/store' / game['cover'].rsplit('/', 1)[1]).is_file())+ if 'demo' in game:+ self.assertTrue(game['demo']['url'].startswith('https://github.com/BCD1210/soju/releases/download/'))+ self.assertNotEqual(game['demo']['id'], game['id'])