The NEW Build Your Own Arcade Controls

Main => Raspberry Pi & Dev Board => Topic started by: space invader on May 21, 2015, 12:50:26 pm

Title: Run fuse games through script
Post by: space invader on May 21, 2015, 12:50:26 pm
Hi.

I need to run my ZXSpectrum games with fuse through a .sh script because I need to run a keyboard mapper before and restore the normal one after.

My script is like this:

#!/bin/bash
sudo loadkeys rom.kmap
/opt/retropie/emulators/fuse/bin/fuse /home/pi/RetroPie/roms/zxspectrum/rom.tzx
sudo loadkeys normal.kmap

But it does not work because of runcommand.sh

How can I run it along with runcommand.sh?

Thanks in advance!