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


- Death-Axe - 2010-12-12

Angelscry Wrote:Do you have some MAME roms filenames with 3 characters or less? Eek. It could create an error.

If that is causing the error, could you fix it? there are loads of roms with names with 3 chars or less lol.


- Angelscry - 2010-12-12

Death-Axe Wrote:If that is causing the error, could you fix it? there are loads of roms with names with 3 chars or less lol.
I don't know if it is this. I'm not able to reproduce the error. I have actually rewritten the part of the code spiting CD numbers. I hope it will solve the problem.


- Malexx - 2010-12-12

I solved my problem myself.
The "Problem" was i was using Cirrus skin,the Button for selecting Fanarts or Thumbs just doenst worked.
I changed to Confluence and all was selectable.
So,its a skin problem not script problem.

Thanks for your fast answer anyway.


- jpreville - 2010-12-12

yea.. i think its missing those 3 character or less mame roms.. mk.zip mortal combat

but on the plus side it did find 5000 out of 8799 which is totally awesome!

John


- Angelscry - 2010-12-12

jpreville Wrote:yea.. i think its missing those 3 character or less mame roms.. mk.zip mortal combat

but on the plus side it did find 5000 out of 8799 which is totally awesome!

John
Do you still have this problem with the version 0.8.2?


- jpreville - 2010-12-12

didn't realize you released another version... u work fast Big Grin


- Pinhead - 2010-12-13

I'm using 0.8.2 now. The cancel button when searching for new files doesn't work. It hasn't before either. Does anyone else have this problem?


- jpreville - 2010-12-13

@Pinhead yea...i usually just reboot my machine when that happens...


- rausch101 - 2010-12-13

Pinhead Wrote:I'm using 0.8.2 now. The cancel button when searching for new files doesn't work. It hasn't before either. Does anyone else have this problem?

pretty sure that's an xbmc limitation, but that happens to me too


- hyperspinme - 2010-12-13

Angelscry Wrote:Do you still have this problem with the version 0.8.2?

Still no luck unfortunately. It's dying in the same place. The error has changed though:

07:48:52 T:2236 M:817025024 ERROR: Error Type: exceptions.AttributeError
07:48:52 T:2236 M:817025024 ERROR: Error Contents: 'NoneType' object has no attribute 'lower'
07:48:52 T:2236 M:816947200 ERROR: Traceback (most recent call last):
File "C:\Users\xmbc\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py", line 20, in ?
plugin.Main()
File "C:\Users\xmbc\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 169, in __init__
self._import_roms(launcher)
File "C:\Users\xmbc\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 942, in _import_roms
if ( romname.lower().find(ext3) > 0 ):
AttributeError: 'NoneType' object has no attribute 'lower'

The last file it works on is bubsympu. The file it seems to die on is captaven. I have deleted that file and several after it, and stills dies though, so I don't know what's going on. There aren't any <3 filenames around where it seems to die.


- Angelscry - 2010-12-13

hyperspinme Wrote:Still no luck unfortunately. It's dying in the same place. The error has changed though:

07:48:52 T:2236 M:817025024 ERROR: Error Type: exceptions.AttributeError
07:48:52 T:2236 M:817025024 ERROR: Error Contents: 'NoneType' object has no attribute 'lower'
07:48:52 T:2236 M:816947200 ERROR: Traceback (most recent call last):
File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py", line 20, in ?
plugin.Main()
File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 169, in __init__
self._import_roms(launcher)
File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 942, in _import_roms
if ( romname.lower().find(ext3) > 0 ):
AttributeError: 'NoneType' object has no attribute 'lower'

The last file it works on is bubsympu. The file it seems to die on is captaven. I have deleted that file and several after it, and stills dies though, so I don't know what's going on. There aren't any <3 filenames around where it seems to die.
Ok... It seems that the Advanced Launcher was not able to found the rom and so not attribute any romname. I will try to fix this for the next version. Thank you for your feedback.


- rbrohman - 2010-12-13

I'm not sure if this is a SNES only problem, but how might we deal with the different region releases in terms of auto scraping the thumbs and fanart/screens?

For example, a LOT of snes games were released in Japan, Europe and the US. When manually scraping the images, I'd just scroll through the few different images and select the US ones. With the auto-scraping now enabled, I see that a large chunk of the games come in with the Japan box art.

