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 - fr500 - 2012-08-31

NVM


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - sudopinion - 2012-09-01

(2012-08-31, 23:20)fr500 Wrote: Hey, I updated my steam script so it no longer kills steam, now it closes it gracefully, also now it timeouts if it can start an app without pausing XBMC, here are my scripts

These scripts pause XBMC so it's not consuming any resources while games are running. First my steam script:

All you need to do is point Advanced launcher to the script and use the Steam Id of the game you want to launch, you can find the ID by creating a steam desktop icon and checking it's properties. for it to function you need to have steam community in-game enabled as it will track for gameoverlayui.exe. Some steam IDs here.

Code:
@echo off

REM *****************************************************************************************************
REM Usage:
REM call launcher_steam with an argument that is the steamid of the game
REM ex: launcher_steam 40800
REM script will track for gameoverlayui.exe
REM *****************************************************************************************************

REM setup variables
set limit=120
set iteration=0

echo STARTING GAME
echo *******************************************************
start "GAME" "steam://rungameid/"%1
set process_1=gameoverlayui.exe
set process_2=steam.exe
set ignore_result=INFO:

timeout 30

echo CHECK IF STEAM HAS STARTED
echo *******************************************************
:0

set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_2%"`) do if not %%A==%ignore_result% set var=running
echo steam %var% after %iteration% seconds
timeout 1

set /a iteration=iteration+1
if %iteration% == %limit% goto :3

if %var% == notrunning goto :0

set iteration=0

echo STEAM RUNNING CHECK IF GAME HAS STARTED
echo *******************************************************
:1

set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_1%"`) do if not %%A==%ignore_result% set var=running
echo game %var% after %iteration% seconds
timeout 1

set /a iteration=iteration+1
if %iteration% == %limit% goto :5

if %var% == notrunning goto :1

echo GAME STARTED PAUSE XBMC
echo *******************************************************
pssuspend XBMC.exe


echo GAME STARTED CHECK IF GAME IS STILL RUNNING
echo *******************************************************
:2

set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_1%"`) do if not %%A==%ignore_result% set var=running
echo game still %var%
timeout 5
if %var% == running goto :2

echo GAME STOPPED RESUME XBMC AND SHUTDOWN STEAM
echo *******************************************************
pssuspend -r XBMC.exe
start C:\Games\steam\steam.exe -shutdown

set limit=600
set iteration=0

echo CHECK IF STEAM IS STILL RUNNING
echo *******************************************************
:3

set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_2%"`) do if not %%A==%ignore_result% set var=running
echo steam still %var%
timeout 1
set /a iteration=iteration+1
if %iteration% == %limit% goto :4
if %var% == running goto :3
exit

:4
echo STEAM DIDN'T SHUTDOWN AFTER %limit% SECONDS, KILLING IT
echo *******************************************************
taskkill /IM steam.exe /f
exit

:5
echo GAME %1 DIDN'T START OR PROCESS %2 COULDNT' BE FOUND
echo *******************************************************
echo GAME %1 DIDN'T START OR PROCESS %2 COULDNT' BE FOUND > c:\launcherlog.txt
echo SHUTDOWN STEAM
echo *******************************************************
start C:\Games\steam\steam.exe -shutdown
echo CHECK IF STEAM IS STILL RUNNING
echo *******************************************************
goto :3

The second one, a generic .lnk launcher, it will launch the game.lnk file you specify (no need to add .lnk to arguments) and will track any specific process you want it to track, remember to set the path to your launchers in the batch file itself on this line:

set launcher_path=C:\path\to\your\shortcuts\

Code:
@echo off

REM *****************************************************************************************************
REM Usage:
REM call launcher_regular with 2 arguments, first argument is the game shortcutname, second argument
REM is the name of the process that must be tracked
REM ex: launcher_regular supermeatboy supermeatboy.exe
REM *****************************************************************************************************

REM setup variables
set limit=120
set iteration=0
set launcher_path=C:\path\to\your\shortcuts\


echo STARTING GAME
echo *******************************************************
start "GAME" %launcher_path%\%1.lnk
set process_1=%2
set ignore_result=INFO:

timeout 10

echo CHECK IF GAME HAS STARTED
echo *******************************************************
:1

