• 1
  • 314
  • 315
  • 316(current)
  • 317
  • 318
  • 453
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
(2013-03-30, 22:42)pathartl Wrote: 473 pages in, but still thanks for the plugin. As others have had, I have a major issue right now where the file launcher doesn't work. I've tried both the latest git version and the version from the repo, and both tested on 12.0 and 12.1. It will create the launcher, but it won't scan the games. It just shows up like a standalone launcher. If I try running it, nothing happens and there are no errors in the log file.
You need to select the launcher, go into it context menu, select "Add Items" and select "Scan for New Items".
(2013-03-31, 02:22)Angelscry Wrote: You need to select the launcher, go into it context menu, select "Add Items" and select "Scan for New Items".

Oh, duh Smile It works on the repo version just fine. Thanks!
(2013-03-30, 14:35)Angelscry Wrote:
(2013-03-30, 06:48)iceman600 Wrote:
(2013-03-29, 13:04)Angelscry Wrote: If you lost your launchers list, Advanced Launcher include a backup feature (into Addon Settings > Backup/Debug) to recover it. Concerning the error script message, you will need to post the content of the xbmc.log file (using pastebin services), after the error message occurrs, to see what happen. Also which versions of XBMC and Advanced Launcher are you using?

how exactly i can restore it? im using the latest version of xbmc 12.1 and the latest version of advance launcher too
Go into Advanced Launcher settings > "Backup/Debug" section, and select the option "Load a backup file". Then select the YYYYMMDD-HHMMSS-MILLISEC-launchers.xml file just before your problem occurs, then your launchers list will be restored : http://www.gwenael.org/forum/viewtopic.php?id=469

thank you so much.... its working now. much appreciated. respect
I ran into a problem where XBMC would stay in windowed mode after exiting an emulator. The problem only seemed to occur if i played for a while.

I went over your code and watched the debug log and found out that it was screensaver related. It seems that XBMC ignores your first command after returning, it uses it to clear its screensaver state instead of actually taking the FullScreen command.

You can test it by setting the screensaver timeout in xbmc to 1 minute, wait until it's idle, and issue a JSON command to toggle fullscreen. The command will not execute while XBMC is in idle mode - you will have to execute it twice, once to clear the idle mode and once to actually toggle fullscreen.

I was able to fix this in my launch script by detecting if xbmc is idle and issuing an input, this serves to bring it out of idle mode before Advanced Launcher issues the toggle fullscreen command.

I just figured i would share my launch script in here - might help someone else who's seeing the same issue.

Code:
#!/bin/bash
#
# Script to launch emulators.
# For use with Advanced Launcher in XBMC
#
# v1.0 - Firas AlShafei - 02/05/2013
# - Initial Version
#


exec 3>&1 4>&2
trap 'exec 2>&4 1>&3' 0 1 2 3
exec 1>$(dirname $0)/mednafen_genesis.log 2>&1

# turn off dpms
xset -dpms

# turn off screensaver/screenblank
xset s off


# Pause XBMC
kill -STOP `ps aux | grep xbmc.bin | grep -v grep | awk '{print $2}'`

# Restart XBOX360 Controller Driver
# service xboxdrv-rc restart

# Launch zsnes with provided rom
/home/xbmc/Games/Sega\ Genesis/Emulator/mednafen -fs 1 "$1"

# Restart XBOX360 Controller Driver
#service xboxdrv-rc restart

# Resume XBMC Process
kill -CONT `ps aux | grep xbmc.bin | grep -v grep | awk '{print $2}'`

# Check id XBMC is in idle mode
isIdle=`curl -H "Content-Type: application/json" -i -u xbmc:xbmc -X POST -d '{"jsonrpc": "2.0", "method": "XBMC.GetInfoBooleans", "params": { "booleans": ["System.ScreenSaverActive "] }, "id": 1}' http://xbmc:8080/jsonrpc | grep result | awk '{print $2}' | sed 's/"\|:\|}//g'`
echo XBMC Returned System.ScreenSaverActive: $isIdle

# If XBMC is idle send a keypress to wake it so Advanced Launcher can issue the maximize command
if $isIdle ; then
   echo Detected ScreenSaver - Send input command to clear it
   curl -H "Content-Type: application/json" -i -u xbmc:xbmc -X POST -d '{"jsonrpc": "2.0", "method": "Input.Up"}' http://localhost:8080/jsonrpc
fi

# turn on dpms
xset +dpms

# turn on screensaver/screenblank
xset s on

Usage Requirements:
- Enable JSON-RPC
- Replace the username/password (xbmc:xbmc) in the script curl commands with your own, or remove them completely (remember to remove the -u parameter too)

Hope this helps someone else Smile
Like my post? please up my reputation, it faced the wrath of X3lectric over this post
[HOW-TO][FRODO] Configure XBOX 360 Wireless Controller
[HOW-TO][Frodo] XBOX DVD Remote/Dongle
Hi All

I hope someone can help me.

I'm running Windows 8 x64, Frodo 12.1.

I recently installed Advance Launcher and have got it working perfectly to run PC game exe files. The problem I am having now, is that I can't get the PCSX (Playstaion 1) emulator to work.

The point I get to is when I click the thumbnail for the game, the XBMC gui stays fullscreen and then PCSX loads up but doesn't run the Rom.

I've checked the Wiki page for the exceptions and so on, so I know I've got that part of it set up correctly.

