# DevilutionX (Diablo 1) for Nintendo Switch

## Installation

1. Download and unzip [devilutionx-switch.zip](https://github.com/diasurgical/devilutionX/releases/latest/download/devilutionx-switch.zip).
2. Put `devilutionx.nro` and `CharisSILB.ttf` in into `/switch/devilutionx`
3. Copy `diabdat.mpq` from your CD (or GoG install folder) to `/switch/devilutionx`.

## Usage

Launch `devilutionx.nro`. (Do not use album to launch; see the note below.)

*Note:* Hold R on any installed game and launch it. Do not use album to launch. If you use album, the homebrew will only have a small amount memory available, and the touch keyboard won't work. This is true for all homebrew, not just DevilutionX.

## Joycon Controls

- Left analog 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
- ZL: character sheet (alt: Start + L or ←)
- ZR: inventory (alt: Start + R or →)
- Left analog click: toggle automap (alt: Start + ↓)
- Start + Select: game menu (alt: Start + ↑)
- Select + A/B/X/Y: Spell hotkeys
- Right analog: move automap or simulate mouse
- Right analog click: left mouse click (alt: Select + L)
- Select + Right analog click: right mouse click (alt: Select + R)
- Select + ZL: quest log (alt: Start + Y)
- Select + ZR: spell book (alt: Start + B)

## Touch Controls

- Single finger drag: move the mouse pointer (pointer jumps to finger)
- Single short tap: left mouse click
- Single short tap while holding a second finger down: right mouse click
- Dual finger drag: drag'n'drop (left mouse button is held down)
- Three finger drag: drag'n'drop (right mouse button is held down)

## Resources

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