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 - JoeBlow42069 - 2012-06-19

(2012-06-16, 04:50)Angelscry Wrote: Version 1.8.9 : This new version of Advanced Launcher fix errors occurring during scraping due to Internet connection or files access problems (timed out errors). Thank to [email protected] for report and patches.

Changelog :

Where can I get the new version? The version I see in program add-ons is 1.7.6


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-06-19

(2012-06-19, 05:39)JoeBlow42069 Wrote:
(2012-06-16, 04:50)Angelscry Wrote: Version 1.8.9 : This new version of Advanced Launcher fix errors occurring during scraping due to Internet connection or files access problems (timed out errors). Thank to [email protected] for report and patches.

Changelog :

Where can I get the new version? The version I see in program add-ons is 1.7.6
You need to install my repository to have the last version. Read the first post of this thread and the user guide to learn how to proceed.

I do not have any control on what is hosted on the XBMC official repo.



RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - kiboy6 - 2012-06-22

Hi - first of all thanks for this great addon.

I have one quick question - is there any way to make Advance Launcher keep focus on XBMC throughought?

I want to use Advanced Launcher to launch a shortcut that runs a bat file in a hidden window. However it seems that even using hstart and running the shortcut minimised, XBMC will lose focus for a moment, go windowed, and then return to the foreground. Is there any way to prevent this behaviour?

Thanks Smile


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - kiboy6 - 2012-06-22

(2012-06-22, 08:04)Daniel333 Wrote: Not yet. But it is planned for the next versions.

Was this in reply to my post? Or is it unrelated ? thanks Smile


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-06-22

(2012-06-22, 07:24)kiboy6 Wrote: Hi - first of all thanks for this great addon.

I have one quick question - is there any way to make Advance Launcher keep focus on XBMC throughought?

I want to use Advanced Launcher to launch a shortcut that runs a bat file in a hidden window. However it seems that even using hstart and running the shortcut minimised, XBMC will lose focus for a moment, go windowed, and then return to the foreground. Is there any way to prevent this behaviour?

Thanks Smile
I will try to take a look this week-end, but I'm not sure it will possible.




RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - kiboy6 - 2012-06-22

(2012-06-22, 14:31)Angelscry Wrote:
(2012-06-22, 07:24)kiboy6 Wrote: Hi - first of all thanks for this great addon.

I have one quick question - is there any way to make Advance Launcher keep focus on XBMC throughought?

I want to use Advanced Launcher to launch a shortcut that runs a bat file in a hidden window. However it seems that even using hstart and running the shortcut minimised, XBMC will lose focus for a moment, go windowed, and then return to the foreground. Is there any way to prevent this behaviour?

Thanks Smile
I will try to take a look this week-end, but I'm not sure it will possible.

Many thanks - if there's anything you could do to keep XBMC seamlessly on top and the launched program behind it that would be amazing!


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-06-23

If you are interested into clouding gaming, here is a small tutorial to start and play Gaikai games from Advanced Launcher using Chrome browser. This tutorial works on Windows, Linux and surely on OSX operating systems.

First create a File launcher :

Application (for windows) : C:\Users\USER\AppData\Local\Google\Chrome\Application\chrome.exe
Application (for linux) : /usr/bin/chromium

Platform : IBM PC Compatible

Arguments : -kiosk "%rom%"
Items Extension : html

Then into the same folder create small html file like these ones :

Code:
<html><head>
<meta http-equiv="REFRESH" content="0;url=http://www.gaikai.com/games/alan-wake">
</head></html>

or

Code:
<html><head>
<meta http-equiv="REFRESH" content="0;url=http://www.gaikai.com/games/darksiders">
</head></html>

pointing to the games information pages on Gaikai website.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-06-23

(2012-06-22, 15:04)kiboy6 Wrote:
(2012-06-22, 14:31)Angelscry Wrote:
(2012-06-22, 07:24)kiboy6 Wrote: Hi - first of all thanks for this great addon.

I have one quick question - is there any way to make Advance Launcher keep focus on XBMC throughought?

