# DevilutionX (Diablo 1) for Nintendo 3DS
*New3DS only

## Installation

<details><summary>.3dsx installation</summary>

#### Install DevilutionX: Diablo
1. Download [devilutionx.3dsx](https://github.com/MrHuu/devilutionX-3ds/releases/latest/download/devilutionx.3dsx).
2. Put `devilutionx.3dsx` into `sd:/3ds/devilutionx/`.
3. Copy `diabdat.mpq` from your Diablo CD (or GoG install folder) to `sd:/3ds/devilutionx/`.

#### Install DevilutionX: Diablo - Hellfire
4. Copy `hellfire.mpq` `hfmonk.mpq` `hfmusic.mpq` and `hfvoice.mpq` from your Hellfire CD (or GoG install folder) to `sd:/3ds/devilutionx/`.

*Note:* When Hellfire is install you can still launch regular Diablo by passing `--diablo` to `devilutionx.3dsx`.

</details>
<details><summary>.cia installation</summary>

#### Install DevilutionX: Diablo
1. Download [devilutionx.cia](https://github.com/MrHuu/devilutionX-3ds/releases/latest/download/devilutionx.cia).
2. Put `devilutionx.cia` on your SD card and install with a title manager, e.g. [FBI](https://github.com/Steveice10/FBI).
	`devilutionx.cia` can be removed after being installed.
3. Copy `diabdat.mpq` from your Diablo CD (or GoG install folder) to `sd:/3ds/devilutionx/`.

##### Install DevilutionX: Diablo - Hellfire
4. Copy `hellfire.mpq` `hfmonk.mpq` `hfmusic.mpq` and `hfvoice.mpq` from your Hellfire CD (or GoG install folder) to `sd:/3ds/devilutionx/`.
</details>

## Usage

When using .3dsx:

- Launch `devilutionx.3dsx` with the [Homebrew Launcher](https://github.com/fincs/new-hbmenu).

or, when using .cia:

- Launch Diablo from your 3DS Homemenu.

## Controls

- Circle-Pad or D-Pad: move hero
- A: attack nearby enemies, talk to townspeople and merchants, pickup/place items in the inventory, OK while in main menu
- B: select spell, back while in menus
- X: pickup items, open nearby chests and doors, use item in the inventory
- Y: cast spell, delete character while in main menu
- L: use health item from belt
- R: use mana potion from belt
- Start + ↑: game menu (alt: Start + Select)
- Start + ↓: toggle automap
- Start + ←: character sheet (alt: ZL or Start + L)
- Start + →: inventory (alt: ZR or Start + R)
- Start + X: toggle zoom
- Select + D-Pad: move automap or simulate mouse
- Select + A/B/X/Y: Spell hotkeys
- Select + ZL: quest log (alt: Start + Y)
- Select + ZR: spell book (alt: Start + B)

## Touchpad

- Single finger drag: move the mouse pointer (pointer jumps to finger)
- Single short tap: left mouse click

## Resources

* Discord: https://discord.gg/aQBQdDe
* GitHub: https://github.com/diasurgical/devilutionX
