Setting up the game data
What works: DIABDAT.MPQ from your own Diablo (the CD, or GOG's installer or installed copy); Hellfire's hf*.mpq files for the expansion. The free shareware version's spawn.mpq also works if you put it in the game folder by hand.
- With Walnut Games (the easy way)
- With game-data-packager (a terminal, any Debian system)
- By hand (the files, where they go, their checksums)
1. With Walnut Games
In Walnut Games, open Diablo (DevilutionX): Install, then Add game files... The chooser lists the disc in the drive, mounted discs and USB sticks, GOG and Steam folders, and the ISOs, installers and archives in Downloads and your home folder; you can also pick a file or folder yourself. It checks every file against the checksums below and installs an ordinary package (diablo-data), which Remove data takes away again.
In a terminal, the same with walnut-data (part of Walnut Games):
walnut-data import diablo /path/to/your/copy
A source is the disc in the drive (/dev/sr0), an ISO (.iso, .img), a BIN/CUE image (the .cue, or the .bin with its .cue next to it), an Alcohol 120% image (the .mds, or the .mdf), an installer or archive (GOG's setup_*.exe) or a folder (an installed copy, Steam's or GOG's). Images are opened read-only; nothing is copied out of them that the game doesn't need.
Add-ons, each from a copy that has it (the app shows Also add for every one the source holds):
| Package | What | Command |
|---|---|---|
diablo-hellfire-data | expansion | walnut-data import -p diablo-hellfire-data diablo /path/to/your/copy |
With Walnut's licensed suite as an apt source, the app offers Install from Walnut licensed instead (walnut-data install-repo diablo). walnut-data remove diablo takes the data away again.
2. With game-data-packager
walnut-data runs game-data-packager, Debian's tool that makes a package out of game data: Walnut's build of it (Debian's 89 with our patches) comes with Walnut Games. Run it yourself to keep the .deb, or to make it on another computer. It writes <package>_<version>_all.deb into the folder after -d (. is the current one), one package per -p:
| Package | What | Command |
|---|---|---|
diablo-data | full | game-data-packager -d . --no-download -p diablo-data diablo /path/to/your/copy |
diablo-hellfire-data optional | expansion | game-data-packager -d . --no-download -p diablo-hellfire-data diablo /path/to/your/copy |
Then install the file it made, from the same folder:
sudo apt install ./diablo-data_*.deb
--no-download: only your files are used.- It reads a folder, an installer or an archive; it doesn't open disc images. Mount an ISO first (open it in the file manager, or
udisksctl loop-setup -r -f FILE.iso, thenudisksctl mount -b /dev/loopN) and give it the mount point, or let walnut-data do it. BIN/CUE and MDF images: walnut-data only. - Walnut's patches that concern this game: Accept a second 1.09 build of Diablo's DIABDAT.MPQ. Debian's own game-data-packager doesn't have them, so it may refuse some of the copies above.
3. By hand
Copy the files to the paths below as root (sudo cp), with the names exactly as written, upper and lower case included: Linux tells them apart. Where a file has several accepted versions, any one of them does. Check a copy with sha256sum FILE (sha1sum or md5sum where the table says so) and compare the sum. Files copied by hand belong to no package: Walnut Games goes by the packages, so it still shows the data as missing, and Remove data leaves them alone.
diablo-data (full)
Into /usr/share/games/diablo, 493.5 MB.
| File | Versions | Size | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
DIABDAT.MPQ |
1.09, gog (any one) | 493.5–493.5 MB | |||||||||
Checksums
| |||||||||||
game-data-packager also packs 5 documentation files (manuals, licences) into /usr/share/doc/diablo-data; the game doesn't need them.
diablo-hellfire-data (expansion, optional)
Into /usr/share/games/diablo, 167.2 MB.
| File | Versions | Size | ||||
|---|---|---|---|---|---|---|
hellfire.mpq |
- | 62.5 MB | ||||
Checksums
| ||||||
hfmonk.mpq |
- | 35.9 MB | ||||
Checksums
| ||||||
hfmusic.mpq |
- | 32.8 MB | ||||
Checksums
| ||||||
hfvoice.mpq |
- | 36.0 MB | ||||
Checksums
| ||||||