Diablo III Mobile
Diablo III Mobile is a native Android port of Diablo III: Eternal Collection for Nintendo Switch that runs the game natively on your phone with touch controls and widescreen support.
- Type: PC port
- Game: Diablo III: Eternal Collection
- Runs on Android
- By Desm0nt
- Latest release v0.2.26, 2026-11-26
- Source: https://github.com/Desm0nt/diablo3-port
README
Diablo III Mobile
A native Android port of Diablo III: Eternal Collection for Nintendo Switch. The game's own AArch64 program runs
directly on the phone's CPU; a small host provides the Switch system services (HLE of the nn:: SDK), and the NVN
graphics API is replayed on Vulkan. You bring the game: this repository contains no game content and no keys.
Русский: ниже.
Install: step-by-step guide for players — docs/INSTALL.md (English) ·
docs/INSTALL.ru.md (по-русски). In short: dump your own game + update v1441792 (and, if you want
another language, its language-pack DLC) and prod.keys, put them into put-game-files-here/, double-click setup.bat
(or bash setup.sh), copy work/Diablo3Mobile to the phone's Download folder and install the APK (build it with
build.bat, see Building).
[!WARNING] Tested so far on one device: Snapdragon 8 Gen 3 / Adreno 750 (Xiaomi 14 Ultra) with the bundled Mesa Turnip driver. Devices with Mali (Exynos, Dimensity, Tensor), PowerVR and Xclipse GPUs have not been tested at all — the engine has fallbacks for them, but expect problems. If something goes wrong on your device, please open an issue and always attach the logs: the whole folder
Download/Diablo3Mobile/logs/—crash.txt(written at the start after a crash),boot.log/boot.prev.logandlogcat.txt/logcat.prev.txt(written live, so they survive even when the system kills the game) — and name your phone model and Android version. Without logs a report usually can't be acted on.
Screenshots
Captured on the phone (Xiaomi 14 Ultra, Adreno 750, Mesa Turnip 27) with the widescreen option on: the game renders 2000×900 at the screen's 20:9 shape (wider view, nothing stretched; loading screens are stretched to fill the screen). The counter in the top-left corner is the port's own FPS / frame time / GPU time overlay (it can be turned off). Game text in Russian from the language-pack DLC; on-screen controls in the touch-friendly gamepad layout.
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
The gear button opens the pause menu (the game stops, as with the Switch HOME menu); Game settings… holds the port's own options:

