diff --git a/README.md b/README.md index 0081a6b..5287d83 100644 --- a/README.md +++ b/README.md @@ -189,20 +189,30 @@ flowchart LR **Why you can trust it:** the stability is not luck. The test and verification tooling is part of the project — unit tests for the host and graphics layers, an equivalence check for every rewritten instruction, scripted walkthrough regression for the touch interface, and on-device smoke tests. Start with `make -C dm/host/tests run`, `make -C dm/gfx/tests run` and `dm/verify/regress.sh` (run them inside the Python environment prepared in step 2 below; `regress.sh` also needs `brew install llvm`). How to contribute is in [CONTRIBUTING.md](CONTRIBUTING.md). +## Which devices are supported + +| Device | Playable? | How | How sure we are | +|---|---|---|---| +| **iPhone / iPad, A17 Pro and later** (iPhone 15 Pro and later, iPhone 16 and later, iPads with M-series chips) | Yes | iOS 26 or later: the default shell / default build; iOS 18 – 25: the iOS 18 shell / [older-API build](docs/OLDER_SYSTEMS.md) | Main devices, played daily | +| **iPhone / iPad, A16 and earlier** (all iPhone 14 models, iPhone 15 / 15 Plus, iPhone 13 series and so on) | Yes, with one extra step | Make a Legacy Device Pack from your own game files as in [docs/LEGACY_DEVICES.md](docs/LEGACY_DEVICES.md) and include it when making the install package; the system split is the same as the row above | Played by players: iPhone 14 Pro Max (A16, 6 GB) at 60 fps; iPhone 13 Pro Max (A15, 6 GB) in the 30 fps mode | +| **Chips older than A15, devices with 4 GB of RAM** | No reports yet | Same as the row above | If you have tried, please open an Issue and tell us | +| **Mac, Apple silicon** | Yes (native macOS App) | macOS 26 or later: the default build; macOS 15 – 25: the [older-API build](docs/OLDER_SYSTEMS.md). Keyboard, mouse and gamepad all work; what each can do is in [docs/MAC.md](docs/MAC.md) | A player has played the older-API build on macOS 15.7.7 | +| **Intel Macs** | Not supported | — | — | + +**What the dialogs in the App mean** + +- **"One More Step for This Device"**: this phone can run the game; the install package was made without the Legacy Device Pack. Make the pack as in [docs/LEGACY_DEVICES.md](docs/LEGACY_DEVICES.md), make the install package again with it and reinstall. +- **"Device Not Supported … iPhone 15 Pro and later can play"**: this is the old text from before v1.0.9. You are on an old version; update to the latest. For A16 and earlier devices, then follow the line above. + +**What a package you build yourself does not have, compared with our test-group builds**: the public version can be built and installed with a free Apple ID. Three things in our test-group builds are not in it: iCloud save sync (the App needs the iCloud signing entitlement, which a self-signed package does not have), downloading packs and resources inside the App, and new-version notices (these two use our own server). The game itself and the features we added are the same. + ## Getting started Both routes start with **the files of the game you bought**: the Switch release of Diablo II: Resurrected plus the Reign of the Warlock expansion, updated to 1.0.34.0 (the version the console shows; it corresponds to PC version 3.3.94012, and the directory names and tools in this repository use the latter number). This project is built for the version with that expansion; using it without the expansion is not supported and has not been verified. How to prepare them is in [docs/GAME_FILES.md](docs/GAME_FILES.md). This project is implemented and verified on the Switch release 1.0.34.0 (which corresponds to PC version 3.3.94012), and by default the tools accept only that version. Community users have reported adapting other versions on their own by following the structure of this repository, and running them successfully. The rule tables are grouped by game version (in `dm/tools/patch_nso.py`, keyed by the build ID of the main program); you are welcome to contribute the version you adapted. -**Check your device first** — the system decides which build to use, the chip decides whether you also need a texture pack, and the two combine: - -| Your device | iOS 26 or later | iOS 18 – 25 | -|---|---|---| -| **A17 Pro and newer** (iPhone 15 Pro and later, iPhone 16 and later) | Default build, follow the steps below | [Older-API build](docs/OLDER_SYSTEMS.md) | -| **A16 and earlier** (iPhone 14 series, iPhone 15 / 15 Plus and before) | Default build + [Legacy Device Pack](docs/LEGACY_DEVICES.md) | [Older-API build](docs/OLDER_SYSTEMS.md) + [Legacy Device Pack](docs/LEGACY_DEVICES.md) | - -On a Mac only the system matters: macOS 26 or later uses the default build, macOS 15 – 25 the [older-API build](docs/OLDER_SYSTEMS.md). +**Check your device first**: the "Which devices are supported" table above tells you which build to use and whether you also need a Legacy Device Pack. | | With a Mac | Without a Mac | |---|---|---| @@ -264,7 +274,7 @@ Download our prebuilt "shell" package (`D2RMobile-shell.ipa`; `D2RMobile-shell-i | `.nsp` / `.xci` game packages | The tools only check the version of the main program and do not distinguish package formats; we ran the whole path with an `.xci` ourselves, and users have reported that `.nsp` packages work perfectly as well | | Signing and installing with a sideloading tool (Sideloadly, AltStore and the like) | Not verified; open an issue and tell us how it went | | Making the package on Linux | Not verified (verified on Windows and Mac) | -| Devices that have not moved to iOS 26 / macOS 26 | Playable with the older-API build (minimum iOS 18.0 / macOS 15.0): [docs/OLDER_SYSTEMS.md](docs/OLDER_SYSTEMS.md) | +| Devices that have not moved to iOS 26 / macOS 26 | Playable with the older-API build (minimum iOS 18.0 / macOS 15.0): [docs/OLDER_SYSTEMS.md](docs/OLDER_SYSTEMS.md); the full device table is under "Which devices are supported" above | | A16 and earlier devices (iPhone 14 family, iPhone 15 / 15 Plus and so on) | Playable; they need a Legacy Device Pack and an App built with it: [docs/LEGACY_DEVICES.md](docs/LEGACY_DEVICES.md). "One More Step for This Device" (older versions say "Device Not Supported") in the App means this step is missing | | The "one-line verdict" and "legacy Chinese name" entries in item notes | These two content tables are not shipped with the repository; you can supply your own, see `dm/ios/tools/annot/README.md` | diff --git a/README.zh-CN.md b/README.zh-CN.md index 4f2fdef..0cf7e9a 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -189,20 +189,30 @@ flowchart LR **为什么可信:** 稳定不是靠运气。测试与验证工具是项目的一部分——宿主与图形层的单元测试、对每一处改写指令的等价核对、触摸界面的脚本化走查回归、真机冒烟。从 `make -C dm/host/tests run`、`make -C dm/gfx/tests run` 与 `dm/verify/regress.sh` 开始(都在下面第 2 步准备的 Python 环境里跑;`regress.sh` 另需 `brew install llvm`)。怎么参与见 [CONTRIBUTING.zh-CN.md](CONTRIBUTING.zh-CN.md)。 +## 支持哪些设备 + +| 设备 | 能不能玩 | 怎么做 | 把握程度 | +|---|---|---|---| +| **iPhone / iPad,A17 Pro 及以后**(iPhone 15 Pro 起、iPhone 16 起、M 系列芯片的 iPad) | 直接玩 | iOS 26 及以上用缺省的壳 / 缺省构建;iOS 18 – 25 用 iOS 18 的壳 / [老接口版](docs/OLDER_SYSTEMS.zh-CN.md) | 主力机型,日常在玩 | +| **iPhone / iPad,A16 及更早**(iPhone 14 全系、iPhone 15 / 15 Plus、iPhone 13 系列等) | 可以玩,多一步 | 按 [docs/LEGACY_DEVICES.zh-CN.md](docs/LEGACY_DEVICES.zh-CN.md) 用自己的游戏文件做一份老机型补充包,做安装包时带上它;系统同上一行分 iOS 26 / iOS 18 – 25 | 已有玩家实测:iPhone 14 Pro Max(A16,6 GB)60 帧;iPhone 13 Pro Max(A15,6 GB)30 帧档 | +| **比 A15 更老的芯片、4 GB 内存的设备** | 尚无报告 | 同上一行 | 欢迎试过的人开 Issue 告诉我们结果 | +| **Mac,Apple 芯片** | 直接玩(原生 macOS App) | macOS 26 及以上用缺省出法;macOS 15 – 25 用[老接口出法](docs/OLDER_SYSTEMS.zh-CN.md)。键盘、鼠标、手柄都能玩,各自能做什么见 [docs/MAC.zh-CN.md](docs/MAC.zh-CN.md) | 已有玩家在 macOS 15.7.7 上实际玩过老接口版 | +| **Intel 芯片的 Mac** | 不支持 | — | — | + +**App 里弹的框是什么意思** + +- **「这台设备要多做一步」**:这台手机可以玩,只是做安装包时没有带上老机型补充包。照 [docs/LEGACY_DEVICES.zh-CN.md](docs/LEGACY_DEVICES.zh-CN.md) 做好补充包、带着它重新做一次安装包再装,就能进游戏。 +- **「暂不支持本机型……iPhone 15 Pro 及以后可以玩」**:这是 v1.0.9 以前的旧文字。用的是旧版本,更新到最新版本即可;A16 及更早的机型照上一条做。 + +**自己做的包和我们内测包的差别**:公开版可以用免费的 Apple ID 自己做包、自己装。内测包里有三样公开版没有:iCloud 存档同步(需要 App 带着 iCloud 的签名权限,自己签的包没有)、App 内下载补充包与资源、新版本提醒(这两样要用到我们自己的服务端)。游戏本身和我们加的玩法两边一样。 + ## 开始使用 两条路都要先有**你自己购买的游戏的文件**:Switch 版《暗黑破坏神 II:狱火重生》本体加「术士君临」资料片,更新到 1.0.34.0(主机上显示的版本号;它对应 PC 版的 3.3.94012,本仓库的目录名和工具里用的是后一个号)。本项目是按带这部资料片的版本做的,没有资料片的情况不支持、也没有验过。怎么准备见 [docs/GAME_FILES.zh-CN.md](docs/GAME_FILES.zh-CN.md)。 本项目基于 Switch 版 1.0.34.0(对应 PC 版的 3.3.94012)实现并验证,工具默认只认这一版。已有社区用户反馈,参照仓库结构自行适配了其他版本并成功运行。规则表按游戏版本分组存放(`dm/tools/patch_nso.py` 里按主程序的构建标识分组),欢迎把你适配的版本提交回来。 -**先对一下你的设备**——系统决定用哪种构建,芯片决定要不要多做一份贴图包,两件事可以叠: - -| 你的设备 | iOS 26 及以上 | iOS 18 – 25 | -|---|---|---| -| **A17 Pro 及更新**(iPhone 15 Pro 起、iPhone 16 起) | 缺省构建,照下面走 | [老接口版](docs/OLDER_SYSTEMS.zh-CN.md) | -| **A16 及更早**(iPhone 14 系列、iPhone 15 / 15 Plus 及更早) | 缺省构建 + [老机型贴图包](docs/LEGACY_DEVICES.zh-CN.md) | [老接口版](docs/OLDER_SYSTEMS.zh-CN.md) + [老机型贴图包](docs/LEGACY_DEVICES.zh-CN.md) | - -Mac 只看系统:macOS 26 及以上用缺省构建,macOS 15 – 25 用[老接口版](docs/OLDER_SYSTEMS.zh-CN.md)。 +**先对一下你的设备**:上面「支持哪些设备」那张表告诉你该用哪种构建、要不要多做一份老机型补充包。 | | 有 Mac | 没有 Mac | |---|---|---| @@ -264,7 +274,7 @@ DM_MAC_M3=1 dm/tools/mac_app.sh # macOS 15 – 25:产出 D2R Mobile M3.ap | `.nsp` / `.xci` 两种游戏包 | 工具只核对主程序的版本,不区分包的格式;我们自己用 `.xci` 走过全程,有网友反馈 `.nsp` 格式的游戏包也完美兼容 | | 用自签工具(Sideloadly、AltStore 等)签名装机 | 没验过,欢迎开 Issue 告诉我们结果 | | Linux 上做包 | 没验过(Windows 与 Mac 上验过) | -| 没升到 iOS 26 / macOS 26 的设备 | 可以玩,用老接口版(最低 iOS 18.0 / macOS 15.0):[docs/OLDER_SYSTEMS.zh-CN.md](docs/OLDER_SYSTEMS.zh-CN.md) | +| 没升到 iOS 26 / macOS 26 的设备 | 可以玩,用老接口版(最低 iOS 18.0 / macOS 15.0):[docs/OLDER_SYSTEMS.zh-CN.md](docs/OLDER_SYSTEMS.zh-CN.md);完整的设备表见上面「支持哪些设备」 | | A16 及更早的机型(iPhone 14 系列、iPhone 15 / 15 Plus 等) | 可以玩,要多做一份老机型贴图包并带着它构建 App:[docs/LEGACY_DEVICES.zh-CN.md](docs/LEGACY_DEVICES.zh-CN.md)。App 提示「这台设备要多做一步」(旧版本显示的是「暂不支持本机型」)就是缺这一步 | | 物品注释里的「一句点评」与「旧译名对照」 | 两张内容表不随仓库提供,可自备,见 `dm/ios/tools/annot/README.zh-CN.md` | diff --git a/docs/LEGACY_DEVICES.md b/docs/LEGACY_DEVICES.md index bac5ff6..fc9e662 100644 --- a/docs/LEGACY_DEVICES.md +++ b/docs/LEGACY_DEVICES.md @@ -2,13 +2,13 @@ 中文:[LEGACY_DEVICES.zh-CN.md](LEGACY_DEVICES.zh-CN.md) -The iPhone 14 family, iPhone 15 / 15 Plus and earlier models can play; they just need one more step: a **Legacy Device Pack** made from your own game files and placed on the phone. This page covers it from start to finish. +The iPhone 14 family, iPhone 15 / 15 Plus and earlier models can play; they just need one more step (see "[Which devices are supported](../README.md#which-devices-are-supported)" in the README for every device): a **Legacy Device Pack** made from your own game files and placed on the phone. This page covers it from start to finish. ## Why the extra step Almost all of the game's textures use BC compression. Apple GPUs support that format only from the A17 Pro (iPhone 15 Pro) on; earlier chips cannot read it. The answer is to convert those textures offline, on a computer, into ASTC, which these devices do support — the picture is the same picture. Textures are game content, so we cannot provide this pack; it can only be generated on your own computer from your own game files. -**Which devices need it**: the App decides this itself at launch, so there is no table to consult. A device that needs it shows "Supplementary Pack Required"; if it shows "One More Step for This Device" (older versions say "Device Not Supported") instead, the App was built without the part that goes with the pack — rebuild it as in step 4 below. +**Which devices need it**: the App decides this itself at launch, so there is no table to consult. A device that needs it shows "Supplementary Pack Required"; if it shows "One More Step for This Device" instead, the App was built without the part that goes with the pack — rebuild it as in step 4 below. If it shows "Device Not Supported … iPhone 15 Pro and later can play", that is the old text from before v1.0.9: update to the latest version first, then follow this page. ## What you need diff --git a/docs/LEGACY_DEVICES.zh-CN.md b/docs/LEGACY_DEVICES.zh-CN.md index 61ac340..d8db825 100644 --- a/docs/LEGACY_DEVICES.zh-CN.md +++ b/docs/LEGACY_DEVICES.zh-CN.md @@ -2,13 +2,13 @@ English: [LEGACY_DEVICES.md](LEGACY_DEVICES.md) -iPhone 14 系列、iPhone 15 / 15 Plus 以及更早的机型可以玩,只是多一步:要用你自己的游戏文件做一份**老机型贴图包**,放进手机。这一页从头讲到尾。 +iPhone 14 系列、iPhone 15 / 15 Plus 以及更早的机型可以玩,只是多一步(各机型的情况见首页「[支持哪些设备](../README.zh-CN.md#支持哪些设备)」):要用你自己的游戏文件做一份**老机型贴图包**,放进手机。这一页从头讲到尾。 ## 为什么要多这一步 游戏的贴图绝大多数用的是 BC 压缩格式。苹果的显卡从 A17 Pro(iPhone 15 Pro)起才支持这种格式,更早的芯片不认。做法是在电脑上把这些贴图离线转成这些机型支持的 ASTC 格式,画面是同一份画面。贴图是游戏内容,所以这个包不能由我们提供,只能用你自己的游戏文件在你自己的电脑上生成。 -**哪些机型需要**:App 启动时自己会判断,不用查表。需要的机型会弹「需要老机型补充包」(补充包就是这里说的贴图包);如果弹的是「这台设备要多做一步」(旧版本显示的是「暂不支持本机型」),说明这个 App 构建时没有带上贴图包的配套部分——照下面第 4 步重新构建即可。 +**哪些机型需要**:App 启动时自己会判断,不用查表。需要的机型会弹「需要老机型补充包」(补充包就是这里说的贴图包);如果弹的是「这台设备要多做一步」,说明这个 App 构建时没有带上贴图包的配套部分——照下面第 4 步重新构建即可。如果弹的是「暂不支持本机型……iPhone 15 Pro 及以后可以玩」,那是 v1.0.9 以前的旧文字:先更新到最新版本,再照这一页做。 ## 需要什么 diff --git a/docs/MAC.md b/docs/MAC.md index e27dcd9..1a0b7c7 100644 --- a/docs/MAC.md +++ b/docs/MAC.md @@ -8,7 +8,7 @@ On an Apple silicon Mac this project can be built into a native macOS App, `D2R ## Requirements -Apple silicon. Two tiers by system: +Apple silicon (Intel Macs are not supported; see "[Which devices are supported](../README.md#which-devices-are-supported)" in the README for every device). Two tiers by system: | Your system | How to build | Output | |---|---|---| diff --git a/docs/MAC.zh-CN.md b/docs/MAC.zh-CN.md index 76f61e6..37e9985 100644 --- a/docs/MAC.zh-CN.md +++ b/docs/MAC.zh-CN.md @@ -8,7 +8,7 @@ Apple 芯片的 Mac 可以把本项目构建成一个原生的 macOS App:`D2R ## 系统要求 -Apple 芯片。按系统分两档: +Apple 芯片(Intel 芯片的 Mac 不支持;各设备的情况见首页「[支持哪些设备](../README.zh-CN.md#支持哪些设备)」)。按系统分两档: | 你的系统 | 用哪种出法 | 产出 | |---|---|---| diff --git a/docs/OLDER_SYSTEMS.md b/docs/OLDER_SYSTEMS.md index 30880a2..3652ac0 100644 --- a/docs/OLDER_SYSTEMS.md +++ b/docs/OLDER_SYSTEMS.md @@ -6,7 +6,7 @@ The default build requires iOS 26 / macOS 26: the graphics side is built on a gr ## Which one do I need -Look at the system first, then at the chip. The two are independent and can be combined: +Look at the system first, then at the chip. The two are independent and can be combined (every device is listed under "[Which devices are supported](../README.md#which-devices-are-supported)" in the README): | Your device | System is iOS 26 or later | System is iOS 18 – 25 | |---|---|---| diff --git a/docs/OLDER_SYSTEMS.zh-CN.md b/docs/OLDER_SYSTEMS.zh-CN.md index 0cacaa3..085a2d3 100644 --- a/docs/OLDER_SYSTEMS.zh-CN.md +++ b/docs/OLDER_SYSTEMS.zh-CN.md @@ -6,7 +6,7 @@ ## 我该用哪一种 -先看系统,再看芯片。两件事互不相干,可以叠在一起: +先看系统,再看芯片。两件事互不相干,可以叠在一起(各设备的完整情况见首页「[支持哪些设备](../README.zh-CN.md#支持哪些设备)」): | 你的设备 | 系统是 iOS 26 及以上 | 系统是 iOS 18 – 25 | |---|---|---|