2010-10-29, 07:33
I can get mupen64 to launch correctly with the launcher but I would like to use the launcher.sh script to get the most available resources. I'm running into some trouble though. When I use the launcher.sh script, xbmc just blinks away and comes right back. The emulator never runs.
This is how I have it setup. (my computers name is htpc)
I created launcher.sh at /home/htpc/launcher.sh
contents of launcher.sh:
/usr/bin/killall -STOP xbmc.bin
"$@"
/usr/bin/killall -CONT xbmc.bin
Then from the terminal I ran: chmod +x /home/htpc/launcher.sh
launcher.xml:
<launcher>
<name>Nintendo 64 (N64)</name>
<application>/home/htpc/launcher.sh</application>
<args>/usr/games/mupen64plus</args>
<rompath>/home/htpc/Documents/N64 Roms</rompath>
<romext>z64</romext>
<thumb>/home/htpc/Documents/N64.jpg</thumb>
<wait>true</wait>
<roms>
<rom>
<name>Doom 64</name>
<filename>/home/htpc/Documents/N64 Roms/Doom 64.z64</filename>
<thumb>/home/htpc/Documents/N64 Roms/Doom 64.jpg</thumb>
</rom>
</launcher>
I know there has to be some little mistake that I am making. Big thanks to whoever can help me out on this.
This is how I have it setup. (my computers name is htpc)
I created launcher.sh at /home/htpc/launcher.sh
contents of launcher.sh:
/usr/bin/killall -STOP xbmc.bin
"$@"
/usr/bin/killall -CONT xbmc.bin
Then from the terminal I ran: chmod +x /home/htpc/launcher.sh
launcher.xml:
<launcher>
<name>Nintendo 64 (N64)</name>
<application>/home/htpc/launcher.sh</application>
<args>/usr/games/mupen64plus</args>
<rompath>/home/htpc/Documents/N64 Roms</rompath>
<romext>z64</romext>
<thumb>/home/htpc/Documents/N64.jpg</thumb>
<wait>true</wait>
<roms>
<rom>
<name>Doom 64</name>
<filename>/home/htpc/Documents/N64 Roms/Doom 64.z64</filename>
<thumb>/home/htpc/Documents/N64 Roms/Doom 64.jpg</thumb>
</rom>
</launcher>
I know there has to be some little mistake that I am making. Big thanks to whoever can help me out on this.