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


- xmurrx - 2011-02-09

TheHazel3yes Wrote:Which skin and emulators are you using? I'd share the images I created for DOS/GB/NES/SNES/N64/GENS/PS1, however they are made to fit Night perfectly, so no guarantee for other skins.

i am using the night skin. I would be so great full if you could share them. Im using the same ones you have listed as well

also, thanks for those links, very helpful too


- filigran - 2011-02-09

srsobieraj Wrote:Try opening your launchers.xml and doing a find and replace where the carriage return characters are. Replace the four squares with
Code:
&# 13;
but remove the space between # and 1. If it works, it can be coded into the next ALA release.

Well, if you mean 'work' as in 'produces line breaks', then no, it just prints the characters. If you mean 'work' as in 'prints the chars so that they can be parsed and replaced by newlines' then yes, it works. Smile I also tried with &# 10;, LF, and that produced the same results.

Angelscry Wrote:What do you mean exactly by four squares? Could you please pastebin a plot containing this character?

The characters aren't in the launchers.xml file, they only appear in XBMC, and only after using nano to edit the file apparently, using geany there are no squares (but, alas, no newlines either).

This is what I mean:
Image

That particular rom plot looks like this:
Code:
<rom>
                <name>Clayfighter - Tournament edition</name>
                <filename>/storage/roms/Super Nintendo/Clayfighter - Tournament edition.smc</filename>
                <platform></platform>
                <thumb>/storage/roms/Super Nintendo/covers/Clayfighter Tournament.jpg</thumb>
                <fanart>/storage/roms/Super Nintendo/fanart/Clayfighter Tournament.gif</fanart>
                <extrafanart></extrafanart>
                <genre></genre>
                <release></release>
                <publisher>Super Nintendo</publisher>
                <gameplot>A meteor made entirely out of clay crash-lands on the grounds of a humble American circus.
                The goo from the interstellar object contaminates all of the circus' employees, transforming them into bizarre caricatures of their former selves, with new superpowers.</gameplot>
            </rom>

