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


- Angelscry - 2010-12-21

Rob Loach Wrote:You can simulate this effect by using bash/batch files. Not sure how it would look on Linux, but on Windows, you would take these steps:

  1. Create a launcher.bat file with "START %1" in it
  2. Make a new directory for all your PC Games batch files
  3. For each game you have, create another .bat file containing START "C:\\pathtomygame.exe"
  4. In ALA, add an emulator/rom launcher that runs launcher.bat, with the rom path to where all your .bat files are.

Again, I haven't tested this myself, but the idea is there. Also not sure what it would look like in bash/Linux.
Also under Windows instead of using .BAT files your can use : I think I will also try to see if it will be possible to add windows .lnk support for the launcher. So users will only have to put shortcuts into the same directory an then scan it.

Under Linux, I think it will be possible to use :
  • bash files (.sh) in the same manner than the .bat file under windows.
  • alias like windows shortcuts



- Robert de Clair - 2010-12-21

http://www.mediafire.com/?nk2cm2ca2ybc8tn Polish R147 (0.8.6)

Code:
115 <string id="30321">Import Image from %s : %s covers</string>
116 <string id="30322">Import Image from %s : %s size</string>

from where are getting changes for this variables?


- Angelscry - 2010-12-21

Robert de Clair Wrote:http://www.mediafire.com/?nk2cm2ca2ybc8tn Polish R147 (0.8.6)

Code:
115 <string id="30321">Import Image from %s : %s covers</string>
116 <string id="30322">Import Image from %s : %s size</string>

from where are getting changes for this variables?
This changes appear into the "Change Thumbnail Image" and "Change Thumbnail Image" menus for Launchers and Roms. It shows now :
  • Informations of the selected region cover for GameFAQs and MobyGames thumbs scrapers.
  • Informations of the selected image size for Google thumbs and fanart scrapers.
I thought that it will be usefull for the users to be reminded about the image scrapers parameters before start it. Cool

As always, Thank you for the translation !!!


- Robert de Clair - 2010-12-21

Im asking because although polish language i have "HUGE" in this line

Code:
Pobierz obraz z Google : Huge rozmiar

where Huge looks like a variable taken from english language or from script itself not from my translation file.

it should look like this

Code:
Pobierz obraz z Google : Największy rozmiar
or more gramatically in polish
Code:
Pobierz obraz z Google : rozmiar Największy

after delete last launcher (i have one and i just delete it via context menu) my xbmc was crashed

