[RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC

  Thread Rating:
  • 23 Votes - 4.83 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
smithr99 Offline
Senior Member
Posts: 161
Joined: Jan 2010
Reputation: 0
Post: #31
one thing to note is that when doing an auto-scan that eventually works, the info message stays on "importing info from allgame.com".
When you do an auto-scan that ends up failing, the info message cycles through each game as if it were adding them in. When it fails, you get an error in py script message and no games are added at all


EDIT: There are also some spelling mistakes. "Entertainement" should say "Entertainment" ie "Super Nintendo Entertainment System". And also in the setting menu, the "Scaning" should say "Scanning"

Just thought I'd help Smile

ASRock 330HT, XBMC Eden

[Image: watched-fanart.jpg]
(This post was last modified: 2010-11-21 21:22 by smithr99.)
find quote
Angelscry Offline
Skilled Python Coder
Posts: 3,381
Joined: Sep 2010
Reputation: 53
Location: MTL, Canada
Post: #32
Rob Loach Wrote:I uploaded a patch for this Wink
Thank you very much Rob Loach for this patch. I have tested it, and, honestly approved it. It will be included in the next version. I hope this option will guide users to configure their emulators launches. I could seem a little resistant in my previous reply, it was because it has not a unique way to launch an emulator. Sorry. For example in your patch, for epsxe you use the arguments :
Code:
-nogui -loadbin
Personally, on my system, I'm using the arguments :
Code:
-nogui -loadiso
Both ways are correct depending if you are using .BIN or .ISO images of the games. But, honestly, I do not know which arguments are or will be the most used. I think we have to wait and see. Thank you
find quote
Angelscry Offline
Skilled Python Coder
Posts: 3,381
Joined: Sep 2010
Reputation: 53
Location: MTL, Canada
Post: #33
smithr99 Wrote:my launchers.xml ...

http://pastebin.com/dg723QXQ

I've not finished adding in other emus yet - just my GBA and tried to add GB. Fails on both GBC and GB.
I think I have found your problem. For each GBA roms the game system indicated into your launchers.xml file is Game Boy Advanced. It must be Game Boy Advance. The scrappers use this value when searching game (using the gamesys file of the launcher). If the game system is wrong, the scrappers will not found any corresponding results. But I do not knows why you have Game Boy Advanced instead of Game Boy Advance. This value is normally fixed by the launcher.

smithr99 Wrote:By the way, in my addon settings, the options for auto download of fanart and thumbs are both greyed out. Any ideas ?
They are not active yet. Just planned. Prior to activate them I have to be sure that the manual way to scrap thumbnails and fanarts are stable.
find quote
Angelscry Offline
Skilled Python Coder
Posts: 3,381
Joined: Sep 2010
Reputation: 53
Location: MTL, Canada
Post: #34
smithr99 Wrote:one thing to note is that when doing an auto-scan that eventually works, the info message stays on "importing info from allgame.com".
When you do an auto-scan that ends up failing, the info message cycles through each game as if it were adding them in. When it fails, you get an error in py script message and no games are added at all
Scan failing are most of the time due to a mistake when scrapping one game info. I will play with your launchers.xml file and try to see what is wrong.

smithr99 Wrote:EDIT: There are also some spelling mistakes. "Entertainement" should say "Entertainment" ie "Super Nintendo Entertainment System". And also in the setting menu, the "Scaning" should say "Scanning"
English is not my natural tongue so I make spelling mistakes sometime. Thank you for your feedback on this. It will be fixed in the next version.
find quote
jpreville Offline
Senior Member
Posts: 102
Joined: Jan 2009
Reputation: 0
Location: Michigan, USA
Post: #35
looks like its picking the wrong number to system. i chose Sega Genesis and this the error i get..

15:45:53 T:139974675883792 M:3499741184 NOTICE: Launcher: found 1 launchers
15:45:55 T:139974675883792 M:3499827200 ERROR: Error Type: exceptions.KeyError
15:45:55 T:139974675883792 M:3499827200 ERROR: Error Contents: studio
15:45:55 T:139974675883792 M:3499827200 ERROR: Traceback (most recent call last):
File "/home/john/.xbmc/addons/plugin.program.advanced.launcher/addon.py", line 20, in ?
plugin.Main()
File "/home/john/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 159, in __init__
self._import_roms(launcher)
File "/home/john/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 876, in _import_roms
romdata["studio"] = gamedata["studio"]
KeyError: studio

John
find quote
Angelscry Offline
Skilled Python Coder
Posts: 3,381
Joined: Sep 2010
Reputation: 53
Location: MTL, Canada
Post: #36
jpreville Wrote:looks like its picking the wrong number to system. i chose Sega Genesis and this the error i get..

15:45:53 T:139974675883792 M:3499741184 NOTICE: Launcher: found 1 launchers
15:45:55 T:139974675883792 M:3499827200 ERROR: Error Type: exceptions.KeyError
15:45:55 T:139974675883792 M:3499827200 ERROR: Error Contents: studio
15:45:55 T:139974675883792 M:3499827200 ERROR: Traceback (most recent call last):
File "/home/john/.xbmc/addons/plugin.program.advanced.launcher/addon.py", line 20, in ?
plugin.Main()
File "/home/john/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 159, in __init__
self._import_roms(launcher)
File "/home/john/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 876, in _import_roms
romdata["studio"] = gamedata["studio"]
KeyError: studio
Thank you for your feedback. This error occured when a game did not have studio information on the corresponding allgame page. I just found this bug after smithr99 report. It is normally fixed by the version 0.6.4 of the launcher that I have just released. Tell me if this last version as solved your problem. Thank you.
(This post was last modified: 2010-11-21 23:50 by Angelscry.)
find quote
smithr99 Offline
Senior Member
Posts: 161
Joined: Jan 2010
Reputation: 0
Post: #37
Angelscry Wrote:English is not my natural tongue so I make spelling mistakes sometime. Thank you for your feedback on this. It will be fixed in the next version.

i assumed not as you're from Montreal! My French is terrible! Thanks very much for this updated launcher though - it rocks!

ASRock 330HT, XBMC Eden

[Image: watched-fanart.jpg]
find quote
Rob Loach Offline
Junior Member
Posts: 27
Joined: Jul 2008
Reputation: 0
Location: Toronto, ON
Rainbow  Beep Boop Bap!
Post: #38
Angelscry Wrote:Personally, on my system, I'm using the arguments :
Code:
-nogui -loadiso
Both ways are correct depending if you are using .BIN or .ISO images of the games. But, honestly, I do not know which arguments are or will be the most used. I think we have to wait and see. Thank you

I'd trust your judgment on this more than mine. So feel free to change it to -loadiso. Thanks!... Also, if anyone else knows any we could add in there (WinUAE maybe?), we could add it.


smithr99 Wrote:i assumed not as you're from Montreal! My French is terrible! Thanks very much for this updated launcher though - it rocks!
Yay Canada! Cool


Angelscry Wrote:I'm not really sure that it will be possible. Actually how the XBMC/launcher add-on works is that when you start an application, XBMC go directly into background and it is the application which take the control (and also the keys control). It must be like this because we do not want to control the application and XBMC at the same time with the same keys. When the application is closed (by itself), XBMC take the control back. It may be possible to use a third-party script to check if key are pressed or not... but I'm not sure it will works directly form XBMC or from the launcher add-on. I will think about this.
I was wondering about the same thing too. There would have to be a background process to check if the button is pressed. Using Popen() might be the way around it, but I honestly done much with Python yet.
find quote
jpreville Offline
Senior Member
Posts: 102
Joined: Jan 2009
Reputation: 0
Location: Michigan, USA
Post: #39
Hey AngelsCry,

Solved my issue on Sega Genesis Games!!

Thank You

John
find quote
xmurrx Offline
Member
Posts: 87
Joined: Mar 2010
Reputation: 10
Location: Long Island, New York
Post: #40
can someone make a guide on how to set this up? I really want to use this but I am at a loss.
find quote
Jurai Offline
Junior Member
Posts: 18
Joined: Nov 2010
Reputation: 0
Post: #41
Just wanted to say this plugin is definitely looking like the go-to choice for launching emulators within xbmc, cannot wait for an option to download all the artwork at once!
find quote
Jurai Offline
Junior Member
Posts: 18
Joined: Nov 2010
Reputation: 0
Post: #42
on another note, I'm having trouble launching NES roms via Mednafen which contain a comma in the filename, has anyone else encountered this? I am not super familiar with mednafen so it could be unrelated to the plugin
find quote
Pinhead Offline
Junior Member
Posts: 24
Joined: Nov 2010
Reputation: 0
Location: Bergen, Norway
Post: #43
First, I want to say that this add-on is fantastic! Keep up the good work! I thought I'd give some feedback and pose some questions here.

Firstly, I'm using the default Confluence skin. I tried adding a custom 'Games' button to the main menu, but when I try to select which add-on to tie the button to AL doesn't show up as an option (other add-ons do). It would be great if I could make a 'Games' button and go straight to the AL launcher menu.

Secondly, I assume this has something to do with the Confluence skin, but right now I can only set my view settings to Thumbnail, List or Big List. In other words, there's no way to view year, studio, genre, or any other text-based information the add-on gets from allgames.com, other than the game name itself. Judging from the screens in the thread, there's more to the add-on than just viewing thumbnails. Do I have to edit the skin on my own, or is there some trick to this?
find quote
smithr99 Offline
Senior Member
Posts: 161
Joined: Jan 2010
Reputation: 0
Post: #44
found a rather critical error. When adding a game in manually, if it fails, the plugin seems to wipe most of your launchers.xml file out
eg I have 7 or 8 emus in my launchers list. I just tried adding a game manually by pressing C when Gameboy was highlighted, choose Manually Add File, then scroll for the game and select. A message appears saying "the file has been added sucessfully..." but then I get an Error in PY and when you reload the plugin, almost all the emus have now dissapeared

Code:
10:16:43 T:3056039808 M:1675681792 WARNING: Trying to add unsupported control type 3
10:16:44 T:2347043696 M:1675313152 WARNING: Previous line repeats 17 times.
10:16:44 T:2347043696 M:1675313152  NOTICE: -->Python Interpreter Initialized<--
10:16:44 T:2347043696 M:1675051008  NOTICE: Mode AddOn ON
10:16:44 T:2347043696 M:1675051008  NOTICE: /home/xbmc/.xbmc/userdata/addon_data/plugin.program.advanced.launcher
10:16:44 T:2347043696 M:1675051008  NOTICE: 0
10:16:44 T:2347043696 M:1675051008  NOTICE: Launcher: found 8 launchers
10:17:10 T:2347043696 M:1682460672  NOTICE: -->Python Interpreter Initialized<--
10:17:10 T:2347043696 M:1681563648  NOTICE: Mode AddOn ON
10:17:10 T:2347043696 M:1681563648  NOTICE: /home/xbmc/.xbmc/userdata/addon_data/plugin.program.advanced.launcher
10:17:10 T:2347043696 M:1681563648  NOTICE: -1
10:17:10 T:2347043696 M:1681563648  NOTICE: Launcher: found 8 launchers
10:17:47 T:3056039808 M:1678548992 WARNING: Trying to add unsupported control type 3
10:17:47 T:2368609136 M:1678422016 WARNING: Previous line repeats 15 times.
10:17:47 T:2368609136 M:1678422016  NOTICE: -->Python Interpreter Initialized<--
10:17:48 T:2368609136 M:1678307328  NOTICE: Mode AddOn ON
10:17:48 T:2368609136 M:1678307328  NOTICE: /home/xbmc/.xbmc/userdata/addon_data/plugin.program.advanced.launcher
10:17:48 T:2368609136 M:1678307328  NOTICE: 0
10:17:48 T:2368609136 M:1678307328  NOTICE: Launcher: found 8 launchers
10:17:53 T:2368609136 M:1678311424  NOTICE: -->Python Interpreter Initialized<--
10:17:54 T:2368609136 M:1678311424  NOTICE: Mode AddOn ON
10:17:54 T:2368609136 M:1678311424  NOTICE: /home/xbmc/.xbmc/userdata/addon_data/plugin.program.advanced.launcher
10:17:54 T:2368609136 M:1678311424  NOTICE: -1
10:17:54 T:2368609136 M:1678311424  NOTICE: Launcher: found 8 launchers
10:18:21 T:2368609136 M:1677586432 WARNING: Trying to add unsupported control type 3
10:18:51 T:2300685168 M:1675751424 WARNING: Previous line repeats 19 times.
10:18:51 T:2300685168 M:1675751424  NOTICE: -->Python Interpreter Initialized<--
10:18:52 T:2300685168 M:1675640832  NOTICE: Mode AddOn ON
10:18:52 T:2300685168 M:1675640832  NOTICE: /home/xbmc/.xbmc/userdata/addon_data/plugin.program.advanced.launcher
10:18:52 T:2300685168 M:1675640832  NOTICE: 0
10:18:52 T:2300685168 M:1675640832  NOTICE: Launcher: found 8 launchers
10:19:04 T:2300685168 M:1675407360  NOTICE: -->Python Interpreter Initialized<--
10:19:05 T:2300685168 M:1673494528  NOTICE: Mode AddOn ON
10:19:05 T:2300685168 M:1673494528  NOTICE: /home/xbmc/.xbmc/userdata/addon_data/plugin.program.advanced.launcher
10:19:05 T:2300685168 M:1673494528  NOTICE: -1
10:19:05 T:2300685168 M:1673494528  NOTICE: Launcher: found 8 launchers
10:19:05 T:2300685168 M:1673494528 WARNING: Trying to add unsupported control type 3
10:19:42 T:2300685168 M:1672368128 WARNING: Previous line repeats 1 times.
10:19:42 T:2300685168 M:1672368128   ERROR: Error Type: exceptions.KeyError
10:19:42 T:2300685168 M:1672368128   ERROR: Error Contents: thumb
10:19:42 T:2300685168 M:1672368128   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/addon.py", line 20, in ?
                                                plugin.Main()
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 157, in __init__
                                                self._add_new_rom(launcher)
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 1014, in _add_new_rom
                                                self._save_launchers()
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 586, in _save_launchers
                                                usock.write("\t\t\t\t<thumb>"+romdata["thumb"]+"</thumb>\n")
                                            KeyError: thumb
10:19:49 T:2300685168 M:1672527872   ERROR: Unable to find plugin
10:19:49 T:3056039808 M:1672527872   ERROR: GetDirectory - Error getting plugin://
10:19:49 T:3056039808 M:1672527872   ERROR: CGUIMediaWindow::GetDirectory(plugin://) failed
10:19:51 T:2332154736 M:1672404992 WARNING: CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
10:19:52 T:2347043696 M:1671507968  NOTICE: -->Python Interpreter Initialized<--
10:19:53 T:2347043696 M:1671524352  NOTICE: Mode AddOn ON
10:19:53 T:2347043696 M:1671524352  NOTICE: /home/xbmc/.xbmc/userdata/addon_data/plugin.program.advanced.launcher
10:19:53 T:2347043696 M:1671524352  NOTICE: 0
10:19:53 T:2347043696 M:1671524352  NOTICE: Launcher: found 4 launchers
10:22:37 T:2300685168 M:1669668864  NOTICE: -->Python Interpreter Initialized<--
10:22:37 T:2300685168 M:1669029888  NOTICE: Mode AddOn ON
10:22:37 T:2300685168 M:1669029888  NOTICE: /home/xbmc/.xbmc/userdata/addon_data/plugin.program.advanced.launcher
10:22:37 T:2300685168 M:1669029888  NOTICE: -1
10:22:37 T:2300685168 M:1669029888  NOTICE: Launcher: found 4 launchers
10:22:37 T:2300685168 M:1669029888 WARNING: Trying to add unsupported control type 3
10:22:49 T:2300685168 M:1668218880 WARNING: Previous line repeats 1 times.
10:22:49 T:2300685168 M:1668218880   ERROR: Error Type: exceptions.KeyError
10:22:49 T:2300685168 M:1668218880   ERROR: Error Contents: thumb
10:22:49 T:2300685168 M:1668218880   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/addon.py", line 20, in ?
                                                plugin.Main()
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 157, in __init__
                                                self._add_new_rom(launcher)
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 1014, in _add_new_rom
                                                self._save_launchers()
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 586, in _save_launchers
                                                usock.write("\t\t\t\t<thumb>"+romdata["thumb"]+"</thumb>\n")
                                            KeyError: thumb
10:22:54 T:2379098992 M:1668231168 WARNING: CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
10:22:56 T:2332154736 M:1668116480  NOTICE: -->Python Interpreter Initialized<--
10:22:57 T:2332154736 M:1667600384  NOTICE: Mode AddOn ON
10:22:57 T:2332154736 M:1667600384  NOTICE: /home/xbmc/.xbmc/userdata/addon_data/plugin.program.advanced.launcher
10:22:57 T:2332154736 M:1667600384  NOTICE: 0
10:22:57 T:2332154736 M:1667600384  NOTICE: Launcher: found 2 launchers


EDIT : I just figured it out. After manually adding a Rom, it doesnt close the launcher declaration ...

Code:
    <launcher>
        <name>SEGA Mega Drive</name>
        <application>/home/xbmc/launcher.sh</application>
        <args>/usr/bin/gens --quickexit</args>
        <rompath>/media/roms/SMD/Roms/</rompath>
        <thumbpath>/media/roms/SMD/Thumbnails/</thumbpath>
        <fanartpath>/media/roms/SMD/Fanart/</fanartpath>
        <romext>gen|smd</romext>
        <platform>Sega Genesis</platform>
        <thumb>/media/roms/icons/Sega MegaDrive II.png</thumb>
        <fanart>/media/roms/Fanart/smd.jpg</fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <wait>true</wait>
        <roms>
            <rom>
                <name>Soldiers of Fortune</name>
                <filename>/media/roms/SMD/Roms/Soldiers of Fortune (U) [c][!].gen</filename>
                <platform>Sega Genesis</platform>

ASRock 330HT, XBMC Eden

[Image: watched-fanart.jpg]
(This post was last modified: 2010-11-22 12:49 by smithr99.)
find quote
rausch101 Offline
Fan
Posts: 582
Joined: Sep 2006
Reputation: 1
Location: Washington D.C.
Post: #45
Angelscry - I've been getting running the batch scan/get info for entire roms folders and see that there's many games (maybe like 20-30%) that are not scraped, but are listed on the gamefaq website. I'm unsure what the most helpful way of reporting this is so I thought I'd ask first.

How would you like me to report the unfound games?

Have a question? First try the XBMC online-manual and FAQ. Also: How to submit a debug log
find quote
Post Reply