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


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - finalmakerr - 2014-05-29

Hello everyone!

I have searched anywhere but can't find a solution to the following issue:
MAME's Roms doesn't generate/read/use cfg files while using Advanced Launcher. Using the command line does by the way.

I am using OpenElec 4.0.2, Advanced Launcher 2.5.2 and retroarch 3.2.4.2014-03-12.

Thank you for reading this :cheer:


R: RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Bazzu85 - 2014-05-29

(2014-05-23, 16:56)Angelscry Wrote:
(2014-05-23, 15:16)Bazzu85 Wrote: I angelscry, there are some kind of problems with comicvine scraper? For example for manga Fairy Tail #1 he found details but don't download thumbs..
I will take a look. Maybe something has been changed on the Comic Vine website, and the scrapper need to be updated.

(2014-05-23, 15:16)Bazzu85 Wrote: Another question..
Why if I name manga like this "Fairy tail #01" the scraper don't found anything? Is a issue about zero?
Yes, filenames must be as close as possible as than the title displayed into Comic Vine. Comic Vine search engine is really strict

News?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - GMan78 - 2014-05-30

Hi Angelscry, my humble gratitude for your most awesome Advanced Launcher add-on!

This is my first time attempt at using Advanced Launcher. Having challenges with "Script Failed" errors when attempting to run PC Games. I have looked extensively at the wiki, manual, forum and assorted tutorials, and as best as I can tell I'm properly configuring the tool.

XBMC 13.0
Windows 7 Ultimate 64 Bit
Advanced Launcher 2.52

Please see the following XBMC log in Pastebin: http://pastebin.com/C73U2GGJ

Thanks in advance for all, and let me know if you require anything further in assessing the error.

Best,

George


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-05-30

(2014-05-30, 04:17)GMan78 Wrote: Hi Angelscry, my humble gratitude for your most awesome Advanced Launcher add-on!

This is my first time attempt at using Advanced Launcher. Having challenges with "Script Failed" errors when attempting to run PC Games. I have looked extensively at the wiki, manual, forum and assorted tutorials, and as best as I can tell I'm properly configuring the tool.

XBMC 13.0
Windows 7 Ultimate 64 Bit
Advanced Launcher 2.52

Please see the following XBMC log in Pastebin: http://pastebin.com/C73U2GGJ

Thanks in advance for all, and let me know if you require anything further in assessing the error.

Best,

George
Seems that there is something wrong with your launcher configuration. Could you please post also the content of your launcher.xml file?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - GMan78 - 2014-05-30

Sure thing, thanks for the amazing response time!

http://pastebin.com/7EQnaqFa


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-05-30

(2014-05-30, 04:56)GMan78 Wrote: Sure thing, thanks for the amazing response time!

http://pastebin.com/7EQnaqFa
As you do not need to pass any argument into the started application (because you are using them as stand alone launcher), leave blank the arguments parameter (just delete the "%rom%" value).


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-05-30

(2014-05-29, 08:14)finalmakerr Wrote: Hello everyone!

I have searched anywhere but can't find a solution to the following issue:
MAME's Roms doesn't generate/read/use cfg files while using Advanced Launcher. Using the command line does by the way.

I am using OpenElec 4.0.2, Advanced Launcher 2.5.2 and retroarch 3.2.4.2014-03-12.

Thank you for reading this :cheer:
Where is installed mame on your system? Into /usr/bin ?

Does the roms, ini and cfg paths are set correctly into mame.ini path? Does the XBMC user have the rights to read"write into thoses directories?

Image


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - GMan78 - 2014-05-30

Thanks, but regrettably same result "Script Failed!".

Updated Launchers.xml: http://pastebin.com/dqu8ZWGc


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-05-30

(2014-05-30, 05:18)Angelscry Wrote:
(2014-05-29, 08:14)finalmakerr Wrote: Hello everyone!

I have searched anywhere but can't find a solution to the following issue:
MAME's Roms doesn't generate/read/use cfg files while using Advanced Launcher. Using the command line does by the way.

I am using OpenElec 4.0.2, Advanced Launcher 2.5.2 and retroarch 3.2.4.2014-03-12.