I want to use Advanced Launcher to launch a shortcut that runs a bat file in a hidden window. However it seems that even using hstart and running the shortcut minimised, XBMC will lose focus for a moment, go windowed, and then return to the foreground. Is there any way to prevent this behaviour?

Thanks Smile
I will try to take a look this week-end, but I'm not sure it will possible.

Many thanks - if there's anything you could do to keep XBMC seamlessly on top and the launched program behind it that would be amazing!
Actually it is already possible, with Advanced Launcher, to start a .BAT file hidden and without loosing the focus on XBMC. For this you just need to created a launcher (a standalone or a files launcher) with a .BAT file as application. Once the launcher is created you have to go into "Edit Launcher", "Advanced Modifications" and set the "Toggle XBMC Fullscreen" to "Off". Also take care that the "show batch command window" is not activated into the "Debug" section of Advanced Launcher settings.

Then after, if you do not want XBMC to loose the focus, you must take care to not start application that will take it. And it's here that it becomes more complicated. Because, under Windows, once you start an application with a new windows... it take the focus. I don't think it will be possible to bypass this from Advanced Launcher or XBMC, because it is a Windows related problem.

There is a large discussion about application stealing focus under Windows 7 here : http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/applications-stealing-focus-reg-key-no-longer/4ee5be7d-31ef-493b-b092-f6f6139f99cd?page=3



RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-06-23

(2012-06-23, 05:05)Angelscry Wrote: Actually it is already possible, with Advanced Launcher, to start a .BAT file hidden and without loosing the focus on XBMC. For this you just need to created a launcher (a standalone or a files launcher) with a .BAT file as application. Once the launcher is created you have to go into "Edit Launcher", "Advanced Modifications" and set the "Toggle XBMC Fullscreen" to "Off". Also take care that the "show batch command window" is not activated into the "Debug" section of Advanced Launcher settings.

Then after, if you do not want XBMC to loose the focus, you must take care to not start application that will take it. And it's here that it becomes more complicated. Because, under Windows, once you start an application with a new windows... it take the focus. I don't think it will be possible to bypass this from Advanced Launcher or XBMC, because it is a Windows related problem.

There is a large discussion about application stealing focus under Windows 7 here : http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/applications-stealing-focus-reg-key-no-longer/4ee5be7d-31ef-493b-b092-f6f6139f99cd?page=3

Using an Autoit script is also a good alternative for people who want to start and run applications (executable) into background. For example this script start firefox and force XBMC to keep the focus until firefox is not closed :

Code:
WinActivate("XBMC", "")
Run ("C:\Program Files (x86)\Mozilla Firefox\firefox.exe")
Do
   WinActivate("XBMC", "")
Until Not ProcessExists("firefox.exe")

This script works for both fullscreen window and true fullscreen XBMC modes and could be easily adapted to any kind of applications.

So to resume :

If you want to start command line application into background use .BAT script.
If you want to start windows executable applications into background use Autoit script.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - kiboy6 - 2012-06-23

(2012-06-23, 05:05)Angelscry Wrote: Actually it is already possible, with Advanced Launcher, to start a .BAT file hidden and without loosing the focus on XBMC. For this you just need to created a launcher (a standalone or a files launcher) with a .BAT file as application. Once the launcher is created you have to go into "Edit Launcher", "Advanced Modifications" and set the "Toggle XBMC Fullscreen" to "Off". Also take care that the "show batch command window" is not activated into the "Debug" section of Advanced Launcher settings.

Aha. That did the trick perfectly. Thanks very much for the detailed help Smile




RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - djfourmoney - 2012-06-23

(2012-06-07, 12:50)Angelscry Wrote: Yes, the two disc of the game must be located into the same folder to be recognized as multi-disc. The skin from my last screenshots is Cirrus Extended 2.

Okay I modifying the folders, so just to be clear, I make a the main game folder and then a folder for each image or can I just put each image in the game folder?

Syphon Filter 2 ----- Disc 1 ----- Disc 2 or Syphon Filter 2 ----- SCUS 4xxx (cd 1) and SCUS 4xxx (cd 2)


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-06-23

