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 - Angelscry - 2013-01-04

(2013-01-04, 07:07)anarchoi Wrote: Thanks for the reply,

I am trying to launch .lnk files with Advanced Launcher. The .lnk files opens games like Borderlands 2, Starcraft 2, Diablo 3, Left4dead2, Dead Island, Anno 2070, etc. I have the same problem for all of them, but it was working with Win7 before.

I have now completly uninstalled XBMC Launcher to see if it was the source of the problem. But the same thing keeps happening : when i try to launch a game, XBMC exists full screen and becomes a square window, then the game try to launch but XBMC come back in full screen

Is there a way to make Advanced Launcher force exit on XBMC after launching a game ?

(2013-01-04, 09:12)bakito Wrote: well, there is this :http://www.gwenael.org/forum/viewtopic.php?id=5
or that:http://www.gwenael.org/forum/viewtopic.php?id=6
you can also achieve this with an autoit script, I tried windows 8 and I had no problem launching pc game...so maybe you don't have to use theses script ...do you launch your game with explorer as "program" and shortcut as "rom"? also did you check "use fullscreen windows rather then fullscreen" in xbmc parameter?
I hope you get it working!
cheers
I have make a quick test with several applications shortcuts (Skyrim, IE, Firefox, etc...) on my Windows 8 system and all is working correctly. As bakito mention it, check if the "use fullscreen windows rather then fullscreen" option is activated into xbmc parameter. Also for your launcher, verify that into Edit Launcher > Advanced Modifications, the "Toggle XBMC into Windowed mode" is really set to OFF. If so, then it should work. If not, please post the content of your launchers.xml file. Maybe you have done something wrong into its configuration.




RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - deh2k7 - 2013-01-04

(2013-01-04, 05:39)Angelscry Wrote: Filenames must be :

Code:
Final Fantasy VII cd1.bin
Final Fantasy VII cd1.cue
Final Fantasy VII cd2.bin
Final Fantasy VII cd2.cue
etc...

and not :

Code:
Final Fantasy VII CD1.bin
Final Fantasy VII CD1.cue
Final Fantasy VII CD2.bin
Final Fantasy VII CD2.cue
etc..

OK, I will make the changes and update you with the progress. What's interesting is that AL does properly stack the games, which means at some level the above worked to some degree. Thanks for helping me find this mistake.

D


Version 1.10.12 - Angelscry - 2013-01-04

Version 1.10.12 : This is a minor version of Advanced Launcher fixing display for item info selection. Thanks again to mbroemme for reporting me the problem and providing the fix.

Changelog :
  • Fix display for item info selection (thanks to mbroemme).



RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Ghostdivision - 2013-01-05

I was just curious I installed this when i first got eden final, it worked great, I updated to frodo and noticed some things were not working, then I looked and it was version 1.7.6 for people who dont visit the forum much im just curious how come it is not being updated in xbmc itself?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-01-06

(2013-01-05, 16:35)Ghostdivision Wrote: I was just curious I installed this when i first got eden final, it worked great, I updated to frodo and noticed some things were not working, then I looked and it was version 1.7.6 for people who dont visit the forum much im just curious how come it is not being updated in xbmc itself?
If you want Advanced Launcher to be updated automatically by its last version you need to install my repository : http://xbmc-advanced-launcher.googlecode.com/files/repository.angelscry.xbmc-plugins-1.2.1.zip
The version on XBMC repository is not compatible with XBMC Frodo and I do not have any control on what it is hosted on XBMC repository.




RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - deh2k7 - 2013-01-06

(2013-01-04, 17:45)deh2k7 Wrote:
(2013-01-04, 05:39)Angelscry Wrote: Filenames must be :

Code:
Final Fantasy VII cd1.bin
Final Fantasy VII cd1.cue
Final Fantasy VII cd2.bin
Final Fantasy VII cd2.cue
etc...

and not :

Code:
Final Fantasy VII CD1.bin
Final Fantasy VII CD1.cue
Final Fantasy VII CD2.bin
Final Fantasy VII CD2.cue
etc..

OK, I will make the changes and update you with the progress. What's interesting is that AL does properly stack the games, which means at some level the above worked to some degree. Thanks for helping me find this mistake.

D

