Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 288
  • 289
  • 290(current)
  • 291
  • 292
  • 453
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
(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.

(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 : 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).
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?
(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...-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.

(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!
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/
(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
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.
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
(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?
!!! 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/reposi...-1.2.2.zip on your XBMC system.
(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.
(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...




(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.
  • 1
  • 288
  • 289
  • 290(current)
  • 291
  • 292
  • 453

Logout Mark Read Team Forum Stats Members Help
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC24