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 - 2012-03-03

MrTourettes Wrote:Yes that is exactly how I have mine setup and I also use that option to scrape. Is it possible there is something wrong with my scrapper files or something?
You have no error message? Maybe try be sligthly changing the name of the game title you want to search like : 1080 Snowboarding instead of 1080° Snowboarding. Do you have the same problem with other scrapers?


- MrTourettes - 2012-03-03

Angelscry Wrote:You have no error message?

No error messages at all. To install the addon I had to download direct and unzip to directory as the version of the addon in the skin I have ( Aeon nox ) would not update and it claimed a newer version was available. Could this have upset something?


- Angelscry - 2012-03-03

MrTourettes Wrote:No error messages at all. To install the addon I had to download direct and unzip to directory as the version of the addon in the skin I have ( Aeon nox ) would not update and it claimed a newer version was available. Could this have upset something?
Ok. I have just receive this message from TheGameDB maintainers : http://www.gwenael.org/forum/viewtopic.php?pid=813#p813. They have updated their API. So it may have a direct effect on the scrapers. It is surely why you encounter problem. I will try to fix this.


- Angelscry - 2012-03-04

MrTourettes Wrote:I have uploaded the file to pastebin. If you could find the time to have a look i would most appreciate it.

http://pastebin.com/B0XF5LpU

Thanks
After check it, theGameDB API updates do not have any effect on the actual Advanced Launcher scraper functionalities. Next... using the exactly same file name as you I was able to scrap info, thumbs and images except for 1080° Snowboarding where I have to change the title to 1080 Snowboarding to get a result (special character ° do not well support string format encoding).

Are you using the automatic or semi-automatic option for the scrapers?


- MrTourettes - 2012-03-04

Angelscry Wrote:After check it, theGameDB API updates do not have any effect on the actual Advanced Launcher scraper functionalities. Next... using the exactly same file name as you I was able to scrap info, thumbs and images except for 1080° Snowboarding where I have to change the title to 1080 Snowboarding to get a result (special character ° do not well support string format encoding).

Are you using the automatic or semi-automatic option for the scrapers?

I have changed the file name to just 1080 snowboarding and tried both automatic and semi automatic but neither work.

I am going to completely delete the addon and try installing one last time. I have done everything as suggested but simple fact is the scrapper is just not working with my setup. Windows 7, Latest Eden Build, Aeon Nox Skin.


- MrTourettes - 2012-03-04

Well I removed addon. I then made sure the files had been removed from hd.

I went into addons and tried to reinstall addon but it will not install.


- Angelscry - 2012-03-04

MrTourettes Wrote:Well I removed addon. I then made sure the files had been removed from hd.

I went into addons and tried to reinstall addon but it will not install.
Confused... You just have to uninstall the add-on from XBMC. Then close XBMC. You can also try to remove related folders et files into userdata.

Download my repository package : http://code.google.com/p/xbmc-advanced-launcher/downloads/detail?name=repository.angelscry.xbmc-plugins.1.2.0.zip

Start XBMC, go into add-on, select install from files and select the repository.angelscry.xbmc-plugins.1.2.0.zip downloaded file. Then go into get Add-ons, select Angelscry's Repository and install Advanced Launcher.

I have just done this on a Windows 7 system with RC2 version of XBMC Eden, and do not encounter any problem to install Advanced Launcher.

Then again I have try the scrap nintendo 64 items with TheGameDB scrapers and all have worked perfectly.


- MrTourettes - 2012-03-04

OK I have sorted out my problems. What I have done to solve this is.

Completely removed xbmc from system.

- Installed XBMC to root drive ( NOT Program files directory ) c:\xbmc

- Run xbmc in portable mode using "-p" on shortcut

Everything seems to work good now and advanced launcher is scrapping just fine.

I believe my issues were probably down to windows 7 ( what I call arrogance mode ) where it tries to protect users by adding write protection on all program files and user data entries.

