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-03-31

(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".


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - pathartl - 2013-03-31

(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!


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - iceman600 - 2013-03-31

(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


Screen Saver issue - Firas.AlShafei - 2013-03-31

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


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

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


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

@ wiggo

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

cheers


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

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..


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

(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


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

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


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

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=85724&pid=1333211#pid1333211
Favourites


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

@ 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


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

(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


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-04-02

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


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-04-02

(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=85724&pid=1333211#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?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - wiggo - 2013-04-02

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