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


- srsobieraj - 2011-03-03

Quote:1. When starting project64 from xbmc it gives me following:
Graphical error
Direct3D failed to initialize
Error code 88760868
D3DERR_DEVICELOST

Be sure to check "run as fullscreen window" instead of "run fullscreen" in XBMC settings.

Angelscry, maybe a large, obnoxious link to the Wiki & Manual is needed in the first post. This might remove a lot of the rookie posts.

That being said, I have an update and a feature request:

I've finished cataloging my games. Each game has its correct box art for the thumbnail and its title screen as its fanart. Looks fantastic and I've cataloged over 3000 games for the NES, SNES, N64, Genesis, 32X and more.

I invited a few friends over and we had a blast playing our old games, but found it difficult to find new games to try because we weren't sure how many players they supported.

I know MobyGames for sure has an entry for "Players" or the like, but it's not set up intuitively. They list "1-4 Players" in a different category than "2-4" players (see here). I would imagine that other databases (GameFAQs, Allgame, etc) have the same attribute to be able to scrape. If implemented in ALA, I would simply want to be able to go to search for the number of players as "4" and have it return results from any game that supported 4 players, as well as display the number of players when browsing games.

Would it be possible to add this feature? It would obviously not apply to non-game applications...so maybe a toggle in the launcher's "advanced options" is necessary "Is a game launcher [y/n?]"

If this were introduced, I could filter for 3-Player Sports Games, or 2-Player Beat-em-up Games, etc. It would be a fantastic addition to ALA.Big Grin


- htpc guy - 2011-03-03

srsobieraj Wrote:Be sure to check "run as fullscreen window" instead of "run fullscreen" in XBMC settings.

Angelscry, maybe a large, obnoxious link to the Wiki & Manual is needed in the first post. This might remove a lot of the rookie posts.

That being said, I have an update and a feature request:

I've finished cataloging my games. Each game has its correct box art for the thumbnail and its title screen as its fanart. Looks fantastic and I've cataloged over 3000 games for the NES, SNES, N64, Genesis, 32X and more.

I invited a few friends over and we had a blast playing our old games, but found it difficult to find new games to try because we weren't sure how many players they supported.

I know MobyGames for sure has an entry for "Players" or the like, but it's not set up intuitively. They list "1-4 Players" in a different category than "2-4" players (see here). I would imagine that other databases (GameFAQs, Allgame, etc) have the same attribute to be able to scrape. If implemented in ALA, I would simply want to be able to go to search for the number of players as "4" and have it return results from any game that supported 4 players, as well as display the number of players when browsing games.

Would it be possible to add this feature? It would obviously not apply to non-game applications...so maybe a toggle in the launcher's "advanced options" is necessary "Is a game launcher [y/n?]"

If this were introduced, I could filter for 3-Player Sports Games, or 2-Player Beat-em-up Games, etc. It would be a fantastic addition to ALA.Big Grin

I would gladly make some flags for player count that anyone could use for their skin. I'm sure Butchabay wouldn't object to adding the flags to Cirrus Extended.


- skimshady - 2011-03-03

Angelscry Wrote:What happen sometime with the Google Images search engine is that Google is referencing images that are not anymore on the referenced web pages. And so when Advanced Launcher want to download these images... it can not.

Is it possible to filter out dead references?

Angelscry Wrote:Yes, I know this fact. By adding the game system to the google image search you will have better specific result... I will try to see how I can improve this... without limiting the flexibility. Thank you. Wink

Are all picture formats supported? Jpg, gif, png, tiff? Or should the search be limited to just jpg? And will all file sizes be resized to fill the same space so they look the same size in the library? Maybe after scraping normal with one of the "good" scrapers, allgame, gamefaq, mobygames etc, then google can fill in the rest automatically. I feel a smart algorithm here can do fantastic things with the google scraper.

And I think the metadata regarding how many players the game support is a good idea Smile


- Mannebrother - 2011-03-03

srsobieraj Wrote:Be sure to check "run as fullscreen window" instead of "run fullscreen" in XBMC settings.

That did solve the startingproblem, but the problem consists where i still navigate in XBMC even with the emulator started. :/ how do i fix this? i use an xbox360 wireless controller if that has anything to do with itSmile

(like i said before, this use to work superawesome just some weeks ago)


- Angelscry - 2011-03-03

srsobieraj Wrote:Angelscry, maybe a large, obnoxious link to the Wiki & Manual is needed in the first post. This might remove a lot of the rookie posts.
I have made some modifications on the first post. I hope it will be more explicit... but if people did not read the first post it will not solve anything.

srsobieraj Wrote:I know MobyGames for sure has an entry for "Players" or the like, but it's not set up intuitively. They list "1-4 Players" in a different category than "2-4" players (see here). I would imagine that other databases (GameFAQs, Allgame, etc) have the same attribute to be able to scrape. If implemented in ALA, I would simply want to be able to go to search for the number of players as "4" and have it return results from any game that supported 4 players, as well as display the number of players when browsing games.