If anyone can help me, I'd be forever in your debt.

Kind regards

Wiggo
@ wiggo

try this:
http://www.gwenael.org/forum/viewtopic.php?id=13

cheers
I know this is a newbie question, but I successfully loaded the launcher, added a game (Angry Birds - PC) and got it to launch.
However, the XBMC window pops back to the front position 3 secs after the game launches and will continue to do so if I try to bring the game (or any other program running in the background at the time) to the front position.
Running Frodo 12.1 on Win 7.
What command or check box did I forget in order to keep the game in front of the XBMC screen until I am ready to return to the media center program?

Thanks for any help in advance!
M..
(2013-04-01, 03:37)bakito Wrote: @ wiggo

try this:
http://www.gwenael.org/forum/viewtopic.php?id=13

cheers

Awesome job.

Thanks very much mate Smile
Hi

Can anyone tell me how I incorporate the Autoit3 file for the PCSX2 Emulator please?

I opened up notepad, inserted the info from the wiki page, changed the directory locations and so on, but I'm stuck with what I have to do after that.

Any help would again be appreciated.

Kind regards

Wiggo
Hi

I have setup AL to execute Chrome to launch web pages, but the problem is that it starts to open them more than one time.
So I get very many tabs.

Is there an way to fix these.

I have set it as IBM/PC compatible in the launcher.

This is my launcher xml: Launcher XML

The first launcher, I cant remember seen this problem. But not sure.

And I have tried to find the problem in the favourites that makes them open in an blank area before they open, and then need to
push back button when Im back in XBMC, but cant find these text lines in my favourites file. From this page: http://forum.xbmc.org/showthread.php?tid...pid1333211
Favourites
Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767
@ wiggo

you have to compile your autoit script to get an exe.
- first get autoit : http://www.autoitscript.com/site/autoit/
- make your autoit script with the info provided in the wiki ( with your file adress ) then compil it, you get an exe that will be your launcher for the ps2.
cheers
(2013-04-01, 20:41)bakito Wrote: @ wiggo

you have to compile your autoit script to get an exe.
- first get autoit : http://www.autoitscript.com/site/autoit/
- make your autoit script with the info provided in the wiki ( with your file adress ) then compil it, you get an exe that will be your launcher for the ps2.
cheers

Hi

Thanks for the response.

Do I need to paste the script into notepad and save as an autoscript file (au3)?

I've tried that you see and when i double click on the exe file, nothing happens. The same happens when I go through XBMC.

This is the way I've got the au3 file structured.

http://pastebin.com/raw.php?i=9jD9wae2

Many thanks for your help

Wiggo
(2013-04-01, 09:01)mmstompin Wrote: I know this is a newbie question, but I successfully loaded the launcher, added a game (Angry Birds - PC) and got it to launch.
However, the XBMC window pops back to the front position 3 secs after the game launches and will continue to do so if I try to bring the game (or any other program running in the background at the time) to the front position.
Running Frodo 12.1 on Win 7.
What command or check box did I forget in order to keep the game in front of the XBMC screen until I am ready to return to the media center program?

Thanks for any help in advance!
M..
Are you using XBMC Launcher at the same time?

(2013-04-01, 21:03)wiggo Wrote:
(2013-04-01, 20:41)bakito Wrote: @ wiggo

you have to compile your autoit script to get an exe.
- first get autoit : http://www.autoitscript.com/site/autoit/
- make your autoit script with the info provided in the wiki ( with your file adress ) then compil it, you get an exe that will be your launcher for the ps2.
cheers

Hi

Thanks for the response.

Do I need to paste the script into notepad and save as an autoscript file (au3)?

I've tried that you see and when i double click on the exe file, nothing happens. The same happens when I go through XBMC.

This is the way I've got the au3 file structured.

http://pastebin.com/raw.php?i=9jD9wae2

Many thanks for your help

Wiggo
The .au3 script need to receive a command line parameter (iso path). So it is normal that it is not working when you double click on it. This script only works into XBMC if your are starting it form a file launcher (not a stand alone one).
(2013-04-01, 16:58)pettergulbra Wrote: Hi

I have setup AL to execute Chrome to launch web pages, but the problem is that it starts to open them more than one time.
So I get very many tabs.

Is there an way to fix these.

I have set it as IBM/PC compatible in the launcher.

This is my launcher xml: Launcher XML

The first launcher, I cant remember seen this problem. But not sure.

And I have tried to find the problem in the favourites that makes them open in an blank area before they open, and then need to
push back button when Im back in XBMC, but cant find these text lines in my favourites file. From this page: http://forum.xbmc.org/showthread.php?tid...pid1333211
Favourites
I don' know if it could be related but for the argument must be something like this -kiosk "http://www.kanal5play.se" instead of just kanal5play.se. How do you quit Chrome to return to XBMC?

For your favourites problem. Which version of Advanced Launcher are you suing? Could you post here the line of your favourites.xml corresponding to your Chrome launcher?
Thanks for the reply Angelscry.

Do you think you could write a script for me to copy into Autoit based on the following directory of my Roms please?

E:\Games\PSOne Roms\Roms

And the install folder for the Emulator itself is shown on the image below.

Image


XBMC has been installed to the usual place.

I really hope you can help me out here.

Kind regards

Wiggo
  • 1
  • 314
  • 315
  • 316(current)
  • 317
  • 318
  • 453

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