Still problem solved and Thank you so much for all your help.


Additional Sorting Options - utsusemi - 2012-03-07

I'm using Aeon Nox with Advanced Launcher, and it's working really well far. However, since I'd consider myself slightly OCD, I've been banging my head trying to figure out a solution to a sorting issue I've run in to. What I'd like to do is sort titles like "Final Fantasy IX" after "Final Fantasy VIII". Unfortunately due to the naming, "VIII" comes after "IX". I would like to have some sort of 'sort name'. I spent a bit of time looking through launcher_plugin.py to see how hard it would be to add this functionality. Unfortunately, I haven't explored skinning or plugins for xbmc before, so I don't fully understand how sorting works with all the different pieces.


The simplest solution that I came up with involved just sorting on filenames--that way I could just name things like "Final Fantasy 9" and "Final Fantasy 8" and everything would sort fine (plus I'd still display the roman numerals as the title in xbmc). I tried adding
Code:
xbmcplugin.addSortMethod(handle=int( self._handle ), sortMethod=xbmcplugin.SORT_METHOD_FILE)
to the py file, and it made a "Sort by: File" show up in Aeon Nox; however it didn't actually sort anything, and I'm not sure why. I would greatly appreciate any assistance on how to add new sort methods to Advanced Launcher.


By the way, I was able to 'hack' the sorting in by adding
Code:
xbmcplugin.addSortMethod(handle=int( self._handle ), sortMethod=xbmcplugin.SORT_METHOD_UNSORTED)
and also changing the sort code in _get_roms(...) to
Code:
for key in sorted(roms, key= lambda x : os.path.basename(os.path.splitext(roms[x]["filename"])[0])):
This obviously isn't ideal though because once you change the sorting from "Sort by: Default" to anything else, you can never return to the original sorting without restarting xbmc (and thus calling _get_roms(...) again).


TLDR: I'm trying to find a way to add additional sort methods to Advanced Launcher, and I could definitely use some help!


- Angelscry - 2012-03-07

utsusemi Wrote:I'm using Aeon Nox with Advanced Launcher, and it's working really well far. However, since I'd consider myself slightly OCD, I've been banging my head trying to figure out a solution to a sorting issue I've run in to. What I'd like to do is sort titles like "Final Fantasy IX" after "Final Fantasy VIII". Unfortunately due to the naming, "VIII" comes after "IX". I would like to have some sort of 'sort name'. I spent a bit of time looking through launcher_plugin.py to see how hard it would be to add this functionality. Unfortunately, I haven't explored skinning or plugins for xbmc before, so I don't fully understand how sorting works with all the different pieces.


The simplest solution that I came up with involved just sorting on filenames--that way I could just name things like "Final Fantasy 9" and "Final Fantasy 8" and everything would sort fine (plus I'd still display the roman numerals as the title in xbmc). I tried adding
Code:
xbmcplugin.addSortMethod(handle=int( self._handle ), sortMethod=xbmcplugin.SORT_METHOD_FILE)
to the py file, and it made a "Sort by: File" show up in Aeon Nox; however it didn't actually sort anything, and I'm not sure why. I would greatly appreciate any assistance on how to add new sort methods to Advanced Launcher.


By the way, I was able to 'hack' the sorting in by adding
Code:
xbmcplugin.addSortMethod(handle=int( self._handle ), sortMethod=xbmcplugin.SORT_METHOD_UNSORTED)
and also changing the sort code in _get_roms(...) to
Code:
for key in sorted(roms, key= lambda x : os.path.basename(os.path.splitext(roms[x]["filename"])[0])):
This obviously isn't ideal though because once you change the sorting from "Sort by: Default" to anything else, you can never return to the original sorting without restarting xbmc (and thus calling _get_roms(...) again).


TLDR: I'm trying to find a way to add additional sort methods to Advanced Launcher, and I could definitely use some help!
The only solution I see is to effectively name your files Final Fantasy 8, Final Fantasy 9, etc... and display their titles as Final Fantasy VIII, Final Fantasy IX, etc.. Then finally add a sorting method based on filenames.

Use
Code:
xbmcplugin.addSortMethod(handle=int( self._handle ), sortMethod=xbmcplugin.SORT_METHOD_UNSORTED)
and modify
Code:
for key in sorted(roms, key= lambda x : os.path.basename(os.path.splitext(roms[x]["filename"])[0]))
is not a good idea because this sorting will be based on the order of the declared items into the launchers.xml file. A better move will be to add a ListItem.FileName entry during the creation of the list items and then add a sorting based on filenames :
Code:
xbmcplugin.addSortMethod(handle=int( self._handle ), sortMethod=xbmcplugin.SORT_METHOD_FILE)
I have just to veriry that ListItem.FileName and SORT_METHOD_FILE are supported for programm add-ons. I will have time to work on this during this week-end. And If I found a way to add this feature, I will release an updated version of Advanced Launcher during the same period.


- User 102910 - 2012-03-08

Hello!

I am using this addon with AeonMQ3 skin on a AMD Fusion HTPC with XBMC xvba.

My XBMC runs standalone (xbmc minimal installation > boots directly into XBMC)
(I guess it's the same as XBMClive)

Now I try to start ultrastar deluxe from it, but somehow XBMC stays in the front and my keys still control XBMC and not ultrastar.

Is there a solution for this? When I run XBMC in fluxbox, ultrastar runs fine when launched from xbmc.


- Zootoxin - 2012-03-08

Hi Chaps,

I followed this guide - http://www.gwenael.org/xbmc/index.php?title=Winkawaks

But I can't get winkawaks to work

When I click the rom winkawaks opens but the game doesn't load?

Also all the roms I have work in neoragex but only a handful work for winkawaks although I suppose thats a problem for the winkawaks forum.


- utsusemi - 2012-03-08

Zootoxin Wrote:Hi Chaps,

I followed this guide - http://www.gwenael.org/xbmc/index.php?title=Winkawaks

But I can't get winkawaks to work

When I click the rom winkawaks opens but the game doesn't load?

Also all the roms I have work in neoragex but only a handful work for winkawaks although I suppose thats a problem for the winkawaks forum.

As a disclaimer, I know nothing about winkawaks, but I do recall seeing something about it on the Advanced Launcher forums. The link is http://www.gwenael.org/forum/viewtopic.php?id=232. It looks like the way winkawaks takes command line arguments has changed, so perhaps the script in the link will fix your issues.


- Angelscry - 2012-03-08

cyberman Wrote:Hello!

I am using this addon with AeonMQ3 skin on a AMD Fusion HTPC with XBMC xvba.

My XBMC runs standalone (xbmc minimal installation > boots directly into XBMC)
(I guess it's the same as XBMClive)

Now I try to start ultrastar deluxe from it, but somehow XBMC stays in the front and my keys still control XBMC and not ultrastar.

Is there a solution for this? When I run XBMC in fluxbox, ultrastar runs fine when launched from xbmc.
You can try to suspend XBMC using and .sh script like here : http://www.gwenael.org/forum/viewtopic.php?id=39. But you must be aware that booting and running XBMC as standalone means that you define system conditions that favors XBMC to be the only running application.


- Angelscry - 2012-03-08

Zootoxin Wrote:Hi Chaps,

I followed this guide - http://www.gwenael.org/xbmc/index.php?title=Winkawaks

But I can't get winkawaks to work

When I click the rom winkawaks opens but the game doesn't load?

Also all the roms I have work in neoragex but only a handful work for winkawaks although I suppose thats a problem for the winkawaks forum.
WIKI tutorial is for version 1.61 of winkawaks (which is actually the official version : http://www.kawaks.net). For version 1.62 you can follow the script update indicated by utsusemi and made by kawaksman : http://www.gwenael.org/forum/viewtopic.php?id=232