Configuration for text-based game
-
I must not be using the right search words because I think this should be pretty easy to do.
I want to create a configuration to launch nethack without dropping out to the command line. I'm setting this up for my daughter and I don't want her to exit emulationstation to type nethack.
Can someone please point me in the right direction?
-
@rickrratliff said in Configuration for text-based game:
Can someone please point me in the right direction?
-
Thanks, but I did read through this. The real problem I think is I want to run something that doesn't really require an emulation.
If I create a configuration to simply execute "nethack". It displays an error that this must be run in a terminal.
-
@rickrratliff Sorry for the lateness.
The ports "roms" (they are NOT roms actually) must be a file with a
.sh
extension.What I did to invoke nethack from the ports section in emulationstation (just the commands so you can copy and paste on your terminal):
mkdir -p ~/RetroPie/roms/ports echo nethack > ~/RetroPie/roms/ports/nethack.sh chmod a+x nethack.sh
ATTENTION: you must be logged as the
pi
user (if in a Raspberry Pi installation) to perform this commands. -
@meleu An error flashes to the screen "You must play from a terminal."
The shell script will execute from the command line but within emulationstation it doesn't run.
-
@rickrratliff oh, Sorry. I've only tested on my debian based RetroPie... I'll try on the raspi and let you know.
-
@meleu I have a Raspberry Pi 3 running retropie-v3.8.1-rpi2_rpi3.img.
-
@rickrratliff you will need
echo "nethack <>/dev/tty" >~/RetroPie/roms/ports/nethack.sh
-
@BuZz Thanks, it worked. I was just killed by a jackel.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.