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 - Application, Emulator and ROMs Launcher Addon for XBMC - HenryFord - 2012-03-20

(2012-03-17, 19:44)Angelscry Wrote: The <id></id>field in launchers.xml contains the unique ID number of each item and it is needed by Advanced Launcher and XBMC. For example, when you create a favorite of an Advanced Launcher item into XBMC, the favorite URL is directly linked to this ID number. This ID number is also used when you want to start, edit or delete an item. This item ID number is generated randomly.
Okay - thanks for the infor (and sorry for the wrong info regarding compatibility).
So - generally I could just generate those ids myself with a random 32-digit hex? Would AL be capable of handling it?


RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - Angelscry - 2012-03-20

(2012-03-20, 10:57)dirtymurt Wrote: I managed, just about to get the images scraped using google, however, because of the naming conventions it was impossible to scrape any issue info. but I'm not overly worried about that as a lot of info has spoilers anyway.

that said, is there anyway, Angelscry, that you could open any comic file and pull out the first image (normally the cover), obviously this could only work with cbz file and not cbr or pdf.

I think this would be a great, automated way to get the issue thumbs

how about that for a challenge sir?
That's not possible. Images scrapers into Advanced Launcher are all based on items name not on files. As soon as the comic is well identified their is not problem to found the corresponding cover. The challenge is here.


(2012-03-20, 12:36)HenryFord Wrote: Okay - thanks for the infor (and sorry for the wrong info regarding compatibility).
So - generally I could just generate those ids myself with a random 32-digit hex? Would AL be capable of handling it?
Basically you could generate anything as ID. This one is always created when you create a new launcher or add a new item. Then, it still the same until the launcher or the item is deleted. So if you create your proper launchers.xml file, Advanced Launcher will be able to use it. But the ID number must be enough long, complicated and unique to not have 2 items with the same ID. This is how I generate the item ID :

Code:
t1 = time.time()
t2 = t1 + random.getrandbits(32)
base = md5.new( str(t1 +t2) )
sid = base.hexdigest()

I get the actual time (so, time of creation of the launcher), add to it a random 32 bits number, and then generate from this a md5 number.







RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - Zootoxin - 2012-03-20

Did/Does anyone else have a problem with PCSXR Crashing on game load? (Couldn't find an answer on the emulator forum)

I am trying to get this emu working with Advanced Launcher but so far I can't even get the emu to run a single game.

Error Message is: (Win7 64bit)

Problem Event Name: APPCRASH
Application Name: pcsxr.exe
Application Version: 1.0.0.1
Application Timestamp: 4f4f781d
Fault Module Name: StackHash_aa6b
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: c000041d
Exception Offset: 75304f0d
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: aa6b
Additional Information 2: aa6b7445ed91add5b3a80c678f778f56
Additional Information 3: ea1a
Additional Information 4: ea1a15ffb213890be5841e1b8b8ea492

Thanks for any help given :-)


RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - Angelscry - 2012-03-20

(2012-03-20, 14:17)Zootoxin Wrote: Did/Does anyone else have a problem with PCSXR Crashing on game load? (Couldn't find an answer on the emulator forum)

I am trying to get this emu working with Advanced Launcher but so far I can't even get the emu to run a single game.

Error Message is: (Win7 64bit)

Problem Event Name: APPCRASH
Application Name: pcsxr.exe
Application Version: 1.0.0.1
Application Timestamp: 4f4f781d
Fault Module Name: StackHash_aa6b
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: c000041d
Exception Offset: 75304f0d
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: aa6b
Additional Information 2: aa6b7445ed91add5b3a80c678f778f56
Additional Information 3: ea1a
Additional Information 4: ea1a15ffb213890be5841e1b8b8ea492

Thanks for any help given :-)
I cannot help you. PCSXR run without problem on all my system (linux or Windows). Som, it seems that it is a problem only related to PCSXR on your system (not with Advanced Launcher). Maybe you will habe better support on the dedicated page : http://pcsxr.codeplex.com/workitem/list/basic



RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - nonob - 2012-03-22

Hi,

I try to launche my steam games from advanced launcher but it doesn't work.

I tried fr500's batch files but xbmc just toggle to windowed then back to full screen and nothing else.

Fisrt i tried this :

Quote:Ok here is my bat for steam games, works well, doesn't have the silly timeouts it used to.

Code:
@echo off

REM pause XBMC and call for the game startup

pssuspend XBMC.exe

start steam://rungameid/26800

set process_1="braid.exe"
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%

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%

if %var% == running goto :2

REM resume XBMC and close steam

if %var% == notrunning taskkill /F /IM steam.exe
pssuspend -r XBMC.exe
exit

All you have to do is replace the url on steam://rungameid/26800. You can find out the steam gameid you need to use by creating a desktop shortcut on steam

then this:

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

I extracted sysinternal tools to C:\WINDOWS.

Code:
@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

The game ID of my Left4dead 2 game is : steam://rungameid/550

So, in the fist bat i replace all the url by this.

and in the second batch i just added 550 to arguments when creating launcher :

"%rom%" 550 gameoverlayui.exe

What is wrong ?

I use dharma, default confluence skin and windows xp.

Thanks


Games Trailers under Advanced Launcher - the Lost Alien - 2012-03-22

Hello everybody,
I have done some little modifications under the MQ3 skin to look like the screenshot and I would Like to know if there's a tips or something like that to integrate a game trailers somewhere on the skin ?
excuse my English

Image


RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - dirtymurt - 2012-03-22

