Kodi Community Forum
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Game Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=291)
+---- Thread: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC (/showthread.php?tid=85724)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453


- Angelscry - 2010-11-29

Rob Loach Wrote:I've gone through some of the more popular emulator launcher frontends that don't the require use of a mouse (HyperSpin, GameEx and Maximus Arcade), and it seems Advanced Launcher is getting pretty good as a launcher. What it's missing from the dedicated launchers are:
  • Sort and filtering of games (by genre, year, publisher, etc)
  • Searching
  • Tracks what games you're playing (last played, most played, haven't played yet, etc)
  • Quitting the emulator/game from the controller
  • Play a random game
  • MAME support
This is not meant as a feature request list for XBMC Advanced Launcher, but just as a comparison to some of the more mature launchers out there.
You might want to shoot them an error report on that one. Hmmm, maybe on the mailing list?
I do not think I will add all this features. Laugh
  • Sorting or searching : Could be merged into one same option.
  • Tracks what games you're playing : Useless in my opinion.
  • Quitting the emulator/game from the controller : This one will be great I know. But we will have to setup a game controllers database.
  • Play a random game : Also useless in my opinion.
  • MAME support : For filename -> gamename conversion. For other data we will use the scrapers
My first priority is to keep the advanced launcher the more simple to use and not overload it this options that people will used 1 or 2 times.


- Angelscry - 2010-11-29

Pinhead Wrote:A couple of things:
Playstation is spelled wrong in the game platform list.
Oups... Ok I have seen it. It will be fixed in the next version. Thank you for your feedback.

Pinhead Wrote:Also, there is an odd bug that makes some games disappear from view if their names only differ on the last character. When adding Mortal Kombat, MK 2 and MK III, the games show up just fine. However, the sequels disappear if I change the name of Mortal Kombat 2 to Mortal Kombat II, for the sake of consistency. I have my Final Fantasy VII ISO-files named 'Final Fantasy VII cd1', 'Final Fantasy VII cd2' and 'Final Fantasy VII cd3', and these three discs are stacked so there is only a single entry in the rom list. In other words, game entries seem to stack when game names only differ in the last characters.
I will look at this. But I think it is due to the scraper option. If the scraper search for "Final Fantasy VII cd1", "Final Fantasy VII cd2" and "Final Fantasy VII cd3" it will surely return the same results for the 3 files : "Final Fantasy VII". So, after, I did not know how the launcher will manage this. I will have to check this. Thank you for your feedback.

Pinhead Wrote:Of course, having game sequels disappear is something that should be fixed, but having said that, I also think that the way that my Final Fantasy VII discs stack looks nice in the ROM list. Therefore I would like to suggest that game files that end with a 'cd#' / 'disc#' suffix is stacked, and when you select it a context menu-like box pops up, and you can specify which of the (in this case three) files you want to launch. Does this make any sense? Tongue
Yes... it clearly make sense. I will think about that.


Pinhead Wrote:Also, I have been getting this error when trying to download thumbs for a few games.
Code:
15:03:54 T:3580 M:3046735872  NOTICE: -->Python Interpreter Initialized<--
15:03:54 T:3580 M:3048550400  NOTICE: Mode AddOn ON
15:03:54 T:3580 M:3048550400  NOTICE: C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\userdata\addon_data\plugin.program.advanced.launcher
15:03:54 T:3580 M:3048550400  NOTICE: -1
15:03:54 T:3580 M:3048013824  NOTICE: Launcher: found 6 launchers
15:03:57 T:3580 M:3049607168   ERROR: Error Type: exceptions.UnboundLocalError
15:03:57 T:3580 M:3049607168   ERROR: Error Contents: local variable 'platform' referenced before assignment
15:03:57 T:3580 M:3049373696   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py", line 20, in ?
                                                plugin.Main()
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 158, in __init__
                                                self._scrap_thumb_rom(os.path.dirname(launcher), os.path.basename(launcher))
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 284, in _scrap_thumb_rom
                                                covers = self._get_thumbnails_list(self.launchers[launcher]["roms"][rom]["gamesys"],keyboard.getText())
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\scrapers\thumbs\GameFAQs\thumbs_scraper.py", line 24, in _get_thumbnails_list
                                                game_id_url = _get_game_page_url(system,search)
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\scrapers\thumbs\GameFAQs\thumbs_scraper.py", line 8, in _get_game_page_url
                                                platform = _system_conversion(system)
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\scrapers\thumbs\GameFAQs\thumbs_scraper.py", line 60, in _system_conversion
                                                if (not platform):
                                            UnboundLocalError: local variable 'platform' referenced before assignment
15:04:06 T:3688 M:3047407616 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
I think it is due to the "Playstation" wrong spelling. Name of all the supported platforms system are stored into the gamesys file. This file is necessary to make correlation between each scrapers (), As "Playstation" is wrong spelled the launcher is not able to found the corresponding images. I will fix this. Thank you.


- rausch101 - 2010-11-30

Angelscry:

I looked through my launchers.xml file to compare with the allgame website. It looks like your scraper got everything correct (nice job!). However, it looks like allgame is missing plot information for many games (and all information for some games). Gamefaq on the other hand seems to have information for most all games. So if you get a chance I'd suggest adding gamefaq's as a scraper for info as well. I can give examples if you want, but it looks like that was the 'problem' with many of my games not being scraped.

Also I agree with you that it is a good idea to get the base code/features working very well before adding other non-essential features and trinkets.


- Angelscry - 2010-11-30

rausch101 Wrote:Angelscry:

I looked through my launchers.xml file to compare with the allgame website. It looks like your scraper got everything correct (nice job!). However, it looks like allgame is missing plot information for many games (and all information for some games). Gamefaq on the other hand seems to have information for most all games. So if you get a chance I'd suggest adding gamefaq's as a scraper for info as well. I can give examples if you want, but it looks like that was the 'problem' with many of my games not being scraped.

Also I agree with you that it is a good idea to get the base code/features working very well before adding other non-essential features and trinkets.
Yes, and it is utopian to think that a single game database will have all the game informations and images. That's why I have already added the option to select between several database sources. This is the scapers I have planned to add to the advanced launcher in the next weeks : I think with all of this scrapers will cover most of the users needs. For the games that may not be found, you will always have the possibility to manually add the game information using the edit option and use the google images scraper to found and add the missing images.

I'm actually working on the google images scraper.


- rausch101 - 2010-11-30

Great plan...Sounds like that will cover 99% of the games


- Jurai - 2010-11-30

I've been having problems with the info scraper failing to scrape all of the games in a directory. I've made sure the add-on is set to get info for all files and did a rescan but it seems to only pick out a handful (~50) of the ~800 files in the directory to actually fetch the info for. If I manually go one by one and get info for the other games the data is available, so I'm not sure why the script is skipping over so many. Anyone else have this problem?


- rausch101 - 2010-11-30

Jurai Wrote:I've been having problems with the info scraper failing to scrape all of the games in a directory. I've made sure the add-on is set to get info for all files and did a rescan but it seems to only pick out a handful (~50) of the ~800 files in the directory to actually fetch the info for. If I manually go one by one and get info for the other games the data is available, so I'm not sure why the script is skipping over so many. Anyone else have this problem?

Probably need some more information to help you-

How are your rom files named?
Does your launchers.xml file show any information being collected for the games that show nothing? (this file is in your XBMC user data folder)


- Angelscry - 2010-12-01

Version 0.7.0
This is a new version of the advanced launcher. This version add the possibility to select the image scraper between Gamefaqs and Google Images. The Gamefaqs scraper use the edited title of the game and the game system for it search. The google images scraper only use the edited title of the game for more flexible researches. This last scraper as to be considered as the ultimate way to found images but not the more accurate one. For this reason the google images scraper may will be not used as an option for future automatic scanning functionality.

Image Image

ChangeLog:
  • add of google images scrapers
  • fix unlocalized texts
  • fix gamesys wrong spelling



- Pinhead - 2010-12-01

Okay, one more spelling error i noticed in the system list. One entry should read 'Pioneer LaserActive'.

Also, I'm still getting an error when trying to get thumbs for Playstation games. I've narrowed the error down a bit though. I installed version 0.7, and re-added the Playstation launcher entry. I can't remember if it happened last time, but this time AL couldn't find info for a single one of the 18 game roms it scanned automatically. I found them when I searched for info for each game individually though. Anyway, I can search for thumbs as long as the ROM acts as a simple file in the AL database, instead of as a game after AL has collected data for it. If I add my Playstation games, let AL fail to find info for them, and I then go straight to downloading thumbs, thumbs will turn up. But as soon as I collect data for the games from Allgames, AL will consistently fail to find thumbs, and only return an error.

Code:
13:42:52 T:3460 M:2189885440  NOTICE: -->Python Interpreter Initialized<--
13:42:53 T:3460 M:2189238272  NOTICE: Mode AddOn ON
13:42:53 T:3460 M:2189238272  NOTICE: C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\userdata\addon_data\plugin.program.advanced.launcher
13:42:53 T:3460 M:2189238272  NOTICE: -1
13:42:53 T:3460 M:2188382208  NOTICE: Launcher: found 6 launchers
13:42:54 T:3460 M:2190553088   ERROR: Error Type: exceptions.UnboundLocalError
13:42:54 T:3460 M:2190553088   ERROR: Error Contents: local variable 'platform' referenced before assignment
13:42:54 T:3460 M:2190401536   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py", line 20, in ?
                                                plugin.Main()
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 158, in __init__
                                                self._scrap_thumb_rom(os.path.dirname(launcher), os.path.basename(launcher))
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 284, in _scrap_thumb_rom
                                                covers = self._get_thumbnails_list(self.launchers[launcher]["roms"][rom]["gamesys"],keyboard.getText())
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\scrapers\thumbs\GameFAQs\thumbs_scraper.py", line 24, in _get_thumbnails_list
                                                game_id_url = _get_game_page_url(system,search)
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\scrapers\thumbs\GameFAQs\thumbs_scraper.py", line 8, in _get_game_page_url
                                                platform = _system_conversion(system)
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\scrapers\thumbs\GameFAQs\thumbs_scraper.py", line 60, in _system_conversion
                                                if (not platform):
                                            UnboundLocalError: local variable 'platform' referenced before assignment

