Setting Up DevilutionX on Retropie - diasurgical/DevilutionX GitHub Wiki
Setting up DevilutionX using a Windows PC networked to your Retropie
Ports Directory
-
Create a folder called
diablo. -
Copy your
diabdat.mpqinto it (make sure to rename it lowercase). -
Download the latest release of
linux-armhf.7z. -
Extract
devilutionxanddevilutionx.mpqinto thediablofolder. -
Create another folder inside the
diablofolder calledgamedata(we'll use this later). -
Open Windows Explorer and navigate to the ports directory on your pie
\\retropie\roms\ports\. -
Copy the
diablofolder to this directory.
-
Create a file called
Diablo.sh -
Add the following to it:
#!/bin/bash
"/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "diablo" ""
- Copy
Diablo.shto\\retropie\roms\ports\.

Configs Directory
-
Create a second folder called
diablo(or delete everything inside the first one on the Windows machine). -
Create a file inside it called
emulators.cfg -
Add the following to it:
diablo = "/home/pi/RetroPie/roms/ports/diablo/devilutionx --save-dir /home/pi/RetroPie/roms/ports/diablo/gamedata"
default = "diablo"
-
Open Windows Explorer and navigate to the ports config directory on your pie
\\retropie\configs\ports. -
Copy the
diablofolder to this directory.

Execution Rights and Dependencies
-
Open the Retropie
configuration menuon your pie. -
Open the
FileManager. -
Navigate to the Diablo folder in the ports directory
/home/pi/RetroPie/roms/ports/diablo/. -
Type
chmod u+x devilutionxto grant execution rights. -
Hit
Ctrl+oon your keyboard to bring up the full terminal. -
Type
apt install libsdl2-2.0-0and install. -
Type
exitto exit terminal thenF10to exit the file mananger.
Diablo.ini
-
Select Diablo in the Ports menu to run it for the first time (generates default
.ini). -
Open Windows Explorer and navigate to the
gamedatafolder on your pie\\retropie\roms\ports\diablo\gamedata. -
Open
diablo.inito make any changes.
(Your character saves will be stored here as well)
Troubleshooting
If you do not have a ports menu:
-
Open the Retropie
configuration menuon your pie. -
Select
Retropie Setup -
Select
Manage Packages -> Manage Optional Packages -> Kodi -> Install -
Restart the emulationstation.
If your pi has a black boarder around the screen:
-
Open the Retropie
configuration menuon your pie. -
Select
Raspi-Config -
Select
Dispaly Options -> UnderScan -> No -> Restart