DevilutionX
DevilutionX emulates Diablo. It reads 13 files, 1 of them required: without a required file it does not start games.
About this profile
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.
Open Start. Type PowerShell, press Enter. Click Copy. Right-click to paste. Press Enter.
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator devilutionxOpen a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator devilutionxTechnical 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). CMake/Assets.cmake:46-239 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, 269-273). The archive is written with
"smpq -A -M 1 -C BZIP2 -c" from the staged assets directory
(CMake/Assets.cmake:288-295). 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, 52-62). The compiled
binary expects devilutionx.mpq next to the executable on every
platform except Android, Apple and 3DS/Switch (Source/), 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, 79-85,
Source/diablo.cpp:1228-1242). The same test on fonts\VERSION applies
to fonts.mpq when it is loaded (Source/init.cpp:98-114).
fonts.mpq is the CJK + language assets add-on from the devilutionx-assets release. English installs do not need it.
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
Section titled “Game data”| File | Status |
|---|---|
diabdat.mpqDiablo retail or GOG MPQ (contains all game data)
Source
| required missing game data |
spawn.mpqDiablo shareware archive, used when diabdat.mpq is absent
Source
| optional in repo game data |
hellfire.mpqHellfire expansion main archive
Source
| optional missing game data |
hfmonk.mpqHellfire monk class assets, mandatory when hellfire.mpq is present
Source
| optional missing game data |
hfmusic.mpqHellfire music, mandatory when hellfire.mpq is present
Source
| optional missing game data |
hfvoice.mpqHellfire voices, mandatory when hellfire.mpq is present
Source
| optional missing game data |
hfbard.mpqHellfire bard class assets, loaded when present
Source
| optional missing game data |
hfbarb.mpqHellfire barbarian class assets, loaded when present
Source
| optional missing game data |
fonts.mpqCJK and extended-language font pack from devilutionx-assets release
Source
| optional in repo game data |
es.mpqSpanish voice pack
Source
| optional in repo game data |
pl.mpqPolish voice pack
Source
| optional in repo game data |
ru.mpqRussian voice pack
Source
| optional in repo game data |
hf.mpqHellfire mod archive packed from the repository's mods/hf directory
| optional in repo game data |
Comes with the app
Section titled “Comes with the app”| File | Status | Hash |
|---|---|---|
devilutionx.mpqEngine assets (UI art, fonts, data tables, Lua scripts, compiled translations) packed from the repository's assets/ directory
Hashes and source
| game data | MD5 5afe4d662406 |
Next steps
Section titled “Next steps”- Get the files, for the setup in use
- Every system, and the files each one needs
- When a game does not start