2011-05-14, 20:37
htpc guy Wrote:First off, don't forget to make the .sh file excicutable. I'm running a full linux install w/ gui so I right clicked on the file and checked the box in the properties. For a live install there is a command you could run:
(I'm almost certain that that should work. May have to be run as sudo.Code:chmod +x applaunch.sh
Code:<launcher>
<name>Nintendo 64 (N64)</name>
<application>/home/htpc/applaunch.sh</application>
<args>/usr/games/mupen64plus --nogui --fullscreen --noask</args>
<rompath>/home/htpc/Documents/N64_Roms</rompath
<thumbpath>/home/htpc/Documents/N64_Roms</thumbpath>
<fanartpath>/home/htpc/Documents/N64_Roms</fanartpath>
<romext>z64|n64</romext>
<platform>Nintendo 64</platform>
<thumb>/home/htpc/Documents/647px-nintendo_64_logo.png</thumb>
<fanart>/home/htpc/Documents/N64_fanart.bmp</fanart>
<genre>3D Console</genre>
<release>1997</release>
<publisher>Nintendo</publisher>
<launcherplot></launcherplot>
<rom></rom>
</launcher>
So if you take a look at the xml file you can see that ALA launches applaunch.sh
It in turn closes XBMC and then uses the arguments passed to it from ALA.
The arguments launch Mupen without a gui and fullscreen. When you close the emulator applaunch.sh will reopen XBMC.
Im wondering did anyone ever get this working on a xbmclive version ? If i launch from adl it executes the applaunch.sh, quits xbmc, then reloads xbmc. If i do it from command line it stops xbmc, loads up the rom, plays then runs xbmc (i can hear the n64 audio playing but no picture). Any ideas ? Tried with and without sudo