Pairs an iPhone with a Mac over USB-C so the phone's GPU helps run a Qwen 27B model locally, speeding up prompt reading and extending context.
jhaizhou-ops/d2r-mobile
Open-source iOS and macOS compatibility layer that runs your own Switch copy of Diablo II: Resurrected with Reign of the Warlock natively on iPhone, iPad and Mac.
- Stars
- 4,070
- Forks
- 1,128
- Open issues
- 33
- Last commit
- 23 hours ago
What is it?
D2R Mobile is a compatibility layer that runs the Switch release of Diablo II: Resurrected with the Reign of the Warlock expansion on iPhone, iPad and Mac. The game's own aarch64 program executes directly on the device without an emulated CPU. Only the few instructions that cannot run unchanged under Apple's kernel are rewritten, and the platform services are provided by a small host written for Apple platforms. The graphics API is reimplemented on Metal, with shaders translated offline from the original game.
The project adds a complete touch control scheme, edge-to-edge iPhone and full-screen iPad display, controller support, and a power saver mode. It also includes endgame content not in the original game, such as the Greater Rift, Endgame Boss Rush, an Elysium mode, a Kill Board and an extended stash. A native macOS build for Apple silicon is included, and a community Apple TV 4K port is in developer preview.
The repository contains no game files. Users must own the game and supply their own files, which the tools convert on their own machine. The project is fully offline with no multiplayer.
Key features
- 01Runs the original game program natively on iPhone, iPad and Mac with no CPU emulation.
- 02Full touch control scheme with gesture-based movement, casting and item handling.
- 03Controller support with the original button layout and prompts.
- 04Greater Rift, Endgame Boss Rush, Elysium mode and a Kill Board added on top of the original game.
- 05Graphics implemented on Apple's Metal API, with shaders translated offline.
- 06Supports English, Chinese and Spanish interface languages.
Use cases
- Playing the Switch release of Diablo II: Resurrected on an iPhone or iPad during commutes.
- Playing the game natively on an Apple silicon Mac with keyboard, mouse or gamepad.
- Studying how a console game can be ported to Apple platforms using a compatibility layer.
Things to know
- You must supply your own legally obtained Switch copy of Diablo II: Resurrected, since no game files are included.
- Requires iOS 26 or later for the current build; older iOS 18–25 devices need a separate older-API build.
- Older chips such as A16 and earlier need an extra texture pack generated from your own game files.
- There is no multiplayer; the game runs offline only.
Topics
FAQ
- What is d2r-mobile?
- Open-source iOS and macOS compatibility layer that runs your own Switch copy of Diablo II: Resurrected with Reign of the Warlock natively on iPhone, iPad and Mac. D2R Mobile is a compatibility layer that runs the Switch release of Diablo II: Resurrected with the Reign of the Warlock expansion on iPhone, iPad and Mac. The game's own aarch64 program executes directly on the device without an emulated CPU. Only the few instructions that cannot run unchanged under Apple's kernel are rewritten, and the platform services are provided by a small host written for Apple platforms. The graphics API is reimplemented on Metal, with shaders translated offline from the original game.
- Is d2r-mobile free to use? What license does it have?
- d2r-mobile is open source under the MIT license. Check the license terms before using it in commercial products.
- Is d2r-mobile still maintained?
- Actively maintained. The last commit to d2r-mobile was on Oct 19, 2026.
- What can I use d2r-mobile for?
- Playing the Switch release of Diablo II: Resurrected on an iPhone or iPad during commutes. Playing the game natively on an Apple silicon Mac with keyboard, mouse or gamepad. Studying how a console game can be ported to Apple platforms using a compatibility layer.
- Where can I get d2r-mobile?
- The source code and installation instructions are on GitHub: https://github.com/jhaizhou-ops/d2r-mobile
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A full-featured system emulator and virtual machine host for iOS, macOS and visionOS, built on QEMU to run Windows, Linux and other systems.
Turns an iPhone, iPad, or spare Mac into a true extended second display for your Mac over USB or WiFi, free and open source.
A free macOS teleprompter that highlights your script word by word as you speak, shown in a Dynamic Island-style overlay.
A code editor app for iPad that brings desktop-style editing, Git, a terminal and language runtimes to iPadOS.
A curated awesome-list of security tools, testing apps and jailbreak resources for macOS and iOS.