jhaizhou-ops/d2r-mobile: Native Diablo II Resurrected Compatibility Layer for Mobile
GitHub Open Source
Run Diablo II: Resurrected natively on iPhone, iPad, and Mac at a steady 60 fps using your own game files.
Repository snapshot
- Repository: jhaizhou-ops/d2r-mobile
- Language: C
- License: MIT
- Stars: 5 198
- Forks: 1 318
Daily open-source picks: GitHub Open Source on Telegram
What it is
d2r-mobile is an open-source compatibility layer designed to run Diablo II: Resurrected natively on iOS, macOS, Android, and HarmonyOS devices. Instead of relying on cloud streaming or heavy CPU emulation, the project executes the original aarch64 game binary directly on the host processor. A small native host provides the necessary system calls, file system access, and audio services, while graphics are routed through Metal on Apple platforms and Vulkan on Android.
Why it matters
Running complex console and PC titles on mobile devices usually incurs severe performance penalties due to translation layers or network overhead. By executing the native binary directly and translating shaders offline ahead of time, this project achieves console-grade performance and steady frame rates without runtime compilation stutter.
Key features
- Executes original aarch64 game code natively without an emulated CPU.
- Translates shaders offline for ahead-of-time compilation and zero runtime stutter.
- Provides rebuilt touch controls with virtual sticks, gesture support, and automatic targeting.
- Supports full offline play with local save sync across devices.
- Runs at a steady 60 fps with whole-device power draw measured at about 3.8 W on supported hardware.
Quick start
Clone the repository to inspect the build instructions and host components:
git clone https://github.com/jhaizhou-ops/d2r-mobile.gitWho should try it
This project is ideal for developers and players who own a legal copy of the game and want to run it locally and offline on their Apple or Android devices.
Verdict
A well-engineered compatibility layer that delivers native performance for single-player sessions, provided you bring your own game files.
Continue exploring
Get the next pick in Telegram: Follow GitHub Open Source
Curated from the repository README and metadata. No hands-on test is claimed; evaluate it in a sandbox before production use.