github jhaizhou-ops/d2r-mobile v1.0.6

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。

English

A new shell for the current main. If you use the no-Xcode route, replace your shell with the one on this page and update the repository to this version. This round changes the rewriter's output generation (r41 → r42), and the packaging tool checks that the shell and the repository agree on it, so an older shell is refused with the current main.

If you build with Xcode you do not need the shell; pull main, run ./setup.sh again (it re-does the program rewrite for r42) and rebuild.

What is new since v1.0.5

In the game:

  • Turning feel (r42): on a sharp turn while running, the picture no longer steps back for one frame. With a gamepad, a U-turn no longer plays the "crouch and push off" turn-in-place animation, and the minimum turning speed of the character model goes from 180 to 360 degrees per second. Logical position, packets and saves are unaffected; this is purely what is drawn. Decided from a side-by-side clip on a Mac; not looked at on a device yet.
  • Memory: several small sources of memory use that slowly accumulate over a long session are closed (short-lived threads, the system text-input dialog, sharing the diagnostic log, three places in the graphics layer). The amounts are small.
  • When iOS sends a memory warning, the diagnostic log now records one line with the readouts at that moment.

Older devices (A16 and earlier — iPhone 14 series, iPhone 15 / 15 Plus and before):

  • The no-Xcode route now supports them. Make the Legacy Device Pack, then run the packaging tool with D2RM_ASTC_PACK pointing at it; see the "Older devices" section of docs/NO_XCODE.md and the full guide in docs/LEGACY_DEVICES.md. The pack can be made on Windows with the encoder binary from its upstream release page.

On a Mac (native App):

  • Mouse: pages where the game clock is paused (pause menu, settings, the Greater Rift panel) can be clicked; tabs on the front-end pages can be clicked; clicking an entry of the key-hint bar presses that key.
  • The language switch in Options → Custom takes effect.
  • The App carries the seed list for pipeline warm-up, so the first game no longer compiles pipelines while drawing.
  • dm/tools/mac_app.sh takes a version and a build number; the minimum system version (macOS 26.0) is stated explicitly and checked when packaging.

Assets

  • D2RMobile-shell.ipa: the shell (for both iPhone and iPad). Its checksum is in SHA256SUMS.txt. Use it with the source of this version.

How this release was checked

Built from the public tree in an empty working directory, in a normal Terminal environment (UTF-8 locale, no DOTNET_ROOT set); packaged once with exactly what you get — this shell, this tree, another empty working directory — and an install package was written; then, on the same fresh tree, the host build, the three unit-test suites and the Mac smoke run. The older-device path of the packaging tool was run on a Mac and on Windows; its output on the Mac is file-for-file identical to what the Xcode route produces. All of this was done on computers.


中文

配合现在的 main 的新一版壳。**走「不用 Xcode」那条路的,请把壳换成本页这一份,并把仓库更新到这一版。**这一轮改写器的产物换了代(r41 → r42),做包工具会核对壳和仓库的产物代号是否一致,所以旧壳配现在的 main 会被工具拒绝。

用 Xcode 构建的不需要壳:拉取 main,重新运行一次 ./setup.sh(它会按 r42 重做程序改写),再重新构建即可。

相比 v1.0.5 的变化

游戏里:

  • 转身手感(r42):跑动中急转向,画面不再有一帧往回跳。用手柄掉头时不再播「压低蹬地再转过来」那段原地转身动画,人物模型的最低转身速度从每秒 180 度提到 360 度。逻辑位置、发包、存档都不受影响,改的只是画出来的样子。这一条是看 Mac 上的对比片定的,真机未看。
  • 内存:补上了几处长时间游玩会慢慢累积的内存占用(短命线程、系统输入框、分享诊断日志、图形层三处),量小。
  • iOS 发出内存告警时,诊断日志会记一行当时的几项读数。

老机型(A16 及更早——iPhone 14 系列、iPhone 15 / 15 Plus 以及更早):

  • **「不用 Xcode」这条路现在支持老机型。**先做「老机型贴图包」,再让环境变量 D2RM_ASTC_PACK 指向它来运行做包工具;见 docs/NO_XCODE.zh-CN.md 的「老机型」一节,完整做法在 docs/LEGACY_DEVICES.zh-CN.md。贴图包在 Windows 上也能做,编码器用它上游发布页的现成可执行文件。

Mac 上(原生 App):

  • 鼠标:游戏停拍的页面(暂停菜单、设置、大秘境面板)能点了;前端各页的页签能点;点按键提示条上的某一条,等于按那个键。
  • 选项 → 自定义里的语言开关生效。
  • App 带上了管线预热的种子清单,第一局不再边画边现编管线。
  • dm/tools/mac_app.sh 可以指定版本号与构建号;最低系统版本(macOS 26.0)显式写明,打包时自检。

附件

  • D2RMobile-shell.ipa:壳(同时面向 iPhone 与 iPad),校验值见 SHA256SUMS.txt。请与这一版的源码一起用。

这一版是怎么验的

在空的工作目录里、按普通终端的环境(UTF-8 区域、不设 DOTNET_ROOT)从公开的代码出壳;用你拿到的那一套——这份壳、这份代码、另一个空的工作目录——原样做一次包,写出了安装包;随后在同一棵全新的代码上跑了宿主构建、三套单测和 Mac 冒烟。做包工具的老机型那条路在 Mac 和 Windows 上各跑了一遍,Mac 上的产出与 Xcode 路线逐文件相同。以上都在电脑上完成。

Don't miss a new d2r-mobile release

NewReleases is sending notifications on new releases.