Skip to content

Commit 4da6767

Browse files
Add adom.sh: Ancient Domains of Mystery, a free roguelike by Thomas Biskup
1 parent 2a0c855 commit 4da6767

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ I'll have a note at the end with some Info about it. if there is NO note or [X]
157157
#### Ports
158158
- [X] - `0ad.sh` - Battle of Survival - is a futuristic real-time strategy game - **Installs Plays fine**
159159
- [X] - `abuse.sh` - Classic action game - **Installs Plays fine, needs keyboard**
160+
- [X] - `adom.sh` - Ancient Domains of Mystery - a free roguelike by Thomas Biskup - **A keyboard is required to play (press SHIFT+Q to exit the game). Tested and works on RPi4.**
160161
- [X] - `augustus.sh` - Enhanced Caesar III source port - **Installs plays fine, needs mouse**
161162
- [X] - `avp.sh` - AVP - Aliens versus Predator port - **Installs plays fine, needs mouse**
162163
- [X] - `barrage.sh` - Shooting Gallery action game - **Installs, Plays fine, needs mouse**

scriptmodules/ports/adom.sh

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/usr/bin/env bash
2+
3+
# This file is part of RetroPie-Extra, a supplement to RetroPie.
4+
# For more information, please visit:
5+
#
6+
# https://github.com/RetroPie/RetroPie-Setup
7+
# https://github.com/Exarkuniv/RetroPie-Extra
8+
#
9+
# See the LICENSE file distributed with this source and at
10+
# https://raw.githubusercontent.com/Exarkuniv/RetroPie-Extra/master/LICENSE
11+
#
12+
13+
rp_module_id="adom"
14+
rp_module_desc="Ancient Domains of Mystery - a free roguelike by Thomas Biskup"
15+
rp_module_help="A keyboard is required to play. Press SHIFT+Q to exit the game."
16+
rp_module_licence="PROP"
17+
rp_module_section="exp"
18+
rp_module_flags="!all arm"
19+
20+
function __get_binary_url_adom() {
21+
local url="https://www.adom.de/home/download/current/adom_linux_arm_3.3.3.tar.gz"
22+
echo "$url"
23+
}
24+
25+
function install_bin_adom() {
26+
local tmpdir="$(mktemp -d)"
27+
downloadAndExtract "$(__get_binary_url_adom)" "$tmpdir"
28+
cp -rf "$tmpdir/adom/"* "$md_inst"
29+
rm -rf "$tmpdir"
30+
}
31+
32+
function configure_adom() {
33+
addPort "$md_id" "adom" "ADOM - Ancient Domains of Mystery" "CON:$md_inst/adom"
34+
mkRomDir "ports"
35+
moveConfigDir "$home/.adom.data" "$md_conf_root/adom"
36+
}

0 commit comments

Comments
 (0)