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


- smithr99 - 2010-12-06

Angelscry Wrote:What is the main advantage to use a mysql database instead of an xml file? Speed ? Because my experience with the musics and videos database under XBMC is that you cannot modify them easily. A xml file you just have to open it with a text editor to modify/fix it.

certainly speed (advanced launcher seems to slow down somewhat when using 1000+ roms) , but also the ability to share a rom list with multiple xbmc's


- jpreville - 2010-12-07

Hey AngelsCry,

Getting this error... constantly through scanning mame games..

Quote:17:29:22 T:139876926211856 M:3519746048 NOTICE: Star Castle
17:29:22 T:139876926211856 M:3519746048 NOTICE: Star Castle
17:29:24 T:139876926211856 M:3519528960 ERROR: dll_fstat64 emulated function failed
17:29:24 T:139876926211856 M:3519528960 WARNING: dll_setvbuf - May not be implemented correctly
17:29:24 T:139876926211856 M:3519528960 ERROR: dll_fstat64 emulated function failed
17:29:24 T:139876926211856 M:3519528960 WARNING: dll_setvbuf - May not be implemented correctly
17:29:24 T:139876926211856 M:3519528960 ERROR: dll_fstat64 emulated function failed
17:29:24 T:139876926211856 M:3519528960 WARNING: dll_setvbuf - May not be implemented correctly
17:29:24 T:139876926211856 M:3519528960 ERROR: dll_fstat64 emulated function failed
17:29:24 T:139876926211856 M:3519520768 ERROR: Error Type: exceptions.IndexError
17:29:24 T:139876926211856 M:3519520768 ERROR: Error Contents: list index out of range
17:29:24 T:139876926211856 M:3519623168 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 171, in __init__
self._import_roms(launcher)
File "/home/john/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 924, in _import_roms
romname = self._test_mame_name(selectedLauncher["application"],f[:-len(ext)-1])
File "/home/john/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/emulators.py", line 39, in _test_mame_name
romname = re.sub(' \(.*?\)', '', name[0])
IndexError: list index out of range

Quote:<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<launchers>
<launcher>
<name>Arcade</name>
<application>/usr/games/mame</application>
<args>-skip_gameinfo -nowindow</args>
<rompath>/home/john/emulators/mame/roms/</rompath>
<thumbpath>/home/john/emulators/mame/thumbs/</thumbpath>
<fanartpath>/home/john/emulators/mame/fanart/</fanartpath>
<romext>zip</romext>
<platform>Arcade</platform>
<thumb></thumb>
<fanart></fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<launcherplot></launcherplot>
<wait>true</wait>
<roms>
</roms>
</launcher>
</launchers>

here's my launcher. i decided to start from scratch.


John


- Angelscry - 2010-12-07

@Pinhead, jpreville
Ok, I have made some test last night under windows and I do not encounter error using mame and the advanced launcher (I hate when it happen...). I think now that the error is not due to the -listfull command line that are not working but due to some roms that not return "standard" game title with this command. We just have to found which one. I think both of you have more MAME roms than me. So could please try to replace your plugin.program.advanced.launcher/resources/lib/emulators.py fby this one : http://pastebin.com/raw.php?i=0yq5MAqA

It will bypass the script error returning a "Mame Test" line into the XBMC log file indicating if the game title have been found correctly like below:

Code:
06:48:06 T:139995576366864 M:3528945664   ERROR: dll_fstat64 emulated function failed
06:48:08 T:139995576366864 M:3528876032  NOTICE: MAME Test : ddsom -> Ok
06:48:08 T:139995576366864 M:3528876032  NOTICE: Dungeons & Dragons: Shadow over Mystara
06:48:08 T:139995576366864 M:3528876032  NOTICE: Dungeons & Dragons: Shadow over Mystara
06:48:10 T:139995576366864 M:3528241152   ERROR: dll_fstat64 emulated function failed
06:48:10 T:139995576366864 M:3528241152 WARNING: dll_setvbuf - May not be implemented correctly
06:48:10 T:139995576366864 M:3528241152   ERROR: dll_fstat64 emulated function failed
06:48:10 T:139995576366864 M:3528241152 WARNING: dll_setvbuf - May not be implemented correctly
06:48:10 T:139995576366864 M:3528241152   ERROR: dll_fstat64 emulated function failed
06:48:10 T:139995576366864 M:3528114176 WARNING: dll_setvbuf - May not be implemented correctly
06:48:10 T:139995576366864 M:3528114176   ERROR: dll_fstat64 emulated function failed
06:48:10 T:139995576366864 M:3528232960  NOTICE: MAME Test : sfa2 -> Ok
06:48:10 T:139995576366864 M:3528232960  NOTICE: Street Fighter Alpha 2
06:48:10 T:139995576366864 M:3528232960  NOTICE: Street Fighter Alpha 2
06:48:13 T:139995576366864 M:3529129984   ERROR: dll_fstat64 emulated function failed
Could you please try it on your MAME roms collection and just give me the filename of the roms that not returning a positive test. Thank you very much.

