# DevilutionX

> Built from commit 3effc4a043e0 on 2026-11-24. The current build: https://abdess.github.io/retrobios/version.json

Source: https://abdess.github.io/retrobios/emulators/devilutionx/

DevilutionX emulates Diablo. It reads 13 files, 1 of them required: without a required file it does not start games.

**About this profile**

| Detail | Value |
|---|---|
| Type | standalone |
| Classification | Game engine |
| Source | [https://github.com/diasurgical/DevilutionX](https://github.com/diasurgical/DevilutionX) |
| Upstream | none: the source is the project itself |
| Version | 1.6.0-dev, stated in [`VERSION`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/VERSION) |
| Revision | [diasurgical/DevilutionX@74ce5cdb15da](https://github.com/diasurgical/DevilutionX/commit/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61) |
| Run by | [Batocera](https://abdess.github.io/retrobios/platforms/batocera/), [KNULLI](https://abdess.github.io/retrobios/platforms/knulli/), [RetroBat](https://abdess.github.io/retrobios/platforms/retrobat/) |
| Profiled | 2026-11-09 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/devilutionx.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/devilutionx.json) |
| Cores | devilutionx |
| Systems | [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo) |
| Checks the file by | md5 |

**Install this emulator's files**

With Batocera, RetroBat or KNULLI: the installer finds Batocera, RetroBat or KNULLI and its BIOS folder, then downloads only the files DevilutionX reads there and checks each one.

**Windows:**

Open Start. Type **PowerShell**, press Enter. Click Copy. Right-click to paste. Press Enter.

PowerShell

```
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator devilutionx
```

**On the device:**

Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator devilutionx
```

**Technical notes**

DevilutionX is a reimplementation of the Diablo 1 engine built from the leaked Diablo source. It plays the original retail Diablo and the Hellfire expansion from their shipped MPQ archives, or the shareware Spawn edition. The code loads MPQs from the game folder (next to the executable) and from a few platform-specific locations (XDG data home, macOS Application Support, etc.) via GetMPQSearchPaths().

Load order is defined in Source/engine/assets.cpp: LoadCoreArchives() (:513) - devilutionx.mpq, fonts.mpq (optional) LoadLanguageArchive() (:529) - <language code>.mpq, skipped for "en" LoadGameArchives() (:538) - diabdat.mpq or spawn.mpq (required) hfbard.mpq, hfbarb.mpq (always probed) LoadHellfireArchives() (:578) - hellfire.mpq + hfmonk/hfmusic/hfvoice LoadModArchives() (:724) - mods/<name>.mpq for each active mod

diabdat.mpq is matched uppercase first ("DIABDAT.MPQ", GOG/retail CD convention, line 546), then lowercase (line 550). If neither is found the loader falls back to spawn.mpq (line 552). Missing BOTH triggers the "diabdat.mpq or spawn.mpq" InsertCDDlg dialog and the game cannot start.

Hellfire is optional: the engine advertises Diablo even when hellfire files are absent. If hellfire.mpq is loaded, hfmonk.mpq + hfmusic.mpq

- hfvoice.mpq must also be present (line 596) or the game aborts.

devilutionx.mpq is a build artefact packed from the repo's assets/ directory with the smpq tool (CMake option BUILD_ASSETS_MPQ, [`CMakeLists.txt:192-205`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/CMakeLists.txt#L192-L205)). [`CMake/Assets.cmake:46-239`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/CMake/Assets.cmake#L46-L239) lists the packed files (ASSETS_VERSION, arena, data, fonts, gendata, levels, lua, plrgfx, txtdata and ui_art, plus data/inv/objcurs-widths.txt and the ui_art PNGs outside SDL1 and Vita builds), and each Translations/<lang>.po is compiled with msgfmt to <lang>.gmo and appended ([`CMake/Assets.cmake:8-29`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/CMake/Assets.cmake#L8-L29), [`269-273`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/CMake/Assets.cmake#L269-L273)). The archive is written with "smpq -A -M 1 -C BZIP2 -c" from the staged assets directory ([`CMake/Assets.cmake:288-295`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/CMake/Assets.cmake#L288-L295)). mods/hf.mpq is built the same way from the mods/hf file list under the BUILD_MOD_MPQS option ([`CMake/Mods.cmake:11-37`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/CMake/Mods.cmake#L11-L37), [`52-62`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/CMake/Mods.cmake#L52-L62)). The compiled binary expects devilutionx.mpq next to the executable on every platform except Android, Apple and 3DS/Switch ([`Source/engine/assets.cpp:517-524`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L517-L524)), where its contents are shipped loose. After loading the core archives the engine reads the asset ASSETS_VERSION and aborts with "Failed to load UI resources" unless its content is "1\n" ([`Source/init.cpp:54`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/init.cpp#L54), [`79-85`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/init.cpp#L79-L85), [`Source/diablo.cpp:1228-1242`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/diablo.cpp#L1228-L1242)). The same test on fonts\VERSION applies to fonts.mpq when it is loaded ([`Source/init.cpp:98-114`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/init.cpp#L98-L114)).

fonts.mpq is the CJK + language assets add-on from the devilutionx-assets release. English installs do not need it.

## Files

**13 files**: 1 required, 12 optional. 1 more file comes with the app.

By kind: 14 game data.

In this collection: 6 in repo and 7 missing.

## Game data

| File | Status |
|---|---|
| ** ### `diabdat.mpq` ** Diablo retail or GOG MPQ (contains all game data) - Path: `devilutionx/diabdat.mpq`- System: [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo)- Aliases: `DIABDAT.MPQ`- primary game archive, the GOG CD convention uses uppercase **Source** - Source: [`Source/engine/assets.cpp:545-550`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L545-L550) | requiredmissinggame data |
| ** ### `spawn.mpq` ** Diablo shareware archive, used when diabdat.mpq is absent - Path: `devilutionx/spawn.mpq`- System: [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo)- freely redistributable shareware, triggers gbIsSpawn mode - Collection copy: [`bios/Blizzard/Diablo/spawn.mpq`](https://abdess.github.io/retrobios/systems/blizzard/#sha1-80756d85b8d2) **Source** - Source: [`Source/engine/assets.cpp:552`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L552) | optionalin repogame data |
| ** ### `hellfire.mpq` ** Hellfire expansion main archive - Path: `devilutionx/hellfire.mpq`- System: [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo) **Source** - Source: [`Source/engine/assets.cpp:581`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L581) | optionalmissinggame data |
| ** ### `hfmonk.mpq` ** Hellfire monk class assets, mandatory when hellfire.mpq is present - Path: `devilutionx/hfmonk.mpq`- System: [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo) **Source** - Source: [`Source/engine/assets.cpp:591`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L591) | optionalmissinggame data |
| ** ### `hfmusic.mpq` ** Hellfire music, mandatory when hellfire.mpq is present - Path: `devilutionx/hfmusic.mpq`- System: [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo) **Source** - Source: [`Source/engine/assets.cpp:592`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L592) | optionalmissinggame data |
| ** ### `hfvoice.mpq` ** Hellfire voices, mandatory when hellfire.mpq is present - Path: `devilutionx/hfvoice.mpq`- System: [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo) **Source** - Source: [`Source/engine/assets.cpp:593`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L593) | optionalmissinggame data |
| ** ### `hfbard.mpq` ** Hellfire bard class assets, loaded when present - Path: `devilutionx/hfbard.mpq`- System: [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo) **Source** - Source: [`Source/engine/assets.cpp:573`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L573) | optionalmissinggame data |
| ** ### `hfbarb.mpq` ** Hellfire barbarian class assets, loaded when present - Path: `devilutionx/hfbarb.mpq`- System: [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo) **Source** - Source: [`Source/engine/assets.cpp:574`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L574) | optionalmissinggame data |
| ** ### `fonts.mpq` ** CJK and extended-language font pack from devilutionx-assets release - Path: `devilutionx/fonts.mpq`- System: [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo) - Collection copy: [`bios/Blizzard/Diablo/fonts.mpq`](https://abdess.github.io/retrobios/systems/blizzard/#sha1-bdba4d6b17f3) **Source** - Source: [`Source/engine/assets.cpp:525`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L525) | optionalin repogame data |
| ** ### `es.mpq` ** Spanish voice pack - Path: `devilutionx/es.mpq`- System: [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo)- The archive named after the selected language code is loaded. English loads none. - Collection copy: [`bios/Blizzard/Diablo/devilutionx/es.mpq`](https://abdess.github.io/retrobios/systems/blizzard/#sha1-9f1088d5c916) **Source** - Source: [`Source/engine/assets.cpp:529-536`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L529-L536) | optionalin repogame data |
| ** ### `pl.mpq` ** Polish voice pack - Path: `devilutionx/pl.mpq`- System: [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo)- The archive named after the selected language code is loaded. English loads none. - Collection copy: [`bios/Blizzard/Diablo/devilutionx/pl.mpq`](https://abdess.github.io/retrobios/systems/blizzard/#sha1-d60f7e8148ef) **Source** - Source: [`Source/engine/assets.cpp:529-536`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L529-L536) | optionalin repogame data |
| ** ### `ru.mpq` ** Russian voice pack - Path: `devilutionx/ru.mpq`- System: [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo)- The archive named after the selected language code is loaded. English loads none. - Collection copy: [`bios/Blizzard/Diablo/devilutionx/ru.mpq`](https://abdess.github.io/retrobios/systems/blizzard/#sha1-309561badfcb) **Source** - Source: [`Source/engine/assets.cpp:529-536`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L529-L536) | optionalin repogame data |
| ** ### `hf.mpq` ** Hellfire mod archive packed from the repository's mods/hf directory - Path: `devilutionx/mods/hf.mpq`- System: [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo)- mods/<name>.mpq is opened for each active mod, and hf is activated when hellfire.mpq is present. A mod with no archive and no loose directory is served from the core archives. Built by CMake with smpq (MPQ version 1, BZIP2, no attributes) from the hellfire_mod file list. The Windows and Linux packaging of this revision installs it under mods/ beside devilutionx.mpq. The Apple build packs it into Resources/mods, and the Android and Apple builds look for mods/<name>.mpq inside the application package after the search paths. No release carries it yet. - Collection copy: [`bios/Blizzard/Diablo/devilutionx/mods/hf.mpq`](https://abdess.github.io/retrobios/systems/blizzard/#sha1-c9e218c7e0df) **Source** - Source: [`Source/engine/assets.cpp:768-788`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L768-L788), [`Source/engine/assets.cpp:413-428`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L413-L428), [`Source/options.cpp:77-79`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/options.cpp#L77-L79), [`CMakeLists.txt:205`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/CMakeLists.txt#L205), [`CMakeLists.txt:641-646`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/CMakeLists.txt#L641-L646), [`CMakeLists.txt:705-710`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/CMakeLists.txt#L705-L710), [`CMake/Mods.cmake:11-37`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/CMake/Mods.cmake#L11-L37), [`CMake/Mods.cmake:52-71`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/CMake/Mods.cmake#L52-L71) | optionalin repogame data |

## Comes with the app

| File | Status | Hash |
|---|---|---|
| ** ### `devilutionx.mpq` ** Engine assets (UI art, fonts, data tables, Lua scripts, compiled translations) packed from the repository's assets/ directory - Path: `devilutionx/devilutionx.mpq`- System: [Diablo](https://abdess.github.io/retrobios/systems/blizzard/#diablo)- Loaded first on every platform except Android, Apple, 3DS and Switch. Its files are also found in an assets/ directory next to the binary when the build installs them loose. The engine aborts when the asset ASSETS_VERSION is absent or is not "1\n". Built by CMake with smpq (MPQ version 1, BZIP2, no attributes) from the file list of CMake/Assets.cmake plus one <lang>.gmo per translation. Shipped beside the binary in the Windows zip and the Linux tarball, and loose under assets/ in the APK. The hashes are those of the 1.5.5 release. - SHA1: f1ac6ba3a04f **Hashes and source** - SHA1: `f1ac6ba3a04f51f51e0e8bc2254742c70905f62b`- MD5: `5afe4d6624064b41e25a36ac55da29fa`- Source: [`Source/engine/assets.cpp:517-524`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L517-L524), [`Source/engine/assets.cpp:223-226`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/engine/assets.cpp#L223-L226), [`Source/init.cpp:54`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/init.cpp#L54), [`Source/init.cpp:79-85`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/init.cpp#L79-L85), [`Source/diablo.cpp:1228-1242`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/Source/diablo.cpp#L1228-L1242), [`CMake/Assets.cmake:46-225`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/CMake/Assets.cmake#L46-L225), [`CMake/Assets.cmake:288-295`](https://github.com/diasurgical/DevilutionX/blob/74ce5cdb15da44b28427ad6ee2b107bd6dcd6f61/CMake/Assets.cmake#L288-L295) | game data | MD5 `5afe4d662406` |

## Next steps

- [Get the files](https://abdess.github.io/retrobios/which-pack/), for the setup in use
- [Every system](https://abdess.github.io/retrobios/systems/), and the files each one needs
- [When a game does not start](https://abdess.github.io/retrobios/wiki/troubleshooting/)

Data as of 24 November 2026.
