I've had problems getting Zemufe working on 3.5.2 so I took it as a good excuse to learn Opie-SH a little better. Awesome stuff.
Here is a script to make a list of Roms and run them.
This is made up for Snes9x, but it'd be painless to switch it to something else, since all it really does is make a list of files and pipe it to the command at the bottom.
IT it looking for Roms as *.zip (case sensitive)
#!/bin/sh
#Path to your Roms
LOCATION=/mnt/card/games/snes
#Load a game from your list
ROM=` cd $LOCATION; ls -1 *.zip \
| opie-sh -i -l -t "Roms" -F -g `
if [ "$ROM" = "" ]
then exit
fi
#Enable Sound Button
setsound () {
opie-sh -m -t "Sound" \
-M "Do you want sound?" \
-g -0 Yes -1 No
RETURNCODE=$?
#Hitting "OK" returns 255, so if you press "OK" you get sound.
case $RETURNCODE in
255) SOUND=-sound;;
0) SOUND=-sound;;
1) SOUND=-nosound;;
esac
}
setsound
if [ "$SOUND" = "" ]; then
exit
fi
snes9x $SOUND $LOCATION/$ROM
It's ugly, but it works.
Be sure to change the location of your roms.
I added this to my /etc/profile to get the buttons the way I like them.
S9XKEYS=113,32,293,291,290,111,112,13,46
A = Center Button
B = Home
X = Contacts
Y = Calendar
L = o
R = p
Start=Enter
Select=Space
Quit = q
then add S9XKEYS to the end of the "export" line.