set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_1%"`) do if not %%A==%ignore_result% set var=running
echo game %var% after %iteration% seconds
timeout 1

set /a iteration=iteration+1
if %iteration% == %limit% goto :3

if %var% == notrunning goto :1

echo GAME STARTED PAUSE XBMC
echo *******************************************************
pssuspend XBMC.exe


echo GAME STARTED CHECK IF GAME IS STILL RUNNING
echo *******************************************************
:2

set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_1%"`) do if not %%A==%ignore_result% set var=running
echo game still %var%
timeout 5
if %var% == running goto :2

echo GAME STOPPED RESUME XBMC
echo *******************************************************
pssuspend -r XBMC.exe

exit

:3
echo GAME %1 DIDN'T START OR PROCESS %2 COULDNT' BE FOUND
echo *******************************************************
echo GAME %1 DIDN'T START OR PROCESS %2 COULDNT' BE FOUND > c:\launcherlog.txt
exit

Both scripts will log to c:\launcherlog.txt in case of an error, hope these are helpful


Thank you. I will go through these scripts in order to integrate them into rom-jacket.



RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - fr500 - 2012-09-01

I'm glad these are helpful


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - hiorik - 2012-09-01

(2012-08-31, 23:20)fr500 Wrote: Hey, I updated my steam script so it no longer kills steam, now it closes it gracefully, also now it timeouts if it can start an app without pausing XBMC, here are my scripts

Great, thanks for info, anyway can you do same work with hyperspin?

btw hyperspin is a frontend, i want launch and suspend xbmc.

thanks!


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - fr500 - 2012-09-01

you can use launcher_regular, set it to launch say... hyperspin.lnk and track for the hyperspin.exe

So create a standard launcher with hyperspin.lnk hyperspin.exe as arguments, remember to set the path for your shortcuts first.
set launcher_path=C:\path\to\your\shortcuts\

It should work flawless


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - hiorik - 2012-09-02

thanks, i will try tonight, after work.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Miles_prower - 2012-09-02

Hi there.

I'm trying to use this addon, and it works correctly with standalone executables, but it doesn't do anything when I try to launch emulators.

I configured the addon correctly with the emulators Kega (Sega Genesis) and Snes9X (Snes) and it doesn't do anything when I press INTRO.

Any help, please?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Maleficium - 2012-09-02

Hi there,

It's my first experience with this addon and I'm not being able to use the GameFAQ scrapper to download the thumb (cover) from their site. All other data its being imported from their site. I'm being able to bring the thumbs from other scrappers but I think that GameFAQ its the most complete database for titles that only appeared in the japanese market.

Its some kind of bug or I'm missing something ?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-09-03

(2012-09-02, 18:32)Miles_prower Wrote: Hi there.

I'm trying to use this addon, and it works correctly with standalone executables, but it doesn't do anything when I try to launch emulators.

I configured the addon correctly with the emulators Kega (Sega Genesis) and Snes9X (Snes) and it doesn't do anything when I press INTRO.

Any help, please?
Have you selected the "Add Items" menu entry after creating the launcher? You need to do this action to assign roms to launcher.

(2012-09-02, 21:31)Maleficium Wrote: Hi there,

It's my first experience with this addon and I'm not being able to use the GameFAQ scrapper to download the thumb (cover) from their site. All other data its being imported from their site. I'm being able to bring the thumbs from other scrappers but I think that GameFAQ its the most complete database for titles that only appeared in the japanese market.

Its some kind of bug or I'm missing something ?
I have just tested GameFAQ thumbs scrapper with several games and all seems correctly working for me. With which games specifically do you encounter this problem (game name, platform)? Which version of Advanced Launcher are you using?




RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - simonnz - 2012-09-03

Advanced Launcher do not support samba paths (because most of emulators do not support then into their command line). So, to solve this, you just have to locally mount your NAS : http://www.7tutorials.com/how-map-drives-windows-7[/quote]

Great - thanks for that! Most appreciated!




RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Maleficium - 2012-09-03

Thanks for your reply Angelscry, problem solved.

I was using a previous version of Advanced Launcher.

Thanks for your work with this Addon.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - leepenny - 2012-09-03

