README: mention the native macOS version in the intro; update the other-platforms paragraph

This commit is contained in:
jhaizhou
2026-10-13 18:01:53 +08:00
parent 6a2474d917
commit e2347294dd
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
# D2R Mobile
**An open-source iOS compatibility layer for Diablo II: Resurrected with the Reign of the Warlock expansion.** It brings the Nintendo Switch release you bought, expansion included, to iPhone and iPad in full: the original game code runs natively, every control is rebuilt for touch, the frame rate holds at 60 fps, and you are in a game one second after the main menu.
**An open-source iOS compatibility layer for Diablo II: Resurrected with the Reign of the Warlock expansion.** It brings the Nintendo Switch release you bought, expansion included, to iPhone and iPad in full: the original game code runs natively, every control is rebuilt for touch, the frame rate holds at 60 fps, and you are in a game one second after the main menu. There is now a native macOS version as well (first version): on an Apple silicon Mac it starts on double-click and works with keyboard, mouse and gamepad.
This is not a tech demo that "sort of runs". It is a mobile version polished for daily play, from your first character all the way through the endgame.
@@ -262,7 +262,7 @@ Download our prebuilt "shell" package (`D2RMobile-shell.ipa`), which contains no
- For the items marked not verified, tell us whether they worked or not. Either answer is valuable.
- To change the code: get the test entry points above passing first. Every change has to pass the regression gates.
**Taking it to other platforms:** this approach is not limited to iPhone and iPad. It ports directly to Apple silicon Macs — our daily regression tests run the very same package on a Mac. Android phones use the same class of processor, so the game program executes natively there as well, and the route is fully open: the only parts to replace are the sides of the host and the graphics layer that face the platform. The author has no Android phone at hand, and would love to see someone bring it to Android.
**Taking it to other platforms:** this approach is not limited to iPhone and iPad. Apple silicon Macs already have a native version (see "Playing directly on a Mac" above), built from the same game program and the same host. Android phones use the same class of processor, so the game program executes natively there as well, and the route is fully open: the only parts to replace are the sides of the host and the graphics layer that face the platform. The author has no Android phone at hand, and would love to see someone bring it to Android.
## Documentation by part
+2 -2
View File
@@ -1,6 +1,6 @@
# D2R Mobile
**开源的《暗黑破坏神 II:狱火重生》术士君临 iOS 兼容层。** 把你自己购买的 Nintendo Switch 版游戏(含「术士君临」资料片)完整带到 iPhone 和 iPad 上:原版内核原生执行,整套操作为触屏重做,稳定 60 帧,一秒进局。
**开源的《暗黑破坏神 II:狱火重生》术士君临 iOS 兼容层。** 把你自己购买的 Nintendo Switch 版游戏(含「术士君临」资料片)完整带到 iPhone 和 iPad 上:原版内核原生执行,整套操作为触屏重做,稳定 60 帧,一秒进局。现在也有原生的 macOS 版(第一版):Apple 芯片的 Mac 上双击启动,键盘、鼠标、手柄都能用。
这不是一个「勉强能跑」的技术演示,而是一个打磨到可以天天玩、从开荒一路玩到终局的移动版。
@@ -262,7 +262,7 @@ dm/tools/mac_app.sh # 产出 ~/dm-work/out/macapp/D2R Mobile.app
- 没验过的那几项,走通或走不通都值得告诉我们。
- 想改代码:先跑通上面的测试入口,每次改动都要过回归闸门。
**往别的平台走:** 这套做法不限于 iPhone 和 iPad。Apple 芯片的 Mac 可以直接移植过去——我们每天的回归测试就是把同一个包放在 Mac 上跑的。安卓手机用的是同一类处理器,游戏程序同样可以原生执行,这条路完全走得通:要换的只是宿主和图形层对接的那一侧。作者手边没有安卓手机,非常期待看到有人把它带到安卓上。
**往别的平台走:** 这套做法不限于 iPhone 和 iPad。Apple 芯片的 Mac 已经有了原生版本(见上面「在 Mac 上直接玩」),用的是同一份游戏程序和同一个宿主。安卓手机用的是同一类处理器,游戏程序同样可以原生执行,这条路完全走得通:要换的只是宿主和图形层对接的那一侧。作者手边没有安卓手机,非常期待看到有人把它带到安卓上。
## 各部分的说明