• 1
  • 345
  • 346
  • 347(current)
  • 348
  • 349
  • 453
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
(2013-07-08, 17:49)n1md4 Wrote: Okay, I trust your judgement on this one, it's your add-on after all Smile and will have another go using your suggestions.

Thanks very much for the help!
With your solution, you will have to edit Advanced Launcher code every time a new version of Advanced Launcher will be released. That's not really convenient. Other solution are more permanent. Wink
Hi just a quick question has anyone been able to launch mupen64plus with advanced launcher on OSX? The command line is really bugging me out. Any preference for sixtyforce over mupen64plus here for playing n64 roms on mac?
(2013-07-06, 16:21)Angelscry Wrote:
(2013-07-04, 08:22)lokipoki Wrote:
(2013-07-04, 04:24)Angelscry Wrote: When Advanced Launcher .lnk support is activated, .lnk files are started by explorer.exe. So in your case, lnk file are effectively started (by explorer.exe) but test.exe is not started. When Advanced Launcher .lnk support is desactivated, .lnk files are started by the application defined into the launcher. So in your case, test.exe is started, but not the .lnk files (because your test.exe executable have nothing inside its code to manage and start .lnk files).

Remember that .lnk files ARE NOT executables. .lnk files are shortcuts managed by explorer.exe to redirect to another executable fand start it.

To make you test.exe file working it must manage .lnk files paths as argument and be able to start these lnk. files. According to this page, the way to start .lnk files using autoit is :

Code:
Run(@ComSpec & " /c " & '"C:\Documents and Settings\All Users\Menu Démarrer\Programmes\Microsoft AntiSpyware\Uninstall Microsoft AntiSpyware.lnk"', "", @SW_HIDE)

So to work with Advanced Launcher, your script must be something like this :

Code:
Run(@ComSpec & " /c " & '"' & $CmdLine[1] & '"', "", @SW_HIDE)

And your launcher configuration must be like this :

Application : D:\HTPC\Games\PC\Test.exe
Arguments : "%rom%"
File Extension : lnk
.lnk support : OFF

Ok. I tried exactly that. But when select a game nothing happens Confused
I have taken time to test it on my Windows system this morning and all the last information I have send you are working perfectly on my system. Are you sure you have compiled your autoit script correctly?

Hey. I just made a completely new launcher with all those settings. And its working !!! I dont see anything I did different than before. But thanks I really appreciate your time and afford. Now Im setting up the fanart + rotating disc just like I did with pcsx2. I get back to you if need help with that Wink

Cheers.
I was advised to post this here as well.

I currently have a custom favorite on the main menu screen that links directly into my emulators in the advanced launcher. 99% of the time, when I hit the "BACKSPACE" key to back out to the main menu, it goes directly there from my custom favorites menu.

However, here is where the problems comes the other 1%...

Occasionally, when I hit the "BACKSPACE" key to back out, instead of going up to the main menu, it backs out to the "DEFAULT" category menu of the Add-On. Then, if I hit back again, it goes up to the Add-Ons menu. Then, after hitting it the third time, if finally goes back out to the main menu. This is extremely problematic in trying to run my XBMC in full "Kiosk" mode so users don't get confused and start having to figure out menus.

I'd like to essentially have a two menu system: main menu > emulators (via the custom favorite) and then back out in the same way from the emulators > main menu without going in-between to the add-ons menu.

Any thoughts in what causes this or how to restrict it? I'd be willing to edit XML files if needed.
(2013-07-08, 13:48)styx06 Wrote:
(2013-07-08, 12:58)n1md4 Wrote: I had considered this, but if I'm going to run an OB session every time I launch an external app, it may as well be hard-coded. Also, how are arguments passed using this method?

See this guide for your anwer: http://dragly.org/2012/04/11/launching-a...untu-eden/

Thanks, only just seen this reply. I'm reading it now. Hopefully get this sorted Smile
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
Not working..

Here's my launcher:-

Application: /path/to/script
Arguments: /path/to/application "%rom%"

Here's the script:-

Code:
#!/bin/bash

openbox &
$1
killall -9 openbox

Here's the debug log:-

