Skip to content

Commit

Permalink
Controls: Update all readmes/manuals
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Jan 25, 2020
1 parent 87557ed commit 969afe3
Show file tree
Hide file tree
Showing 7 changed files with 115 additions and 71 deletions.
3 changes: 2 additions & 1 deletion Packaging/OpenDingux/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ package() {
Packaging/OpenDingux/package-ipk.sh "${PWD}/${BUILD_DIR}/devilutionx-${TARGET}.ipk"
else
Packaging/OpenDingux/package-opk.sh "${PWD}/${BUILD_DIR}/devilutionx-${TARGET}.opk" \
"${PWD}/Packaging/OpenDingux/${TARGET}.desktop"
"${PWD}/Packaging/OpenDingux/${TARGET}.desktop" \
"${PWD}/Packaging/OpenDingux/manual-${TARGET}.txt"
fi
}

Expand Down
2 changes: 2 additions & 0 deletions Packaging/OpenDingux/devilutionx-retrofw.man.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Controls:
- Start + Left: character info
- Start + Right: inventory
- Start + Down: map
- Start + Y: Quest log
- Start + B: Spell book
- Select + A/B/X/Y: hot spell
- Select + D-pad: move map/cursor
- Select + L1: left mouse click
Expand Down
33 changes: 33 additions & 0 deletions Packaging/OpenDingux/manual-gkd350h.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Copy diabdat.mpq from your CD (or GoG install folder) to:
/usr/local/home/.local/share/diasurgical/devilution/diabdat.mpq

diabdat.mpq filename must be lowercase.

Game saves and diablo.ini are located at:
/usr/local/home/.local/share/diasurgical/devilution/

Controls:

- Joystick / D-Pad: move hero
- Right analog: simulate mouse
- **○** circle: attack nearby enemies, talk to townspeople and merchants, pickup/place items in the inventory, OK while in main menu
- **×** cross: select spell, back while in menus
- **△** triangle: pickup items, open nearby chests and doors, use item in the inventory
- **□** square: cast spell, delete character while in main menu
- L: use health item from belt
- R: use mana potion from belt
- Select + ↑ up: game menu
- Select + ← left: character info
- Select + → right: inventory
- Select + ↓ down: map
- Select + **□** square: Quest log
- Select + **×** cross: Spell book
- Start + **△○×□**: Quick spell hotkeys

Known issues/quirks:

* Start and Select are swapped in this version because Start + D-Pad controls backlight on the GKD350h.
* There is nothing to map mouse emulation to in this version because of this but it isn't necessary to play the game. Unfortunately, this also means that you can't move the automap.
* This version looks uglier than on RG350 because it uses software scaling beacuse the IPU on the GKD350h doesn't work.

Source: https://github.com/diasurgical/devilutionX/
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,24 @@ Game saves and diablo.ini are located at:

Controls:

- Left analog: move hero
- Right analog: simulate mouse
- 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
- R1: use mana potion from belt
- L1: use health item from belt
- R2: inventory
- L2: character sheet
- Left analog click: toggle automap
- Right analog click: left mouse click
- Start: game menu, skip movie
- Select + L2: quest log
- Select + R2: spell book
- Select + Right analog click: right mouse click
- Select + A/B/X/Y: hot spell
- R1: use mana potion from belt
- L2 or Start + Left: character sheet
- R2 or Start + Right: inventory
- Left analog click or Start + Down: toggle automap
- Start + Up or Start + Select: game menu
- Start + Left: character info
- Start + Right: inventory
- Select + A/B/X/Y: Spell hotkeys
- Right analog: move automap or simulate mouse
- Right analog click or Select + L1: left mouse click
- Select + Right analog click or Select + R1: right mouse click
- Select + L2 or Start + Y: quest log
- Select + R2 or Start + B: spell book

Source: https://github.com/diasurgical/devilutionX/
4 changes: 3 additions & 1 deletion Packaging/OpenDingux/package-opk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ fi

readonly OUT="$1"
readonly DESKTOP_FILE="$2"
readonly README_FILE="$2"

readonly IN="$(dirname "$OUT")/devilutionx"

Expand All @@ -25,9 +26,10 @@ set -x
rm -rf "${TMP}"
mkdir -p "${TMP}"
cp "$DESKTOP_FILE" "${TMP}/default.gcw0.desktop"
cp "$README_FILE" "${TMP}/readme.gcw0.txt"

mksquashfs \
"${TMP}/default.gcw0.desktop" readme.gcw0.txt "$IN" \
"${TMP}/default.gcw0.desktop" "${TMP}/readme.gcw0.txt" "$IN" \
../resources/Diablo_32.png ../resources/CharisSILB.ttf \
"$OUT" \
-all-root -no-xattrs -noappend -no-exports
92 changes: 47 additions & 45 deletions Packaging/switch/readme.txt
Original file line number Diff line number Diff line change
@@ -1,45 +1,47 @@
# 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`. Make sure it is all lowercase.
- 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/DPad: move hero
- Right analog: simulate mouse
- 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
- R: use mana potion from belt
- L: use health item from belt
- ZR: inventory
- ZL: character sheet
- Left analog click: toggle automap
- Right analog click: left mouse click
- Plus: game menu, skip movie
- Minus + L2: quest log
- Minus + R2: spell book
- Minus + Right analog click: right mouse click
- Minus + A/B/X/Y: hot spell

# 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
This software is being released to the Public Domain. No assets of Diablo are being provided. You must own a copy of Diablo and have access to the assets beforehand in order to use this software.

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

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.

This software is in no way associated with or endorsed by Blizzard Entertainment®.
# 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`. Make sure it is all lowercase.
- 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 or Start + Left: character sheet
- ZR or Start + Right: inventory
- Left analog click or Start + Down: toggle automap
- Start + Up or Start + Select: game menu
- Start + Left: character info
- Start + Right: inventory
- 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 or Select + R: right mouse click
- Select + ZL or Start + Y: quest log
- Select + ZR or Start + B: spell book

# 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
This software is being released to the Public Domain. No assets of Diablo are being provided. You must own a copy of Diablo and have access to the assets beforehand in order to use this software.

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

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.

This software is in no way associated with or endorsed by Blizzard Entertainment®.
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,23 +234,25 @@ DevilutionX supports gamepad controls.

Default controller mappings (A/B/X/Y as in Nintendo layout, so the rightmost button is attack):

- Left analog / DPad: move hero
- Right analog: simulate mouse
- 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
- R1: use mana potion from belt
- L1: use health item from belt
- R2: inventory
- L2: character sheet
- Left analog click: toggle automap
- Right analog click: left mouse click
- Start: game menu, skip movie
- Select + L2: quest log
- Select + R2: spell book
- Select + Right analog click: right mouse click
- Select + A/B/X/Y: hot spell
- R1: use mana potion from belt
- L2 or Start + Left: character sheet
- R2 or Start + Right: inventory
- Left analog click or Start + Down: toggle automap
- Start + Up or Start + Select: game menu
- Start + Left: character info
- Start + Right: inventory
- Select + A/B/X/Y: Spell hotkeys
- Right analog: move automap or simulate mouse
- Right analog click or Select + L1: left mouse click
- Select + Right analog click or Select + R1: right mouse click
- Select + L2 or Start + Y: quest log
- Select + R2 or Start + B: spell book

For now, they can be re-mapped by changing `SourceX/controls` or by setting the `SDL_GAMECONTROLLERCONFIG` environment
variable (see
Expand Down

0 comments on commit 969afe3

Please sign in to comment.