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 - SwedishGojira - 2012-07-03

Anyone else running a pre-frodo build of XBMC for Linux?

I seem to have lost my audio on anything but XBMC and think that it has to do with the new audio engine of XBMC not releasing the audio to other apps.

I'm using a launcher script similar to the one here that should be stopping XBMC before launching the app but after updating to XBMC with the new audio engine I don't have any sound at all from any apps except for xbmc. I'm not actually sure that XBMC is even stopped the way it used to as before I saw it stopping before I launched an app but not anymore.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - voyagerxp - 2012-07-03

(2012-07-03, 03:23)Angelscry Wrote:
(2012-07-02, 22:05)voyagerxp Wrote: .exe).
For PC games it is always more simple to use .lnk files :

I've tried the ink wany but walking dead still won't play through xbmc and advanced launcher. All i get is

could not initialize direct 3. Make sure you have the current video drivers and close any other applications that might be running. You will need a video card that supports pixel shader version 1.2.

I have the latest video card driver and directx but don't understand as the game plays from desktop shortcut.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-07-03

(2012-07-03, 08:11)SwedishGojira Wrote: Anyone else running a pre-frodo build of XBMC for Linux?

I seem to have lost my audio on anything but XBMC and think that it has to do with the new audio engine of XBMC not releasing the audio to other apps.

I'm using a launcher script similar to the one here that should be stopping XBMC before launching the app but after updating to XBMC with the new audio engine I don't have any sound at all from any apps except for xbmc. I'm not actually sure that XBMC is even stopped the way it used to as before I saw it stopping before I launched an app but not anymore.
XBMC use now a new audio engine. So you just need to modify/adjust your XBMC audio settings to be able to have again sound for external applications.

(2012-07-03, 14:01)voyagerxp Wrote:
(2012-07-03, 03:23)Angelscry Wrote:
(2012-07-02, 22:05)voyagerxp Wrote: .exe).
For PC games it is always more simple to use .lnk files :

I've tried the ink wany but walking dead still won't play through xbmc and advanced launcher. All i get is

could not initialize direct 3. Make sure you have the current video drivers and close any other applications that might be running. You will need a video card that supports pixel shader version 1.2.

I have the latest video card driver and directx but don't understand as the game plays from desktop shortcut.
You have this error message because Walking Dead and XBMC use the same graphical resource.

First thing you can try is to activate the Use a fullscreen window rather than true fullscreen option that is present into XBMC system settings as mentioned into the user guide : http://www.gwenael.org/forum/viewtopic.php?id=3

If it still not working, your only solution is to use a script that will automatically close XBMC before starting Walking Dead. You will found such script example here : http://www.gwenael.org/forum/viewtopic.php?id=6




RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - SwedishGojira - 2012-07-03

(2012-07-03, 14:19)Angelscry Wrote: XBMC use now a new audio engine. So you just need to modify/adjust your XBMC audio settings to be able to have again sound for external applications.
What settings would I change in XBMC to get audio for my emulators? I have full 5.1 sound when watching movies, menu sounds and everything, but as soon as I launch any emulators or other apps using Advanced Launcher i have no audio from them.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-07-03

(2012-07-03, 16:18)SwedishGojira Wrote:
(2012-07-03, 14:19)Angelscry Wrote: XBMC use now a new audio engine. So you just need to modify/adjust your XBMC audio settings to be able to have again sound for external applications.
What settings would I change in XBMC to get audio for my emulators? I have full 5.1 sound when watching movies, menu sounds and everything, but as soon as I launch any emulators or other apps using Advanced Launcher i have no audio from them.
There is not specific settings. They mostly depend of your system (5.1 sound, audio card, operating system, etc...). It is chard to give your the right settings like this. Just play with XBMC audio settings and try to found the right parameters that allow you to use sound with external application. BTW Advanced Launcher do not have any control on this. It is actually specifically an XBMC problem. If you have problem, ask to XBMC developers


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - chris295 - 2012-07-03

Hey, quick question. Is it possible to set one global fanart for an item list? For example, if I wanted all of my windows games to automatically use a the same fanart and then all my dos games to use a different fanart image file and I set them up in two separate lists, is this possible? I know you can just populate the fanart directory with duplicates of the same fanart with different names, but that's kind of redundant if all you need is one background, plus doing that causes the fanart image to fade for a brief second each time you switch an item in the list where as using the same fanart doesn't. The only way I have been able to do this so far is to manually select a local image for each item in the list, which is time consuming. If not, it might be a cool thing to add to advanced launcher in the future if it wouldn't be too difficult.