Hi Angelscry, I'm happy to report that this resolves my issue. Thank you again for all of your help!


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - 3dhubiflieger - 2013-01-06

Hello I have updated my Tool for the advanced Launcher to Version 3.0 . Now the virtuell Keyboard runs very well. I have also a picture of the Keyboard on my homepage. U can use it when you start a Programm in Advanced Launcher, like Firefox but it has no Joypad support.

http://joystartend.npage.de/


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - sudopinion - 2013-01-07

(2013-01-06, 21:51)3dhubiflieger Wrote: Hello I have updated my Tool for the advanced Launcher to Version 3.0 . Now the virtuell Keyboard runs very well. I have also a picture of the Keyboard on my homepage. U can use it when you start a Programm in Advanced Launcher, like Firefox but it has no Joypad support.

http://joystartend.npage.de/
google translate fails on your page for some reason.
Image


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Shadowrunner - 2013-01-08

So I've been having a blast on this and finding all the neat tricks and work-arounds, but I've been stumped. Stumped with uPlay and its launcher before games. Or maybe it's just specifically Far Cry 3. How are you all handling it? There doesn't seem to be an option on the client to auto-play, and there doesn't seem to be an .exe you can use to bypass the uplay launcher. As such, I have the miserable condition of having to manually click "Play" which, since I've opted to use a controller to do over a KB/M, is proving to be very difficult (time sensitive, because XBMC likes to kick back into focus before I can get it).

Anyone else have similar trouble? Or know of workarounds? I'm pretty sure the solution is AutoIt/AutoHotKey (except i'll just use event ghost, because I'm already using event ghost), but I was hoping for a simpler route than setting a time and praying that hitting enter will make it work.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - dannycorker - 2013-01-08

Been meaning to give this a try for years, never got round to it. Trying now but running into this error:

Code:
01:09:19 T:3612  NOTICE: Thread XBPyThread start, auto delete: false
01:09:19 T:3612  NOTICE: -->Python Interpreter Initialized<--
01:09:19 T:3612  NOTICE: Launcher: found 2 launchers
01:09:20 T:3612   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.WindowsError'>
                                            Error Contents: [Error 267] The directory name is invalid
                                            Traceback (most recent call last):
                                              File "C:\Users\danny\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py", line 20, in <module>
                                                plugin.Main()
                                              File "C:\Users\danny\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 208, in __init__
                                                self._run_launcher(launcher)
                                              File "C:\Users\danny\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 1212, in _run_launcher
                                                startproc = subprocess_hack.Popen(r'%s %s' % (launcher["application"], arguments), cwd=apppath, startupinfo=info)
                                              File "C:\Users\danny\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\subprocess_hack.py", line 544, in __init__
                                                errread, errwrite)
                                              File "C:\Users\danny\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\subprocess_hack.py", line 707, in _execute_child
                                                startupinfo)
                                            WindowsError: [Error 267] The directory name is invalid
                                            -->End of Python script error report<--
01:09:20 T:1536   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher/?46644830763b3b412292e28178d96dbe
01:09:20 T:1536   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/?46644830763b3b412292e28178d96dbe) failed
01:09:20 T:2644  NOTICE: Thread XBPyThread start, auto delete: false
01:09:20 T:2644  NOTICE: -->Python Interpreter Initialized<--
01:09:20 T:2644  NOTICE: Launcher: found 2 launchers
01:09:20 T:2644   ERROR: NEWADDON Invalid Date Format "2009"
01:09:20 T:3200   ERROR: Previous line repeats 1 times.
01:09:20 T:3200  NOTICE: Thread Background Loader start, auto delete: false

I'm sure it's a simple new user error, any points in the right direction would be great Smile


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-01-08

(2013-01-08, 02:20)Shadowrunner Wrote: So I've been having a blast on this and finding all the neat tricks and work-arounds, but I've been stumped. Stumped with uPlay and its launcher before games. Or maybe it's just specifically Far Cry 3. How are you all handling it? There doesn't seem to be an option on the client to auto-play, and there doesn't seem to be an .exe you can use to bypass the uplay launcher. As such, I have the miserable condition of having to manually click "Play" which, since I've opted to use a controller to do over a KB/M, is proving to be very difficult (time sensitive, because XBMC likes to kick back into focus before I can get it).

