A newer shell is available: v1.0.18. The shell and the repository must be from the same version; with the current
mainplease use v1.0.18.
已有更新的壳:v1.0.18。壳和仓库必须是同一版,配合现在的
main请用 v1.0.18。
English
iCloud save sync no longer gets stuck when two devices played offline; system notices no longer cover the life / mana numbers or the inventory; no preset monsters in the Rift from level 90. This page has two shells — pick the one for your phone's system.
| Asset | For |
|---|---|
D2RMobile-shell.ipa
| iOS 26 and later |
D2RMobile-shell-ios18.ipa
| iOS 18 – 25 |
Replace your shell with one from this page and update the repository to this version. This round changes the rewriter's output generation (r43 → r44), so an older shell is refused by the packaging tool with the current main. If you build with Xcode, pull main, run ./setup.sh again (it redoes the program rewrite for r44) and rebuild.
iCloud save sync
iCloud save sync is available in packages signed with a paid developer account (see the README). This version handles devices that played offline:
- Shared stash on two devices: when the shared stash in the cloud and the one on this device both have contents and differ, sync no longer stops. The cloud copy becomes the current one, and this device's copy is kept in full on the device, waiting to be merged back; you get one notice after entering a game. Merging it back in the game is the next step.
- A device that has never synced first waits until it can see the list of saves in the cloud (or, with an empty cloud, until the network is reachable) before syncing, so a new device started without network no longer uploads its empty stash over the cloud.
- Same character name on two devices at a new device's first sync: the cloud copy is used, this device's copy goes into the backup in full, and you get one notice naming the character.
- iCloud's own conflict versions (two devices wrote the same file): for a character the copy the game wrote last becomes current and the others go into the backup; for the shared stash every version is kept for merging.
Greater Rifts
- From level 90 the map's own preset monsters are no longer placed (catapults, watchers, preset packs and champions), so the run is made only of special elites, as planned in #26. Super uniques placed by the map, doors, walls, traps and NPCs stay.
- Between two Guardian waves the top bar keeps showing the wave just finished, and moves on when the next wave appears.
System notices
- The notice box (such as "Entering Rogue Encampment") slides in higher, above the life / mana numbers over the bottom bar instead of on top of them. With a large panel open (inventory, stash and so on) it docks at the panel's bottom frame instead, so it does not cover the inventory cells.
Mac
The Mac App now also links Apple's Network framework (used by iCloud sync); dm/tools/mac_app.sh picks this up by itself. An App you build yourself still has no iCloud save sync. docs/MAC.md is unchanged in this version.
How this release was checked
Both shells were built from the public tree in an empty working directory, in a normal Terminal environment (UTF-8 locale, no DOTNET_ROOT set), with the free-account switch on; each was then used, with the same tree and another empty working directory, to write an install package. The iOS 18 shell and its package read back a minimum system of 18.0 and contain no Metal 4 symbols. On the same fresh tree: the host build, the unit-test suites (including the iCloud sync cases) and the Mac smoke run; the older-API Mac App was built and started unattended into a game.
中文
两台设备各自离线玩过之后,iCloud 存档同步不再卡住;系统提示框不再压住生命 / 法力数值和背包格;秘境 90 层起不放地图自带的预设怪。本页有两份壳,按手机的系统挑一份。
| 附件 | 给谁 |
|---|---|
D2RMobile-shell.ipa
| iOS 26 及以上 |
D2RMobile-shell-ios18.ipa
| iOS 18 – 25 |
**请把壳换成本页的,并把仓库更新到这一版。**这一轮改写器的产物换了代(r43 → r44),旧壳配现在的 main 会被做包工具拒绝。用 Xcode 构建的,拉取 main,重新运行一次 ./setup.sh(它会按 r44 重做程序改写),再重新构建。
iCloud 存档同步
iCloud 存档同步只在用付费开发者账号签名的包里有(见首页)。这一版处理离线玩过的设备:
- 两台设备的共享仓库各有内容:云端和本机的共享仓库都有东西又不一样时,同步不再停住。云端那份成为现行版,本机那份完整保存在这台设备上等待并回,进游戏后提示一次。在游戏里并回是下一步。
- 从没同步过的设备先等能看到云端的存档列表(云端是空的就等网络通)再同步,新设备断网首启不会再把空仓库传上去盖掉云端。
- 新设备首次同步遇到同名角色:用云端那份,本机那份完整进备份,进游戏后提示一次并写出角色名。
- iCloud 自己的冲突版本(两台设备写了同一个文件):角色取游戏最后写的那份当现行版,其余进备份;共享仓库的每个版本都留着等并回。
大秘境
- 90 层起不再放地图自带的预设怪(投石车、观察者、预设的怪群和冠军),整场只有特殊精英,即 #26 里定的方向。地图自带的超级独特怪、门、墙、陷阱、NPC 照旧。
- 两波守护者之间,顶部那一条仍显示刚打完的那一波,下一波现身才跳过去。
系统提示框
- 提示框(如「进入流亡者营地」)滑入的位置上提,停在底栏上方生命 / 法力数值的上面,不再压着数值。开着大面板(物品栏、储藏箱等)时改停在面板底边框那一带,不压背包格子。
Mac
Mac App 现在多链接苹果的 Network 框架(iCloud 同步用),dm/tools/mac_app.sh 会自己带上。自己构建的 App 仍然没有 iCloud 存档同步。docs/MAC.zh-CN.md 这一版没有变化。
这一版是怎么验的
两份壳都是在空的工作目录里、按普通终端的环境(UTF-8 区域、不设 DOTNET_ROOT)、开着免费账号档,从公开的代码出的;随后各自配同一份代码和另一个空的工作目录做了一次包,写出了安装包。iOS 18 的壳和用它做出的安装包,读回的最低系统都是 18.0,里面没有 Metal 4 的符号。在同一棵全新的代码上跑了宿主构建、单测(含 iCloud 同步的用例)和 Mac 冒烟;老接口版的 Mac App 出包并无人值守地起到进游戏。