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-01-11

jeff93063 Wrote:XBMC doesn't seem to go into the background when launching a program anymore. I know it did in earlier versions, but as of 0.9 it doesn't work for me. I'm on Windows, and I've tried setting XBMC to be a fullscreen window instead of fullscreen. Didn't help. Is this happening with other Windows users? I can post my config if necessary, Angelscry. I noticed the XML file has <wait>true</wait> for all of my emulators, which sounds right to me.

Thanks,
Jeff
I think it is related to the xbmc.executehttpapi("Action(199)") XBMC command that I have removed to launch windows application. This option did not seems to have any effect on my windows system. But it seems that it have an effect on yours. I will fix it for the next version. I think the best way will be to add an option for each launcher to use or not this XBMC command line.


- ali2k1 - 2011-01-11

Thanks bruv worked great flippin ala better than xbmc ... Call for a poll! Lol! That rhymes.


- tco42 - 2011-01-11

Hi

Can you tell me which line of code is responsible for minimizing/hiding XBMC?
Hiding XBMC seems to have some problems with my systemtray: When i launch PowerDVD in fullscreen mode for example everything is fine but i can still see the tray. When PowerDVD is launched as an external player when i hit the "play disc" button (no advanced launcher) everything works fine. Its also a bit annoying to see the desktop for some seconds before the program is started. I think simply removing the command to hide XBMC will solve that problems for me as long as i use a fullscreen window instead of true fullscreen


- Angelscry - 2011-01-11

tco42 Wrote:Hi

Can you tell me which line of code is responsible for minimizing/hiding XBMC?
Hiding XBMC seems to have some problems with my systemtray: When i launch PowerDVD in fullscreen mode for example everything is fine but i can still see the tray. When PowerDVD is launched as an external player when i hit the "play disc" button (no advanced launcher) everything works fine. Its also a bit annoying to see the desktop for some seconds before the program is started. I think simply removing the command to hide XBMC will solve that problems for me as long as i use a fullscreen window instead of true fullscreen
Depending the application we launch under windows the way you start it from XBMC must be different. So it is not easy to found one common command line for all the application. If you do not want to wait the next version your have to edit the launcher_plugin.py file. Replace:
Code:
else:
                        cmd = "System.Exec"
                    xbmc.executebuiltin("%s(\\\"%s\\\" \\\"%s\\\")" % (cmd, launcher["application"], launcher["args"]))
                elif (sys.platform.startswith('linux')):
by
Code:
else:
                        cmd = "System.Exec"
                        [b]xbmc.executehttpapi("Action(199)")[/b]
                        xbmc.executebuiltin("%s(\\\"%s\\\" \\\"%s\\\")" % (cmd, launcher["application"], launcher["args"]))
                        [b]xbmc.executehttpapi("Action(199)")[/b]
                elif (sys.platform.startswith('linux')):
and
Code:
else:
                            cmd = "System.Exec"
                        arguments = arguments.replace('"' , '\\\"')
                        xbmc.executebuiltin("%s(\\\"%s\\\" %s)" % (cmd, launcher["application"], arguments))
                    elif (sys.platform.startswith('linux')):
by
Code:
else:
                            cmd = "System.Exec"
                        arguments = arguments.replace('"' , '\\\"')
                        [b]xbmc.executehttpapi("Action(199)")[/b]
                        xbmc.executebuiltin("%s(\\\"%s\\\" %s)" % (cmd, launcher["application"], arguments))
                        [b]xbmc.executehttpapi("Action(199)")[/b]
                    elif (sys.platform.startswith('linux')):



- srsobieraj - 2011-01-12

srsobieraj Wrote:I've found a solution to storing your PC games in their own directory.

BLAH BLAH BLAH

***Caveat: I haven't tested the XBMC portion of this yet. I will test this when I get home.

Update: Tested and [b][i]confirmed. [/i][/b]

The only stipulation is that if you run Steam games, you need to accept ".url" extensions, and then right-click your game in Steam and select "Create desktop shortcut" and drag that to your shortcut folder.

It has a bit of a hard time monitoring focus for non-fullscreen applications. This falls into two categories:

1. Since ALA shifts its focus to the command window (which is where myscript.exe just ran), your app may not be in focus.

