# DevilutionX (Diablo 1) for Microsoft Xbox One/Series

## Installation
### Dev Mode
1. Download and unzip [devilutionx-xbox-one-series.zip
](https://github.com/diasurgical/devilutionX/releases/latest/download/devilutionx-xbox-one-series.zip
).
2. In Xbox Device Portal click on `Add` button located at `Home/My games & apps`
3. In the first popup - called `Deploy or Install Application` choose `devilutionX.appx` and then click `Next`
4. In the second popup - called `Choose any necessary dependencies` choose `Microsoft.VCLibs.appx` and then click `Start`
5. In your PC go to the shared folder `WindowsApps` and find the devilutionX folder which should be something like `/LOCALFOLDER/*Gamr13*DevilutionX*/LocalState/diasurgical/devilution`
6. Copy `diabdat.mpq` from your CD (or GoG install folder) to it.
7. In the Xbox press `View` on DevilutionX and select `Details` and there change the type from `App` to `Game`.

### Retail Mode
1. Press `View` on DevilutionX and select `Manage game and add-ons`
2. Go to `File info` and note `FullName`
3. Connect to the Xbox via FTP and go to the folder `/LOCALFOLDER/*FullName*/LocalState/diasurgical/devilution`
4. Send `diabdat.mpq`

## 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
- LB: use health item from belt
- RB: use mana potion from belt
- LT: character sheet (alt: Menu + LB or ←)
- RT: inventory (alt: Menu + RB or →)
- Left analog click: toggle automap (alt: Menu + ↓)
- Menu + View: game menu (alt: Menu + ↑)
- View + A/B/X/Y: Spell hotkeys
- Right analog: move automap or simulate mouse
- Right analog click: left mouse click (alt: View + LB)
- View + Right analog click: right mouse click (alt: View + RB)
- View + LT: quest log (alt: Menu + Y)
- View + RT: spell book (alt: Menu + B)

## Resources

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