I was going to put it up on pastebin too, but I opened the file in geany to check if they appeared there (they didn't), then tried adding a few new lines and saved the file, and now I can't reproduce it.. seems to be something intermittent (the worst errors, eh). Can't be sure if it's XBMC, your addon or nano, but that's not really important. Besides, my money is on nano anyway.

The important thing is, I want to produce this:
Image

And the million dollar question: is it possible? Smile

To sum up: I get squares sometimes, but they are only seen in XBMC, in the files there are only spaces, tabs and unix LF's. If I put the ASCII codes for LF and CR in there, the ASCII codes themselves are printed out, not their meaning. Guessing they can be parsed?

Btw: man, it's like a chat in here. I asked this yesterday, and I'm already five pages behind! Smile Nice to see some activity though. Smile


- srsobieraj - 2011-02-09

filigran Wrote:That particular rom plot looks like this:
Code:
<rom>
                <name>Clayfighter - Tournament edition</name>
                <filename>/storage/roms/Super Nintendo/Clayfighter - Tournament edition.smc</filename>
                <platform></platform>
                <thumb>/storage/roms/Super Nintendo/covers/Clayfighter Tournament.jpg</thumb>
                <fanart>/storage/roms/Super Nintendo/fanart/Clayfighter Tournament.gif</fanart>
                <extrafanart></extrafanart>
                <genre></genre>
                <release></release>
                <publisher>Super Nintendo</publisher>
                <gameplot>A meteor made entirely out of clay crash-lands on the grounds of a humble American circus.
                The goo from the interstellar object contaminates all of the circus' employees, transforming them into bizarre caricatures of their former selves, with new superpowers.</gameplot>
            </rom>

Aha!

Those are tab characters. Note that the text snippet you pasted has 4 tabs following the linebreak. It's not a newline character, it's 4 tab characters.

ALA won't be able to solve your problem unless you want tab characters parsed as newlines...which would give you 4 newlines in this case. XML doesn't detect newlines unless they're denoted with that HTML-ified code that I gave you last post ( &# 13; ).

IMO, just remove the tab characters and replace them with a space. If you absolutely must have the fix, then you'll still have to manually Find And Replace the tab characters with the HTML code. Even then, I'm not sure XBMC supports the newline character.


- john.doe - 2011-02-09

Angelscry Wrote:Do a better job : First create the ncdz-launcher.au3 file into ncdz.exe directory and compile it as ncdz-launcher.exe using autoit :
Code:
If $CmdLine[0] == 1 Then
    RunWait('"C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe" -mount 0,"' & $CmdLine[1] & '"')
    RunWait('ncdz.exe')
    RunWait('"C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe" -unmount 0')
EndIf
Exit 0
Then edit the launchers.xml file like this :
Code:
<application>C:\Program Files (x86)\NeoGeo_CDZ_Emulator_V20051225_win\ncdz-launcher.exe</application>
<args>"%rom%"</args>
<rompath>E:\neogeocd\roms\</rompath>
<thumbpath>E:\neogeocd\covers\</thumbpath>
<fanartpath>E:\neogeocd\fanarts\</fanartpath>
<extrafanartpath>E:\neogeocd\fanarts\</extrafanartpath>
<romext>cue</romext>
...
That's all...

Hello Angelscry, thank you very much for the Neo-Geo CD loader and evil you shall give thee.
I do a lot of tests, and it works fine.


For those using Daemon Tools and have the following problems by running an iso:
window that opens to the launch of an iso:
http://img15.imageshack.us/i/lancementrom.jpg/
Ou
http://img696.imageshack.us/i/lancementrom2.jpg/

Window that opens when leaving the emulator
http://img145.imageshack.us/i/quitterrom.jpg/


In Daemon Tools go to "Set the Device Settings" and uncheck "Auto Insert Notification".


- filigran - 2011-02-09

srsobieraj Wrote:Aha!

Those are tab characters. Note that the text snippet you pasted has 4 tabs following the linebreak. It's not a newline character, it's 4 tab characters.

ALA won't be able to solve your problem unless you want tab characters parsed as newlines...which would give you 4 newlines in this case. XML doesn't detect newlines unless they're denoted with that HTML-ified code that I gave you last post ( &# 13; ).

IMO, just remove the tab characters and replace them with a space. If you absolutely must have the fix, then you'll still have to manually Find And Replace the tab characters with the HTML code. Even then, I'm not sure XBMC supports the newline character.

Ah, yes, of course!
It's the autoindent that inputs the tabs when I hit Return. But anyhoo, I tried adding the ASCII LF and CR (#13 and #10), but they both just came out as text, not translated to their respective ASCII meanings, so I guess XBMC doesn't parse them when the text comes from addons? 'Cause it seems to do so when they are part of a movie plot (atleast &# x0a). But then again, I can have autoindent tabs in the parsed nfos too, at the start of the new line, with one empty line in between, and they still show up as they should; like I want in the screenshot. Guess that could be because they're added to a db, and thus saved differently?


- Shadowrunner - 2011-02-09

SwedishGojira Wrote:I understand that most people would want the real name, but I also know many people who are quite picky about how they name their files and that's why it would be gret with a toggle to not scrape the title in settings.

Probably the best thing in the meantime is to create an image for each file that states which disc it is? Gonna have to start looking into the options myself :\


- Angelscry - 2011-02-09

filigran Wrote:Ah, yes, of course!
It's the autoindent that inputs the tabs when I hit Return. But anyhoo, I tried adding the ASCII LF and CR (#13 and #10), but they both just came out as text, not translated to their respective ASCII meanings, so I guess XBMC doesn't parse them when the text comes from addons? 'Cause it seems to do so when they are part of a movie plot (atleast &# x0a). But then again, I can have autoindent tabs in the parsed nfos too, at the start of the new line, with one empty line in between, and they still show up as they should; like I want in the screenshot. Guess that could be because they're added to a db, and thus saved differently?
Plots that are into the launchers.xml file are passed exactly like this as into XBMC as ListItem.Plot value. Advanced Launcher did not make any formating modification on the Plot. Eek


- Angelscry - 2011-02-09

Shadowrunner Wrote:Probably the best thing in the meantime is to create an image for each file that states which disc it is? Gonna have to start looking into the options myself :\
If think we have also to take into account how the emulators manage multi-CD support.
  • If emulators are not able to automatically switch from one CD to another, it is better to create an item for each CD (and so in this case the title must contain the CD number).
  • But if emulators are able to automatically switch from one CD to another, it is not necessary to have an item for each CD. In this case an item for the first CD is enough (and in this case we can use the real title).
As you see there is not 1 way to do it. And it also depend of the preferences of each users to manage there collections. So... the actually way is not perfect (you have to edit the title, or manually delete some items) but it allows to cover all the possibly. I prefer flexibility. Wink


- TheHazel3yes - 2011-02-09

xmurrx Wrote:i am using the night skin. I would be so great full if you could share them. Im using the same ones you have listed as well

also, thanks for those links, very helpful too

So, here they are:
http://dl.dropbox.com/u/1928935/xbmc/ala_fanart_thumbs.zip

Of course it's all about personal taste, but I wanted them that way. Laugh
Oh and yes, those are pictures of the European versions so they may not be exactly what you were searching for. I've at least prepared an US SNES fanart for you...
And another note: yes, the SNES fanart isn't perfect as you can see the rest of the controller, but this part isn't visible in Night so its quite perfect again. Wink

The fanart is optimized for the 16:9 format, other formats (older 4:3 LCDs eg.) could cause ugly stretching.


- Shadowrunner - 2011-02-09

Angelscry Wrote:If think we have also to take into account how the emulators manage multi-CD support.
  • If emulators are not able to automatically switch from one CD to another, it is better to create an item for each CD (and so in this case the title must contain the CD number).
  • But if emulators are able to automatically switch from one CD to another, it is not necessary to have an item for each CD. In this case an item for the first CD is enough (and in this case we can use the real title).
As you see there is not 1 way to do it. And it also depend of the preferences of each users to manage there collections. So... the actually way is not perfect (you have to edit the title, or manually delete some items) but it allows to cover all the possibly. I prefer flexibility. Wink

True Smile, my opinion would be to simply exclude the emulator from the equasion, as some people might just want to launch straight to Disc 2 instead of selecting disc 1 then using the emulator to change from disc 1 to 2 (that, or they have it set up like me where I control both XBMC and everything it launches via GamePad XD, so using the emulator to change discs is not quite possible).

I have ideas, but throwing ideas at someone without even attempting to understand the code and possibly dabbing into adding some of my own contributions is just not my style. I figure I'll know more about what I'm talking about and am using before I throw requests in, hehe.

None-the-less, it's working great. I have one issue that I'm still working on (PCSX2 just seems to be giving some trouble, I think), but otherwise everything's going pretty perfect for me Big Grin. Thanks for your hard work.


- Eldorado - 2011-02-09

filigran Wrote:Well, if you mean 'work' as in 'produces line breaks', then no, it just prints the characters. If you mean 'work' as in 'prints the chars so that they can be parsed and replaced by newlines' then yes, it works. Smile I also tried with &# 10;, LF, and that produced the same results.



The characters aren't in the launchers.xml file, they only appear in XBMC, and only after using nano to edit the file apparently, using geany there are no squares (but, alas, no newlines either).

This is what I mean:
Image

That particular rom plot looks like this:
Code:
<rom>
                <name>Clayfighter - Tournament edition</name>
                <filename>/storage/roms/Super Nintendo/Clayfighter - Tournament edition.smc</filename>
                <platform></platform>
                <thumb>/storage/roms/Super Nintendo/covers/Clayfighter Tournament.jpg</thumb>
                <fanart>/storage/roms/Super Nintendo/fanart/Clayfighter Tournament.gif</fanart>
                <extrafanart></extrafanart>
                <genre></genre>
                <release></release>
                <publisher>Super Nintendo</publisher>
                <gameplot>A meteor made entirely out of clay crash-lands on the grounds of a humble American circus.
                The goo from the interstellar object contaminates all of the circus' employees, transforming them into bizarre caricatures of their former selves, with new superpowers.</gameplot>
            </rom>

I was going to put it up on pastebin too, but I opened the file in geany to check if they appeared there (they didn't), then tried adding a few new lines and saved the file, and now I can't reproduce it.. seems to be something intermittent (the worst errors, eh). Can't be sure if it's XBMC, your addon or nano, but that's not really important. Besides, my money is on nano anyway.

The important thing is, I want to produce this:
Image

And the million dollar question: is it possible? Smile

To sum up: I get squares sometimes, but they are only seen in XBMC, in the files there are only spaces, tabs and unix LF's. If I put the ASCII codes for LF and CR in there, the ASCII codes themselves are printed out, not their meaning. Guessing they can be parsed?

Btw: man, it's like a chat in here. I asked this yesterday, and I'm already five pages behind! Smile Nice to see some activity though. Smile


Those are tab characters

Easy quick fix - download UltraEdit, open the XML file in it, go to Format -> Tabs to Spaces


- butchabay - 2011-02-09

@Angelscry

Please remove cirrus MOD Mix on the first page and insert:
cirrus extended

Thanx ...


- filigran - 2011-02-09

Angelscry Wrote:Plots that are into the launchers.xml file are passed exactly like this as into XBMC as ListItem.Plot value. Advanced Launcher did not make any formating modification on the Plot. Eek

Weird that it works for one but not the other then .. guess I will have to live with it, unless someone can think of a way to solve it. Not that often you read the plot for the games, it's just neat to have there. Smile

Eldorado Wrote:Those are tab characters

Easy quick fix - download UltraEdit, open the XML file in it, go to Format -> Tabs to Spaces

Actually, I have nano set up that way too, but I guess the feature isn't perfect.

Odd though that XBMC doesn't just display them as tabs (or remove them, which seems to be the case most of the time) ... anyhoo. Issue really being I want empty lines in my plots, but it appears that cannot be solved. Smile


- butchabay - 2011-02-09

filigran Wrote:Weird that it works for one but not the other then .. guess I will have to live with it, unless someone can think of a way to solve it. Not that often you read the plot for the games, it's just neat to have there. Smile



Actually, I have nano set up that way too, but I guess the feature isn't perfect.

Odd though that XBMC doesn't just display them as tabs (or remove them, which seems to be the case most of the time) ... anyhoo. Issue really being I want empty lines in my plots, but it appears that cannot be solved. Smile

Which skin are you using ? Could it be a font problem ?


- john.doe - 2011-02-09

Hello everyone.
would there be a way to stop the movie playback automatically launch a Rom,
because if a movie is playing and I run a rom, it causes many bugs in my setup:

sound film in a loop.
Black screen when leaving the emulator
emulator freezes on launch
And other strange bugs.

Thank you.Nod