Thank you for reading this :cheer:
Where is installed mame on your system? Into /usr/bin ?

Does the roms, ini and cfg paths are set correctly into mame.ini path? Does the XBMC user have the rights to read"write into thoses directories?

Image
It could be also possible that MAME is not able to found the mame.ini file at startup and so it is not able the get all the right paths to work properly.
You can try to start MAME using the -inipath "~/.mame/ini" argument depending where is located the default mame.ini.

So your launcher argument could be : -inipath "~/.mame/ini" "%rom%"


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - GMan78 - 2014-05-30

Quote:GMan78 Wrote:
Hi Angelscry, my humble gratitude for your most awesome Advanced Launcher add-on!

This is my first time attempt at using Advanced Launcher. Having challenges with "Script Failed" errors when attempting to run PC Games. I have looked extensively at the wiki, manual, forum and assorted tutorials, and as best as I can tell I'm properly configuring the tool.

XBMC 13.0
Windows 7 Ultimate 64 Bit
Advanced Launcher 2.52

Please see the following XBMC log in Pastebin: http://pastebin.com/C73U2GGJ

Thanks in advance for all, and let me know if you require anything further in assessing the error.

Best,

George

Quote:Angelscry Wrote: Seems that there is something wrong with your launcher configuration. Could you please post also the content of your launcher.xml file?

Quote:
Quote:Angelscry Wrote: As you do not need to pass any argument into the started application (because you are using them as stand alone launcher), leave blank the arguments parameter (just delete the "%rom%" value).

Quote:GMan78 Wrote: Thanks, but regrettably same result "Script Failed!".

Updated Launchers.xml: http://pastebin.com/dqu8ZWGc
OK, I think I'm on to something. Interestingly, I experimented with Windows Calculator (calc.exe) instead of one of the games.

If I create a new launcher for calc.exe from "C:\WINDOWS\SYSTEM32\CALC.EXE" (WORKS!) Smile
If I create a new launcher for calc.exe from "D:\XBMCPREP\GAMES\CALC.EXE" ("SCRIPT FAILED!") Sad

Note that my games are all installed on my "D" drive. If I go into Windows Explorer and launch any of my game executables directly from their D: install directory they launch fine.

Hope this helps you to see a solution for me.

Thanks!

George


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - twiseva - 2014-05-31

(2014-05-21, 04:54)Angelscry Wrote:
(2014-05-21, 04:35)twiseva Wrote: So I just switched from Eden to Gotham and also from NOX to AEON MQ5. I am having this exact same issue. I have no resolution but have tried:

- confluence, nox, aeon me - all have this issue.
- tried various options in adv launcher - toggle to window, show batch. None help.
- have the XBMc window minimized, start external app manually. All is good.
- have XBMC in a window without focus start external app manually. All is well.

It worked fine with the exact same OS and external apps in previous version of XBMc and Advanced launcher.

This also is windows 7.

Not too sure where to go from here. Ideas? Might disable all addons to see if there are conflicts. Mike, did you get this fully resolved?

(2013-11-22, 02:47)mike351 Wrote: Now I have run in to another issue. When the app I am launching runs, after it connects (its an app that connects to a bluetooth device) to the device, it flicks in to full screen mode, and i'm back with the issue of XBMC not continuing on to the next song(s).

While it waits for the connection to establish, it runs in a small window, and the songs will play as they should, so I need to work out how to stop the app from going full screen I guess.

This is driving me nuts!

Mike
Do you have the same probleme if you use the "fullscreen window" rather than "true fullscreen" option that is present into XBMC video settings?

So I was running in fullscreen windows all the time -- tried an actual window and didn't see any change (still did not work). A few other things about teh external application (just in case they matter):
- Using autoit to execute.
- Using LaunchXBMC as a shell and it has been set NOT to give XBMC focus when launching this external app.
- App it launches via a favorite in a sub-menu of the main XBMC pages.

I do see errors in the log as follows (this is a successful launch of an external slideshow which continues playing the existing song then stops at the end). It almost seems as if the player is trying to run the launcher as the next song perhaps?