Code:
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840  NOTICE: Thread XBPython start, auto delete: false
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840  NOTICE: -->Python Interpreter Initialized<--
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840  NOTICE: [plugin.program.advanced.launcher] Initialisation
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2606435136  NOTICE: Thread BackgroundLoader start, auto delete: false
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: Thread XBPython start, auto delete: false
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: -->Python Interpreter Initialized<--
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: [plugin.program.advanced.launcher] Initialisation
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 WARNING: Attempt to use invalid handle -1
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 WARNING: Previous line repeats 4 times.
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: [plugin.program.advanced.launcher] application : /home/xbmc/build/scripts/qcomic_openbox
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: [plugin.program.advanced.launcher] arguments : /usr/bin/qcomicbook "/home/xbmc/literature/comics/Age of Apocalypse/Age of Apocalypse #10.cbr"
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
(2013-07-09, 23:55)n1md4 Wrote: Not working..

Here's my launcher:-

Application: /path/to/script
Arguments: /path/to/application "%rom%"

Here's the script:-

Code:
#!/bin/bash

openbox &
$1
killall -9 openbox

Here's the debug log:-

Code:
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840  NOTICE: Thread XBPython start, auto delete: false
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840  NOTICE: -->Python Interpreter Initialized<--
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840  NOTICE: [plugin.program.advanced.launcher] Initialisation
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2606435136  NOTICE: Thread BackgroundLoader start, auto delete: false
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: Thread XBPython start, auto delete: false
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: -->Python Interpreter Initialized<--
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: [plugin.program.advanced.launcher] Initialisation
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 WARNING: Attempt to use invalid handle -1
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 WARNING: Previous line repeats 4 times.
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: [plugin.program.advanced.launcher] application : /home/xbmc/build/scripts/qcomic_openbox
Jul  9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840  NOTICE: [plugin.program.advanced.launcher] arguments : /usr/bin/qcomicbook "/home/xbmc/literature/comics/Age of Apocalypse/Age of Apocalypse #10.cbr"
Your script is wrong. You are actually passing 2 arguments using Advanced Launcher : /path/to/application and "%rom%". So your script must manage 2 arguments and must be :

Code:
#!/bin/bash
openbox &
"$1" $2
killall -9 openbox

(2013-07-09, 23:12)xbmcmod101 Wrote: I was advised to post this here as well.

I currently have a custom favorite on the main menu screen that links directly into my emulators in the advanced launcher. 99% of the time, when I hit the "BACKSPACE" key to back out to the main menu, it goes directly there from my custom favorites menu.

However, here is where the problems comes the other 1%...

Occasionally, when I hit the "BACKSPACE" key to back out, instead of going up to the main menu, it backs out to the "DEFAULT" category menu of the Add-On. Then, if I hit back again, it goes up to the Add-Ons menu. Then, after hitting it the third time, if finally goes back out to the main menu. This is extremely problematic in trying to run my XBMC in full "Kiosk" mode so users don't get confused and start having to figure out menus.

I'd like to essentially have a two menu system: main menu > emulators (via the custom favorite) and then back out in the same way from the emulators > main menu without going in-between to the add-ons menu.

Any thoughts in what causes this or how to restrict it? I'd be willing to edit XML files if needed.
I'm not able to reproduce your problem on my system. BTW, Advanced Launcher use XBMC built-in functions and skin display for the folders/items navigation. Advanced launcher do not have any control on the "BACKSPACE" key action. So, if the navigation do not works 1% of the time, that's mostly related to the skin you are using or to XBMC itself.

Also, If you always use the "BACKSPACE" key to go to the home menu, map it to "HOME" and not to "BACK".
(2013-07-10, 00:14)Angelscry Wrote: Your script is wrong. You are actually passing 2 arguments using Advanced Launcher : /path/to/application and "%rom%". So your script must manage 2 arguments and must be :

Code:
#!/bin/bash
openbox &
"$1" $2
killall -9 openbox

It made no difference. I also tried $* as suggested in a previous post.



...but "$*" did. This is way to buggy though, so will look to have OpenBox running permanently in the background .... /me grumbles .. can't believe how impossible this seems to be.
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
(2013-07-10, 00:27)n1md4 Wrote: ...but "$*" did. This is way to buggy though, so will look to have OpenBox running permanently in the background .... /me grumbles .. can't believe how impossible this seems to be.
You made the wrong choice at start. Advanced Launcher start the desktop applications as you ask it. The problem is that your operating system cannot renderer the desktop application correctly. You could effectively try to use scripts/patches/mods to hope to reach a similar result, but nothing will be better than an operating system with a light dektop/windows manager.