Would it be possible to add this feature? It would obviously not apply to non-game applications...so maybe a toggle in the launcher's "advanced options" is necessary "Is a game launcher [y/n?]"
Yes it could be possible to add this feature. I have first to check how each database source manage their number of players to make common classification under Advanced Launcher. I will have to add a new tag, assign a list.item value, modify each data scraper, add editing options (if the information is not on the database), and modify the Advanced Launcher search engine. Then skins have to be modified to display the information. A lot of work in perspective. Wink

srsobieraj Wrote:If this were introduced, I could filter for 3-Player Sports Games, or 2-Player Beat-em-up Games, etc. It would be a fantastic addition to ALA.Big Grin
The advanced Launcher not actually support multi-field query... and I'm not sure it will be possible.


- Angelscry - 2011-03-03

bthusby Wrote:Is it possible to filter out dead references?
If the Google team is not able to do it... I'm not sure I will be able to simply do it. I can add a function that will test if each images exist before report the thumbnail list, but it will really slow down the image scraping process (I found it actually enough slow to my taste).

bthusby Wrote:Are all picture formats supported? Jpg, gif, png, tiff? Or should the search be limited to just jpg?
Yes, all supported, but all saved with the .jpg extension (even if they are gif of png images). XBMC display them whatever is the extension. BTW fanarts or thumbs are most of the time jpeg images.

bthusby Wrote:And will all file sizes be resized to fill the same space so they look the same size in the library?
No, images are saved as they are. I will not add resize function because sizes of displayed images are managed by the skins (scaled, stretched or anything else). If you image have not displayed with the same size, it is a problem of the skin.

bthusby Wrote:Maybe after scraping normal with one of the "good" scrapers, allgame, gamefaq, mobygames etc, then google can fill in the rest automatically. I feel a smart algorithm here can do fantastic things with the google scraper.
The problem with google images scraper is that it will never give you more accurate results than the other images scrapers. Advantage of the google scraper is that it give you access to a large number of images. For example if you search images for "Legend of Zelda" for "Super Nintendo Entertainment System"... Mobygames or Gamefaqs images scrapers will give you exactly what you search. With google if you search for "Legend of Zelda" for "Super Nintendo Entertainment System" you will have some results... but maybe you could have better results if you search for "Zelda" for "SNES". It depend how people and google have referred the images. An algorithm cannot predict this. That's why I do not recommend to use Google images scraper during Automatic (or Semi-automatic) scan.


- Mannebrother - 2011-03-03

what to do if your XBMC is continued to navigate in even if it's not in focus?


- Angelscry - 2011-03-03

Mannebrother Wrote:That did solve the startingproblem, but the problem consists where i still navigate in XBMC even with the emulator started. :/ how do i fix this? i use an xbox360 wireless controller if that has anything to do with itSmile

(like i said before, this use to work superawesome just some weeks ago)

Mannebrother Wrote:what to do if your XBMC is continued to navigate in even if it's not in focus?
Since version 1.2.0, Advanced Launcher is not controlling anymore the XBMC process when starting an external application. So, by default, XBMC is still running into background. It is to users to decide how they want to control XBMC (freeze/close/still running) and any other parallel applications (controllers, saves, game specific settings, background process, etc..) using external scripts. There is so many system configuration possibilities and Advanced Launcher is not able to control or predict all of them. I know it is less usefull than the previous version of Advanced Launcher, but it is more flexible and less limited.

Now to solve you problem the best way is to use an external .bat file that will freeze XBMC when your application will be started. Read here how I Suspend XBMC using .bat script: http://forum.xbmc.org/showpost.php?p=722688&postcount=1493.


- Mannebrother - 2011-03-03

Angelscry Wrote:Since version 1.2.0, Advanced Launcher is not controlling anymore the XBMC process when starting an external application. So, by default, XBMC is still running into background. It is to users to decide how they want to control XBMC (freeze/close/still running) and any other parallel applications (controllers, saves, game specific settings, background process, etc..) using external scripts. There is so many system configuration possibilities and Advanced Launcher is not able to control or predict all of them. I know it is less usefull than the previous version of Advanced Launcher, but it is more flexible and less limited.

Now to solve you problem the best way is to use an external .bat file that will freeze XBMC when your application will be started. Read here how I Suspend XBMC using .bat script: http://forum.xbmc.org/showpost.php?p=722688&postcount=1493.

Thanx ! gon try dat!


- srsobieraj - 2011-03-03

htpc guy Wrote:I would gladly make some flags for player count that anyone could use for their skin. I'm sure Butchabay wouldn't object to adding the flags to Cirrus Extended.

That would be awesome. Already using Cirrus Extended and prefer it over the many iterations of Aeon.

