Kodi Community Forum

Full Version: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(2013-07-08, 17:49)n1md4 Wrote: [ -> ]Okay, I trust your judgement on this one, it's your add-on after all Smile and will have another go using your suggestions.

Thanks very much for the help!
With your solution, you will have to edit Advanced Launcher code every time a new version of Advanced Launcher will be released. That's not really convenient. Other solution are more permanent. Wink
Hi just a quick question has anyone been able to launch mupen64plus with advanced launcher on OSX? The command line is really bugging me out. Any preference for sixtyforce over mupen64plus here for playing n64 roms on mac?
(2013-07-06, 16:21)Angelscry Wrote: [ -> ]
(2013-07-04, 08:22)lokipoki Wrote: [ -> ]
(2013-07-04, 04:24)Angelscry Wrote: [ -> ]When Advanced Launcher .lnk support is activated, .lnk files are started by explorer.exe. So in your case, lnk file are effectively started (by explorer.exe) but test.exe is not started. When Advanced Launcher .lnk support is desactivated, .lnk files are started by the application defined into the launcher. So in your case, test.exe is started, but not the .lnk files (because your test.exe executable have nothing inside its code to manage and start .lnk files).

Remember that .lnk files ARE NOT executables. .lnk files are shortcuts managed by explorer.exe to redirect to another executable fand start it.

To make you test.exe file working it must manage .lnk files paths as argument and be able to start these lnk. files. According to this page, the way to start .lnk files using autoit is :

Code:
Run(@ComSpec & " /c " & '"C:\Documents and Settings\All Users\Menu Démarrer\Programmes\Microsoft AntiSpyware\Uninstall Microsoft AntiSpyware.lnk"', "", @SW_HIDE)

So to work with Advanced Launcher, your script must be something like this :

Code:
Run(@ComSpec & " /c " & '"' & $CmdLine[1] & '"', "", @SW_HIDE)

And your launcher configuration must be like this :

Application : D:\HTPC\Games\PC\Test.exe
Arguments : "%rom%"
File Extension : lnk
.lnk support : OFF

Ok. I tried exactly that. But when select a game nothing happens Confused
I have taken time to test it on my Windows system this morning and all the last information I have send you are working perfectly on my system. Are you sure you have compiled your autoit script correctly?

Hey. I just made a completely new launcher with all those settings. And its working !!! I dont see anything I did different than before. But thanks I really appreciate your time and afford. Now Im setting up the fanart + rotating disc just like I did with pcsx2. I get back to you if need help with that Wink

Cheers.
I was advised to post this here as well.

I currently have a custom favorite on the main menu screen that links directly into my emulators in the advanced launcher. 99% of the time, when I hit the "BACKSPACE" key to back out to the main menu, it goes directly there from my custom favorites menu.

However, here is where the problems comes the other 1%...

Occasionally, when I hit the "BACKSPACE" key to back out, instead of going up to the main menu, it backs out to the "DEFAULT" category menu of the Add-On. Then, if I hit back again, it goes up to the Add-Ons menu. Then, after hitting it the third time, if finally goes back out to the main menu. This is extremely problematic in trying to run my XBMC in full "Kiosk" mode so users don't get confused and start having to figure out menus.

I'd like to essentially have a two menu system: main menu > emulators (via the custom favorite) and then back out in the same way from the emulators > main menu without going in-between to the add-ons menu.

Any thoughts in what causes this or how to restrict it? I'd be willing to edit XML files if needed.
(2013-07-08, 13:48)styx06 Wrote: [ -> ]
(2013-07-08, 12:58)n1md4 Wrote: [ -> ]I had considered this, but if I'm going to run an OB session every time I launch an external app, it may as well be hard-coded. Also, how are arguments passed using this method?

See this guide for your anwer: http://dragly.org/2012/04/11/launching-a...untu-eden/

Thanks, only just seen this reply. I'm reading it now. Hopefully get this sorted Smile
Not working..

Here's my launcher:-

Application: /path/to/script
Arguments: /path/to/application "%rom%"

Here's the script:-

Code:
#!/bin/bash

openbox &
$1
killall -9 openbox

Here's the debug log:-