Anyone else have similar trouble? Or know of workarounds? I'm pretty sure the solution is AutoIt/AutoHotKey (except i'll just use event ghost, because I'm already using event ghost), but I was hoping for a simpler route than setting a time and praying that hitting enter will make it work.
You must have another executable that have been started by the launcher. When your Far Cry 3 game is running take a look at the Windows Tasks manager and identify the process/application/executable corresponding to your game. When using the search tools try to localise the executable file.


(2013-01-08, 03:10)dannycorker Wrote: Been meaning to give this a try for years, never got round to it. Trying now but running into this error:

Code:
01:09:19 T:3612  NOTICE: Thread XBPyThread start, auto delete: false
01:09:19 T:3612  NOTICE: -->Python Interpreter Initialized<--
01:09:19 T:3612  NOTICE: Launcher: found 2 launchers
01:09:20 T:3612   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.WindowsError'>
                                            Error Contents: [Error 267] The directory name is invalid
                                            Traceback (most recent call last):
                                              File "C:\Users\danny\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py", line 20, in <module>
                                                plugin.Main()
                                              File "C:\Users\danny\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 208, in __init__
                                                self._run_launcher(launcher)
                                              File "C:\Users\danny\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 1212, in _run_launcher
                                                startproc = subprocess_hack.Popen(r'%s %s' % (launcher["application"], arguments), cwd=apppath, startupinfo=info)
                                              File "C:\Users\danny\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\subprocess_hack.py", line 544, in __init__
                                                errread, errwrite)
                                              File "C:\Users\danny\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\subprocess_hack.py", line 707, in _execute_child
                                                startupinfo)
                                            WindowsError: [Error 267] The directory name is invalid
                                            -->End of Python script error report<--
01:09:20 T:1536   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher/?46644830763b3b412292e28178d96dbe
01:09:20 T:1536   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/?46644830763b3b412292e28178d96dbe) failed
01:09:20 T:2644  NOTICE: Thread XBPyThread start, auto delete: false
01:09:20 T:2644  NOTICE: -->Python Interpreter Initialized<--
01:09:20 T:2644  NOTICE: Launcher: found 2 launchers
01:09:20 T:2644   ERROR: NEWADDON Invalid Date Format "2009"
01:09:20 T:3200   ERROR: Previous line repeats 1 times.
01:09:20 T:3200  NOTICE: Thread Background Loader start, auto delete: false

I'm sure it's a simple new user error, any points in the right direction would be great Smile
Accoring to your error message, there is something wrong with the into the launcher configuration. Could you please post here the content of your launchers.xml file. Also which version of Advanced Launcher are you using? Which version of XBM are your using?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-01-08

!!! Important !!!

I have decided to move my repository from the Google Code pages to my proper server. To benefit of the new Repository (and so next Advanced Launcher upadtes) please install the last version of the Angelscry's Repository plugin (version 1.2.2) : http://www.gwenael.org/Repository/repository.angelscry.xbmc-plugins/repository.angelscry.xbmc-plugins-1.2.2.zip on your XBMC system.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Shadowrunner - 2013-01-08

(2013-01-08, 04:01)Angelscry Wrote:
(2013-01-08, 02:20)Shadowrunner Wrote: So I've been having a blast on this and finding all the neat tricks and work-arounds, but I've been stumped. Stumped with uPlay and its launcher before games. Or maybe it's just specifically Far Cry 3. How are you all handling it? There doesn't seem to be an option on the client to auto-play, and there doesn't seem to be an .exe you can use to bypass the uplay launcher. As such, I have the miserable condition of having to manually click "Play" which, since I've opted to use a controller to do over a KB/M, is proving to be very difficult (time sensitive, because XBMC likes to kick back into focus before I can get it).

Anyone else have similar trouble? Or know of workarounds? I'm pretty sure the solution is AutoIt/AutoHotKey (except i'll just use event ghost, because I'm already using event ghost), but I was hoping for a simpler route than setting a time and praying that hitting enter will make it work.
You must have another executable that have been started by the launcher. When your Far Cry 3 game is running take a look at the Windows Tasks manager and identify the process/application/executable corresponding to your game. When using the search tools try to localise the executable file.
The executable goes from being uplay.exe to farcry3_d3d11, which I've found the exe for. However, trying to manually run that EXE simply launches the uplay launcher and doesn't bypass. :\ might just be my bad luck, but I've tried all the executables in the folder and they all launch the player.



RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-01-08

(2013-01-08, 04:53)Shadowrunner Wrote:
(2013-01-08, 04:01)Angelscry Wrote:
(2013-01-08, 02:20)Shadowrunner Wrote: So I've been having a blast on this and finding all the neat tricks and work-arounds, but I've been stumped. Stumped with uPlay and its launcher before games. Or maybe it's just specifically Far Cry 3. How are you all handling it? There doesn't seem to be an option on the client to auto-play, and there doesn't seem to be an .exe you can use to bypass the uplay launcher. As such, I have the miserable condition of having to manually click "Play" which, since I've opted to use a controller to do over a KB/M, is proving to be very difficult (time sensitive, because XBMC likes to kick back into focus before I can get it).

Anyone else have similar trouble? Or know of workarounds? I'm pretty sure the solution is AutoIt/AutoHotKey (except i'll just use event ghost, because I'm already using event ghost), but I was hoping for a simpler route than setting a time and praying that hitting enter will make it work.
You must have another executable that have been started by the launcher. When your Far Cry 3 game is running take a look at the Windows Tasks manager and identify the process/application/executable corresponding to your game. When using the search tools try to localise the executable file.
The executable goes from being uplay.exe to farcry3_d3d11, which I've found the exe for. However, trying to manually run that EXE simply launches the uplay launcher and doesn't bypass. :\ might just be my bad luck, but I've tried all the executables in the folder and they all launch the player.
Ok.. so the other solution is to create an autoit script that will :
  • start de launcher.exe file
  • simulate a click on the launcher windows play button
  • And exit only when launcher.exe and farcry3_d3d11.exe are closed
Unfortunatelly I do not have Far Cry 3 here to help you to create this script...







RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Shadowrunner - 2013-01-08

(2013-01-08, 04:59)Angelscry Wrote: Ok.. so the other solution is to create an autoit script that will :
  • start de launcher.exe file
  • simulate a click on the launcher windows play button
  • And exit only when launcher.exe and farcry3_d3d11.exe are closed
Unfortunatelly I do not have Far Cry 3 here to help you to create this script...

It's perfectly fine. First, thanks for all of your hard work and efforts! AND speedy and helpful replies to everyone. It's more than greatly appreciated.

I'm pretty sure that, as you propose, that will be the way to do it (I'm going to see if by chance I can use Event Ghost, but still), and I'm confident I could find a way to do that. I was just curious if anyone else happened to have run upon this and if they knew of some behind-the-scenes way to force the launcher to auto-play or some trick or two to completely skip the launcher (other than cracked game software, lol).

I'll keep an ear out, and if not in a few days I'll create something to do it Smile. Thanks!

EDIT:

Any EventGhost artists out there? this one's really got me working. The Launcher, when launched, does NOT trigger a task?! Not even a creation one! In fact, if you click away, you'll see that you lose focus (sometimes to the very window that is still considered "active" according to EG) and when you click back on it, it THEN creates the uPlay task. Pretty bizarre behavior.

It doesn't matter much though, as it turns out the steam key I have for the game cannot be used on the client, which means I'll have to have the launcher point to the steam link? which will then point to the game. Some quick research, but go figure. Ubi telling me I can't play the game, but then letting me play the game. EDIT2: no worries about the steam deal, just created an internet shortcut instead of a .lnk file and edited the launcher to accept .url, easy Smile. now to figure out why EG doesn't capture the creation of the uPlay launcher ...

EDIT3:

For anyone else going this route, I made it ugly. And, I used a batch file (which means associating a third type of file with the launcher) to then launch the Internet Shortcut (so that it used the special "steam" version of uPlay) then since the cmd line is closed, used a psudo-conditional (jump statement if i can find the uplay.exe window) to emulate keystrokes (tab + enter) to launch the game. It's ugly, it's a mess, but it works (it also relies on a 10 second wait ._. rediculous). If anyone utilizing the above can think of better, I'm open ears.

I put a post in to ubi for autoplay and EventGhost to pick up the launcher when it opens. We'll see what happens.