github jhaizhou-ops/d2r-mobile v1.0.16

latest releases: v2.3.5, v2.3.4, v2.3.3...
one month ago

A newer shell is available: v1.0.18. The shell and the repository must be from the same version; with the current main please use v1.0.18.

已有更新的壳:v1.0.18。壳和仓库必须是同一版,配合现在的 main 请用 v1.0.18。

Withdrawn — please update to v1.0.17. This release has two save defects: a personal stash page (pages 2–5) could be lost, most likely after the iCloud merge had made duplicate items or when the game was closed right after turning a page; and items returned by the iCloud shared-stash merge could come back again on every launch. v1.0.17 fixes both and contains everything in this release.

已撤回,请更新到 v1.0.17。 本版有两处存档缺陷:个人仓库第 2–5 页可能整页丢失(iCloud 并回复制出重复物品之后,或刚翻完页就关掉游戏时最容易遇到);iCloud 共享仓库并回还进背包的物品,之后每次进游戏可能再还一次。v1.0.17 修复了这两处,并包含本版的全部内容。

English

Greater Rifts are lighter and steadier, iPhone no longer freezes after a volume button press, and a new 3D Quality setting lets the game lower the 3D resolution on its own when frames keep dropping.

Asset For
D2RMobile-shell-build-input.zip Build input, not installable. iOS 26 and later
D2RMobile-shell-ios18-build-input.zip Build input, not installable. iOS 18 – 25

Make your install package with d2rm_pack.py (docs/NO_XCODE.md, step 1), using the source of this same release. Moving to a new release always means redoing step 1; the resource archives already on your phone stay where they are. The rewriter's output generation is unchanged (r44). If you build with Xcode, pull main and rebuild.

Greater Rifts

  • Monster density and the number of elite groups are about half of before, to hold 60 fps; the progress needed to clear a Rift is halved to match (250 → 125). Per-level life / damage multipliers, drops and the brawl rules from level 90 are unchanged.
  • Fixed: a Guardian wave could spawn in town while you were there, so the Rift could not continue. While you are in town the next wave now waits and spawns when you return to the Rift level. Thanks to hubeiqiao for PR #45 (#44).
  • Invading bosses only spawn where you can walk, not in a passage behind a wall.

Fixes

  • iPhone: after pressing a volume button the picture could freeze (it looked like a black screen or a crash). When the display refresh stops for more than 0.5 s, the game now presents frames itself and switches back afterwards.
  • Switching between gamepad and touch layout (on Mac: switching key labels or language) while the belt auto-refill was running could crash. Fixed.
  • After dragging the Horadric Cube onto the stash, the panel closed as soon as it opened. Fixed.
  • While talking to an NPC, the bottom bar disappeared and the D-pad slot showed the Chinese word for "Functions" (in English too). Fixed: with a dialogue menu or speech box open, the bottom bar keeps showing life / mana numbers and the experience bar.
  • With the primary skill empty, tapping "+" on the main attack button now opens the skill picker.
  • Notice docking: it never worked on Mac, and on iOS it stopped working after Save and Exit and re-entering. Both fixed; notices also move aside while an item description is open.
  • Graphics: copies recorded in one batch could run out of order. Fixed.

Sound

  • For the report of audio gaps while moving (iPhone 15 Pro Max), the audio buffer-release thread now runs at interactive priority. On our iPhone 17 Pro Max, walking for 240 seconds and alternating the old and new settings (7 segments each), wake-ups later than 2 ms went from 16 to 0. Thanks to dormonbear for PR #52. Our test phones did not reproduce the gaps; if you still hear them, please tell us on GitHub.

Picture and frame rate

  • New setting Custom → 3D Quality:
    • Smoothness first (default): when frames keep dropping, the 3D render scale goes down, and back up once things are stable.
    • Quality first: never lowers it.
  • Mac: the frame rate follows the refresh rate of the screen the window is on — 72 fps on a 144 Hz screen, still 60 fps on 60 / 120 Hz screens.
  • Performance:
    • In heavy scenes the translation work per frame is about 15% lower (iPhone 17 Pro Max, Greater Rift level 75 with a pulled crowd: 16.96 M → 14.40 M cycles per frame, independent of CPU frequency).
    • When the phone is hot and the system limits power, Smoothness first lowers the 3D render scale on its own: on the same phone under the same power limit, dropped frames after warm-up went from 23% to 10%.

Mac

  • The game data folder can be chosen either way: the data root (containing a data folder), or the folder that directly holds the .data files and build_manifest.psv.
  • When the wrong folder is chosen, Chinese folder names now show correctly in the message.
  • When the window is fully covered by another window, no frames are presented; they resume as soon as it is visible. The game keeps running.

iCloud shared stash

  • When the shared stash forked between two devices, merging back is more complete: items and gold that only this device had are returned to your inventory while the stash is open (if they do not fit you are told, and the rest comes next time you open it); extra Chronicle vault items come back too, and Chronicle entries take the union of both sides.

Community contributions

  • hubeiqiao: PR #45 (Guardian wave in town) and PR #51 (minimap / level-change / object-interaction diagnostics, to track down #47 and #49).
  • dormonbear: PR #52 (audio thread priority).
  • yinqingyan: community port to Apple TV 4K (3rd generation, A15), developer preview: it reached the character-selection screen on the author's device. It is in the source and can be built yourself; this release has no Apple TV package.

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 with d2rm_pack.py. Both wrote a complete install package (129 MB, 14,342 files). The iOS 18 shell reads back a minimum system of 18.0 and contains no Metal 4 symbols. On a fresh tree: the host build, the three unit-test suites and four Mac smoke runs (each into a game through both the player path and the touch path, no red lines); the older-API Mac App was built (minimum macOS 15.0, no Metal 4 symbols, no game-derived files in the bundle) and started unattended into a game with no red lines. The volume-button fix passed a device smoke test on an iPhone 17 Pro Max before it was merged; the performance and audio numbers above come from the same phone.