I don't know if AL failing to find info for any of my PS1 games automatically is connected to the error I'm getting though.

The Google image search is very clever. Completing a set of thumbs and fanart shouldn't be a problem now.


- Angelscry - 2010-12-01

Pinhead Wrote:Okay, one more spelling error i noticed in the system list. One entry should read 'Pioneer LaserActive'.

Also, I'm still getting an error when trying to get thumbs for Playstation games. I've narrowed the error down a bit though. I installed version 0.7, and re-added the Playstation launcher entry. I can't remember if it happened last time, but this time AL couldn't find info for a single one of the 18 game roms it scanned automatically. I found them when I searched for info for each game individually though. Anyway, I can search for thumbs as long as the ROM acts as a simple file in the AL database, instead of as a game after AL has collected data for it. If I add my Playstation games, let AL fail to find info for them, and I then go straight to downloading thumbs, thumbs will turn up. But as soon as I collect data for the games from Allgames, AL will consistently fail to find thumbs, and only return an error.

Code:
13:42:52 T:3460 M:2189885440  NOTICE: -->Python Interpreter Initialized<--
13:42:53 T:3460 M:2189238272  NOTICE: Mode AddOn ON
13:42:53 T:3460 M:2189238272  NOTICE: C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\userdata\addon_data\plugin.program.advanced.launcher
13:42:53 T:3460 M:2189238272  NOTICE: -1
13:42:53 T:3460 M:2188382208  NOTICE: Launcher: found 6 launchers
13:42:54 T:3460 M:2190553088   ERROR: Error Type: exceptions.UnboundLocalError
13:42:54 T:3460 M:2190553088   ERROR: Error Contents: local variable 'platform' referenced before assignment
13:42:54 T:3460 M:2190401536   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py", line 20, in ?
                                                plugin.Main()
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 158, in __init__
                                                self._scrap_thumb_rom(os.path.dirname(launcher), os.path.basename(launcher))
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 284, in _scrap_thumb_rom
                                                covers = self._get_thumbnails_list(self.launchers[launcher]["roms"][rom]["gamesys"],keyboard.getText())
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\scrapers\thumbs\GameFAQs\thumbs_scraper.py", line 24, in _get_thumbnails_list
                                                game_id_url = _get_game_page_url(system,search)
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\scrapers\thumbs\GameFAQs\thumbs_scraper.py", line 8, in _get_game_page_url
                                                platform = _system_conversion(system)
                                              File "C:\Users\Carl Wilhelm\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\scrapers\thumbs\GameFAQs\thumbs_scraper.py", line 60, in _system_conversion
                                                if (not platform):
                                            UnboundLocalError: local variable 'platform' referenced before assignment

I don't know if AL failing to find info for any of my PS1 games automatically is connected to the error I'm getting though.

The Google image search is very clever. Completing a set of thumbs and fanart shouldn't be a problem now.
Could you please post here your launchers.xml file or on pastebin. By using it, I will be able to reproduce your error and fix it. I think that the your launchers.xml files still contain the wrong playstation spelling (even if you have installed the last version) and that is create error (game system info nto you launchers.xml files are different from the gamesys file). Thing you can try is to delete your playstation launcher and create a new one. I think it may fix your problem.

Thank you for the 'Pioneer LaserActive' error feedback. It will be fixed in the next version


- Pinhead - 2010-12-01

I had a look in my launchers.xml, and from what I can see, there is a disparity between the platform title between games there is data on, and those without; PlayStation and Playstation. Could there be a problem with case sensitivity?

Here is my full launchers.xml anyway.

http://pastebin.com/76aHFKDD


- chrizfitz - 2010-12-01

Thank you for doing this. I have a couple of days off and was going to fuck about with the old launcher and came accross this. Ran a couple of test on my work lappy and works a dream. No problems as yet, I just wanted to know what Launcher Mod for revisited do? How to install it when I install from zip I get an error?


- Spaggi - 2010-12-01

chrizfitz Wrote:Thank you for doing this. I have a couple of days off and was going to fuck about with the old launcher and came accross this. Ran a couple of test on my work lappy and works a dream. No problems as yet, I just wanted to know what Launcher Mod for revisited do? How to install it when I install from zip I get an error?

This is a MOD for the Alaska Revisited Skin, containing the new views for the addon launcher. If you use AR, you have to install both packages.

You have to copy the files inside the ZIP by hand in your Alaska Revisited addon folder.


- chrizfitz - 2010-12-01

Spaggi Wrote:This is a MOD for the Alaska Revisited Skin, containing the new views for the addon launcher. If you use AR, you have to install both packages.

You have to copy the files inside the ZIP by hand in your Alaska Revisited addon folder.

Thats a bingo. TY


- DasFa - 2010-12-01

Hi @ all

i would like to know if its possible to start a game on a secondary monitor and sounddevice via arguments.

thanks in advance for your help Smile