Want to make a quick try. Install for example the Manjaro Openbox Edition on your system. Remove unecessary stuff (conky, tint2, put a black wallpaper). Setup slim to auto login at boot and finally tell openbox to autostart XBMC on launch. Then you will have a fast, light and fully fonctionnal HTPC system based on stabilized Archlinux rolling release.
(2013-07-10, 03:32)Angelscry Wrote: ..Then you will have a fast, light and fully fonctionnal HTPC system based on stabilized Archlinux rolling release.

Stablised? Have you used Arch before! Wink

I think I'll use this as an excuse to rebuild XBMC on SSD, on top of a window manager..
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
(2013-07-10, 12:16)n1md4 Wrote:
(2013-07-10, 03:32)Angelscry Wrote: ..Then you will have a fast, light and fully fonctionnal HTPC system based on stabilized Archlinux rolling release.

Stablised? Have you used Arch before! Wink

I think I'll use this as an excuse to rebuild XBMC on SSD, on top of a window manager..
Yes I was using it during 2-3 years. Avorted updates because missing dependencies was relatively current. Manjaro, with a 1-2 week decay on update releases is more stable.
Can anyone help, i've just set up the nes emulator in advanced launcher and now need to add the thumbs but i have a full set of 3d boxart. Is there a way to auto scan these in other than adding them one by one as that would take me forever.
(2013-07-10, 21:57)voyagerxp Wrote: Can anyone help, i've just set up the nes emulator in advanced launcher and now need to add the thumbs but i have a full set of 3d boxart. Is there a way to auto scan these in other than adding them one by one as that would take me forever.
So... I suppose that thumbs and roms are into separate folders. If it is the case, thumbs must have same filename than the rom files (ex. legend_of_zelda.jpg for legend_of_zelda.zip). When you will setup your NES launcher (files launcher), you will be asked to select the folder where will be localized the thumbs. Select the folder containing the set of 3d boxarts. Then, you will have to go into Advanced Launcher settings > Thumbs menu > and set "Collecting Method" to "Locale images". By doing this, when you will perform a "Scan for New Items" Advanced launcher will automatically search into the thumbs folder an image with the same filename as the roms file and will attribute this image to the item. http://www.youtube.com/watch?v=Cy5J9Kmenb4
(2013-07-10, 00:14)Angelscry Wrote: I'm not able to reproduce your problem on my system. BTW, Advanced Launcher use XBMC built-in functions and skin display for the folders/items navigation. Advanced launcher do not have any control on the "BACKSPACE" key action. So, if the navigation do not works 1% of the time, that's mostly related to the skin you are using or to XBMC itself.

Also, If you always use the "BACKSPACE" key to go to the home menu, map it to "HOME" and not to "BACK".

Thanks for looking into this issue. I really appreciate the help.

It's very hit or miss for me as well. However, I found one sure fire way to recreate it 100% of the time. We have established there are three levels to my setup: 1st is the title screen, 2nd is the emulator select screen and 3rd is the ROM or game select screen. If your on the lowest level 3 and hit back it goes up to the 2nd level, as it should. However if your on the 3rd level and hit ESC it jumps up to the first level (title screen). Now, from here if you were to navigate BACK DOWN to the 3rd level (game select screen) and THEN hit back, it does not go back up to the 2nd level as normal. This is where it dumps you in to the Add-Ons menu. Is it possible to restrict this action here?
Hey!

When I'm in XBMC, and through AdvancedLauncher, trying to open a game with my .bat config, which looks like this:

Code:
pssuspend XBMC.exe
cd "C:\Program Files (x86)\Emulator\RetroArch"
"C:\Program Files (x86)\Emulator\RetroArch\retroarch.exe" -f -D -L snes9x_next_libretro_x86_64_20130629.dll %1
pssuspend -r XBMC.exe

But when I do this, XBMC crashes, and is not responding. RetroArch and the game seems to be running fine in the background though.
I've got the pssuspend.exe in the same folder as where the retroarch.exe is located.


What am I doing wrong?
  • 1
  • 345
  • 346
  • 347(current)
  • 348
  • 349
  • 453

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