中文

秘境更轻、更稳;iPhone 按音量键后不再定格;新增「3D 画质」设置,持续掉帧时游戏会自己降 3D 分辨率。

附件 给谁
D2RMobile-shell-build-input.zip 构建原料,不能直接安装。 iOS 26 及以上
D2RMobile-shell-ios18-build-input.zip 构建原料,不能直接安装。 iOS 18 – 25

用 d2rm_pack.py 做安装包(docs/NO_XCODE.zh-CN.md 第一步),源码要用同一个发布版本的。每次换新版本都要重做第一步;手机上已经放好的资源档案不用动。改写器产物没有换代(仍是 r44)。用 Xcode 构建的,拉取 main 后重新构建。

秘境

  • 怪物密度和精英组数各下调约一半,为了保 60 帧;通关所需进度同步下调一半(250 → 125)。按层的生命 / 伤害倍率、掉落、90 层起的大乱斗规则都不变。
  • 修复:人在城里时秘境守护者会刷进城里、导致秘境没法继续。现在人在城里时下一波先等着,回到本场秘境再刷。感谢 hubeiqiao 的 PR #45(#44)。
  • 闯入首领只会刷在你走得到的地方,不会再刷进墙后另一条通道。

修复

  • iPhone 上按音量键之后画面可能定住,看起来像黑屏或闪退。现在显示刷新停了 0.5 秒以上,就改由游戏自己出图,画面不再定住,之后自动换回系统刷新。
  • 腰带一键补药进行中切换手柄 / 触屏布局(Mac 上换键帽、切语言)会闪退,已修复。
  • 拿着赫拉迪姆方块往储藏箱拖之后,面板一开就被关,已修复。
  • 和 NPC 对话时底栏消失、十字位显示中文「功能」(英文界面也是),已修复:对话菜单 / 说话框开着时,底栏照常显示生命 / 法力数值和经验条。
  • 主技能置空后,点右下主攻击大钮上的「+」能弹出选技能了。
  • 提示框停靠:Mac 上从未生效、iOS 保存并退出再进局后失效,均已修复;物品说明框开着时,提示框会让开。
  • 图形:同一批录制的显存拷贝可能不按顺序执行,已修复。

声音

  • 针对 iPhone 15 Pro Max 移动时断音的反馈,音频缓冲释放线程改为交互级优先级。在我们的 iPhone 17 Pro Max 上推摇杆走动 240 秒、新旧设置交替各 7 段,叫醒延迟超过 2 毫秒的次数从 16 次降到 0 次。感谢 dormonbear 的 PR #52。我们的测试机没有复现断音,如果你还遇到,请在 GitHub 上告诉我们。

画质与帧率

  • 新设置 自定义 → 3D 画质:
    • 流畅优先(缺省):持续掉帧时自动降低 3D 渲染比例,稳定后再升回来;
    • 画质优先:不自动降。
  • Mac:帧率按窗口所在屏幕的刷新率取档,144 Hz 屏为 72 帧,60 / 120 Hz 屏仍为 60 帧。
  • 性能:
    • 重场景每帧的翻译工作量减少约 15%(iPhone 17 Pro Max,秘境 75 层拉怪,每帧翻译周期 16.96M → 14.40M,与 CPU 频率无关)。
    • 手机发热、系统限制功耗时,「流畅优先」会自动降低 3D 渲染比例:同一台机器在同样的功耗限制下,热机后的掉帧率从 23% 降到 10%。

Mac

  • 选资源文件夹两种摆法都认:选资源根(里面有 data 文件夹),或者选直接装着各个 .data 和 build_manifest.psv 的那一层。
  • 选错文件夹时,提示框里的中文文件夹名不再显示为空。
  • 窗口被别的窗口整个盖住时不再出图,露出来照常;游戏照常运行。

iCloud 共享仓库

  • 共享仓库在两台设备之间分叉时,并回更完整:本机那份比云端多出的物品与金币,会在你开着储藏箱时还进背包(放不下会提示,下次开箱接着放);编年史仓库里本机多出的件也一并还回;编年史条目取两边的并集。

社区贡献

  • hubeiqiao:PR #45(秘境守护者回城修复)、PR #51(小地图 / 换图 / 物件交互诊断日志,用于排查 #47 / #49)。
  • dormonbear:PR #52(音频线程优先级)。
  • yinqingyan:Apple TV 4K(第三代 A15)社区移植,开发者预览:已在作者实机上到达职业选择画面,已并入源码,可自行构建(本版不提供 Apple TV 安装包)。

这一版是怎么验的

两份壳都是在空的工作目录里、按普通终端的环境(UTF-8 区域、不设 DOTNET_ROOT)、开着免费账号档,从公开的代码出的;随后各自配同一份代码和另一个空的工作目录,用 d2rm_pack.py 做了一次包,写出了安装包。两份都写出了完整的安装包(129 MB,14342 个文件)。iOS 18 的壳读回的最低系统是 18.0,里面没有 Metal 4 的符号。 在一棵全新的代码上:宿主构建、三套单测、4 局 Mac 冒烟(每局都经玩家路径与触摸路径进到游戏里,没有红行);老接口版的 Mac App 出包(最低系统 macOS 15.0、没有 Metal 4 符号、包里没有从游戏派生的文件)并无人值守起到进游戏,没有红行。音量键那笔修正合入前在 iPhone 17 Pro Max 上过了真机冒烟;上面的性能和声音数字也来自这台机器。

Don't miss a new d2r-mobile release

NewReleases is sending notifications on new releases.