2013-08-17, 21:30
(2013-08-17, 20:52)Angelscry Wrote:(2013-08-17, 20:35)Haohmaru Wrote: I am on Ubuntu and using file mode. So you mean the script should work it's just not working because of the unstable xbmc version? That's sad because I won't downgrade.No that's have nothing to do with the version of XBMC you are using. I was just suggesting you to try to fix your audio settings instead or trying to kill/restart XBMC. But it seems that you are not intretested into fixing things. So... in this case, your script is wrong. Gens do not start, and you only see XBMC be killed and restarted. Try this :
Any other solutions are welcome though :-)
Code:#!/bin/bash
killall - 9 xbmc.bin
/usr/games/gens --fs --quickexit "$1"
xbmc
There is no space after "-" into Gens command line. Also if your rom paths contain white spaces I strongly suggest you to put the $1 parameter between double quotes.
If it still not working, post also your launcher.xml file to see if you correctly start your .sh script.
My script didn't contained any space after "-" I've just mistyped here sorry. (Did post that from my phone )
Anyway I've pasted yours just to be sure but sadly it didn't work.
Here is my launcher.xml
Code:
<categories>
<category>
<id>default</id>
<name>Default</name>
<thumb></thumb>
<fanart></fanart>
<genre></genre>
<description></description>
</category>
</categories>
<launchers>
<launcher>
<id>ad6e9e91363ce9be9edfefab8dc4573d</id>
<name>gens-gs</name>
<category>default</category>
<application>/home/xbmc/.xbmc/.script/gens.sh</application>
<args>"%rom%"</args>
<rompath>/home/xbmc/.xbmc/temp/Roms/</rompath>
<thumbpath>/home/xbmc/.xbmc/temp/Roms/</thumbpath>
<fanartpath>/home/xbmc/.xbmc/temp/Roms/</fanartpath>
<trailerpath></trailerpath>
<custompath></custompath>
<romext>zip|bin</romext>
<platform>Sega Genesis</platform>
<thumb></thumb>
<fanart></fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<launcherplot></launcherplot>
<finished>false</finished>
<minimize>false</minimize>
<lnk></lnk>
<roms>
<rom>
<id>268689f8a36d10acd0ba37e4f8530d28</id>
<name>Altered Beast</name>
<filename>/home/xbmc/.xbmc/temp/Roms/Altered Beast (UE) (REV02) [!].zip</filename>
<thumb></thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>6905d1b703880c652ecae34d0c8e7eb6</id>
<name>Disney's Aladdin</name>
<filename>/home/xbmc/.xbmc/temp/Roms/Disney's Aladdin (E) [!].zip</filename>
<thumb></thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>baefe3425a1ca66b03be6d1cb093ed5d</id>
<name>ECCO The Dolphin</name>
<filename>/home/xbmc/.xbmc/temp/Roms/ECCO The Dolphin (UE) [!].zip</filename>
<thumb></thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>12605fdef50f8ff09a2e73a29ada9cc9</id>
<name>Earthworm Jim</name>
<filename>/home/xbmc/.xbmc/temp/Roms/Earthworm Jim (E) [!].zip</filename>
<thumb></thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>297c5383f215c8cb800c931fc58e0530</id>
<name>Earthworm Jim 2</name>
<filename>/home/xbmc/.xbmc/temp/Roms/Earthworm Jim 2 (E) [!].zip</filename>
<thumb></thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>b3bd421668b62beb9427b26374bff342</id>
<name>Golden Axe</name>
<filename>/home/xbmc/.xbmc/temp/Roms/Golden Axe (W) (REV01) [!].zip</filename>
<thumb></thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>55017663f92515412c16b81e5cff9f3f</id>
<name>Golden Axe II</name>
<filename>/home/xbmc/.xbmc/temp/Roms/Golden Axe II (W) [!].zip</filename>
<thumb></thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>867706dc42c94fd64e920227c982a6e3</id>
<name>Revenge of Shinobi, The</name>
<filename>/home/xbmc/.xbmc/temp/Roms/Revenge of Shinobi, The (W) (REV03) [!].zip</filename>
<thumb></thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>54f175e978c31a6edee27450fabad1ca</id>
<name>Shadowrun</name>
<filename>/home/xbmc/.xbmc/temp/Roms/Shadowrun (U) [!].zip</filename>
<thumb></thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>2854a7982c345f414770218ad3ce3149</id>
<name>Sonic Spinball</name>
<filename>/home/xbmc/.xbmc/temp/Roms/Sonic Spinball (E) [!].zip</filename>
<thumb></thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>102daf1c96f691e8b50a78ba2c3dfae3</id>
<name>Sonic The Hedgehog</name>
<filename>/home/xbmc/.xbmc/temp/Roms/Sonic The Hedgehog (W) (REV01) [!].zip</filename>
<thumb></thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>613abf3998e4b71424ca7d41e0bd8886</id>
<name>Sonic The Hedgehog 2</name>
<filename>/home/xbmc/.xbmc/temp/Roms/Sonic The Hedgehog 2 (W) (REV01) [!].zip</filename>
<thumb></thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>44b79e0165b06246b217f9c8c64bdc5a</id>
<name>Sonic The Hedgehog 3</name>
<filename>/home/xbmc/.xbmc/temp/Roms/Sonic The Hedgehog 3 (U) [!].zip</filename>
<thumb></thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
<rom>
<id>89495a082380b47f1b9651115c74cd1e</id>
<name>Sonic and Knuckles</name>
<filename>/home/xbmc/.xbmc/temp/Roms/Sonic and Knuckles (W) [!].zip</filename>
<thumb></thumb>
<fanart></fanart>
<trailer></trailer>
<custom></custom>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
<finished>false</finished>
<altapp></altapp>
<altarg></altarg>
</rom>
</roms>
</launcher>
</launchers>
I guess I'm using alsa because I've never installed pulse . Everything is default I've just set it to SPDIF output.