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


- mephistopoa - 2011-07-17

Well the speed improved quite a lot with Aeon MQ and NOX, but still feel a bit laggy. Again if I alto+tab and launch zsnes manually, it works fine. I've removed all the arguments from the command line to use only what is on zsnes.cfg and ensure I'm using exactly the same configuration launching from XBMC and manually.
Do you think the alt+tab procedure works sort of like halting XBMC? I still can't imagine XBMC using lots of resources as the machine is easily capable of 1080p playback


- Angelscry - 2011-07-17

mephistopoa Wrote:Well the speed improved quite a lot with Aeon MQ and NOX, but still feel a bit laggy. Again if I alto+tab and launch zsnes manually, it works fine. I've removed all the arguments from the command line to use only what is on zsnes.cfg and ensure I'm using exactly the same configuration launching from XBMC and manually.
Do you think the alt+tab procedure works sort of like halting XBMC? I still can't imagine XBMC using lots of resources as the machine is easily capable of 1080p playback
That's strange, ALT+TAB normally only put XBMC into background (applications switch) and did not halt it at all. Your problem could be related to a difference in the screen resolution used when you start ZSNES. If when you start ZSNES manually the resolution is lower when you start ZSNES from Advanced Launcher (using command line) it could explain the difference of performance. You can try to use a .bat script to halt or close XBMC when you start and application from Advanced Launcher :


Version 1.4.6 - Angelscry - 2011-07-17

Version 1.4.6 : This new version of Advanced Launcher, add the possibility to donwload banners images from TheGameDB.net database. As for TV show, under XBMC, you have now the possibility to select between covers and banners for the displayed thumb images.

Image

Changelog :
  • add banner download support to TheGamesDB thumbs scrapper



- zugol - 2011-07-17

Angelscry Wrote:Which linux distribution are you using? Which versions of XBMC and Dolphin-emu are you using? Because on my system (Archlinux 64bit / XBMC 10.1-3 / Dolphin r7679) the escape key if working perfectly in all the cases (fullscreen or windowed) Huh Do you have another application that is running at the same time that could capture the ESC key action instead of Dolphin?

I'm using Ubuntu 10.10 (x86) with XBMC standalone 10.1 (Mar 9 2011) and dolphin 3.0.0 (cannot install the trunk).

There is no other programes running. I juste have a small windows on top left that display xbmc running adv. launcher in a reduce way. (something like 800x600).

If I disable the fullscreen xbmc option of adv. launhcer, I have no control on dolphin-emu but I can control xbmc...

The problem doesn't occure under gnome...


- followthereaper - 2011-07-25

Hey there, curious on how to setup folders for my roms.

I would like to display all of the awesome SNES games and have a folder with the not as awesome ones (as to not crowd space). Anyone do this yet?


- butchabay - 2011-07-25

mephistopoa Wrote:I'm using aeon65, not sure if it is still supported as I noticed now there is nothing on aeon forum regarding this version

You may try this:

http://forum.xbmc.org/showpost.php?p=674523&postcount=1


- st graveyard - 2011-07-25

Thanks for all the great updates Angel! Looks superb.


- SiOuz - 2011-07-25

I want to make a file .bat who can execute others files (.bat). It's for to make folder who contains my pc games.

So I have laucher.bat :

Code:
exec

with argument "%roms"

with the directory of my real *.bat of my games.

It's doesn't work :S


- Angelscry - 2011-07-26

zugol Wrote:I'm using Ubuntu 10.10 (x86) with XBMC standalone 10.1 (Mar 9 2011) and dolphin 3.0.0 (cannot install the trunk).

There is no other programes running. I juste have a small windows on top left that display xbmc running adv. launcher in a reduce way. (something like 800x600).

If I disable the fullscreen xbmc option of adv. launhcer, I have no control on dolphin-emu but I can control xbmc...

The problem doesn't occure under gnome...
Your problem is directly linked to the use of the standalone version of XBMC that make XBMC directly linked to X window. If you want to use XBMC under linux and also use external apllicastion with advanced launcher, it better tou have your windows manager and XBMC independant (like when you are under gnome). You can use a lightweight windows manager (like opdenbox) and directly start xbmc when with windows manager is started.