(2012-06-23, 22:48)djfourmoney Wrote:
(2012-06-07, 12:50)Angelscry Wrote: Yes, the two disc of the game must be located into the same folder to be recognized as multi-disc. The skin from my last screenshots is Cirrus Extended 2.

Okay I modifying the folders, so just to be clear, I make a the main game folder and then a folder for each image or can I just put each image in the game folder?

Syphon Filter 2 ----- Disc 1 ----- Disc 2 or Syphon Filter 2 ----- SCUS 4xxx (cd 1) and SCUS 4xxx (cd 2)
All your PSX images into the same folder.




RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - chris295 - 2012-06-26

Hey Angelscry, I need a little help.

Before I get into detail, I should tell you that my knowledge of AutoIt scripting (and programming in general) is slim to none. I only know what I've inferred from trial and error and reading scripts you've helped other users with. That said, I've managed fine up until now but I'm really not sure how to proceed with my next task.

Basically what I'm trying to do is make an AutoIt script that can suspend the XBMC process when I launch an executable from Advanced Launcher. The executable will be in the form of an AutoIt script used to launch an application. After the application is launched, I need it to suspend the Xpadder process, otherwise my control config used to navigate the XBMC menus will be used in whatever game I'm playing. When I terminate the executable, it should resume the Xpadder process and resume XBMC. Up until now, I've just been setting AutoIt to start my executables, kill XBMC, ESC to terminate the executable and relaunch XBMC, but that's not really an option anymore since I need Xpadder to navigate the menus with my controller.

If you're wondering, the reason I'm using Xpadder instead of editing the keymap XML for my controller is because, for some reason, my d-pad isn't detected when I use the hat commands, in order to get my d-pad to be recognized I have to use the axis command, which makes scrolling through menus and such too sensitive to be used.

Hope this makes sense, it's a bit difficult to explain exactly how I want it and I'm not even sure if what I'm asking is possible, but any help is appreciated.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-06-26

(2012-06-26, 18:55)chris295 Wrote: Hey Angelscry, I need a little help.

Before I get into detail, I should tell you that my knowledge of AutoIt scripting (and programming in general) is slim to none. I only know what I've inferred from trial and error and reading scripts you've helped other users with. That said, I've managed fine up until now but I'm really not sure how to proceed with my next task.

Basically what I'm trying to do is make an AutoIt script that can suspend the XBMC process when I launch an executable from Advanced Launcher. The executable will be in the form of an AutoIt script used to launch an application. After the application is launched, I need it to suspend the Xpadder process, otherwise my control config used to navigate the XBMC menus will be used in whatever game I'm playing. When I terminate the executable, it should resume the Xpadder process and resume XBMC. Up until now, I've just been setting AutoIt to start my executables, kill XBMC, ESC to terminate the executable and relaunch XBMC, but that's not really an option anymore since I need Xpadder to navigate the menus with my controller.

If you're wondering, the reason I'm using Xpadder instead of editing the keymap XML for my controller is because, for some reason, my d-pad isn't detected when I use the hat commands, in order to get my d-pad to be recognized I have to use the axis command, which makes scrolling through menus and such too sensitive to be used.

Hope this makes sense, it's a bit difficult to explain exactly how I want it and I'm not even sure if what I'm asking is possible, but any help is appreciated.
I'm not sure your really need an Autoit script to do this. Using the Psuspend application (http://www.gwenael.org/forum/viewtopic.php?id=5) you maybe able do this using a simple .BAT file :

Code:
pssuspend "XBMC.exe"
pssuspend "Xpadder.exe"
cd "C:\Program Files (x86)\PATH\TO\YOUR\APPLICATION"
YOUR_APPLICATION.exe
pssuspend -r "Xpadder.exe"
pssuspend -r "XBMC.exe"



RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - chris295 - 2012-06-26

Wow that was a fast response.

I just installed the PStools package, extracted the zip, put them in C:\Windows and created a text file in notepad and saved it as a .bat with the paths modified to suit my needs, then I redirected the launcher to the .bat. When I try to launch the application using the .bat, XBMC goes small for a split second as if it's going to launch something but then it returns back to full screen and the application has not been launched. Any idea why this might be?