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 - ArtVandalay7 - 2014-08-10

Hello...
I can't seem to get Advanced Launcher to run a windows-based game on my linux-based HTPC. Have read the tutorial and have launcher pointing to the .exe file for the game and have platform as "ibm pc compatible" but nothing happens when you click on the game after I add it (i.e. doesn't load)...

http://xbmclogs.com/show.php?id=264574

thanks for any help!


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-08-10

(2014-08-10, 15:17)ArtVandalay7 Wrote: Hello...
I can't seem to get Advanced Launcher to run a windows-based game on my linux-based HTPC. Have read the tutorial and have launcher pointing to the .exe file for the game and have platform as "ibm pc compatible" but nothing happens when you click on the game after I add it (i.e. doesn't load)...

http://xbmclogs.com/show.php?id=264574

thanks for any help!
Huuu... You cannot run directly windows-based games or applications from linux systems. You need to pass through a software (like wine) to emulate windows and then hope to play your windows-based game. In this case, into Advanced Launcher, the started application is not the .exe file but wine binary itself. Then you have to pass the .exe file as argument. Lokk at this post posted few days ago concerning the use of wine with Advanced Launcher : http://forum.xbmc.org/showthread.php?tid=85724&pid=1764641#pid1764641


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - ArtVandalay7 - 2014-08-10

Ok I'll try it...thanks


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - chris295 - 2014-08-13

Hi Angelscry,

I'm trying to set up an AutoIt or AutoHotKey .exe that will launch a ScummVM game through RetroArch using the ScummVM core. I can get RetroArch to launch the ScummVM core, but I can't seem to get it to automatically launch a specific game.

Here's my code:

Code:
Run "C:\Emulation\retroarch\retroarch.exe" -f -D -L "C:\Emulation\retroarch\cores\scummvm_libretro.dll"

esc::

ifWinActive,ahk_class RetroArch
{
Process, Close, retroarch.exe
ExitApp
Return
}

else
Return

This successfully launches RetroArch with the ScummVM core. From this window, all I have to do is click on a game to launch it, but I would like to automate the process so that when I click on the .exe I have created, it launches RetroArch with the ScummVM core and loads the game of my choice.

From what I understand about ScummVM, the correct way to do this should look something like this:

In this example, let's say I'm trying to run the game DOTT, of which the Game ID is "tentacle"

Code:
"C:\Emulation\scummvm.exe" -f -p "C:\Emulation\retroarch\scummvm\dott" tentacle

The problem is, I'm trying to do this from RetroArch.exe using the ScummVM core, and I just can't seem to get it to work. If I put the path parameter after the .dll it does not seem to work. For example, this script just brings up a blank console window for half a second and then nothing further happens. RetroArch does not launch.

Code:
Run "C:\Emulation\retroarch\retroarch.exe" -f -D -L "C:\Emulation\retroarch\cores\scummvm_libretro.dll" -p "C:\Emulation\retroarch\scummvm\dott" tentacle

esc::

ifWinActive,ahk_class RetroArch
{
Process, Close, retroarch.exe
ExitApp
Return
}

else
Return

Any ideas?

Also, I realize this doesn't have anything to do with advanced launcher directly so I understand if you can't or don't want to help. I just figured I'd ask you since I know you helped me before with AutoIt / AHK and you're really the only one I know who might know the answer.

Thank you!


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-08-13

It would be hard to help you, because I'm not anymore a Windows user. But from what I remember, for ScummVM you do not have to indicate any rom path into the command line (ex. C:\Emulation\retroarch\scummvm\dott) , but only the romname (ex. tentacle). But for this you need to previously indicate into ScummVM settings where are located you roms. So the right command line would be something like this :

Code:
Run "C:\Emulation\retroarch\retroarch.exe" -f -D -L "C:\Emulation\retroarch\cores\scummvm_libretro.dll" -p tentacle