- Angelscry - 2011-07-26

followthereaper Wrote:Hey there, curious on how to setup folders for my roms.

I would like to display all of the awesome SNES games and have a folder with the not as awesome ones (as to not crowd space). Anyone do this yet?
Advanced launcher will only display the roms/games that are present into a same directory. Then you just have to create a launcher (indicating where are localised SNES emulator application, roms folder, thumbs folder and fanart folder). Then finally you will have to scan the roms/games/ folder to add the roms and scrap the related data infos and images. You cannot display under ALA games that are not present into you folders.


- Angelscry - 2011-07-26

SiOuz Wrote:I want to make a file .bat who can execute others files (.bat). It's for to make folder who contains my pc games.

So I have laucher.bat :

Code:
exec

with argument "%roms"

with the directory of my real *.bat of my games.

It's doesn't work :S
Advanced launcher support the .lnk shortcut files. You just have to create a folder, and put shortcuts to your games in it. Then setup advanced launcher like this : http://www.gwenael.org/xbmc/index.php?title=File_shortcuts


- SiOuz - 2011-07-26

http://www.gwenael.org/xbmc/index.php?title=File_shortcuts

Yeah I had already seen this link ! But I can't just select a folder for the Application, so i tried to select steam.exe, but with any sucess.

Nevertheless i have suggestion for future release :

- Get the rating of metatric (like steam when it's possible) as the section movie with imdb.

- Set a different scrapper,thumbs,fanart, for differents "Standalone" or "File launcher" not only for the addon.

But Great addon !! keep going !


- Angelscry - 2011-07-26

SiOuz Wrote:http://www.gwenael.org/xbmc/index.php?title=File_shortcuts

Yeah I had already seen this link ! But I can't just select a folder for the Application, so i tried to select steam.exe, but with any sucess.

Nevertheless i have suggestion for future release :

- Get the rating of metatric (like steam when it's possible) as the section movie with imdb.

- Set a different scrapper,thumbs,fanart, for differents "Standalone" or "File launcher" not only for the addon.

But Great addon !! keep going !
If you just want to select/start 1 application create a stand alone launcher. If you want to start different games/roms/items from a same application that support command line, create a file launcher : http://www.gwenael.org/forum/viewtopic.php?pid=4#p4

For Steam games looks to fr500 contributions/posts into this thread : http://forum.xbmc.org/showpost.php?p=728186&postcount=1575

Rating will not be implemented to advanced launcher. Too subjective data. You can love games that other people dont like... and he opposite. Cultivate your difference. Also assign specific scrappers for each kind launcher is not a way to manage a games collection. If you fix scrappers to a specific launcher but with these scrappers you are not able to retrieve all the games/items of this launcher... what are you going to do? Ignore the not found game or try to retrieve the missing data with another scrapper?


- SiOuz - 2011-07-26

Quote:Rating will not be implemented to advanced launcher. Too subjective data. You can love games that other people dont like... and he opposite. Cultivate your difference.

Metatric is an average score, of critric review and user review. So it's a subjectif data that three-quarters of the population shares.

It's not the "true" ok, but when you want to go watch a movie, you didn't look the different opinion of the movie before ? Like imdb or allociné ? It's not the "truth", but this is helping to make your choice(good or bad choice).

It's my opinion.

Quote:Also assign specific scrappers for each kind launcher is not a way to manage a games collection. If you fix scrappers to a specific launcher but with these scrappers you are not able to retrieve all the games/items of this launcher... what are you going to do? Ignore the not found game or try to retrieve the missing data with another scrapper?

Good point. But you can always manually associate with a local image.

The problem, it is sources have each different data ( one for old games (gamefaq), one ohters for new game on new plateform). With my solution, i think in 80% games gets a covers (more that actualy) or not lol.

Quote:If you just want to select/start 1 application create a stand alone launcher. If you want to start different games/roms/items from a same application that support command line, create a file launcher : http://www.gwenael.org/forum/viewtopic.php?pid=4#p4

For Steam games looks to fr500 contributions/posts into this thread : http://forum.xbmc.org/showpost.php?p...postcount=1575

I think you don't understand (or it's me). I already took the contribution to fr500 (otherwise thx fr500). I have make some file *.bat of my steam games. In standalone methode, it's work very well.

But I want to put (my different .bat of steam game) in the same folder (as when you past by the "File Launchers Creation" method, you get a folder, with your roms). Like application dolphin.exe with the name of Wii, and the folder contains the games).