Pinhead Wrote:Aw, too bad. Still, I really appreciate you taking the time to implement this so early on. I've had my fingers crossed for this feature. Thanks for the work you're putting in to the AddOn! Nod
I think that it is important that this functionality has to be implemented into the advanced launcher before to add the all automicatic scraping (data+thumbs+fanarts) option.


- Angelscry - 2010-12-07

smithr99 Wrote:certainly speed (advanced launcher seems to slow down somewhat when using 1000+ roms) , but also the ability to share a rom list with multiple xbmc's
Ok I will add it to my TODOList. But using a database instead of a XML file mean a deep rewrite of the advanced launcher code. Prior to add this functionality I need to found a way to add the possibility to edit the rom and launcher plot directly from XBMC. Because, if we will use a database we will not have anymore the possibility to edit this tag/data.


- Pinhead - 2010-12-07

Here is a dump of the log file, after replacing the emulators.py.

http://pastebin.com/tHbXmtpX

I hope that helps. Tell me if I did something wrong.

And one thing, it might just be me, but I cant figure out how to remove launchers Ive added. Has the "'remove launcher" button disappeared?


- Revol - 2010-12-07

mandark Wrote:users of the advanced launcher might be interested in my views for the Xperience-Skin. the modification and screenshots can be found here.

Damn, that is beautiful. Has anybody done a skin hack for Confluence?


- Eldorado - 2010-12-08

Does the launcher support filenames and paths with spaces?

Doing some testing here and it appears not, trying with Nestopia and Project64

Try to launch a ROM with a space in it I get file not found errors, try one without a space and no problem

Are the quotes not being applied to the ROM name/path?


- jpreville - 2010-12-08

@ AngelsCry processing my Mame roms right now.. will post to pastbin when its done..

@Pinhead are you running ubuntu 64 bit?

@Pinhead never mind just read your log vista 64


- Angelscry - 2010-12-08

Pinhead Wrote:Here is a dump of the log file, after replacing the emulators.py.

http://pastebin.com/tHbXmtpX

I hope that helps. Tell me if I did something wrong.
No. I think you have done all right. It is just that the launcher is not able to get the returned result of the -listfull MAME command line. I have made a try with one of a same rom as you but it was working on my side :
Code:
21:55:28 T:139751724451600 M:3440156672   ERROR: dll_fstat64 emulated function failed
21:55:28 T:139751724451600 M:3440156672 WARNING: dll_setvbuf - May not be implemented correctly
21:55:28 T:139751724451600 M:3440156672   ERROR: dll_fstat64 emulated function failed
21:55:28 T:139751724451600 M:3440156672 WARNING: dll_setvbuf - May not be implemented correctly
21:55:28 T:139751724451600 M:3440156672   ERROR: dll_fstat64 emulated function failed
21:55:28 T:139751724451600 M:3440156672 WARNING: dll_setvbuf - May not be implemented correctly
21:55:28 T:139751724451600 M:3440156672   ERROR: dll_fstat64 emulated function failed
21:55:29 T:139751724451600 M:3439063040  NOTICE: MAME Test : mslug -> Ok
21:55:29 T:139751724451600 M:3439063040  NOTICE: Metal Slug - Super Vehicle-001
21:55:29 T:139751724451600 M:3439063040  NOTICE: Metal Slug - Super Vehicle-001
Hmmmmmm.... I think we miss something. Huh So... we re-start form bases.... Which version of XBMC and MAME are you using ?

Pinhead Wrote:And one thing, it might just be me, but I cant figure out how to remove launchers Ive added. Has the "'remove launcher" button disappeared?
No... the remove option still here Huh Huh

Image


- Jurai - 2010-12-08

I know some people dislike that snes9x has no 'push escape to exit' functionality for using with xbmc, so I've recompiled it to exit on escape. It's built off the snes9x-rr 1.52 source. get it here, hope it helps some people:

