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 - 2011-09-06

phear Wrote:I am using night purity just now
Here is the post where KiSUAN describes Advanced Launcher trailer support into Night Purity skin : http://forum.xbmc.org/showpost.php?p=730525&postcount=160. To be honest, I did not found the time yet to test it. I think the best way for you is to directly ask to KiSUAN how trailers are supported.


- phear - 2011-09-06

Yeah thanks Angelscry. Once I get an answer back I will write a quick tut on it.
Thanks again for your super speedy replies


- Deano316 - 2011-09-06

Angelscry Wrote:That's not a really easy thing to do. It is mostly related, firstly, to the power of your computer to start an application and secondly to the time an application takes to focus into fullscreen windows. That's not really constant or parameters we can control easily.

I think, it might be possible to use AutoIt to make a transition screen script :
  • XBMC start the script
  • The script directly show a black fullscreen image
  • The script start hyperspin
  • When Hyperspin screen is focused
  • Switch black fullscreen to Hyperspin screen.
But even with this kind of script... I'm not sure you will not see the desktop when XBMC will start the script.

You can also try to make a script that will turn off/turn on your monitor instead of using a black fullscreen image.

You can also try to turn your Windows Desktop into a pseudo transition screen : select a black wallpaper, hide all the icons and the taskbar.

I thought it wouldn't be easy, I'm not a scripter or a coder. But at least I have a few options, maybe it' something I should tackle Eek Thanks for the quick reply, awesome work bro.


- fablog - 2011-09-07

Angelscry Wrote:You still have the alternative to create a .bat script that will close XBMC before starting Mirror's Edge, and then will restart XBMC when Mirror's Edge will be closed : http://www.gwenael.org/forum/viewtopic.php?id=6

It could also be linked to a windows users rights problem. I have already encounter such kind of problem with Boxee application : not able to start Boxee from XBMC. If have fixed this problem using this following method : http://www.gwenael.org/forum/viewtopic.php?id=25 Maybe, it will also work for Mirror's Edge.

It doesn't work with the first solution.
The batch file ran well but I have the same crash. Here is the windows pop-up with the batch lines:

E:\Jeux PC\Mirror's Edge\Binaries>pskill -t XBMC.exe

PsKill v1.13 - Terminates processes on local or remote systems
Copyright © 1999-2009 Mark Russinovich
Sysinternals - http://www.sysinternals.com

14 processes named XBMC.exe killed.


E:\Jeux PC\Mirror's Edge\Binaries>cd E:\Jeux PC\Mirror's Edge\Binaries\

E:\Jeux PC\Mirror's Edge\Binaries>MirrorsEdge.exe


After that, I tried 2 things:
- from Advanced launcher, with a batch file with PSkill = crash
- From Windows 7, with Xbmc in background, using a batch file with PSkill =
OK

Maybe we need to put a delay between killing (or else) XBMC and running Mirror's edge, don't you think so?


- Angelscry - 2011-09-07

fablog Wrote:It doesn't work with the first solution.
The batch file ran well but I have the same crash. Here is the windows pop-up with the batch lines:

E:\Jeux PC\Mirror's Edge\Binaries>pskill -t XBMC.exe

PsKill v1.13 - Terminates processes on local or remote systems
Copyright © 1999-2009 Mark Russinovich
Sysinternals - http://www.sysinternals.com

14 processes named XBMC.exe killed.


E:\Jeux PC\Mirror's Edge\Binaries>cd E:\Jeux PC\Mirror's Edge\Binaries\

E:\Jeux PC\Mirror's Edge\Binaries>MirrorsEdge.exe


After that, I tried 2 things:
- from Advanced launcher, with a batch file with PSkill = crash
- From Windows 7, with Xbmc in background, using a batch file with PSkill =
OK

Maybe we need to put a delay between killing (or else) XBMC and running Mirror's edge, don't you think so?
Seems that the problem occurs when Mirror Edge is started from XBMC. So try the second solution using this command line :

Code:
CPAU -u USERNAME -p PASSWORD -ex "E:\Jeux PC\Mirror's Edge\Binaries\MirrorsEdge.exe -p" -wait
where USERNAME will be the windows login username and PASSWORD the login password.


Version 1.5.6 - Angelscry - 2011-09-07

Version 1.5.6 : This version of Advanced Launcher just fix a small bug present into the recent ComicVine data scrapper.

ChangeLog:
  • Fix small bug into ComicVine data scapper



- phear - 2011-09-07

Just to check before I go ahead and do this.
Is there a file launcher option for linux like there is for launching .lnk's in windows.
If not I will do a quick script up for this.


- Angelscry - 2011-09-07

phear Wrote:Just to check before I go ahead and do this.
Is there a file launcher option for linux like there is for launching .lnk's in windows.
If not I will do a quick script up for this.
You can use symbolic links as shortcuts under Linux. It may works with Advanced Launcher.


- phear - 2011-09-08

my plan was to put a quick script together that will take adn input and launch the game from the correct path.

example.

if x = "quake" then /usr/bin/games/quake

or at least something along those lines instead of messing with sym links.


- Angelscry - 2011-09-08

phear Wrote:my plan was to put a quick script together that will take adn input and launch the game from the correct path.

example.

if x = "quake" then /usr/bin/games/quake

or at least something along those lines instead of messing with sym links.
Advanced Launcher manage files, no parameters. So the ore simple will be to create small executable scripts (all into the same folder) and use them with a Files Launcher, for example :

quake.sh
Code:
#!/bin/bash
/usr/bin/games/quake



- phear - 2011-09-08

But what program would i choose to launch the scripts?


- Angelscry - 2011-09-08

phear Wrote:But what program would i choose to launch the scripts?
For the program, create another small script that will take filepaths as argument and that will start them :

launcher.sh
Code:
#!/bin/bash
"$1"



- phear - 2011-09-08

And that why you sir are a hero.
Thanks for the snappy response...


- Odysseus - 2011-09-08

Hello, I'm trying this out for the first time today. As you can see from my specs in my sig, I use my monitor as my primary display and my HDTV as my secondary, the HDTV is where I display my HTPC apps. AL is launching Media Center and Hulu Desktop to the HDTV just fine for me, but when I exit those apps to return to XBMC it opens on the primary, despite XBMC being configured in Settings to open on the HDTV. Is there any way I can change this? I didn't find anything on the Wiki nor this thread. I thank you very much in advance for your help.


- dwothers - 2011-09-08

Please disregard - dumb question. Figured it out.