11:05:23 T:7840 NOTICE: Thread LanguageInvoker start, auto delete: false
11:05:23 T:7840 NOTICE: -->Python Interpreter Initialized<--
11:05:23 T:7840 NOTICE: AdvancedLauncher: Load launchers.xml file
11:05:23 T:7840 NOTICE: AdvancedLauncher: Initialisation
11:09:36 T:6360 NOTICE: Thread JobWorker start, auto delete: true
11:28:16 T:6644 NOTICE: Previous line repeats 1 times.
11:28:16 T:6644 ERROR: XBMC.PlayMedia could not play media: plugin://plugin.program.advanced.launcher/?70d8a32560ab0adcedb348a0fcd829ba/77529a6a01e1bfff5bc0a2796742557e
11:28:22 T:3524 NOTICE: Thread JobWorker start, auto delete: true
11:28:43 T:7660 NOTICE: Previous line repeats 3 times.
11:28:43 T:7660 NOTICE: Thread Timer start, auto delete: false
11:28:56 T:6792 NOTICE: Thread LanguageInvoker start, auto delete: false
11:28:56 T:6792 NOTICE: Previous line repeats 4 times.
11:28:56 T:6792 NOTICE: -->Python Interpreter Initialized<--
11:28:56 T:3684 NOTICE: -->Python Interpreter Initialized<--
11:28:56 T:2352 NOTICE: -->Python Interpreter Initialized<--
11:28:56 T:1768 NOTICE: -->Python Interpreter Initialized<--
11:28:56 T:6688 NOTICE: -->Python Interpreter Initialized<--
11:29:06 T:708 NOTICE: Thread FileCache start, auto delete: false
11:29:07 T:6176 NOTICE: Thread PAPlayer start, auto delete: false
11:29:07 T:3524 ERROR: XFILE::CDirectory::GetDirectory - Error getting smb://HTPC/Music/Elton John/Greatest Hits (Volume II)/extrafanart/
11:29:14 T:1384 NOTICE: Thread LanguageInvoker start, auto delete: false
11:29:15 T:1384 NOTICE: -->Python Interpreter Initialized<--
11:29:15 T:1384 NOTICE: AdvancedLauncher: Load launchers.xml file
11:29:15 T:1384 NOTICE: AdvancedLauncher: Initialisation
11:32:50 T:1280 NOTICE: Thread JobWorker start, auto delete: true
11:33:25 T:6644 ERROR: XBMC.PlayMedia could not play media: plugin://plugin.program.advanced.launcher/?70d8a32560ab0adcedb348a0fcd829ba/77529a6a01e1bfff5bc0a2796742557e
11:34:17 T:3300 NOTICE: Thread JobWorker start, auto delete: true
11:34:17 T:6620 NOTICE: Thread LanguageInvoker start, auto delete: false
11:34:17 T:6620 NOTICE: -->Python Interpreter Initialized<--

Any hints or ideas are most appreciated. I'll also keep at it as I have time.

Cheers, Tony.

P.S. Lifesaver application -- helps integrate media XBMC can not handle too well.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - twiseva - 2014-05-31

(2014-05-31, 17:41)twiseva Wrote:
(2014-05-21, 04:54)Angelscry Wrote:
(2014-05-21, 04:35)twiseva Wrote: So I just switched from Eden to Gotham and also from NOX to AEON MQ5. I am having this exact same issue. I have no resolution but have tried:

- confluence, nox, aeon me - all have this issue.
- tried various options in adv launcher - toggle to window, show batch. None help.
- have the XBMc window minimized, start external app manually. All is good.
- have XBMC in a window without focus start external app manually. All is well.

It worked fine with the exact same OS and external apps in previous version of XBMc and Advanced launcher.

This also is windows 7.

Not too sure where to go from here. Ideas? Might disable all addons to see if there are conflicts. Mike, did you get this fully resolved?
Do you have the same problem if you use the "fullscreen window" rather than "true fullscreen" option that is present into XBMC video settings?

