2010-09-25, 01:40
fcorbier Wrote:Thanks for the tutorial. Here is a modification I did to the launcher.sh way.
It stops XBMC and resumes it when the emulator has quit. Since I run it on a not-so-fast Atom CPU, it needs all the cycles it can get, especially when running GBA roms
My /home/htpc/launcher.sh contains:
Code:/usr/bin/killall -STOP xbmc.bin
"$@"
/usr/bin/killall -CONT xbmc.bin
And my laucher.xml has:
Code:<launcher>
<name>GBA</name>
<application>/home/htpc/launcher.sh</application>
<args>/usr/games/mednafen -gba.xres 1024 -gba.yres 768 -fs 1 -sounddriver sdl</args>
...
</launcher>
I'd love to go down this route, but I'm not really sure how to do this. I'm running Dharma beta 2 and the launcher plugin that just got added to the repo today, and I have no idea where launcher.sh is (do I need to make one?). If I need to make one, there's a whole lot of info left out and I need some hand-holding. For instance, where is the reference to the emulator program (zsnes, for example) in the launcher.sh file?