If it's not working maybe you will have a better support by asking your question on RetroArch or ScummVM dedicated forums.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - chris295 - 2014-08-13

It doesn't work Sad

I think you are right, so I have posted on the RetroArch forums about the issue.

Thanks anyway for trying. Smile


Can't get any game to launch, just goes to blank screen! - maxnutter - 2014-08-13

Okay, so I've read through the thread, and I can't get my Xbmc Gotham (linux) to launch any games, using Advanced Launcher (or Rom Collection Browser).

As an example, here's my setup for the Sega Megadrive/Genesis:

I've tried launchers.xml with direct access to the program file (/usr/bin/gens), and in this case, a script (below), but no dice.
The game appears to start, but then hangs on a black screen until I kill the process, then drops back to the list of roms.

Everything appears to have scraped correctly, it just won't run any games (in zip files, or extracted).

launchers.xml
Code:
            <name>Sega Genesis (Megadrive)</name>
            <category>23ab0c5aa7a52156fb75a14e8e471acf</category>
            <application>/home/xbmc/.xbmc/scripts/gens.sh</application>
            <args>"%rom%"</args>
            <rompath>/home/xbmc/Roms/SegaGenesis/</rompath>
            <thumbpath>/home/xbmc/Roms/SegaGenesis/</thumbpath>
            <fanartpath>/home/xbmc/Roms/SegaGenesis/</fanartpath>
            <trailerpath></trailerpath>
            <custompath></custompath>
            <romext>zip|bin|cue|iso|32x</romext>
            <platform>Sega Genesis</platform>


gens.sh
Code:
#!/bin/bash
wmctrl -r "XBMC Media Center" -b toggle,hidden
sleep 0.5
killall -STOP xbmc.bin
/usr/bin/gens --fs --quickexit --disable-led --disable-message "$1"
killall -CONT xbmc.bin
wmctrl -r "XBMC Media Center" -b remove,hidden


This creates a process as follows:

Code:
/usr/bin/gens --fs --quickexit --disable-led --disable-message /home/xbmc/Roms/SegaGenesis/Toejam & Earl (U) (REV 02).bin

xbmc.log
Code:
10:08:29 T:139960728397568  NOTICE: -->Python Interpreter Initialized<--
10:08:30 T:139960728397568  NOTICE: AdvancedLauncher: Load launchers.xml file
10:08:34 T:139960728397568  NOTICE: AdvancedLauncher: Initialisation
10:08:34 T:139960728397568  NOTICE: AdvancedLauncher: Advanced Launcher root folder > Categories list
10:08:34 T:139962018137856  NOTICE: Thread BackgroundLoader start, auto delete: false
10:08:36 T:139960728397568  NOTICE: Thread LanguageInvoker start, auto delete: false
10:08:36 T:139960728397568  NOTICE: -->Python Interpreter Initialized<--
10:08:36 T:139960728397568  NOTICE: AdvancedLauncher: Load launchers.xml file
10:08:40 T:139960728397568  NOTICE: AdvancedLauncher: Initialisation
10:08:40 T:139960728397568  NOTICE: AdvancedLauncher: 23ab0c5aa7a52156fb75a14e8e471acf category folder > Launcher list
10:08:40 T:139962018137856  NOTICE: Thread BackgroundLoader start, auto delete: false
10:08:44 T:139960728397568  NOTICE: Thread LanguageInvoker start, auto delete: false
10:08:44 T:139960728397568  NOTICE: -->Python Interpreter Initialized<--
10:08:44 T:139960728397568  NOTICE: AdvancedLauncher: Load launchers.xml file
10:08:48 T:139960728397568  NOTICE: AdvancedLauncher: Initialisation
10:08:50 T:139960728397568  NOTICE: Thread BackgroundLoader start, auto delete: false
10:08:51 T:139962018137856  NOTICE: Thread JobWorker start, auto delete: true
10:09:03 T:139960728397568  NOTICE: Previous line repeats 1 times.
10:09:03 T:139960728397568  NOTICE: Thread LanguageInvoker start, auto delete: false
10:09:03 T:139960728397568  NOTICE: -->Python Interpreter Initialized<--
10:09:03 T:139960728397568  NOTICE: AdvancedLauncher: Load launchers.xml file
10:09:08 T:139960728397568  NOTICE: AdvancedLauncher: Initialisation
10:09:08 T:139960728397568  NOTICE: AdvancedLauncher: application : /home/xbmc/.xbmc/scripts/gens.sh
10:09:08 T:139960728397568  NOTICE: AdvancedLauncher: arguments : "/home/xbmc/Roms/SegaGenesis/Toejam & Earl (U) (REV 02).bin"