Code:
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840  NOTICE: Thread XBPython start, auto delete: false
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840  NOTICE: -->Python Interpreter Initialized<--
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840  NOTICE: [plugin.program.advanced.launcher] Initialisation
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2606435136  NOTICE: Thread BackgroundLoader start, auto delete: false
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: Thread XBPython start, auto delete: false
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: -->Python Interpreter Initialized<--
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: [plugin.program.advanced.launcher] Initialisation
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 WARNING: Attempt to use invalid handle -1
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 WARNING: Previous line repeats 4 times.
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: [plugin.program.advanced.launcher] application : /home/xbmc/build/scripts/qcomic_openbox
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: [plugin.program.advanced.launcher] arguments : /usr/bin/qcomicbook "/home/xbmc/literature/comics/Age of Apocalypse/Age of Apocalypse #10.cbr"
(2013-07-09, 23:55)n1md4 Wrote: [ -> ]Not working..

Here's my launcher:-

Application: /path/to/script
Arguments: /path/to/application "%rom%"

Here's the script:-

Code:
#!/bin/bash

openbox &
$1
killall -9 openbox

Here's the debug log:-

Code:
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840  NOTICE: Thread XBPython start, auto delete: false
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840  NOTICE: -->Python Interpreter Initialized<--
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840  NOTICE: [plugin.program.advanced.launcher] Initialisation
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2606435136  NOTICE: Thread BackgroundLoader start, auto delete: false
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: Thread XBPython start, auto delete: false
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: -->Python Interpreter Initialized<--
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: [plugin.program.advanced.launcher] Initialisation
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 WARNING: Attempt to use invalid handle -1
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 WARNING: Previous line repeats 4 times.
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: [plugin.program.advanced.launcher] application : /home/xbmc/build/scripts/qcomic_openbox
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: [plugin.program.advanced.launcher] arguments : /usr/bin/qcomicbook "/home/xbmc/literature/comics/Age of Apocalypse/Age of Apocalypse #10.cbr"
Your script is wrong. You are actually passing 2 arguments using Advanced Launcher : /path/to/application and "%rom%". So your script must manage 2 arguments and must be :

Code:
#!/bin/bash
openbox &
"$1" $2
killall -9 openbox

(2013-07-09, 23:12)xbmcmod101 Wrote: [ -> ]I was advised to post this here as well.

I currently have a custom favorite on the main menu screen that links directly into my emulators in the advanced launcher. 99% of the time, when I hit the "BACKSPACE" key to back out to the main menu, it goes directly there from my custom favorites menu.

However, here is where the problems comes the other 1%...

Occasionally, when I hit the "BACKSPACE" key to back out, instead of going up to the main menu, it backs out to the "DEFAULT" category menu of the Add-On. Then, if I hit back again, it goes up to the Add-Ons menu. Then, after hitting it the third time, if finally goes back out to the main menu. This is extremely problematic in trying to run my XBMC in full "Kiosk" mode so users don't get confused and start having to figure out menus.

I'd like to essentially have a two menu system: main menu > emulators (via the custom favorite) and then back out in the same way from the emulators > main menu without going in-between to the add-ons menu.

Any thoughts in what causes this or how to restrict it? I'd be willing to edit XML files if needed.
I'm not able to reproduce your problem on my system. BTW, Advanced Launcher use XBMC built-in functions and skin display for the folders/items navigation. Advanced launcher do not have any control on the "BACKSPACE" key action. So, if the navigation do not works 1% of the time, that's mostly related to the skin you are using or to XBMC itself.

Also, If you always use the "BACKSPACE" key to go to the home menu, map it to "HOME" and not to "BACK".
(2013-07-10, 00:14)Angelscry Wrote: [ -> ]Your script is wrong. You are actually passing 2 arguments using Advanced Launcher : /path/to/application and "%rom%". So your script must manage 2 arguments and must be :

Code:
#!/bin/bash
openbox &
"$1" $2
killall -9 openbox

It made no difference. I also tried $* as suggested in a previous post.



...but "$*" did. This is way to buggy though, so will look to have OpenBox running permanently in the background .... /me grumbles .. can't believe how impossible this seems to be.
(2013-07-10, 00:27)n1md4 Wrote: [ -> ]...but "$*" did. This is way to buggy though, so will look to have OpenBox running permanently in the background .... /me grumbles .. can't believe how impossible this seems to be.
You made the wrong choice at start. Advanced Launcher start the desktop applications as you ask it. The problem is that your operating system cannot renderer the desktop application correctly. You could effectively try to use scripts/patches/mods to hope to reach a similar result, but nothing will be better than an operating system with a light dektop/windows manager.

