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 - 2011-02-02

Binary77 Wrote:Ah okay, i'll try that then. I thought that the rom extension field was just to set the format that the individual game rom files were supposed to be & told Advanced Launcher what kind of files to look for. I didn't realise that this field also affected what format the emulator 'file launcher' program could be.

Will this stop me from being able to select my .iso PS2 games from my list of roms though? As i do not wish for my PCSX2 games to be in .lnk format - i still want them to be .iso files & for Advanced Launcher to recognise them as such.
Ho... sorry... I have misunderstand that you want to start .lnk applications and not to start .lnk files using the application. I'm not sure that you will be able to directly start .lnk files using Advanced Launcher. No


- Binary77 - 2011-02-02

Not a problem, i had a feeling that maybe we were talking about different things.

So...if I know wanted to use your script, and after i'd adjusted the directories in your script to suit my system, then would I just need to use your AutoIT executable as the emulators 'file launcher' (in place of the proper .exe for PCSX2) & then would I still be able to have my .iso PS2 games listed as the roms for this launcher and still be able to scan them from their folder & launch them like normal?

I much prefer the 'click on desired File Launcher (PCSX2 etc) > goes to scanned roms (Shadow of the Colossus, Metal Gear Solid etc)' kind of setup as opposed to just using standalone executables, as it makes it a lot easier to organise games for each individual platform. I've managed to arrange my PC games into a seperate 'folder' aswell by using a batch file as a 'file launcher', which then runs my games through batch files, which get recognised as it's 'roms'.

Sorry that i'm asking so many questions - I thoroughly appreciate all of the great work that you've been doing with Advanced Launcher & I use it everyday wth the rest of my games, i'd just like to get PCSX2 working correctly with it to complete my setup. If it wasn't for you, then i doubt i'd be using XBMC to launch my games at all, so i think the XBMC team owe you a beer!


- Angelscry - 2011-02-02

Binary77 Wrote:So...if I know wanted to use your script, and after i'd adjusted the directories in your script to suit my system, then would I just need to use your AutoIT executable as the emulators 'file launcher' (in place of the proper .exe for PCSX2) & then would I still be able to have my .iso PS2 games listed as the roms for this launcher and still be able to scan them from their folder & launch them like normal?
If you follow my previous description : create the AutoIt script (.au3 file) with your corresponding paths, compile it into an .exe file, rename it pcsx2-launcher.exe, put it into the same folder than pcsx2-r3878.exe and use the same configuration as me for your launchers.xml file, so yes, you will be able to have your .iso PS2 games listed as roms. Nod


- john.doe - 2011-02-02

Hello Angelscry, I'm using version 1.0.4 Advanced Launcher on Windows XP and the rom Lion King, The (World) on Genesis refuses to run because of the comma.
I've already mentioned this before.
Have you had time to address this problem and think you can solve it?


- Angelscry - 2011-02-02

john.doe Wrote:Hello Angelscry, I'm using version 1.0.4 Advanced Launcher on Windows XP and the rom Lion King, The (World) on Genesis refuses to run because of the comma.
I've already mentioned this before.
Have you had time to address this problem and think you can solve it?
I will take a look at it in the next days... but I'm not sure at all I would be able to fix. Confused


- john.doe - 2011-02-03

Thank you Angelscry, at worst I rename my roms.
I have a question, I use FinalBurner Alpha for my CPS3 games and when I scan the rom Street Fighter III 3rd Strike with Advanced Launcher, logically I get:

sfiii3
sfiii3a
sfiii3an
sfiii3n

I would like it to appear as it appears in FinalBurner:

Street Fighter III 3rd Strike: Fight for the Future (USA 990608)
Street Fighter III 3rd Strike: Fight for the Future (Japan 990512, NO CD)
Street Fighter III 3rd Strike: Fight for the Future (Japan 990608, NO CD)
Street Fighter III 3rd Strike: Fight for the Future (USA 990512)

Can you help me solve this puzzle?


- Angelscry - 2011-02-03

john.doe Wrote:Thank you Angelscry, at worst I rename my roms.
I have a question, I use FinalBurner Alpha for my CPS3 games and when I scan the rom Street Fighter III 3rd Strike with Advanced Launcher, logically I get:

sfiii3
sfiii3a
sfiii3an
sfiii3n

I would like it to appear as it appears in FinalBurner:

Street Fighter III 3rd Strike: Fight for the Future (USA 990608)
Street Fighter III 3rd Strike: Fight for the Future (Japan 990512, NO CD)
Street Fighter III 3rd Strike: Fight for the Future (Japan 990608, NO CD)
Street Fighter III 3rd Strike: Fight for the Future (USA 990512)

Can you help me solve this puzzle?
You need to select and configure correctly the data scrapper using the following options :

Image


- john.doe - 2011-02-03

Excellent work! thank you very much.


- srsobieraj - 2011-02-03

Hey Angelscry,