Any ideas, tips will be gratefully received!
Thanks.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-08-13

(2014-08-13, 11:20)maxnutter Wrote: Okay, so I've read through the thread, and I can't get my Xbmc Gotham (linux) to launch any games, using Advanced Launcher (or Rom Collection Browser).

As an example, here's my setup for the Sega Megadrive/Genesis:

I've tried launchers.xml with direct access to the program file (/usr/bin/gens), and in this case, a script (below), but no dice.
The game appears to start, but then hangs on a black screen until I kill the process, then drops back to the list of roms.

Everything appears to have scraped correctly, it just won't run any games (in zip files, or extracted).

launchers.xml
Code:
            <name>Sega Genesis (Megadrive)</name>
            <category>23ab0c5aa7a52156fb75a14e8e471acf</category>
            <application>/home/xbmc/.xbmc/scripts/gens.sh</application>
            <args>"%rom%"</args>
            <rompath>/home/xbmc/Roms/SegaGenesis/</rompath>
            <thumbpath>/home/xbmc/Roms/SegaGenesis/</thumbpath>
            <fanartpath>/home/xbmc/Roms/SegaGenesis/</fanartpath>
            <trailerpath></trailerpath>
            <custompath></custompath>
            <romext>zip|bin|cue|iso|32x</romext>
            <platform>Sega Genesis</platform>


gens.sh
Code:
#!/bin/bash
wmctrl -r "XBMC Media Center" -b toggle,hidden
sleep 0.5
killall -STOP xbmc.bin
/usr/bin/gens --fs --quickexit --disable-led --disable-message "$1"
killall -CONT xbmc.bin
wmctrl -r "XBMC Media Center" -b remove,hidden


This creates a process as follows:

Code:
/usr/bin/gens --fs --quickexit --disable-led --disable-message /home/xbmc/Roms/SegaGenesis/Toejam & Earl (U) (REV 02).bin