So I was running in fullscreen windows all the time -- tried an actual window and didn't see any change (still did not work). A few other things about teh external application (just in case they matter):
- Using autoit to execute.
- Using LaunchXBMC as a shell and it has been set NOT to give XBMC focus when launching this external app.
- App it launches via a favorite in a sub-menu of the main XBMC pages.

So quick update on progress -- it seems to work FINE when launching from within Advanced Launcher rather than from sub-menu of Main Menus (via a favorites shortcut). I'll dig deeper into the XML to see what's up.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - twiseva - 2014-05-31

(2014-05-31, 17:56)twiseva Wrote:
(2014-05-31, 17:41)twiseva Wrote:
(2014-05-21, 04:54)Angelscry Wrote: Do you have the same problem if you use the "fullscreen window" rather than "true fullscreen" option that is present into XBMC video settings?

So I was running in fullscreen windows all the time -- tried an actual window and didn't see any change (still did not work). A few other things about teh external application (just in case they matter):
- Using autoit to execute.
- Using LaunchXBMC as a shell and it has been set NOT to give XBMC focus when launching this external app.
- App it launches via a favorite in a sub-menu of the main XBMC pages.

So quick update on progress -- it seems to work FINE when launching from within Advanced Launcher rather than from sub-menu of Main Menus (via a favorites shortcut). I'll dig deeper into the XML to see what's up.

SOLVED! So the issue was basically teh skins when you add a favorite as a sub menu use the 'PlayMedia' builtin. If you change this in the XML to 'PlayPlugin' this fixes this issue. See below for changes I made in guisettings.xml.

BEFORE (Stopping after 1 song):

<setting type="string" name="skin.aeonmq5.menu0902.path">PlayMedia(&quot;plugin://plugin.program.advanced.launcher/?70d8a32560ab0adcedb348a0fcd829ba/77529a6a01e1bfff5bc0a2796742557e&quot;,return)</setting>

AFTER (Keeps playing songs):

<setting type="string" name="skin.aeonmq5.menu0902.path">RunPlugin(&quot;plugin://plugin.program.advanced.launcher/?70d8a32560ab0adcedb348a0fcd829ba/77529a6a01e1bfff5bc0a2796742557e&quot;,return)</setting>

Thanks for the help -- hope this helps others. NOt sure what the old NOX did in Eden but this same approach worked there fine.

Cheers, Tony.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-06-01

The problem is that XBMC only manage media by default. So when you have an item (that is not a folder), the favourite script automatically identify it as a media and so use the PlayMedia() fonction as default. It is not a skin problem but a favourite script problem.

(2014-05-30, 15:27)GMan78 Wrote: Note that my games are all installed on my "D" drive. If I go into Windows Explorer and launch any of my game executables directly from their D: install directory they launch fine.
They are real installs on D: drive or you just copy/paste form C: drive to D: drive. Because the error is due to the fact that because the executable files are not located into the dedicated windows folders (Program Files, Programs, etc...), they are not recognized as an authorized windows application and so cannot properly been started form python using the popen function. This problem do not appear for windows version prior to version 7.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - GMan78 - 2014-06-01

(2014-06-01, 06:16)Angelscry Wrote: The problem is that XBMC only manage media by default. So when you have an item (that is not a folder), the favourite script automatically identify it as a media and so use the PlayMedia() fonction as default. It is not a skin problem but a favourite script problem.

(2014-05-30, 15:27)GMan78 Wrote: Note that my games are all installed on my "D" drive. If I go into Windows Explorer and launch any of my game executables directly from their D: install directory they launch fine.
They are real installs on D: drive or you just copy/paste form C: drive to D: drive. Because the error is due to the fact that because the executable files are not located into the dedicated windows folders (Program Files, Programs, etc...), they are not recognized as an authorized windows application and so cannot properly been started form python using the popen function. This problem do not appear for windows version prior to version 7.

Thanks for the reply.

Hmmm....I did not copy the files...when I ran the install program for the games it asked me where I wanted them installed and I provided the "D:\XBMCPREP\GAMES" directory. Does that mean that under Windows 7, in order for my games to work with Advanced Launcher I must install them into the C:\Program Files (x86) directory? That will require some restructuring of my storage system but is possible.

Best,

George