Want to make a quick try. Install for example the Manjaro Openbox Edition on your system. Remove unecessary stuff (conky, tint2, put a black wallpaper). Setup slim to auto login at boot and finally tell openbox to autostart XBMC on launch. Then you will have a fast, light and fully fonctionnal HTPC system based on stabilized Archlinux rolling release.
(2013-07-10, 03:32)Angelscry Wrote: [ -> ]..Then you will have a fast, light and fully fonctionnal HTPC system based on stabilized Archlinux rolling release.

Stablised? Have you used Arch before! Wink

I think I'll use this as an excuse to rebuild XBMC on SSD, on top of a window manager..
(2013-07-10, 12:16)n1md4 Wrote: [ -> ]
(2013-07-10, 03:32)Angelscry Wrote: [ -> ]..Then you will have a fast, light and fully fonctionnal HTPC system based on stabilized Archlinux rolling release.

Stablised? Have you used Arch before! Wink

I think I'll use this as an excuse to rebuild XBMC on SSD, on top of a window manager..
Yes I was using it during 2-3 years. Avorted updates because missing dependencies was relatively current. Manjaro, with a 1-2 week decay on update releases is more stable.
Can anyone help, i've just set up the nes emulator in advanced launcher and now need to add the thumbs but i have a full set of 3d boxart. Is there a way to auto scan these in other than adding them one by one as that would take me forever.
(2013-07-10, 21:57)voyagerxp Wrote: [ -> ]Can anyone help, i've just set up the nes emulator in advanced launcher and now need to add the thumbs but i have a full set of 3d boxart. Is there a way to auto scan these in other than adding them one by one as that would take me forever.
So... I suppose that thumbs and roms are into separate folders. If it is the case, thumbs must have same filename than the rom files (ex. legend_of_zelda.jpg for legend_of_zelda.zip). When you will setup your NES launcher (files launcher), you will be asked to select the folder where will be localized the thumbs. Select the folder containing the set of 3d boxarts. Then, you will have to go into Advanced Launcher settings > Thumbs menu > and set "Collecting Method" to "Locale images". By doing this, when you will perform a "Scan for New Items" Advanced launcher will automatically search into the thumbs folder an image with the same filename as the roms file and will attribute this image to the item. http://www.youtube.com/watch?v=Cy5J9Kmenb4
(2013-07-10, 00:14)Angelscry Wrote: [ -> ]I'm not able to reproduce your problem on my system. BTW, Advanced Launcher use XBMC built-in functions and skin display for the folders/items navigation. Advanced launcher do not have any control on the "BACKSPACE" key action. So, if the navigation do not works 1% of the time, that's mostly related to the skin you are using or to XBMC itself.

Also, If you always use the "BACKSPACE" key to go to the home menu, map it to "HOME" and not to "BACK".

Thanks for looking into this issue. I really appreciate the help.

It's very hit or miss for me as well. However, I found one sure fire way to recreate it 100% of the time. We have established there are three levels to my setup: 1st is the title screen, 2nd is the emulator select screen and 3rd is the ROM or game select screen. If your on the lowest level 3 and hit back it goes up to the 2nd level, as it should. However if your on the 3rd level and hit ESC it jumps up to the first level (title screen). Now, from here if you were to navigate BACK DOWN to the 3rd level (game select screen) and THEN hit back, it does not go back up to the 2nd level as normal. This is where it dumps you in to the Add-Ons menu. Is it possible to restrict this action here?
Hey!

When I'm in XBMC, and through AdvancedLauncher, trying to open a game with my .bat config, which looks like this:

Code:
pssuspend XBMC.exe
cd "C:\Program Files (x86)\Emulator\RetroArch"
"C:\Program Files (x86)\Emulator\RetroArch\retroarch.exe" -f -D -L snes9x_next_libretro_x86_64_20130629.dll %1
pssuspend -r XBMC.exe

But when I do this, XBMC crashes, and is not responding. RetroArch and the game seems to be running fine in the background though.
I've got the pssuspend.exe in the same folder as where the retroarch.exe is located.


What am I doing wrong?
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