What it is, and what it is not
It is:
- The original game code, executing natively on the phone — no emulated CPU, no JIT. Switch and Android phones
share the AArch64 instruction set; an offline rewriter (
dm/tools/patch_nso.py) changes only the few instructions that cannot run unchanged on Linux (x18 use, TLS reads, system calls, counter reads) into calls to the host, anddm/verify/equiv.pychecks every rewritten site against the original instruction before you play. - An HLE host for the Horizon OS services Diablo III uses (SDK 8.2.0: threads, memory with the VAMM address space, file system, audio renderer, input, account, add-on content…), and an NVN (API version 53) → Vulkan recorder and engine tuned for Adreno GPUs. The game's shaders are taken from its CPK archives and translated to SPIR-V offline on your PC.
- A phone port: touch controls designed for Diablo (floating move stick, touch-to-walk, skill buttons with the game's own skill icons, menu gestures), game controllers, an optional widescreen (Hor+) mode, sharpening, a 30 / 60 fps limit, rumble, and the game's own languages through its language-pack DLC.
It is not:
- An emulator, cloud gaming or streaming.
- A source of game content. There is no game program, data, shader, text, art or key in this repository, and the APK contains none. You dump the game from a Switch you own and convert it on your PC (docs/d3/GAME_FILES.md). What the repository knows about the game (patch addresses, structure offsets, format descriptions…) is listed in docs/d3/DERIVED.md.
- Online. Battle.net, local wireless, amiibo and the shop answer like a console without a connection; the game takes its offline branch (single player, local saves).
- Affiliated with Blizzard Entertainment or Nintendo.
Current state
Tested on Snapdragon 8 Gen 3 / Adreno 750 (Xiaomi 14 Ultra) with Mesa Turnip v27.
- Boot, the AUTOSAVE notice, the title screen, the main menu, hero creation and Act 1 gameplay run at 60 fps (the game's own cap, as on the Switch); GPU time is about 10–11 ms per frame in Act 1 at the docked resolution.
- Output: the Switch's docked 1600×900 (or handheld 1280×720) render, shown as 16:9 with bars, stretched, or — with the widescreen option — rendered in the screen's own shape (e.g. 2000×900 on a 20:9 phone) with a wider view at the sides (Hor+), the HUD at the screen edges and the loading screens stretched to fit.
- Input: a touch layout made for Diablo (left stick appears under the thumb, touch-and-hold the world to walk there, double-tap to evade, skill buttons A / B / X / Y / R / ZR, L = potion, a MENU mode with swipe / tap gestures for the console menus), a Joy-Con-like gamepad layout, Bluetooth / USB controllers, rumble. Positions, size and opacity of the on-screen controls can be edited.
- Unified front end (shared with the DOOM Mobile port): a pause menu that really holds the game, gamepad skins (nx2android's theme packs) and a layout editor, save export / import, live docked / handheld switching.
- Port settings (gear button): menu and game language, game resolution (docked / handheld), picture shape (bars / stretched / widescreen), stretched loading screens, FSR RCAS sharpening, frame rate limit (30 / 60), Vulkan driver, vibration, FPS counter, stick dead-zone compensation, control layout and editing, skill icons on buttons, the gear button's look.
- Languages: English out of the box; other languages (e.g. Russian, index 10) need the game's language-pack DLC, which setup extracts when you put it next to the game files.
Known issues
- Only update v1441792 (game patch 2.7.7) is supported; the patches and addresses are tied to its build id
(
main2607a74f…,sdk3ae34e68…). - Only one device has been tested; other Snapdragon devices may work, other GPUs (Mali, PowerVR, Xclipse) are untested (the engine has fallbacks for them, see Other GPUs).
- The offline game cannot use online features (seasons, clans, Battle.net co-op).
- Long sessions (heat, memory) and the later acts have seen less testing than Act 1. Reports are welcome.
- Many renderer and host fixes are still behind switches for A/B testing (
Download/Diablo3Mobile/dm/env); see docs/d3/.
Building
Requirements: Android SDK with NDK r29 (29.0.14206865), CMake ≥ 3.22 and Ninja, JDK 17+ and Gradle, Python 3. Clone with submodules:
git clone --recursive <this repository>
# or, in an existing clone:
git submodule update --init --recursive
Configure the native host for Diablo III (DM_GAME=d3; the default d2r builds the original D2R host):
cmake -S dm/android -B work/build-android -G Ninja \
-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake \
-DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=android-31 -DCMAKE_BUILD_TYPE=Release -DDM_GAME=d3
Then build, sign and (optionally) install the APK — build.bat on Windows (wraps the PowerShell script), pwsh
elsewhere:
build.bat [-Install <adb serial>] # Windows
pwsh tools/build_apk.ps1 [-Install <adb serial>] # Linux / macOS with PowerShell
The script reads every tool path from the environment (ANDROID_HOME, JAVA_HOME, GRADLE, PYTHON) and signs with
DM_KEYSTORE (default: the Android debug keystore in ~/.android). Output: work/D3-port-debug.apk, app id
org.diablo3.port ("Diablo III Mobile"). It downloads the bundled Vulkan driver packages (Turnip; PanVK and RADV-Xclipse as
experimental options) with pinned SHA-256s (tools/fetch_drivers.py) the first time. work/ is git-ignored and holds every build output and every game-derived file.
Installing
Full guide: docs/INSTALL.md (English) / docs/INSTALL.ru.md (Russian).
- Dump your own copy (base game
01001B300B9BE000+ update01001B300B9BE800v1441792, as NSP / NSZ / XCI / XCZ; optional language packs, e.g. Russian01001B300B9BF00A) and your console'sprod.keys— e.g. with nxdumptool and Lockpick_RCM on your Switch. - Put the files into
put-game-files-here/(any names) and double-clicksetup.bat, or runbash setup.shon Linux / macOS (explicit files in any order work too;setup checkreports what is missing and changes nothing). Setup provides Python, its packages and the .NET 10 SDK intools/.runtimewhen they are missing (it asks first), checks the inputs and the free space (~20 GB while preparing, more with NSZ / XCZ or language packs), then extracts the program, patches it, checks the patch, extracts the data, translates the shaders and extracts the language packs intowork/Diablo3Mobile(~16 GB, +5–6 GB per language pack). Technical details: docs/d3/GAME_FILES.md. - Copy
work/Diablo3Mobileto the phone'sDownloadfolder (USB cable, File transfer mode, orsetup push/ the adb commands setup prints) and install the APK. - Start Diablo III Mobile and allow All files access when asked.
Vulkan drivers
The APK bundles Mesa Turnip v27 (an adrenotools build of Mesa main for Adreno 6xx/7xx) and uses it by default; it
falls back to the phone's own driver when Turnip does not load or finds no supported GPU. Your own adrenotools driver
package can be copied into Download/Diablo3Mobile/drivers/ (the folder or the package zip as released) and chosen in the
gear dialog. Details and known packages: drivers/README.md.
The default is picked per GPU at every start (from the DOOM 2016 port): Adreno 6xx/7xx use the bundled Turnip;
Adreno 710/720/722 and 8xx use their own Turnip package, which the app downloads when the phone is online (the list is
DOOM Mobile's public drivers/manifest.json,
each zip checked against its SHA-256); Mali, PowerVR, Xclipse and anything without the Adreno kernel driver use the
phone's own driver, and Turnip packages are hidden there. A package for another GPU family, a Linux/glibc build
(*-EMULATOR.zip) or one missing a library is not loaded and is hidden in the gear dialog with the reason. After loading,
the app checks that the package's driver really took over; if not, or if it fails to start, the game runs on the system
driver and a message says why. If two launches in a row end before the first frame with a custom driver, the system
driver is chosen and saved (crash guard).
Other GPUs (Mali, PowerVR, Xclipse)
Untested on real hardware. The engine checks the device's features and, instead of aborting, falls back where the
game's Switch shaders need something the GPU lacks (all ported from the DOOM 2016 port): no geometry shaders, no
format-less storage writes or shaderImageGatherExtended (those shaders are skipped or degraded), no D24 depth (D32
is used), no GPU timestamps, no linear filtering of some formats (nearest), no depth bounds / non-solid fill / depth bias
clamp, no nullDescriptor, texel buffer limits, driver pipeline failures (skipped instead of fatal), interrupted fence
waits on Mali. BC textures, which Mali and PowerVR cannot sample, come from the ASTC texture cache that setup builds
(Download/Diablo3Mobile/astc, about the BC size in memory), or without it are decoded on the GPU in batches (4-8x larger). One boot.log line
lists what the device needed: NVN fallbacks on this device: .... DM_GFX_SIM_GPU=mali (or powervr, xclipse) in
Download/Diablo3Mobile/dm/env simulates such a GPU on a Snapdragon for testing. Reports (device, GPU, driver,
crash.txt) are very welcome.
Android versions and CPUs
D3-port-debug.apk: Android 12 or newer (minSdk 31).D3-port-debug-android10.apk(build_apk.ps1 -Android10): the same app for Android 10 and 11 (minSdk 29; asks for the storage permission there instead of All files access); it also installs on newer Android. Not yet tested on a real Android 10 / 11 device.- 64-bit ARM only. ARMv8.0 CPUs without LSE atomics (Cortex-A53 / A57 / A72 / A73 phones, e.g. Snapdragon 6xx) are
supported: the port's own hand-written code picks an ARMv8.0 variant at start (
boot: cpu ...line in boot.log).
Logs and crash reports
Every start writes a fresh boot.log (the previous run is kept as boot.prev.log): the device, SoC, GPU, Vulkan driver
choice, CPU features and the game's progress (archives opened, loading screens, menus, Vulkan driver status). When the
game crashes or is killed while playing, the next start writes Download/Diablo3Mobile/logs/crash.txt (the previous
one is kept as crash.prev.txt; without file access Android/data/org.diablo3.port/files/logs/) and shows a message:
the device header, the reason, the start and end of that run's boot.log and the app's logcat. boot.log itself is
copied next to it when the app goes to the background. Attach crash.txt to a bug report. Switches and details:
docs/d3/DOOM_PORTS.md.
Repository layout
| Path | What |
|---|---|
dm/ | The host (from d2r-mobile, via DOOM Mobile): loader, HLE (dm/host, Diablo III code in hle_d3.c / hle_d3_ui.c and behind DM_GAME_D3), NVN recorder and Vulkan engine (dm/gfx), Android app (dm/android), offline rewriter (dm/tools/patch_nso.py) and its verifiers (dm/verify). The tree also carries the DOOM, DOOM Eternal and Xenoblade 2 code paths of the same host family (DM_GAME=doom / eternal / xc2); Diablo III builds on the lean DOOM core and reuses the XC2 shader translator. |
setup.sh, setup.bat, build.bat | Game file preparation (tools/setup_d3.py) and APK build entry points |
tools/ | Diablo III tooling: package / RomFS / ExeFS readers, CPK archive reader, shader jobs and translation, DLC extraction, APK build, device test and analysis scripts |
third_party/libadrenotools | git submodule (BSD-2-Clause) |
drivers/ | Notes on the bundled and optional Vulkan driver packages (no binaries) |
docs/d3/ | Port documentation: journal, CPK format, shaders, build gates, widescreen, touch design, performance notes, game files, derived information |
docs/THIRD_PARTY.md, docs/DEPENDENCIES.md, docs/DERIVED.md, docs/upstream/ | Attribution: code ported from other projects, the third-party code and D2R-derived records inherited from d2r-mobile, and d2r-mobile's acknowledgements |
Credits
Diablo III Mobile stands on the work of others — thank you:
- d2r-mobile by jhaizhou (MIT) — the base of this port: native
NSO loader and rewriter, HLE host, NVN → Vulkan engine, shader translation chain and Android app (Java package
com.xiaoboluo.d2r). Its Android app and Vulkan engine came from community contributors; see its acknowledgements. - nxnative by seedds (MIT) — threads and SVCs, SDK services (including the amiibo / local-wireless stubs and the SDK 8.2 reference profile), audio renderer, NVN entry points, the shader program key, patcher and translator pieces.
- nx2android (MIT, seedds) — window acquire-sync fix, Android haptics, ADPF, gamepad code, the on-screen gamepad theme packs and layout, the save-transfer and pause-hold designs.
- BOTWRecompAndroid (MIT, Peiikai / mamcjr) — the Turnip / adrenotools driver loading approach, the sync-lag idea and NVN 55 object sizes (ideas, re-implemented).
- D3CPKUnpack by Krzysztof Janiszewski (RedMadKnight, MIT) — the
Diablo III console CPK archive library, vendored as
tools/d3cpklib.py. - d3hack by god-jester (GPL-2.0) — offline seasons, season buffs, cheats and
their hooks, ported to this host and update 2.7.7 in
dm/host/hle_d3_mods.c(GPL-2.0). - libadrenotools by Billy Laws (BSD-2-Clause).
- Ryujinx shader translator (Ryujinx Team and Contributors, MIT), vendored by d2r-mobile in
dm/third_party/ryujinx. - AMD FidelityFX FSR 1 RCAS (MIT).
- Mesa Turnip (MIT) — the default Vulkan driver on Adreno, bundled in the APK as the adrenotools build
by The412Banner (Mesa main); Mesa PanVK (Mali) and RADV (Samsung Xclipse)
adrenotools builds by JimVulkan and zenithblue-oss
as experimental options (MIT). Not stored in this repository:
tools/fetch_drivers.pydownloads them at build time with pinned SHA-256s. - Khronos Vulkan validation layers (Apache-2.0) — used for debugging, not redistributed.
Details per file: docs/THIRD_PARTY.md.
Diablo, Diablo III and Blizzard Entertainment are trademarks or registered trademarks of Blizzard Entertainment, Inc. Nintendo Switch and NVN are trademarks of Nintendo. This is an unofficial, non-commercial fan project with no affiliation to either of them. You must own the game and dump it yourself: no game files, no keys and no game-derived output are included or distributed here; play it with a copy you own.
License
GPL-3.0-or-later: see LICENSE. The APK and the source tree are distributed under the GNU General Public License version 3 or (at your option) any later version.
- Parts of the port come from MIT-licensed projects (d2r-mobile, nxnative, nx2android and others). Their notices are kept: the d2r-mobile one in LICENSE-MIT, the others in the files and in docs/THIRD_PARTY.md. MIT code may be used under the GPL.
- Several speed-ups (the GPU clock floor, the frame-cap pacing, the command-recording thread, the frame counter) are adapted from peanuts-native (GPL-3.0-or-later); each such file says so.
dm/host/hle_d3_mods.c(the "Mods / cheats" page) contains code derived from d3hack, whose repository carries the GPL-2 text without naming a version for the program; under section 9 of that license any version may be chosen, so it is used here under GPL-3.0-or-later (d3hack's license text).- Third-party libraries keep their own licenses (Apache-2.0 astc-encoder and others), all compatible with GPL-3.
По-русски
[!WARNING] Проверено только на одном устройстве: Snapdragon 8 Gen 3 / Adreno 750 (Xiaomi 14 Ultra). Телефоны с GPU Mali (Exynos, Dimensity, Tensor), PowerVR и Xclipse не тестировались вообще — обходы в движке есть, но проблемы вероят