2. The command prompt also closes immediately (because myscript doesn't wait for anything), ALA sees this and returns the focus to XBMC instead of your app, since ALA is only watching the `Launcher`.

I *think* I can fix myscript.exe from closing until it's target app closes, but that doesn't fix Case 1.

For full support: ALA needs to take the "Rom" name and check it`s target, then set focus to that process once it starts. This becomes nigh impossible for Steam apps though, since steam "shortcuts" are URL links.Sad
I think most steam games will run directly from the .exe file though, so you`ll get 95% of your Steam games to work.

On the bright side I can play TES4:Oblivion, with mods on my 52" screen. It has not aged well.

Next stop: N64 High-resolution land, including PJ64 v1.7 and 1964 emulators (which I will add to the wiki once done)


- Robert de Clair - 2011-01-12

Polish r228
http://www.mediafire.com/?6m828gjp9pam911

I think there are need to do something with changed in 228 strings because current state (true - false) are not translatable. I just translate true/false as a legend of variable in description.

Smile


- butchabay - 2011-01-12

Little Update for coming Cirrus MOD ...

Studio logo and different picture as fanart in the Box ...

Image


- Angelscry - 2011-01-12

Robert de Clair Wrote:Polish r228
http://www.mediafire.com/?6m828gjp9pam911

I think there are need to do something with changed in 228 strings because current state (true - false) are not translatable. I just translate true/false as a legend of variable in description.

Smile
Thank you for the translation. For the true/false text, I have seen it yesterday when working on the minimize option. It will be fixed for the next version. Thank you very much. Wink


- Angelscry - 2011-01-12

butchabay Wrote:Little Update for coming Cirrus MOD ...

Studio logo and different picture as fanart in the Box ...

Image
Great skin MOD!!!! For the Capcom logo, it will not look better if the colors where inverted (blank center with black borders)? Also, how do you do to have 2 different fanarts images for a skin?


- butchabay - 2011-01-12

Angelscry Wrote:Great skin MOD!!!! For the Capcom logo, it will not look better if the colors where inverted (blank center with black borders)? Also, how do you do to have 2 different fanarts images for a skin?

Thanx ...
The Capcom Logo is a Studio Logo for Movies, so it was already in Flagging Folder (Resident Evil Degeneration) is a Capcom Production. HTPC Guy has offered to do some Studio Logos, so maybe he can try to invert the colors.
There are 2 different Fanarts:
The first Code for the Background is in the myPrograms.xml a normal:
PHP Code:
$INFO[ListItem.Property(Fanart_Image)] 
The second Code is in the main view file (ViewsGamesFanart.xml)
PHP Code:
special://skin/extras/games/$INFO[ListItem.label].jpg 
so the second Fanart image must be located in a path: in this case extras/games/resident evil 5.jpg

This is at the moment, the target will be to see sliding fanarts in the box ...

Keep up the great work you've done ...

cheers


- htpc guy - 2011-01-12

butchabay Wrote:Thanx ...
The Capcom Logo is a Studio Logo for Movies, so it was already in Flagging Folder (Resident Evil Degeneration) is a Capcom Production. HTPC Guy has offered to do some Studio Logos, so maybe he can try to invert the colors.
There are 2 different Fanarts:
The first Code for the Background is in the myPrograms.xml a normal:
PHP Code:
$INFO[ListItem.Property(Fanart_Image)] 
The second Code is in the main view file (ViewsGamesFanart.xml)
PHP Code:
special://skin/extras/games/$INFO[ListItem.label].jpg 
so the second Fanart image must be located in a path: in this case extras/games/resident evil 5.jpg

This is at the moment, the target will be to see sliding fanarts in the box ...

Keep up the great work you've done ...

cheers


I'll make up logos for emulated games and pc games. Its just going to take some time since there are so many that need to be created. If anyone else has photoshop/gimp skills then let me know cause I could surely use the help. We should probibily post a separate thread for this though.


- malte - 2011-01-12

htpc_guy Wrote:I'll make up logos for emulated games and pc games. Its just going to take some time since there are so many that need to be created. If anyone else has photoshop/gimp skills then let me know cause I could surely use the help. We should probibily post a separate thread for this though.

ghostelement has posted this one day. Maybe you can use some of them as a start.

Also there was somebody in RCB thread who posted that he would start such a project some time ago but I never heard back from it. I will try to find out who it was and if he made some progress with it.


- butchabay - 2011-01-12

malte Wrote:ghostelement has posted this one day. Maybe you can use some of them as a start.

Also there was somebody in RCB thread who posted that he would start such a project some time ago but I never heard back from it. I will try to find out who it was and if he made some progress with it.

Nice, thanx for the hint ...


- htpc guy - 2011-01-12

butchabay Wrote:Thanx ...
The Capcom Logo is a Studio Logo for Movies, so it was already in Flagging Folder (Resident Evil Degeneration) is a Capcom Production. HTPC Guy has offered to do some Studio Logos, so maybe he can try to invert the colors.
There are 2 different Fanarts:
The first Code for the Background is in the myPrograms.xml a normal:
PHP Code:
$INFO[ListItem.Property(Fanart_Image)] 
The second Code is in the main view file (ViewsGamesFanart.xml)
PHP Code:
special://skin/extras/games/$INFO[ListItem.label].jpg 
so the second Fanart image must be located in a path: in this case extras/games/resident evil 5.jpg

This is at the moment, the target will be to see sliding fanarts in the box ...

Keep up the great work you've done ...

cheers

So the fanart will be held in the skin folder? You mention that the images can be changed like an extrafanart slideshow so the box will hold a selection of changing images. Can you give us the exact folder structure? Will each rom/pc game launcher need its own folder? This will be great for various screenshots, especially for older consoles since full screenshots of NES and SNES roms look terrible. I would suggest, in that case using images of the console or some other type of image as the background.

I will start working on studio logos tonight. Who is the person I would need to contact to see if the RCB guys want to get in on this. It would be great if we could make this a community effort.

Also, before I start I would like some input from everyone. Should I go with a monochromatic color scheme for the flags so they will look good in any skin (If someone wants to add this feature to other skins) or should I use the original logo's color.

Secondly, I assume that all of the logos height will be the same right? What size do these need to be?


- htpc guy - 2011-01-12

Fyi, http://gamasutra.com/jobs/ is a great place to find game studio logos. Its a job listing board so its not really a good place to search for a specific logo but its a good place to grab a bunch of logos for editing.