Just wanted to report a few bugs:
  • I was sorting through my ROM list today and noticed that you're sorting everything by ASCII value of the characters. This works 99% of the time, but games like "WWF Wrestling" are being put before "Wario World" because "W" has a lower ASCII value than "a". You'll need to add a regex to compare without case sensitivity.
  • I also noticed that games with ( " ) and ( / ) are giving an addon.py error when you try to edit them (such as "Mario Bros/Duck Hunt" or "Ranma 1/2").
  • Last, games with colons are being sorted after games with spaces. This probably relates to the first bug, but it means that games with names like "SuperMan: Perils of Some Kind" are being sorted after "SuperMan 2: Perils of a Different Kind"

Cheers


- srsobieraj - 2011-02-03

john.doe Wrote:Hello Angelscry, I'm using version 1.0.4 Advanced Launcher on Windows XP and the rom Lion King, The (World) on Genesis refuses to run because of the comma.
I've already mentioned this before.
Have you had time to address this problem and think you can solve it?

XML has a hard time with commas and ALA doesn't handle special characters very well. Does the ROM filename itself have the comma in it or is it only present in ALA?
If it's only the latter, try renaming without the comma and then run it again.


- Angelscry - 2011-02-03

srsobieraj Wrote:I was sorting through my ROM list today and noticed that you're sorting everything by ASCII value of the characters. This works 99% of the time, but games like "WWF Wrestling" are being put before "Wario World" because "W" has a lower ASCII value than "a". You'll need to add a regex to compare without case sensitivity.
It is related to XBMC. I do not have any control on the way XBMC alphanumerically sort titles.

srsobieraj Wrote:I also noticed that games with ( " ) and ( / ) are giving an addon.py error when you try to edit them (such as "Mario Bros/Duck Hunt" or "Ranma 1/2").
Normally the ( " ) problem is fixed since version 0.9.2. It is possible that you have added/scrapped those games before version 0.9.2, and so you still have the bug. The only way you can fix it is to edit manually the launchers.xml file, remove games including ( " ) and then added them again from ALA/XBMC. For the ( / ) character... try to do the same. If it is not working... make another feedback here while explaining exactly how do you add and import those game titles.

srsobieraj Wrote:Last, games with colons are being sorted after games with spaces. This probably relates to the first bug, but it means that games with names like "SuperMan: Perils of Some Kind" are being sorted after "SuperMan 2: Perils of a Different Kind".
Same as before. It is related to XBMC. It is not ALA which alphanumerically sort titles, it is XBMC. And in a right alphanumeric sort "SuperMan: Perils of Some Kind" is after "SuperMan 2: Perils of a Different Kind". Oo


- Angelscry - 2011-02-03

john.doe Wrote:Hello Angelscry, I'm using version 1.0.4 Advanced Launcher on Windows XP and the rom Lion King, The (World) on Genesis refuses to run because of the comma.
I've already mentioned this before.
Have you had time to address this problem and think you can solve it?

srsobieraj Wrote:XML has a hard time with commas and ALA doesn't handle special characters very well. Does the ROM filename itself have the comma in it or is it only present in ALA?
If it's only the latter, try renaming without the comma and then run it again.

Here again the problem is more or less related to XBMC. Bug with titles containing ( , ) has been fixed with version 0.9.11 of Advanced Launcher. But there still a bug, only under windows, to start rom with filenames containing ( , ).

To start applications under Linux or OSX, Advanced Launcher is using the os.system() python function. Under Windows, Advanced Launcher is using the xbmc.executebuiltin("System.ExecWait()") or xbmc.executebuiltin("System.Exec()") XBMC internal function. The advantage of using this XBMC internal command under Windows is that we have to possibility to stop XBMC when the launched application is running. The inconvenient is that this command do not support arguments including ( , ).

So here we have 2 choices :
  • Still using xbmc.executebuiltin("System.ExecWait()") or xbmc.executebuiltin("System.Exec()") function, keep the possibility to stop XBMC under Windows, but we will not be able to start filenames including ( , ). In this case I can make a bug report to XBMC devellopers and ask them to try to found a way to fix this (but it could take time).
  • Use os.system() function, loose the possibility to stop XBMC, but we will be able to start filenames including ( , ). In this case, users will need to use external intermediate scripts (.sh, .bat, .au3, etc...) to pause or close XBMC.
Personally, I prefer the second option because the way to start applications will be the same for all the system (Windows, Linux, OSX). Also because I prefer to have a lake of functionality than a bug into Advanced Launcher. But I'm not sure that every body will have the same opinion than me, Wink


- htpc guy - 2011-02-03

Found this in case anyone is interested. Its a Wikipedia link for a List of emulators. Its a pretty good list that breaks down emulators by console, OS and tells if it is still under active development. Last modification date was today so it seems to be pretty well maintained.


- john.doe - 2011-02-03

srsobieraj Wrote:XML has a hard time with commas and ALA doesn't handle special characters very well. Does the ROM filename itself have the comma in it or is it only present in ALA?
If it's only the latter, try renaming without the comma and then run it again.

Hello Srsobieraj, thank you for your help.
The rom itself is named exactly like this: Lion King, The (World)
In XBMC, according to the different settings I've done in Advanced Launcher, the name of the rom appears as follows:

The Lion King
or
Lion King, The
or
Lion King, The (World)

But regardless of the settings I made in Advanced Launcher, the game refuses to run.

If I rename the rom itself without commas it starts.

Angelsry himself said he was aware of the existence of this problem (which seems not to be simple to correct)
Fingers crossed for a later version it starts to run.
Again thank you Srsobieraj.


- Angelscry - 2011-02-03

john.doe Wrote:Angelsry himself said he was aware of the existence of this problem (which seems not to be simple to correct)
Fingers crossed for a later version it starts to run.
No, it is simple to correct. But this mean we have to remove the "Wait State" option for Windows systems. Oo