Hello angelscry, Im having some trouble launching my dolphin emulator, ive read that I need to create a script to close xbmc and restart so have done this as suggested by your good self (http://www.gwenael.org/forum/viewtopic.php?id=272). I have set up the display as the gwenael wiki but dont know what arguments to use with the script . I'm running on linux and have had no problems with other emulators (ps1, mame) but this one has me stumped. Any available info would be most appreciated.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-09-03

(2012-09-03, 13:06)leepenny Wrote: Hello angelscry, Im having some trouble launching my dolphin emulator, ive read that I need to create a script to close xbmc and restart so have done this as suggested by your good self (http://www.gwenael.org/forum/viewtopic.php?id=272). I have set up the display as the gwenael wiki but dont know what arguments to use with the script . I'm running on linux and have had no problems with other emulators (ps1, mame) but this one has me stumped. Any available info would be most appreciated.
Arguments into Advanced Launcher must simply be :

Code:
"%rom%"



RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - sdsnyr94 - 2012-09-05

(2012-08-20, 18:00)Angelscry Wrote:
(2012-08-20, 06:12)one800higgins Wrote: I'm having issues with Advanced Launcher that I can't sort out. I have tried uninstalling and reinstalling, manually removing folders and reinstalling, rebooting, etc and no dice. No matter what, my Advanced Launcher does the same thing.

I added an SNES library, but I forgot to set it to scan for images and such while adding. So, I removed the library from Advanced Launcher and planned to reimport it, but with the scan set.

However, now whenever I go to set up AL, I get the following pop-up "Loading directory, retrieved 0 items" that never goes away. I can cancel, but then I can't do anything else. Selecting another menu item just results in the window closing and going back to my add-on list.

The debug log states the following:

00:05:35 T:1128 NOTICE: ERROR: Main::get_xml_source (1409) - [Errno 2] No such file or directory: 'C:\\Users\\one800higgins\\AppData\\Roaming\\XBMC\\userdata\\addon_data\\plugin.program.advanced.launcher\\launchers.xml'
00:05:35 T:1128 NOTICE: Launcher: found 0 launchers
Strange. According to your error message, Advanced Launcher is no able to access the launchers.xml files. Does the C:\\Users\\one800higgins\\AppData\\Roaming\\XBMC\\userdata\\addon_data\\plugin.program.advanced.launcher\\launchers.xml exist?
  • If so, could you post here the content of this file (using pastebin service)
  • If not, does the XBMC user have write access to the C:\\Users\\one800higgins\\AppData\\Roaming\\XBMC\\userdata\\addon_data\\plugin.program.advanced.launcher\\ folder?
Also, could you give me more information about your system? XBMC version, Windows version and Advanced Launcher version. Finally could you post here (using pastebin service) the complete xbmc.log file after the error occurs (the problem could be generated by another plugin)?

I am having the same symptoms as this original poster... fresh install of windows 7 64-bit... Pre-Frodo (Alpha 5) no other plugin's loaded... I have no launchers created yet, as it will not let me. When I enter the add-on, I receive the "Loading directory, retrieved 0 items" popup. I can cancel the popup, but cannot create launchers. I am not at home at the moment, so I do not have the log handy, but will post it later if needed. I also get this same issue within XBMCbuntu Pre-Frodo (Alpha 5).

If I load a version of Eden (windows or Linux).. everything works. So the million dollar question is : Is Advanced Launcher not Frodo ready yet, and is there a timeframe of when it will be?

Unfortunately, I needed some of the fixes that are in the pre-frodo builds on my ION XBMCbuntu unit, and it upgraded my database... so I need to stay frodo on my Windows unit.




RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-09-05

(2012-09-05, 16:25)sdsnyr94 Wrote: If I load a version of Eden (windows or Linux).. everything works. So the million dollar question is : Is Advanced Launcher not Frodo ready yet, and is there a timeframe of when it will be?

Unfortunately, I needed some of the fixes that are in the pre-frodo builds on my ION XBMCbuntu unit, and it upgraded my database... so I need to stay frodo on my Windows unit.
No Frodo support yet. Advanced Launcher will be Frodo "ready" when the RC Frodo versions of XBMC will be available. The really million dollar question is "Advanced Launcher does not work on XBMC Frodo because : Advanced Launcher is not ready or because Frodo still unstable, bugged and into development? Wink