xbmc.log
Code:
10:08:29 T:139960728397568  NOTICE: -->Python Interpreter Initialized<--
10:08:30 T:139960728397568  NOTICE: AdvancedLauncher: Load launchers.xml file
10:08:34 T:139960728397568  NOTICE: AdvancedLauncher: Initialisation
10:08:34 T:139960728397568  NOTICE: AdvancedLauncher: Advanced Launcher root folder > Categories list
10:08:34 T:139962018137856  NOTICE: Thread BackgroundLoader start, auto delete: false
10:08:36 T:139960728397568  NOTICE: Thread LanguageInvoker start, auto delete: false
10:08:36 T:139960728397568  NOTICE: -->Python Interpreter Initialized<--
10:08:36 T:139960728397568  NOTICE: AdvancedLauncher: Load launchers.xml file
10:08:40 T:139960728397568  NOTICE: AdvancedLauncher: Initialisation
10:08:40 T:139960728397568  NOTICE: AdvancedLauncher: 23ab0c5aa7a52156fb75a14e8e471acf category folder > Launcher list
10:08:40 T:139962018137856  NOTICE: Thread BackgroundLoader start, auto delete: false
10:08:44 T:139960728397568  NOTICE: Thread LanguageInvoker start, auto delete: false
10:08:44 T:139960728397568  NOTICE: -->Python Interpreter Initialized<--
10:08:44 T:139960728397568  NOTICE: AdvancedLauncher: Load launchers.xml file
10:08:48 T:139960728397568  NOTICE: AdvancedLauncher: Initialisation
10:08:50 T:139960728397568  NOTICE: Thread BackgroundLoader start, auto delete: false
10:08:51 T:139962018137856  NOTICE: Thread JobWorker start, auto delete: true
10:09:03 T:139960728397568  NOTICE: Previous line repeats 1 times.
10:09:03 T:139960728397568  NOTICE: Thread LanguageInvoker start, auto delete: false
10:09:03 T:139960728397568  NOTICE: -->Python Interpreter Initialized<--
10:09:03 T:139960728397568  NOTICE: AdvancedLauncher: Load launchers.xml file
10:09:08 T:139960728397568  NOTICE: AdvancedLauncher: Initialisation
10:09:08 T:139960728397568  NOTICE: AdvancedLauncher: application : /home/xbmc/.xbmc/scripts/gens.sh
10:09:08 T:139960728397568  NOTICE: AdvancedLauncher: arguments : "/home/xbmc/Roms/SegaGenesis/Toejam & Earl (U) (REV 02).bin"

Any ideas, tips will be gratefully received!
Thanks.
What do you mean by linux system? Openelec? XBMCUbuntu? Other linux distribution?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - maxnutter - 2014-08-13

Sorry,XBMCUbuntu


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-08-13

When you want to start a game form Advanced Launcher, XBMC is into standalone mode (no windows/desktop manager started) or into Ubuntu nomal mode (with a running windows/desktop manager)?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - maxnutter - 2014-08-13

Good question, how do I tell?
Ubuntu is installed underneath, but it boots straight into XBMC.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - maxnutter - 2014-08-14

never mind, I reinstalled the system with OpenElec and got it working with retroarch.


[RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - ktjensen - 2014-08-14

Launching an INTERRNET EXPLORER window in kiosk mode -k. Does anyone know how to close a window with a mouse? Do you have to map a mouse button to the CLOSE command?

Different issue. What is the best interface for ULTRAVIOLET MOVIES using advanced launcher? A browser in kiosk mode? Or the cinema now player? Or the VUDU player? Thanks for sharing any experiences


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - schumi2004 - 2014-08-15

Recently installed AL to use with Retroarch in OpenELEC (4.1.2 beta3) on a AD02 (E350)
But every rom i launch doesn't have audio.
When i launch rom from cli audio works perfect.

I added a asound.conf for my system without luck.
Code:
pcm.!default {
  type plug
  slave {
#    pcm "hw:1,0" #delete the first hash for sound over analog
    pcm "hw:1,1" #delete the first hash for sound over optical
#    pcm "hw:0,3" #delete the first hash for sound over hdmi
#    rate 48000
  }
}

Also tried several fixes found on other sources like changing audio_output_rate , kill XBMC before launch but they all fail.

Are there more things to try?

/EDIT:
It seems GUI sounds was the culprit. When changing Play GUI sounds to Nver in System settings sound issue is gone.
XBMC 13.2 beta 3


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2014-08-15

(2014-08-14, 13:12)ktjensen Wrote: Launching an INTERRNET EXPLORER window in kiosk mode -k. Does anyone know how to close a window with a mouse? Do you have to map a mouse button to the CLOSE command?

Different issue. What is the best interface for ULTRAVIOLET MOVIES using advanced launcher? A browser in kiosk mode? Or the cinema now player? Or the VUDU player? Thanks for sharing any experiences
1/. Yes you need to map a button (remote, mouse or keyboard) to close internet explorer windows.
2/. As Advanced Launcher is just starting application on your operating system, my reply will be, that you have to choose the same interface that give you the best result on your operating system.