* sudo apt install git cmake libsdl2-mixer-dev libsdl2-ttf-dev libsodium-dev * git clone https://github.com/diasurgical/devilutionX * cd devilutionX/build * cmake .. * make -j$(nproc) * mkdir -p ~/.local/share/diasurgical/devilution/
If you have purchased the game from GOG and don't want to install it on a windows machine just to get the archive, you can use innoextract.
First install the prerequistes
* sudo apt install build-essential libboost-all-dev liblzma-dev * git clone https://github.com/dscharrer/innoextract.git * cd innoextract/cmake/ * cmake .. * make * sudo make install
Download the OFFLINE installer from GOG and use innoextract on the executable and place it in the data directory:
* innoextract --include DIABDAT.MPQ --lowercase 'setup_diablo_1.09_hellfire_v2_(30038).exe' * mv diabdat.mpq ~/.local/share/diasurgical/devilution/
After the executable has been compiled and the data file in place run:
* export LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libasan.so.5 * /home/pi/devilutionx (or wherever you have placed the executable)