2014-08-13, 11:20
Okay, so I've read through the thread, and I can't get my Xbmc Gotham (linux) to launch any games, using Advanced Launcher (or Rom Collection Browser).
As an example, here's my setup for the Sega Megadrive/Genesis:
I've tried launchers.xml with direct access to the program file (/usr/bin/gens), and in this case, a script (below), but no dice.
The game appears to start, but then hangs on a black screen until I kill the process, then drops back to the list of roms.
Everything appears to have scraped correctly, it just won't run any games (in zip files, or extracted).
launchers.xml
gens.sh
This creates a process as follows:
xbmc.log
Any ideas, tips will be gratefully received!
Thanks.
As an example, here's my setup for the Sega Megadrive/Genesis:
I've tried launchers.xml with direct access to the program file (/usr/bin/gens), and in this case, a script (below), but no dice.
The game appears to start, but then hangs on a black screen until I kill the process, then drops back to the list of roms.
Everything appears to have scraped correctly, it just won't run any games (in zip files, or extracted).
launchers.xml
Code:
<name>Sega Genesis (Megadrive)</name>
<category>23ab0c5aa7a52156fb75a14e8e471acf</category>
<application>/home/xbmc/.xbmc/scripts/gens.sh</application>
<args>"%rom%"</args>
<rompath>/home/xbmc/Roms/SegaGenesis/</rompath>
<thumbpath>/home/xbmc/Roms/SegaGenesis/</thumbpath>
<fanartpath>/home/xbmc/Roms/SegaGenesis/</fanartpath>
<trailerpath></trailerpath>
<custompath></custompath>
<romext>zip|bin|cue|iso|32x</romext>
<platform>Sega Genesis</platform>
gens.sh
Code:
#!/bin/bash
wmctrl -r "XBMC Media Center" -b toggle,hidden
sleep 0.5
killall -STOP xbmc.bin
/usr/bin/gens --fs --quickexit --disable-led --disable-message "$1"
killall -CONT xbmc.bin
wmctrl -r "XBMC Media Center" -b remove,hidden
This creates a process as follows:
Code:
/usr/bin/gens --fs --quickexit --disable-led --disable-message /home/xbmc/Roms/SegaGenesis/Toejam & Earl (U) (REV 02).bin
xbmc.log
Code:
10:08:29 T:139960728397568 NOTICE: -->Python Interpreter Initialized<--
10:08:30 T:139960728397568 NOTICE: AdvancedLauncher: Load launchers.xml file
10:08:34 T:139960728397568 NOTICE: AdvancedLauncher: Initialisation
10:08:34 T:139960728397568 NOTICE: AdvancedLauncher: Advanced Launcher root folder > Categories list
10:08:34 T:139962018137856 NOTICE: Thread BackgroundLoader start, auto delete: false
10:08:36 T:139960728397568 NOTICE: Thread LanguageInvoker start, auto delete: false
10:08:36 T:139960728397568 NOTICE: -->Python Interpreter Initialized<--
10:08:36 T:139960728397568 NOTICE: AdvancedLauncher: Load launchers.xml file
10:08:40 T:139960728397568 NOTICE: AdvancedLauncher: Initialisation
10:08:40 T:139960728397568 NOTICE: AdvancedLauncher: 23ab0c5aa7a52156fb75a14e8e471acf category folder > Launcher list
10:08:40 T:139962018137856 NOTICE: Thread BackgroundLoader start, auto delete: false
10:08:44 T:139960728397568 NOTICE: Thread LanguageInvoker start, auto delete: false
10:08:44 T:139960728397568 NOTICE: -->Python Interpreter Initialized<--
10:08:44 T:139960728397568 NOTICE: AdvancedLauncher: Load launchers.xml file
10:08:48 T:139960728397568 NOTICE: AdvancedLauncher: Initialisation
10:08:50 T:139960728397568 NOTICE: Thread BackgroundLoader start, auto delete: false
10:08:51 T:139962018137856 NOTICE: Thread JobWorker start, auto delete: true
10:09:03 T:139960728397568 NOTICE: Previous line repeats 1 times.
10:09:03 T:139960728397568 NOTICE: Thread LanguageInvoker start, auto delete: false
10:09:03 T:139960728397568 NOTICE: -->Python Interpreter Initialized<--
10:09:03 T:139960728397568 NOTICE: AdvancedLauncher: Load launchers.xml file
10:09:08 T:139960728397568 NOTICE: AdvancedLauncher: Initialisation
10:09:08 T:139960728397568 NOTICE: AdvancedLauncher: application : /home/xbmc/.xbmc/scripts/gens.sh
10:09:08 T:139960728397568 NOTICE: AdvancedLauncher: arguments : "/home/xbmc/Roms/SegaGenesis/Toejam & Earl (U) (REV 02).bin"
Any ideas, tips will be gratefully received!
Thanks.