Angelscry Wrote:Yes it could be possible to add this feature.
Wohoo! I understand that this would be a bunch of work, but it'd be super for filtering even if I can't select a genre at the same time.


- john.doe - 2011-03-04

Hello Angelscry.
I use the function "pause media before launching a application" Advanced Launcher.
It happens sometimes (when first starting an application in my case) the break does not work.
Is it possible to ensure that Advanced Launcher checks that the media is paused before launch an application ?

Is it also possible to detect whether the current media is already paused, and in this case leave it break ?
For example, if I manually pause before launching a media application, Advanced Launcher will resume the media before the start of it.

I use external scripts for all my applications with the functions "pssuspend XBMC.exe" and "pssuspend -r XBMC.exe".


- Angelscry - 2011-03-04

john.doe Wrote:Hello Angelscry.
I use the function "pause media before launching a application" Advanced Launcher.
It happens sometimes (when first starting an application in my case) the break does not work.
Is it possible to ensure that Advanced Launcher checks that the media is paused before launch an application ?

Is it also possible to detect whether the current media is already paused, and in this case leave it break ?
For example, if I manually pause before launching a media application, Advanced Launcher will resume the media before the start of it.

I use external scripts for all my applications with the functions "pssuspend XBMC.exe" and "pssuspend -r XBMC.exe".
To do this, I have to check if there is a way (returned value by XBMC) to detect the state of the played media under XBMC. If this control not exists, it will not be possible.


- Mannebrother - 2011-03-04

Angelscry Wrote:Since version 1.2.0, Advanced Launcher is not controlling anymore the XBMC process when starting an external application. So, by default, XBMC is still running into background. It is to users to decide how they want to control XBMC (freeze/close/still running) and any other parallel applications (controllers, saves, game specific settings, background process, etc..) using external scripts. There is so many system configuration possibilities and Advanced Launcher is not able to control or predict all of them. I know it is less usefull than the previous version of Advanced Launcher, but it is more flexible and less limited.

Now to solve you problem the best way is to use an external .bat file that will freeze XBMC when your application will be started. Read here how I Suspend XBMC using .bat script: http://forum.xbmc.org/showpost.php?p=722688&postcount=1493.

tried that and come a bit further Smile

i now get xbmc to suspen and also get project64 to start, but it now gives me this error message.
http://tinypic.com/r/m9ywdv/7

if i press ok there and manually choosing the file im trying to launch in the first place, it works great with xbmc suspended in the background and resuming when i close the emulator again.

it's close now Smile

any ideas?


- Angelscry - 2011-03-04

Mannebrother Wrote:tried that and come a bit further Smile

i now get xbmc to suspen and also get project64 to start, but it now gives me this error message.
http://tinypic.com/r/m9ywdv/7

if i press ok there and manually choosing the file im trying to launch in the first place, it works great with xbmc suspended in the background and resuming when i close the emulator again.

it's close now Smile

any ideas?
Seems that your launcher is not configured correctly. I need that you post here the content of your launchers.xml file to be sure and help you further. There is also a dedicated wiki page for the configuration for Project64 emulator here : http://www.gwenael.org/xbmc/index.php?title=Project64#Windows.

Please read, the red bold text of the first post of this thread.


- Mannebrother - 2011-03-04

Angelscry Wrote:Seems that your launcher is not configured correctly. I need that you post here the content of your launchers.xml file to be sure and help you further. There is also a dedicated wiki page for the configuration for Project64 emulator here : http://www.gwenael.org/xbmc/index.php?title=Project64#Windows.

Please read, the red bold text of the first post of this thread.

Aight, so here is the launchers.xml and nintendo 64 part of it

<launcher>
<name>Nintendo 64</name>
<application>C:\HTPCSTUFF\Emulators\emulatorer\n64\n64-launcher.bat</application>
<args>%rom%</args>
<rompath>C:\HTPCSTUFF\Emulators\ThumbFanRom\n64\rom\</rompath>
<thumbpath>C:\HTPCSTUFF\Emulators\ThumbFanRom\n64\thumb\</thumbpath>
<fanartpath>C:\HTPCSTUFF\Emulators\ThumbFanRom\n64\fanart\</fanartpath>
<extrafanartpath>C:\HTPCSTUFF\Emulators\ThumbFanRom\n64\</extrafanartpath>
<romext>z64|zip|n64</romext>
<platform>Nintendo 64</platform>
<thumb></thumb>
<fanart></fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<launcherplot></launcherplot>
<minimize>true</minimize>
<lnk>true</lnk>

after this <roms> follows and all that is added when adding roms. (you know what i mean)

I have followed the wikipage for the emulator.

Here is the content of the n64-launcher.bat:

pssuspend XBMC.exe
cd "C:\HTPCSTUFF\Emulators\emulatorer\n64"
Project64.exe %1
pssuspend -r XBMC.exe

(also, i use this (but modified) .bat for starting zsnews and it works flawlessly Smile)