Another nice thing to add would be to allow us to have a background image separate from fanart so that the image that displays in the fanart box is not the same as the fanart background. Maybe this particular issue is related to the skin rather than Advanced Launcher though, but could possibly be easier to solve globally by making the background image option different from the fanart rather than asking each skin provider to change the skins.

Like I said though, I know almost nothing about programming so if it's a difficult task I can see why you wouldn't add it.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-07-04

(2012-07-03, 23:16)chris295 Wrote: Hey, quick question. Is it possible to set one global fanart for an item list? For example, if I wanted all of my windows games to automatically use a the same fanart and then all my dos games to use a different fanart image file and I set them up in two separate lists, is this possible? I know you can just populate the fanart directory with duplicates of the same fanart with different names, but that's kind of redundant if all you need is one background, plus doing that causes the fanart image to fade for a brief second each time you switch an item in the list where as using the same fanart doesn't. The only way I have been able to do this so far is to manually select a local image for each item in the list, which is time consuming. If not, it might be a cool thing to add to advanced launcher in the future if it wouldn't be too difficult.

Another nice thing to add would be to allow us to have a background image separate from fanart so that the image that displays in the fanart box is not the same as the fanart background. Maybe this particular issue is related to the skin rather than Advanced Launcher though, but could possibly be easier to solve globally by making the background image option different from the fanart rather than asking each skin provider to change the skins.

Like I said though, I know almost nothing about programming so if it's a difficult task I can see why you wouldn't add it.
That's strictly skin features and advanced Launcher already provides all the necessary stuff to do such things. You want a global fanart for an items list : just ask the skin makers to have the possibility to display the corresponding launcher fanart instead. You want a background image different from the fanart image : just ask skin makers to have the possibility to display the corresponding launcher fanart as background. Or better, just ask skin makers to have the possibility to display the fanart as background and the extrafanarts as fanart images.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - chris295 - 2012-07-04

I see... thanks for the reply. I figured as much but wanted to ask just to be sure.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-07-04

Advanced Launcher provide a lot of features that are not actually available due to skins limitation for programs : Extra fanarts display, Trailers display, Possibility to mark an item as viewed or not, etc...




RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - chris295 - 2012-07-04

Yeah, I noticed that. For example, trailers and extrathumbs work in Cirrus but don't seem to work with Aeon. Really a shame since not everyone likes the same skins. Sad


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

Hey, I got two quick questions about AutoIt.

1. Is there some sort of command to hide the mouse cursor upon application launch and then unhide it when I close the application that I could include in my scripts? For whatever reason some programs periodically show the mouse cursor in the center of the screen for no apparent reason, even when it isn't being moved at all. It's supposed to auto hide but doesn't seem to work properly with all applications.

2. Is there a way to make the screen go black or something while the application is launching instead of going to the desktop and showing the dos prompt from the autoit/bat scripts? I know autohotkey has the ability to display a loading image with fade transition and close the image after the program has launched but I'm not sure if it's possible to do this with autoIt or what the command should look like.

Thanks again


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - gfur732 - 2012-07-07

(2012-07-04, 03:06)chris295 Wrote: Yeah, I noticed that. For example, trailers and extrathumbs work in Cirrus but don't seem to work with Aeon. Really a shame since not everyone likes the same skins. Sad

Sorry I can't help with your two most recent questions, but I just want to point out that Aeon Nox actually does handle trailers. Aeon Nox uses the trailers as defined within Advanced Launcher (it looks for an mp4 with the same name filename as the game, or the same filename as disc 1 if it's a multi-disc game).

Unless something has changed in the last week or two, Cirrus Extendedv2 on the other hand still uses a method from before trailer support was added into Advanced Launcher, where you define the extrafanart folders based on the item name within Advanced Launcher and put a trailer.mp4 within that folder. You can modify Cirrus Extended pretty easily if you'd rather it use the trailers as defined within Advanced Launcher (in case you like to go back in forth between skins). I imagine the reverse, adding the Cirrus Extendedv2 method to Aeon Nox, would be pretty difficult though.

I'm also not sure about extrathumbs for either, but if Aeon Nox supports it, it would probably be again handled differently than Cirrus Extendedv2.


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