brilliant, can you make the greyed out games, brighter?



RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - the Lost Alien - 2012-03-22

thnx for the suggestion, of cors I can but it's mad for the night mode..


Version 1.8.0 - Angelscry - 2012-03-25

Version 1.8.0 : With this new version of Advanced Launcher it is now possible to mark a launcher or an item as finished. It is also possible to undo the action by marking them as unfinished. In addition to this feature, an entry have been added into Advanced Options settings to auto-hide (or not) launchers and items that have been marked as finished. Also a skin support have been added to indicate if a launcher or an item was finished or not (through ListItem.Overlay). I'm not sure that skins supporting Advanced Launcher can already display this overlay indication for Add-on programs. But It will not be to complicated for skinners to add it.

Image Image

The second feature of this new Advanced Launcher version is the native support of trailers (ListItem.trailer). With previous versions of Advanced Launcher, by tweaking certain skin, it was already possible to use trailers. It is now possible to use the custom path value and the launcher or item filename to link them mp4 trailers. For example if the custom path is /xbmc/emu/genesis/extra/ and the item complete path is /xbmc/emu/genesis/roms/sonic.zip the trailer complete path must be /xbmc/emu/genesis/extra/sonic.mp4 to be automatically detected by Advanced Launcher (through ListItem.trailer value)

ChangeLog :
  • Add Trailer path support (ListItem.trailer)
  • Add feature to mark launchers as finished/unfinished
  • Add feature to mark items as finished/unfinished
  • Add skin finished/unfinished status support (ListItem.Overlay)
  • Add settings to show/hide finished launcher and items



RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - Angelscry - 2012-03-25

If you are actually using the version 1.8.0 of Advanced Launcher you may have discover that this last version contain a new data scraper named "ComicVinev2". This scraper is not finished and not working actually. I have forget to remove it when I have released version 1.8.0. I'm actually working of this new ComicVine scraper. It will be based on Google search engine (to identify comic issues) and ComicVine API (to retrieve information). The preliminary results are really encouraging.

Here is what we previously obtain when we search for the Ultimate Sprider-Man #1 issue :

Image

The right issue is the 6th result of the list and the other results are nor really relevant. Now, this is what we will obtained with the new ComicVinev2 scraper when we search for the same issue :

Image

I'm still working on it...Big Grin


RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - the Lost Alien - 2012-03-26

great work Angelscry, and many thanks for your efforts, still surching for a way to integrate the game trailer to the MQ3 skin Smile


RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - dirtymurt - 2012-03-27

(2012-03-22, 22:58)the Lost Alien Wrote: thnx for the suggestion, of cors I can but it's mad for the night mode..

that would be fantastic, the dimmed out images give a real gloomy look i think. could you advise where in the xml i would need to change please?




RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - the Lost Alien - 2012-03-28

(2012-03-27, 15:49)dirtymurt Wrote:
(2012-03-22, 22:58)the Lost Alien Wrote: thnx for the suggestion, of cors I can but it's mad for the night mode..

that would be fantastic, the dimmed out images give a real gloomy look i think. could you advise where in the xml i would need to change please?

yes I think soNod, you can do the same thing than I under the View Panel of the views.xml file or I can send you mine by e-mail may-be Blush


RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - zurgdawg - 2012-03-28

Thanks for the great feature Angelscry, really enjoying it.

Question - I have a modern system with plenty of resources (AMD E-350 APU, 8GB RAM, SSD HD, etc) yet I experience quite a bit of lag when the thumbnails populate. For example, if I click on one of my launchers and it is set to the view that shows all of the thumbnails, about 40% of the thumbs will be present immediately but others will just show an empty box and slowly load into frame taking upwards of 5 seconds to populate. If I scroll down the list, the behavior continues as some thumbs are present while others take a while to populate. If I let them all populate, leave the launcher, and then return, the same behavior continues. Any suggestions on how to improve performance here?

Thanks again.


RE: [RELEASE] Advanced Launcher - Application, Emulator and ROMs Launcher Addon for XBMC - Angelscry - 2012-03-28

(2012-03-28, 21:43)zurgdawg Wrote: Thanks for the great feature Angelscry, really enjoying it.

Question - I have a modern system with plenty of resources (AMD E-350 APU, 8GB RAM, SSD HD, etc) yet I experience quite a bit of lag when the thumbnails populate. For example, if I click on one of my launchers and it is set to the view that shows all of the thumbnails, about 40% of the thumbs will be present immediately but others will just show an empty box and slowly load into frame taking upwards of 5 seconds to populate. If I scroll down the list, the behavior continues as some thumbs are present while others take a while to populate. If I let them all populate, leave the launcher, and then return, the same behavior continues. Any suggestions on how to improve performance here?

Thanks again.
Advanced Launcher only indicate thumbs and fanart images paths to XBMC. XBMC save this images into its cache folder, then this cached images are displayed by XBMC through the skin. Advanced Launcher do not manage any images, only paths of these images.

Your lag problem could be related to the size of a thumb and fanart images. More images are big, more they take place into memory and more it will take time to display them (even is cached). Your thumbnails and XBMC cache folder are on the same system? Not on a network harddrive? What is typically the size (into Kb or Mb) of these thumb images? PNG or JPEG format? A thing you can try is to downscale the thumb size and save them as JPEG with a higher compression level (around 75%). It will surely reduce the memory usage.

Or maybe you have a cache problem with XBMC. Cache disabled (I'm not sure it's possible) or no write access to the cache folder...Huh)