# Nintendo Switch Port of DevilutionX (Diablo)

# How To Install:
 - Put `devilutionx.nro` and `CharisSILB.ttf` in into `/switch/devilutionx`
 - Copy diabdat.mpq from your CD (or GoG install folder) to `/switch/devilutionx`.
 - 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 + L1 or ←)
- ZR: inventory (alt: Start + L2 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 or Select + L: left mouse click
- Select + Right analog click: right mouse click (alt: Select + R1)
- Select + L2: quest log (alt: Start + Y)
- Select + R2: 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)

# Credits
 - See list of contributors https://github.com/diasurgical/devilutionX/graphs/contributors

# Legal
DevilutionX is released to the Public Domain. The documentation and functionality provided by DevilutionX may only be utilized with assets provided by ownership of Diablo.

The source code in this repository is for non-commerical use only. If you use the source code you may not charge others for access to it or any derivative work thereof.

Diablo® - Copyright © 1996 Blizzard Entertainment, Inc. All rights reserved. Diablo and Blizzard Entertainment are trademarks or registered trademarks of Blizzard Entertainment, Inc. in the U.S. and/or other countries.

DevilutionX and any of its maintainers are in no way associated with or endorsed by Blizzard Entertainment®.