I was referring to Aeon MQ3 (sorry, I should've been more specific) but it's nice to know how trailers work in Nox since Nox 3.5 is looking good. Anyways, it was just an example, there's countless different skins that have little to no support for advanced launcher or very limited view types, sadly. Luckily, I found the Fusion skin, which currently fits my needs perfectly. There's a few minor issues with it but nothing that can't be worked out, and I can see myself sticking with it.


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

(2012-07-07, 07:28)chris295 Wrote: Hey, I got two quick questions about AutoIt.

1. Is there some sort of command to hide the mouse cursor upon application launch and then unhide it when I close the application that I could include in my scripts? For whatever reason some programs periodically show the mouse cursor in the center of the screen for no apparent reason, even when it isn't being moved at all. It's supposed to auto hide but doesn't seem to work properly with all applications.

2. Is there a way to make the screen go black or something while the application is launching instead of going to the desktop and showing the dos prompt from the autoit/bat scripts? I know autohotkey has the ability to display a loading image with fade transition and close the image after the program has launched but I'm not sure if it's possible to do this with autoIt or what the command should look like.

Thanks again
1. You can use the _MouseTrap AutoIt function to force to hide the mouse cursor on the bottom right of the screen. Here is an autoit script sample : http://www.gwenael.org/forum/viewtopic.php?pid=115#p115

2. Autoit script do not have prompt windows. Bat script windows are already automatically hidden by Advanced Launcher. If you mean prompt windows for application start by an autoit script, is it possible to hide them using @SW_HIDE parameter or the autoit Run function (http://www.autoitscript.com/autoit3/docs/functions/Run.htm). Now concerning the display of black or transition screens there is no built-in function into autoit for this. But here is an example how proceed (http://autoitscript.com/forum/topic/57559-monitor-onoff-example/#entry441861). BTW, display a black screen is not the main problem here. The main problem is to determine when you will have to swich from black screen to fullscreen application. The problem is do detect when an application is into fullscreen and not only started or focused. For this is depend of the started application, the power of your system (time if will take to render the application into fullscreen) and the way the application is started (main process, launcher application, multi-windows application... in these cases which window we hae to monitor?). There is no universal way to proceed. If Autohotkey allows you to simply do this, so use Autohotkey with Advanced Launcher for this. My personnal solution is to use a clean desktop (no icon and a hidden taskbar) with a black image or or simulated transition image as wallpaper. It do perfectly the job.




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

I'm using a slightly modified version of john.doe's script and it is a huge improvement over what I had. With the SW_Hide parameter and the _MouseTrap parameter, the cursor is no longer randomly appearing and launching feels overall more responsive because of the WinSetOnTop parameter. The prompt windows no longer show as well, which accomplishes most of what I wanted.

The only thing I would like to change is after I launch for about 1-2 seconds you can still see the XBMC window in the center of the desktop. I would prefer to show a black screen to make launching feel more seemless. Since the XBMC window is in front of the desktop, changing the wallpaper would only fix part of the problem. It's not really a huge problem, just a minor thing and if it's not easily fixed it's not a must. In any case, it's way better than the 3-4 windows it cycled through before during the launching process.

Here is my script for Snes9x. I wasn't sure if I needed to leave the <Misc.au3> tag in the include since I don't actually have a Misc.au3 but I don't really know how includes work. Maybe you could clean it up a little bit for me and take out the redundancies if any exist? Either way, the script is doing what it's supposed to.

Code:
#include <Misc.au3>
HotKeySet("{ESC}", "Terminate")
Opt("WinTitleMatchMode", 2)
$app = "G:\xbmc\games\snes\snes9x-x64.exe"
$winname = "snes9x"

If $CmdLine[0] == 1 Then
    WinSetOnTop("XBMC", "", 1)
    Run("pssuspend XBMC.exe", "", @SW_HIDE)
    Run($app & ' "' & $CmdLine[1] & '"',"",@SW_HIDE)
    WinWait($winname,"")
    WinActivate($winname,"")
    WinSetOnTop($winname, "", 1)
    WinWaitActive($winname,"")
    SendKeepActive($winname,"")
    _MouseTrap(@DesktopWidth, @DesktopHeight, @DesktopWidth, @DesktopHeight)
While 1
        Sleep(100)
    WEnd
EndIf
Func Terminate()
ProcessClose( "snes9x-x64.exe" )
ProcessWaitClose( "snes9x-x64.exe" )
Run("pssuspend -r XBMC.exe", "", @SW_HIDE)
WinSetOnTop("XBMC", "", 0)
Exit 0
EndFunc

I can see where using the Monitor script could work perfectly for what I want. It seems complicated for me but I will toy with it later and let you know. But how does this script turn the monitor off/on? Does it actually turn the monitor off or just use some sort of function to simulate turning it off? It seems like if it actually turns the display off, that would put hardware strain when used over a long period of time. Is it safe to use? I was thinking more along the lines of using the Splash command, but I guess AutoIt doesn't have as mature of a Splash command as AutoHotKey. As for using AutoHotKey to do this, I wouldn't even know how to begin and it seems like more trouble than it's worth to use multiple scripts and the AutoIt script is working too well for me to convert to AHK now.

Again, thanks for all the help, sorry for making things complicated.