I try to have this , folder as Name "Steam", contains my .bat files of steam games). With the "File Launchers Creation" method, I have to choose an executable but I don't have. I don't can't just choice a folder.

ps: sorry for my bad english :S


- fr500 - 2011-07-27

SiOuz Wrote:http://www.gwenael.org/xbmc/index.php?title=File_shortcuts

Yeah I had already seen this link ! But I can't just select a folder for the Application, so i tried to select steam.exe, but with any sucess.

Nevertheless i have suggestion for future release :

- Get the rating of metatric (like steam when it's possible) as the section movie with imdb.

- Set a different scrapper,thumbs,fanart, for differents "Standalone" or "File launcher" not only for the addon.

But Great addon !! keep going !

I have two generic scripts that will work for you. For both of them you need sysinternals tools installed and on your path, so get this file and extract them to your windows folder.

Scripts
Sysinternals PsTools

The first one is for steam games but won't group them, they'll all be on the root menu:


Quote:@echo off

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

REM pause XBMC
pssuspend XBMC.exe

REM start the game
start "GAME" "steam://rungameid/"%1
set process_1=%2
set ignore_result=INFO:

REM check if game has started
: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 variable %var%
timeout 1
if %var% == notrunning goto :1

REM check if game is still running
: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 variable %var%
timeout 1
if %var% == running goto :2

REM resume XBMC
pssuspend -r XBMC.exe

timeout 10
taskkill /IM steam.exe /f

All you need to do is create a REGULAR LAUNCHER for this script and in the arguments you put the steam AppID of the game you're gonna launch (more info on that below) and the name of the process that it must track (if you don't care about this use gameoverlayui.exe for all your games or modify the script to always track gameoverlayui.exe) to pause/unpause XBMC. It will also forcefully close steam after the game has ended. You can comment that out by putting a REM (REM taskkill /IM steam.exe /f)

To get AppID first create a desktop shortcut for your Game

Image

Then select the properties of the shortcut you just created, you only need the number not anything else

Image

Now, if you want to group them together it's actually easier. First of all create a folder with steam desktop shortcuts (like the one we'd have created in the post above), Once you have the shortcuts create a FILE LAUNCHER and select launcher_regular.bat, arguments would be %rom% that is there by default and gameoverlayui.exe, be sure to select the fil path to the path where you put all your steam shortcuts, and select the rom type to .url.

If you're gonna be using non-steam games with this you need to create shortcuts to the games, set the rom type to .lnk and fill the name of the process that the game creates as the second argument instead of gameoverlayui.exe, this can be tricky as many games have one .exe that calls a second one, you can find it using the task manager under process once the game is running. Failure to do this will result on XBMC not unpausing after game exits. You can avoid this too by commenting with REM this statement:

Quote:pssuspend XBMC.exe

to

Quote:REM pssuspend XBMC.exe

launcher_regular.bat
Quote:@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 smb.lnk supermeatboy.exe
REM *****************************************************************************************************

REM pause XBMC
pssuspend XBMC.exe



REM start the game
start "GAME" %1.lnk
set process_1=%2
set ignore_result=INFO:

REM check if game has started
: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 variable %var%
timeout 1
if %var% == notrunning goto :1

REM check if game is still running
: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 variable %var%
timeout 1
if %var% == running goto :2

REM resume XBMC
pssuspend -r XBMC.exe

You could set it to kill steam by adding:

Quote:timeout 10
taskkill /IM steam.exe /f

At the end.

Good luck and reply here if you have any issues.