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-02-17

Big_Noid Wrote:For the platform infolabel (ListItem.Writer), are these constant values or does it depend on the scraper used? If they are constant, do you have a list of possible values?
They are constants. Here is the list (first entries of the gamesys file content) : http://code.google.com/p/xbmc-advanced-launcher/source/browse/trunk/plugin.program.advanced.launcher/resources/scrapers/gamesys


- BigNoid - 2012-02-17

Thx. That are quite a few possible values Big Grin


- tria - 2012-02-17

Hey Angelscry, Big_Noid is working on showing logos for platforms/studio to his skin "Aeon Nox", Woho! Smile
This is your chance to ask for anything else :p

btw, I was experimenting with adding features (the one about gui/emulator), and while playing around, I managed to add sorting to your script through XBMC. Of course I made it for personal needs (not to publish it), so if you like I could send you the modified file (or the lines). Right now I am away from my XBMC box, so once I get there I will PM you.

Edit:
Angelscry, you could add rating (like ESRB you can get rating for any game from their website ESRB http://www.esrb.org/). The scrapping will be easy, and you will have rating for all the games (I know it is a program launcher, but hey you have game platform and game scrappers) Big Grin
This is the best time, so that Big_Noid consider it (although I wish he do consider it and show "NR" if the rating value is not set to be future proof).


- Angelscry - 2012-02-17

tria Wrote:btw, I was experimenting with adding features (the one about gui/emulator), and while playing around, I managed to add sorting to your script through XBMC. Of course I made it for personal needs (not to publish it), so if you like I could send you the modified file (or the lines). Right now I am away from my XBMC box, so once I get there I will PM you.
It will be great if you could share this features with us. If you can send me the code lines, I will surely be able to add it to the next version and release it during the week-end.


- jickler - 2012-02-17

Angelscry Wrote:With so few information it is really hard to have an idea what is going wrong. No information about the mupenplus64 version, no information about the command line you use to start mupen64plus, and no information about your mupen64plus launcher configuration... Eek

BTW, if you are able to start it form terminal and not from XBMC/Advanced launcher that means that you may have something wrong into the mupen64plus configuration into advanced launcher.

What you can try to debug this is to start XBMC from the terminal then start Mupen64plus from Advanced Launcher. If there is some errors they will be displayed into the terminal windows, and so you may be able to fix thwe error.

Thanks, I was able to fix this problem. Normally when you exit XBMC on Crystalbuntu you can't see the terminal output because you're taken to a login screen, and once you login it's blank. I didn't realize that if you launched XBMC from terminal after logging in and then quit it you would be able to see the output. For whatever reason it was returning an error about the $HOME prefix being invalid, but deleting all the advanced launcher config files and reinstalling it did the trick.

Now I have a new problem though Smile

I'm using mupen64plus 1.99.4 using this script you posted earlier in the thread:
Quote:#!/bin/bash
killall -STOP xbmc.bin
/usr/local/bin/mupen64plus --fullscreen --noosd "$1"
killall -CONT xbmc.bin

It launches just fine, but there's no sound in the emulator and terminal shows this error:

Quote:: Initializing SDL audio subsystem...
: Error: Couldn't open audio: No available audio device

I've had this audio problem in the past with zsnes, and I was able to fix it by adding a .asoundrc file to my home directory with only this line:
Quote:defaults.pcm.device 3

It doesn't seem to work with mupen though. My audio settings in xbmc are HDMI, Speaker configuration 2.0, and both regular and passthrough devices set to Custom, plughw:0,3


EDIT: Got it to work! If anyone else is struggling with this, I found my solution in this post: http://forum.xbmc.org/showpost.php?p=454155&postcount=3
Copied over his .asoundrc exactly as written, changed my audio output in xbmc to Default(alsa) and left passthrough as plughw:0,3


- chunk1982 - 2012-02-18

Angelscry Wrote:Your command line to start zsnes is not at all the good one (http://www.gwenael.org/xbmc/index.php?title=ZSNES#Linux). That's why zsnes do not start the roms correctly. A good script could be :
Code:
#!/bin/bash
killall -STOP xbmc.bin
/usr/bin/zsnes -m -s -v 22 "$1"
killall -CONT xbmc.bin
Then you have to configure your file launcher correctly :

application : pointing to your zsnes .sh script
arguments : "%rom%"

could you explain how you do this whole process please as i too would like the rom to start and not the emu

many thanks

paul


- Angelscry - 2012-02-18

chunk1982 Wrote:could you explain how you do this whole process please as i too would like the rom to start and not the emu
This is a tutorial how to create a files launcher into Advanced Launcher to start roms. In your case, instead of selecting the /usr/bin/zsnes file, your select the script you selected and use "%rom%" argument instead of the default one.


- tria - 2012-02-18

Here you go.
In the method "_get_roms"
around the if statement add the following lines (ignore the if statement)
Code:
if (len(roms) > 0) :
                xbmcplugin.addSortMethod(int( self._handle ), xbmcplugin.SORT_METHOD_LABEL)
                xbmcplugin.addSortMethod(int( self._handle ), xbmcplugin.SORT_METHOD_VIDEO_YEAR)
                xbmcplugin.addSortMethod(int( self._handle ), xbmcplugin.SORT_METHOD_STUDIO)
                xbmcplugin.addSortMethod(int( self._handle ), xbmcplugin.SORT_METHOD_GENRE)
This will allow sorting by Title/Year/Studio/Genre for the ROM screen

For sorting the launchers, in the method "_get_launchers" under the if statement, add the following (ignore the if)
Code:
if (len(self.launchers) > 0):
            xbmcplugin.addSortMethod(int( self._handle ), xbmcplugin.SORT_METHOD_LABEL)
            xbmcplugin.addSortMethod(int( self._handle ), xbmcplugin.SORT_METHOD_VIDEO_YEAR)
This will enable sorting by Title/Year (I couldn't think of any other proper way to sort launchers or emulators)

I notice while skimming the code that you have sorting, maybe you should remove all sorting, and leave this to XBMC as it surely will be more efficient. But the above will sort that out for now.


- seijmo - 2012-02-18

Angelscry Wrote:according to this web page (https://blogs.oracle.com/scblog/entry/mac_os_leopard_usr_bin) the path must be /usr/bin/open.

Thanks it works!


Version 1.7.8 - Angelscry - 2012-02-18

Version 1.7.8 : This new version of advanced launcher bring some minor modifications : fix python version error bring by version 1.7.7 (my mistake), fix a startupinfo bug and clean ComicVine data scraper code. Only noticeable modification if the add of the display sorting support for launchers and items. Thank you to Tria to remind me this lack and for the code.

Changelog:
  • Add launcher and item sort list support.
  • Fix python version to 2.0.
  • Fix startupinfo bug for none info.
  • Clean ComicVine data scraper.



Version 1.7.9 - Angelscry - 2012-02-19

Version 1.7.9 : The MAWS and miniMAWS MAME websites resources (hosted by MAMEWorld) are down since the end of December. So ,the related Advanced Launcher scrapers were not working since this date. This new version of Advanced Launcher replace MAMEWorld scrapers by new scraper form the arcadeHITS website. This news scrapers (info, thumbs and fanarts) works exactly the same way than the old MAMEWorld scrapers.

Image Image
Image Image

Changelog:
  • Replace MameWorld scraper by arcadeHITS scraper.



- Stephe - 2012-02-19

I followed the linux steps in this guide, but whenever I try to launch a game it says it's launching but never does anything more.


- bakito - 2012-02-19

well I'm bit ashamed but what is "launcher and item sort list support" exactly?
all I see since update is "onlive" going in the last position of my launcher list...is this a feature for some skin ...or what?BlushBlush


- Angelscry - 2012-02-19

Stephe Wrote:I followed the linux steps in this guide, but whenever I try to launch a game it says it's launching but never does anything more.
Seriously, we need more information to help you. If you want more help you need to give us a minimum information about your configuration :
  • Linux distribution name and version number
  • XBMC version number
  • Dolphin version number
  • Content of you launchers.xml file (use pastebin service to post here)
  • Also you can try to start XBMC from the terminal, try to start Dolphin from XBMC/advanced launcher and look and report here the error message displayed into the terminal window.



- Angelscry - 2012-02-19

bakito Wrote:well I'm bit ashamed but what is "launcher and item sort list support" exactly?
all I see since update is "onlive" going in the last position of my launcher list...is this a feature for some skin ...or what?BlushBlush
I did not thought it was necessary to explain it. This feature give you the opportunity to sort your launchers and items by name, date, genre and studio (if this infos exist) through the normal XBMC view options :

Image Image

It do not think this feature is restricted by the skin you are using...