The majority of box images (I've only looked at my snes collection thus far, but would imagine this to be the same for many systems) seem to be using the naming convention of "Game Name (xx)" where (xx) is either JP, EU or US. I believe that currently AL just takes the first image on the list. Is there a way for AL to select the desired region based on a setting - globally or by launcher?

Fanart/screens don't seem to employ the same (xx) regional coding, but I don't find these as important, since the game play is typically the same, whereas the box images will have game name in a foreign language.


- Angelscry - 2010-12-13

rbrohman Wrote:I'm not sure if this is a SNES only problem, but how might we deal with the different region releases in terms of auto scraping the thumbs and fanart/screens?

For example, a LOT of snes games were released in Japan, Europe and the US. When manually scraping the images, I'd just scroll through the few different images and select the US ones. With the auto-scraping now enabled, I see that a large chunk of the games come in with the Japan box art.

The majority of box images (I've only looked at my snes collection thus far, but would imagine this to be the same for many systems) seem to be using the naming convention of "Game Name (xx)" where (xx) is either JP, EU or US. I believe that currently AL just takes the first image on the list. Is there a way for AL to select the desired region based on a setting - globally or by launcher?

Fanart/screens don't seem to employ the same (xx) regional coding, but I don't find these as important, since the game play is typically the same, whereas the box images will have game name in a foreign language.
Yes this the problem with automatic scraping option. When you have several possible images to select... Which one take?

For the GameFAQs scraper I think it will not be to complicated to put this in place, because on the GameFAQs images page, the region of the covers are explicitly indicated (US, JP, EU) : http://www.gamefaqs.com/nes/563433-the-legend-of-zelda/images. So I could add a select region option settings (US, JP, EU) on the Advanced Launcher for the GameFAQs thumbs scraper. Then the scraper will be able to select only the cover of the selected version.

For the MobyGames scraper it will be more difficult beacuse covers are identified by country and not region : http://www.mobygames.com/game/snes/legend-of-zelda-a-link-to-the-past/cover-art. It will be more little complicated because I will have to add a country -> region converter.

All this need are rewrite of the scrapers (because it will add another parameters for the search). I will try to see what I can do.


Tasty Wheat - Rob Loach - 2010-12-13

rbrohman Wrote:The majority of box images (I've only looked at my snes collection thus far, but would imagine this to be the same for many systems) seem to be using the naming convention of "Game Name (xx)" where (xx) is either JP, EU or US. I believe that currently AL just takes the first image on the list. Is there a way for AL to select the desired region based on a setting - globally or by launcher?
I find the Datomatic naming works quite well. Merging the clones with the originals via RomCenter or other tools will also help. Using P/Clone, and merging all your roms will make your life easier.... Ends up giving you:

2020 Super Baseball (USA).zip
---- 2020 Super Baseball (USA).sfc
---- 2020 Super Baseball (Japan).sfc
Super Mario Kart (Europe).zip
---- Super Mario Kart (Europe).sfc
---- Super Mario Kart (USA).sfc
---- Super Mario Kart (Japan).sfc

EmuMovies uses the same No-Intro naming convention, so it ends up working quite well for the titles/snaps artwork when linked up with XBMC Advanced Launcher.

Angelscry Wrote:I'm not sure that you could use 2 different kind of paths into the same command line (C:\### and smb://). The first one is specific to Windows and the second one is specific to Linux and Networks. I'm not sure that Windows emulators can use paths under Linux or Networks format.

If you plan to use XBMC under windows the first thing to do is to map your network drive under windows like this. After this you will be able to access your network drive using a drive letter path like this for example :
Z:\\tower\Game/Emulator\SNES\ROMS\Chrono Trigger (U).zip
. Then all your command lines will be homogeneous and I think it will solve your problem.
On Linux, you can automount the smb file share with fstab so that you have clean paths which ZSNES will understand (no smb://). On Windows Vista/7, you can either use mapdrives, like Angelscry suggested, or mklink. mklink is like symbolic links, but for Windows:
http://www.howtogeek.com/howto/windows-vista/using-symlinks-in-windows-vista/


- rbrohman - 2010-12-13

@Angelscry

I see what you mean. Having country codes rather than the more general Region codes makes it a fair bit more complicated.


Rob Loach Wrote:I find the Datomatic naming works quite well. Merging the clones with the originals via RomCenter or other tools will also help. Using P/Clone, and merging all your roms will make your life easier.... Ends up giving you:

2020 Super Baseball (USA).zip
---- 2020 Super Baseball (USA).sfc
---- 2020 Super Baseball (Japan).sfc
Super Mario Kart (Europe).zip
---- Super Mario Kart (Europe).sfc
---- Super Mario Kart (USA).sfc
---- Super Mario Kart (Japan).sfc

EmuMovies uses the same No-Intro naming convention, so it ends up working quite well for the titles/snaps artwork when linked up with XBMC Advanced Launcher.

Hi Rob,

From your example, would you get all three Super Mario Kart roms consolidated to a single entry in AL? That sounds very useful. But wouldn't I still have the same issue with the scraped content - in that I'd have to manually select the US images? Does having the three versions consolidated change the search criteria when AL scrapes?