[mythtv-users] Strange problem with MythGame, Qjoypad, and emulators
Nathan A. Smith
nasa01 at comcast.net
Sun Nov 25 15:30:53 UTC 2007
On Sat, 2007-11-24 at 20:36 -0500, Nathan A. Smith wrote:
> Hi,
>
> I have setup a couple of emulators on my mythbox. I am setting each
> emulator with its own qjoypad configuration. I also have a
> configuration for mythtv. To make all this work I have created a couple
> of scripts (example follows):
>
> #!/bin/sh
>
> qjoypad "playstation" &
> /usr/local/games/pSX/pSX $1
> qjoypad "mythfrontend" &
>
>
> The intent is to load the appropriate qjoypad configuration before the
> emulator starts and then return it to the myth configuration once the
> emulator stops. Seems simple enough.... But I am having an issue --
> when I exit the emulator, it is immediately restarted and continues in
> this infinite loop (I will either go into a terminal and kill the
> emulator or do a ctrl-alt-backspace). Does anyone know why this
> happens?
>
> Nasa
>
> BTW: I also figured out how to make pc games look like the emulators
> (ie: pc -> s -> supertux). Create a player with type other (I called
> mine PC Games) and have the command be to run a simple script like so:
>
>
> #!/bin/sh
> exec $1
>
> For the rom directory, create a folder with scripts for the games you
> want started (for me it looks like the first script I presented) and use
> the directory for the rom directory. Scan games.
>
>
>
One additional problem with my scripts...
If filename has spaces games won't load (using just $1). If I change $1
to "$1" I get the same results... If I try "\"$1"\" in order to have
quotes around the whole file path, none of the games load (spaces or
no). Any hint would be appreciated. BTW: I am using bash.
Nasa
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
More information about the mythtv-users
mailing list