http://www.bombsomedodongos.com/snes9x_svn190_esc.zip


- Angelscry - 2010-12-08

Eldorado Wrote:Does the launcher support filenames and paths with spaces?

Doing some testing here and it appears not, trying with Nestopia and Project64

Try to launch a ROM with a space in it I get file not found errors, try one without a space and no problem

Are the quotes not being applied to the ROM name/path?
Yes, the Advanced Launcher support filenames and paths with spaces. But I'm not sure Nestopia and Project64 support them.


- Robert de Clair - 2010-12-08

When im changing source of thumbs to google - i cannot run launcher - there is "ding" info about error and nothing happens.

Dharma RC2 and latest ALA from your repo.
Is there need of remove old configs before upgrade to latest version? i miss some previous versions of ALA

Another thing - after adding of cover/thumb a ALA comes back to first position so i must again go through hundreds of titles to next one who i wish upgrade to covered. is there possibility to make it just as it is in game run? ALA just remember which title i was launched and after i close emu ALA is still on this title. that could be great for adding thumbs.

Other kind of option is "jump to next without cover" and "jump to next without fan/screen" it should speed up completing infos/covers/screens for emus


@Jurai

Thanks for upgrade my fav emu Wink
For windows there are few other methods to do this. I just bind ALT+F4 combo for my ON/OFF button on remote and there are no problem with clkosing any app Wink even if i wish to close XBMC
Other metod is using kind of Autohotkey and bind kill process action for few process who we are using (but killing process is less gently and may cause app asking for crash reason or something i.e. atari emulator after killing process - next time starting in safe mode). So at now for my every emu best method is Binded Alt+F4 to one key on keyboard/remote or even joypad
Autohotkey app could bind ALT+F4 even for joypad so you can exit from emu and choose anther game without remote, just by joy who you using. Im using Logitech Dinovo Mini keyboard and tere are no F1-F12 keys so Autohotkey is absolutelly needed for me Smile i can send you script for autohotkey with example killing and runing apps


- Pinhead - 2010-12-08

I am using XBMC RC2 and Mame 140.

I tested my copy of Mame by creating a shortcut to the app and adding a "-listfull" argument. When running the shortcut the terminal pops up and prints a list of games. I other words, listfull works as an argument with my version of Mame.

Also, regarding the "remove" button; proof that Im not going crazy:

Image


EDIT: I just ran mame.exe in the command line, adding "-listfull mslug". It returned: mslug "Metal Slug - Super Vehicle-001". So mame does return full game titles using listfull.


- falafael - 2010-12-08

is there a simpletons manual for this plugin, i really am bit stuck on this plugin, would love to get it how pinheads got it, i have a stack of roms, but am just a bit lost with this plugin....Thanks!


- Angelscry - 2010-12-08

Robert de Clair Wrote:When im changing source of thumbs to google - i cannot run launcher - there is "ding" info about error and nothing happens.
It it strange that it is only occur when changing thumbs using Google!!! It is for stand alone launcher or roms? Could you post here your XMBC crash log, your launchers.xml file and the name of the rom you have problem with?

Robert de Clair Wrote:Dharma RC2 and latest ALA from your repo.
Is there need of remove old configs before upgrade to latest version? i miss some previous versions of ALA
If you are using sland-alone launcher, because I have added thumbs and fanarts scrap for them. You will have to delete and recreate them. Because last version ask now for as fanart and a thumbs path to know where to save those images when scraping them.

Robert de Clair Wrote:Another thing - after adding of cover/thumb a ALA comes back to first position so i must again go through hundreds of titles to next one who i wish upgrade to covered. is there possibility to make it just as it is in game run? ALA just remember which title i was launched and after i close emu ALA is still on this title. that could be great for adding thumbs.
It will not be possible. Because when adding or changing a thumbs or a fanarts, to see the change instantaneously, we must refresh all the XBMC thumbs cache. That's why it go back to the top of the game list.

Robert de Clair Wrote:Other kind of option is "jump to next without cover" and "jump to next without fan/screen" it should speed up completing infos/covers/screens for emus
No I will not add this option. Not because it will not be useful, but because the actual version of the Advanced Launcher is not finished. When the autoscraping option will be added for thumbs and fanarts, you will just use the manual option to correct mistakes. So I'm not sure that a go to "previous/go to next" option will be necessary. I'm also limited to the number of option that could be displayed.