Skip to content

Latest commit

 

History

History
191 lines (117 loc) · 9.38 KB

installing.md

File metadata and controls

191 lines (117 loc) · 9.38 KB

Installing

First, you will need access to the game's MPQ files.

  • Locate DIABDAT.MPQ on your CD, or in the GoG installation (or extract it from the GoG installer).
  • For the Diablo: Hellfire expansion you will also need hellfire.mpq, hfmonk.mpq, hfmusic.mpq, hfvoice.mpq.
  • DevilutionX comes with devilutionx.mpq which is required to run the game properly.
  • Chinese, Korean, and Japanese users will also need fonts.mpq or the text will be missing.
  • For Polish voice support you need pl.mpq
  • For Russian voice support you need ru.mpq

Download the latest DevilutionX release for your system (if available) and extract the contents to a location of your choosing, or build from source. Then follow the system-specific instructions below.

Android

First install the App via one of these 2 methods:

  • Copy the APK file to the device and tap on it in the device's file explorer and follow the instructions
  • Install via adb install (if USB debugging is enabled on the device)

Then launch the App, this will let it create the folder where you need to place the MPQ files.

Connect the device to your computer via USB cable, and allow data access from your device:

image

Open the device's internal storage, and navigate to Android/data/org.diasurgical.devilutionx.mod.middleearth/files, then copy the MPQ-files to this folder.

image

When the transfer is done you can disconnect your device and press "Check again" in the App to start the game.

image

Windows
  • Copy the MPQ files to the folder containing the middleearthmod.exe, or to the data folder. The data folder path may differ, but will normally be %AppData%\Diablo\MiddleEarth
  • Run middleearthmod.exe
Linux
  • Copy the MPQ files to the folder containing the DevilutionX executable, or to the data folder. The data folder path may differ depending on distro, version, and security settings, but will normally be ~/.local/share/diasurgical/devilution/
  • Install SDL2:
  • Ubuntu/Debian/Rasbian sudo apt install libsdl2-2.0-0
  • Fedora sudo dnf install SDL2
  • Run ./devilutionx
MacOS X
  • Copy the MPQ files to the folder containing the DevilutionX application, or to the data folder. The data folder path may differ, but will normally be ~/Library/Application Support/diasurgical/devilution
  • Double-click devilutionx
iOS & iPadOS

Certain sideloading applications exist which can let you install IPA packages to your device such as AltStore (https://altstore.io/) and Sideloadly (https://sideloadly.io/). Using such a sideloading application, install the .ipa file to your iDevice.

Once the App is installed, launch it once. It will say that it cannot find the data file (.MPQ). This is ok. Close the game. Do not skip this step as it will create your Documents folder that you will need to access in later steps.

There are 3 way to get install the MPQs. Make sure to have installed the app and have launched it once before attempting to copy over the MPQ files.

Method 1: Using the files.app

  • Using the files.app, navigate to "On My iPhone / On My iPad"

ios_mpq_files01

  • Copy the MPQs to the devilutionx directory. Your directory should look like on the picture below

ios_mpq_files02

  • Go back to your home screen and launch the game

Method 2: Using Finder (MacOS)

On more recent versions of MacOS, iTunes is no more. Instead you can use Finder to directly copy data to and from your iDevices

  • Connect your iDevice to your computer and click on the "Files" tab.

    ios_mpq_finder01

  • Drag and drop the MPQ files on the devilutionx directory

Method 3: Using iTunes (Windows and older MacOS)

  • Connect you iDevice to your computer and launch iTunes

  • Click on your device and in the files tab drag and drop the MPQ files to the devilutionx directory

Nintendo Switch
  • Copy devilutionx.nro in into /switch/devilutionx
  • Copy the MPQ files to /switch/devilutionx.
  • Launch devilutionx.nro by holding R the installed game. Do not use the album to launch, if you use the album, the homebrew will only have a small amount of memory available, and the touch keyboard won't work. This is true for all homebrew, not just DevilutionX.
Nintendo 3DS

Download devilutionx.cia from the latest release and place it on your SD card. This file will be used later to install the game on the 3DS console.

Copy the MPQ files to the devilutionx subfolder under the 3ds folder on your SD card (/3ds/devilutionx). The game will read these files from this location. You do not need a copy of devilutionx.mpq on your SD card to run the game on 3DS. To avoid errors when you run the game, if you have an old version of devilutionx.mpq in the folder, you should remove it now.

image

Put the SD card back into the 3DS console and then power it on. Use a title manager such as FBI to install devilutionx.cia. You will no longer need devilutionx.cia after this step, and so it can be removed after the installation.

image

FBI provides the Remote Install option to download and install a cia in one step by scanning a QR code using the Nintendo 3DS camera. This is most useful when upgrading from a previous version so that you can perform the installation without removing the SD card from the console. If you'd like to use this option, scan the QR code below.

image

Nintendo 3DS manual

Playstation 4
  • Install devilutionx-ps4.pkg
  • Copy the MPQ files (e.g., using ftp) to /user/data/diasurgical/devilution/
  • Create the file /user/data/diasurgical/devilution/diablo.ini with the following contents:
    [Language]
    Code=en
    
Playstation Vita
  • Install devilutionx.vpk
  • Copy the MPQ files to ux0:/data/diasurgical/devilution/.
ClockworkPi GameShell
  • Copy the __init__.py to a newly created folder under /home/cpi/apps/Menu and run it from the menu. The folder then symbolizes the devilutionX icon.
  • From this menu, you can press 'X' to clone the git repository for devilutionX and compile the code. Dependencies are installed automatically (cmake and SDL development packages).
  • Once installed, 'X' pulls the updated code and does the compiling. Note that any changes made locally to the source are reverted before pulling.
  • When the compile is finished, Copy the MPQ files to /home/cpi/.local/share/diasurgical/devilution/
  • You can now play the game from the same icon.
GKD350h
  • Copy devilutionx-gkd350h.opk to /media/data/apps or /media/sdcard/apps/.
  • Copy the MPQ files to /usr/local/home/.local/share/diasurgical/devilution/
RetroFW

Requires RetroFW 2.0+.

~ is your home directory, /home/retrofw by default.

RG350

Requires firmware v1.5+

  • Copy devilutionx-rg350.opk to /media/sdcard/APPS/.
  • Copy the MPQ files to /media/home/.local/share/diasurgical/devilution/

NOTE: You can copy the MPQ files to sdcard instead and create a symlink at the expected location. To do this, SSH into your RG350 and run:

ln -sf /media/sdcard/<path_to_MPQ> /media/home/.local/share/diasurgical/devilution/<MPQ>