Code:
17:15:09 T:1520 M:1929125888  NOTICE: Launcher: SNES : found 820 roms
17:15:12 T:3592 M:1929990144  NOTICE: -->Python Interpreter Initialized<--
17:15:12 T:3592 M:1929691136  NOTICE: Mode AddOn ON
17:15:12 T:3592 M:1929691136  NOTICE: E:\_Dokumenty\Programy\XBMC\portable_data\userdata\addon_data\plugin.program.advanced.launcher
17:15:12 T:3592 M:1929691136  NOTICE: -1
17:15:12 T:3592 M:1928613888  NOTICE: Launcher: found 1 launchers
17:15:22 T:2772 M:1928269824  NOTICE: -->Python Interpreter Initialized<--
17:15:22 T:2772 M:1927323648  NOTICE: Mode AddOn ON
17:15:22 T:2772 M:1927323648  NOTICE: E:\_Dokumenty\Programy\XBMC\portable_data\userdata\addon_data\plugin.program.advanced.launcher
17:15:22 T:2772 M:1927323648  NOTICE: 0
17:15:22 T:2772 M:1926602752  NOTICE: Launcher: found 1 launchers
17:15:22 T:2772 M:1926459392  NOTICE: Launcher: SNES : found 820 roms
17:16:46 T:1052 M:1934254080  NOTICE: -->Python Interpreter Initialized<--
17:16:46 T:1052 M:1933008896  NOTICE: Mode AddOn ON
17:16:46 T:1052 M:1933008896  NOTICE: E:\_Dokumenty\Programy\XBMC\portable_data\userdata\addon_data\plugin.program.advanced.launcher
17:16:46 T:1052 M:1933008896  NOTICE: 0
17:16:46 T:1052 M:1932038144  NOTICE: Launcher: found 1 launchers
17:16:47 T:3092 M:1930731520   ERROR: Unable to find plugin
17:16:47 T:2240 M:1930723328   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://
17:16:47 T:2240 M:1930723328   ERROR: CGUIMediaWindow::GetDirectory(plugin://) failed
17:16:51 T:3384 M:1915138048 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
17:16:53 T:4000 M:1921568768  NOTICE: -->Python Interpreter Initialized<--
17:16:53 T:4000 M:1921110016  NOTICE: Mode AddOn ON
17:16:53 T:4000 M:1921110016  NOTICE: E:\_Dokumenty\Programy\XBMC\portable_data\userdata\addon_data\plugin.program.advanced.launcher
17:16:53 T:4000 M:1921110016  NOTICE: 0
17:16:53 T:4000 M:1920831488  NOTICE: Launcher: found 1 launchers
17:16:59 T:3784 M:1926037504  NOTICE: -->Python Interpreter Initialized<--
17:16:59 T:3784 M:1925738496  NOTICE: Mode AddOn ON
17:16:59 T:3784 M:1925738496  NOTICE: E:\_Dokumenty\Programy\XBMC\portable_data\userdata\addon_data\plugin.program.advanced.launcher
17:16:59 T:3784 M:1925738496  NOTICE: -1
17:16:59 T:3784 M:1925459968  NOTICE: Launcher: found 1 launchers
17:17:07 T:3780 M:1923985408  NOTICE: -->Python Interpreter Initialized<--
17:17:07 T:3780 M:1923690496  NOTICE: Mode AddOn ON
17:17:07 T:3780 M:1923690496  NOTICE: E:\_Dokumenty\Programy\XBMC\portable_data\userdata\addon_data\plugin.program.advanced.launcher
17:17:07 T:3780 M:1923690496  NOTICE: 0
17:17:07 T:3780 M:1923682304  NOTICE: Launcher: found 0 launchers
17:17:08 T:2400 M:1924063232  NOTICE: -->Python Interpreter Initialized<--
17:17:08 T:2400 M:1923768320  NOTICE: Mode AddOn ON
17:17:08 T:2400 M:1923768320  NOTICE: E:\_Dokumenty\Programy\XBMC\portable_data\userdata\addon_data\plugin.program.advanced.launcher
17:17:08 T:2400 M:1923768320  NOTICE: 1
17:17:08 T:2400 M:1923756032  NOTICE: Launcher: found 0 launchers

i was try it twice and twice launcher freeze xbmc after remove one and only SNES launcher


- nekoarashi - 2010-12-21

anyone having any success running final burn alpha roms from within the launcher?


- Robert de Clair - 2010-12-21

http://www.mediafire.com/?39817tpwg0gc0z6 improved polish r147 (0.8.6) correction of gramatical syntax

Im pretty sure, a variables for strings who i asked before are not working. So strings from lines 115 and 116 is half polish half english Smile


i will try - mesob - 2010-12-21

i will try thanks for help


- Angelscry - 2010-12-21

nekoarashi Wrote:anyone having any success running final burn alpha roms from within the launcher?
The problem with Final Burn Alpha is that the command line is limited to the romfilname : fba.exe [rom]. So you do not have any control to the screen size, resolution of fullscreen. So because Advanced Launcher use command line to start application, you may encounter some problems.

There is an unofficial version of FBA named FBA Shuffle. This version has a more developed command line :
Code:
fba -g <game> [-listinfo|-w|-r <width>x<height>|-d <depth>|-ips]
<game> = The game's romname. You can specify the filename of a savestate or input recording instead.
-w     = Run in a window instead of fullscreen.
-r     = Specify a resolution.
-d     = Specify a depth.
-ips   = Apply patches which have been configured.
If neither -a nor -r are specified, the default fullscreen resolution is used. Examples:
fbas -g sfa3 -r 800x600 -d 32 -ips
fbas awesome_sfzch_recording.fr -w
fbas -g vsav2 -w
I never try it (because I'm under Linux), but maybe be it will reply to yours expectations.


- Angelscry - 2010-12-21

Robert de Clair Wrote:Im asking because although polish language i have "HUGE" in this line

Code:
Pobierz obraz z Google : Huge rozmiar

where Huge looks like a variable taken from english language or from script itself not from my translation file.

it should look like this

Code:
Pobierz obraz z Google : Największy rozmiar
or more gramatically in polish
Code:
Pobierz obraz z Google : rozmiar Największy

after delete last launcher (i have one and i just delete it via context menu) my xbmc was crashed

Code:
17:15:09 T:1520 M:1929125888  NOTICE: Launcher: SNES : found 820 roms
17:15:12 T:3592 M:1929990144  NOTICE: -->Python Interpreter Initialized<--
17:15:12 T:3592 M:1929691136  NOTICE: Mode AddOn ON
17:15:12 T:3592 M:1929691136  NOTICE: E:\_Dokumenty\Programy\XBMC\portable_data\userdata\addon_data\plugin.program.advanced.launcher
17:15:12 T:3592 M:1929691136  NOTICE: -1
17:15:12 T:3592 M:1928613888  NOTICE: Launcher: found 1 launchers
17:15:22 T:2772 M:1928269824  NOTICE: -->Python Interpreter Initialized<--
17:15:22 T:2772 M:1927323648  NOTICE: Mode AddOn ON
17:15:22 T:2772 M:1927323648  NOTICE: E:\_Dokumenty\Programy\XBMC\portable_data\userdata\addon_data\plugin.program.advanced.launcher
17:15:22 T:2772 M:1927323648  NOTICE: 0
17:15:22 T:2772 M:1926602752  NOTICE: Launcher: found 1 launchers
17:15:22 T:2772 M:1926459392  NOTICE: Launcher: SNES : found 820 roms
17:16:46 T:1052 M:1934254080  NOTICE: -->Python Interpreter Initialized<--
17:16:46 T:1052 M:1933008896  NOTICE: Mode AddOn ON
17:16:46 T:1052 M:1933008896  NOTICE: E:\_Dokumenty\Programy\XBMC\portable_data\userdata\addon_data\plugin.program.advanced.launcher
17:16:46 T:1052 M:1933008896  NOTICE: 0
17:16:46 T:1052 M:1932038144  NOTICE: Launcher: found 1 launchers
17:16:47 T:3092 M:1930731520   ERROR: Unable to find plugin
17:16:47 T:2240 M:1930723328   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://
17:16:47 T:2240 M:1930723328   ERROR: CGUIMediaWindow::GetDirectory(plugin://) failed
17:16:51 T:3384 M:1915138048 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
17:16:53 T:4000 M:1921568768  NOTICE: -->Python Interpreter Initialized<--
17:16:53 T:4000 M:1921110016  NOTICE: Mode AddOn ON
17:16:53 T:4000 M:1921110016  NOTICE: E:\_Dokumenty\Programy\XBMC\portable_data\userdata\addon_data\plugin.program.advanced.launcher
17:16:53 T:4000 M:1921110016  NOTICE: 0
17:16:53 T:4000 M:1920831488  NOTICE: Launcher: found 1 launchers
17:16:59 T:3784 M:1926037504  NOTICE: -->Python Interpreter Initialized<--
17:16:59 T:3784 M:1925738496  NOTICE: Mode AddOn ON
17:16:59 T:3784 M:1925738496  NOTICE: E:\_Dokumenty\Programy\XBMC\portable_data\userdata\addon_data\plugin.program.advanced.launcher
17:16:59 T:3784 M:1925738496  NOTICE: -1
17:16:59 T:3784 M:1925459968  NOTICE: Launcher: found 1 launchers
17:17:07 T:3780 M:1923985408  NOTICE: -->Python Interpreter Initialized<--
17:17:07 T:3780 M:1923690496  NOTICE: Mode AddOn ON
17:17:07 T:3780 M:1923690496  NOTICE: E:\_Dokumenty\Programy\XBMC\portable_data\userdata\addon_data\plugin.program.advanced.launcher
17:17:07 T:3780 M:1923690496  NOTICE: 0
17:17:07 T:3780 M:1923682304  NOTICE: Launcher: found 0 launchers
17:17:08 T:2400 M:1924063232  NOTICE: -->Python Interpreter Initialized<--
17:17:08 T:2400 M:1923768320  NOTICE: Mode AddOn ON
17:17:08 T:2400 M:1923768320  NOTICE: E:\_Dokumenty\Programy\XBMC\portable_data\userdata\addon_data\plugin.program.advanced.launcher
17:17:08 T:2400 M:1923768320  NOTICE: 1
17:17:08 T:2400 M:1923756032  NOTICE: Launcher: found 0 launchers

i was try it twice and twice launcher freeze xbmc after remove one and only SNES launcher
Oh... yes. Thank you. I miss those ones.

The google image size variable (like Huge) are those ones use by the google API. I will replace them by the same variables which are into the settings.

For the error when there is no more launchers... I have not think about this case. I will try to fix it. Thank you. I think it is just a redirection problem after deleted the last launcher. Instead of redirect into an empty launchers list after deletion, I will have to force to exit of the advanced launcher add-on itself.

I will try to fix it for the next version. Again... thank you for your precious help and you translation support. Nod


- invalidation - 2010-12-22

Angelscry Wrote:When scraping thumb and fanart images, the images files will be always saved with the .jpg extension into their respective directories and with the right name (as describer before).

I understand that is what it's supposed to do -- however, after an autoscrape, my thumbs and fanart folders are filled with jpeg images that have been named with a ".SMC" extension, instead of .jpg. They are not showing in XBMC until I manually rename the files, and alter the launchers.xml.

Here's an example from the launchers.xml to clarify:

Code:
<rom>
    <name>Donkey Kong Country</name>
    <filename>/media/filedump/SNES/roms/DONKEY_KONG_COUNTRY_3_(U).SMC</filename>
    <platform>Super Nintendo Entertainment System</platform>
    <thumb>/media/filedump/SNES/thumbs/DONKEY_KONG_COUNTRY_3_(U).SMC</thumb>
    <fanart>/media/filedump/SNES/fanart/DONKEY_KONG_COUNTRY_3_(U).SMC</fanart>
    <genre>Action</genre>
    <release>1994</release>
    <publisher>Rare</publisher>
    <gameplot>Alot of text here.</gameplot>
</rom>

If I manually get the thumb/fanart for an individual item, only then is it storing the image with a ".jpg" extension.


- hyperspinme - 2010-12-22

Just wanted to let you know that the latest release fixed all my Mame issues. Thanks for all the hard work.


- Angelscry - 2010-12-22

invalidation Wrote:I understand that is what it's supposed to do -- however, after an autoscrape, my thumbs and fanart folders are filled with jpeg images that have been named with a ".SMC" extension, instead of .jpg. They are not showing in XBMC until I manually rename the files, and alter the launchers.xml.

Here's an example from the launchers.xml to clarify:

Code:
<rom>
    <name>Donkey Kong Country</name>
    <filename>/media/filedump/SNES/roms/DONKEY_KONG_COUNTRY_3_(U).SMC</filename>
    <platform>Super Nintendo Entertainment System</platform>
    <thumb>/media/filedump/SNES/thumbs/DONKEY_KONG_COUNTRY_3_(U).SMC</thumb>
    <fanart>/media/filedump/SNES/fanart/DONKEY_KONG_COUNTRY_3_(U).SMC</fanart>
    <genre>Action</genre>
    <release>1994</release>
    <publisher>Rare</publisher>
    <gameplot>Alot of text here.</gameplot>
</rom>

If I manually get the thumb/fanart for an individual item, only then is it storing the image with a ".jpg" extension.
Hummmm... strange. Huh Could you please pastebin here all your complete launchers.xml file? I want to check if your SNES launcher is correctly configured and to try to reproduce the error on my computer to fix this bug. Thank you for your help. Wink


- Angelscry - 2010-12-22

hyperspinme Wrote:Just wanted to let you know that the latest release fixed all my Mame issues. Thanks for all the hard work.
I love positive feedbacks !!!! Thank you and have fun !!!! Laugh


- loktar - 2010-12-22

i have tried to change the roms path on the mame.ini, not worked.
tried to put the roms on the default folder, still dont works.

i cant find any log about mame except this lines on xbmc.log

Quote:01:37:36 T:2847918960 M:384086016 NOTICE: Launcher: found 1 launchers
01:37:36 T:2847918960 M:384086016 NOTICE: Launcher: mame : found 2 roms
01:37:38 T:2847918960 M:383455232 NOTICE: -->Python Interpreter Initialized<--
01:37:39 T:2847918960 M:383320064 NOTICE: Mode AddOn ON
01:37:39 T:2847918960 M:383320064 NOTICE: /home/xbmc/.xbmc/userdata/addon_data/plugin.program.advanced.launcher
01:37:39 T:2847918960 M:383320064 NOTICE: -1
01:37:39 T:2847918960 M:383320064 NOTICE: Launcher: found 1 launchers
01:37:39 T:3079268224 M:383320064 ERROR: GLX: Same window as before, refreshing context
01:37:40 T:2847918960 M:383029248 ERROR: Previous line repeats 1 times.
01:37:40 T:2847918960 M:383029248 NOTICE: -->Python Interpreter Initialized<--
01:37:40 T:2847918960 M:383029248 NOTICE: Mode AddOn ON
01:37:40 T:2847918960 M:383029248 NOTICE: /home/xbmc/.xbmc/userdata/addon_data/plugin.program.advanced.launcher
01:37:40 T:2847918960 M:383029248 NOTICE: -1
01:37:40 T:2847918960 M:383029248 NOTICE: Launcher: found 1 launchers
01:37:40 T:3079268224 M:383021056 ERROR: GLX: Same window as before, refreshing context
01:37:42 T:2847918960 M:383029248 ERROR: Previous line repeats 1 times.


i was able to run x-mame with xbmc before, but x-mame not runs some games, like CPS3 games.

im making tests with CPS1 final fight rom who dont needs bios and NEOGEO garou with bios inside zip.


- Angelscry - 2010-12-22

loktar Wrote:i have tried to change the roms path on the mame.ini, not worked.
tried to put the roms on the default folder, still dont works.
i cant find any log about mame except this lines on xbmc.log
i was able to run x-mame with xbmc before, but x-mame not runs some games, like CPS3 games.
im making tests with CPS1 final fight rom who dont needs bios and NEOGEO garou with bios inside zip.
I'm using sdlmame on my system. This is my launchers.xml file part related to MAME games :
Code:
<name>Arcade Game</name>
<application>/usr/bin/sdlmame</application>
<args> </args>
<rompath>/mnt/multimedias/consoles/arcades/roms/</rompath>
<thumbpath>/mnt/multimedias/consoles/arcades/marquees/</thumbpath>
<fanartpath>/mnt/multimedias/consoles/arcades/fanarts/</fanartpath>
<romext>zip</romext>
<platform>Arcade</platform>
<thumb>/mnt/multimedias/consoles/arcades/borne.png</thumb>
<fanart>/mnt/multimedias/consoles/arcades/screen.jpg</fanart>
<genre>Arcade Game</genre>
<release>Misc.</release>
<publisher>Misc.</publisher>
<launcherplot>An arcade game is a coin-operated entertainment machine, usually installed in public businesses such as restaurants, public houses, and video arcades. Most arcade games are redemption games, merchandisers (such as claw crane), video games, or pinball machines.</launcherplot>
<wait>true</wait>
So it is quite simple. No arguments for sdlmame and the roms are located into the /mnt/multimedias/consoles/arcades/roms/ directory. Now this is the content of my mame.ini file located at /home/angelscry/.mame/ :
Code:
#
# CORE SEARCH PATH OPTIONS
#
rompath                   /mnt/multimedias/consoles/arcades/roms;$HOME/.mame/bios
samplepath                /mnt/multimedias/consoles/arcades/fanarts
artpath                   /mnt/multimedias/consoles/arcades/marquees;artwork
If it still not working have you try to start those your non-working roms directly form MAME? Because some roms that we found over internet even identified as MAME roms do not works under MAME. Most of the time it is due to missing roms or CHD Images. You will found compatible MAME roms here.