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


- bakito - 2012-01-21

thanks a lot!!
cheers


- zurgdawg - 2012-01-21

zurgdawg Wrote:I'll test a few scenarios this evening and get back to you with the results. Thanks!

Success! At first, it still wasn't working, so I just deleted all Launchers and even uninstalled the add-on and wiped out the directory. Did a fresh install/setup and used the workflow you outlined and things worked. Not sure where/how things were backwards, but thanks for the awesome support & addon!


Version 1.7.4 - Angelscry - 2012-01-22

Version 1.7.4 : A very small update with a bug fix concerning Advanced Launcher under Dharma version of XBMC and small strings corrections.

ChangeLog :
  • Fix Dharma compatibility problem under Windows
  • Replace "System Platform" string by simply "Platform"



- Knut Anderson - 2012-01-23

Hello,
I'm having a related problem to the problem of zurgdawg, except that normal scraping doesnt work either. I already have the images (thumbs, fanart) on my HDD, and when i ask it to use those, they do not appear in the library. After trying that, I decided to delete the items from the library and do a rescrape, but it doesnt add any pictures.
Then i decided to delete my launcher.xml and re-add all the emulators, at first it worked fine, but then i wrongfully chose "add item manually" or maybe "system info (a description of the emulated computer)" and although thats probably not related, from that moment on it doesn't add fanart or thumbs to that specific emulator. Then i tried adding another and this worked fine.


- Angelscry - 2012-01-23

Knut Anderson Wrote:Hello,
I'm having a related problem to the problem of zurgdawg, except that normal scraping doesnt work either. I already have the images (thumbs, fanart) on my HDD, and when i ask it to use those, they do not appear in the library. After trying that, I decided to delete the items from the library and do a rescrape, but it doesnt add any pictures.
Then i decided to delete my launcher.xml and re-add all the emulators, at first it worked fine, but then i wrongfully chose "add item manually" or maybe "system info (a description of the emulated computer)" and although thats probably not related, from that moment on it doesn't add fanart or thumbs to that specific emulator. Then i tried adding another and this worked fine.
Ok... using your information I will try to reproduce the problem on my side. The problem occurs with launcher's thumbs and fanarts images or with item's thumbs and fanarts images (or both)? Have you defined the defualt path launcher's thumbs and fanarts images?


- fidoboy - 2012-01-23

I've just downloaded and tested this addon, running on XBMC Eden beta 2 on Windows 7 64bit. It fails when the executable path contains spaces, for example 'C:\Program files (x86)\MyApp\executable.exe' also, i've fixed it, editing the xml file with notepad.. but this way, it works, but so often i get a small XBMC window on the middle of the screen and it just hangs...

what's wrong? is this a bug?

regards,


- Angelscry - 2012-01-23

fidoboy Wrote:I've just downloaded and tested this addon, running on XBMC Eden beta 2 on Windows 7 64bit. It fails when the executable path contains spaces, for example 'C:\Program files (x86)\MyApp\executable.exe' also, i've fixed it, editing the xml file with notepad.. but this way, it works, but so often i get a small XBMC window on the middle of the screen and it just hangs...

what's wrong? is this a bug?

regards,
What have you edited exactly?


- Knut Anderson - 2012-01-24

The problem only occurs with items thumb and art as far as i know, never tried to scrape for emulator information. I use Beta 2 btw, maybe thats the problem?


- fidoboy - 2012-01-24

Angelscry Wrote:What have you edited exactly?

I've manually added the quotes to the executable path, this way it seems to work, but so often it hangs when i launch my app, but other times it works fine i don't know the reason for this behaviour. It happens with any app that i've tried, from chrome browser to any game... randomly (almost every time) it just hangs... and i must kill the task


- Angelscry - 2012-01-24

fidoboy Wrote:I've manually added the quotes to the executable path, this way it seems to work, but so often it hangs when i launch my app, but other times it works fine i don't know the reason for this behaviour. It happens with any app that i've tried, from chrome browser to any game... randomly (almost every time) it just hangs... and i must kill the task
I have just tested the last version of Advanced Launcher (1.7.4) with the Eden beta 2 version of XBMC under Windows 7 (64 bits) and I have not encounter any filename space problem. I have make some tests with stand alone launcher (with firefox) and files launcher (Mupen64Plus + 10 N64 roms) and all is working correctly.

I think there is maybe a problem in your Advanced Launcher configuration or with you XBMC/Windows 7 system. Could you please post here, using pastebin service, the content of your launchers.xml file?


- Angelscry - 2012-01-24

Knut Anderson Wrote:The problem only occurs with items thumb and art as far as i know, never tried to scrape for emulator information. I use Beta 2 btw, maybe thats the problem?
I'm sorry. I'm not able to reproduce your problem of my different systems. If there is a bug, it may occurs after specific actions order or with specific files, paths. So... please... could you post here the content of your launchers.xml file and also give me the more possible information about your :
  • Advanced Launcher settings (collecting method, overwriting option) for thumbs and fanarts,
  • Thumbs and fanarts paths, filename, on your system.
Your problem may also be caused by the XBMC cache that do not refresh instantaneously or correctly.


- ali2k1 - 2012-01-24

Hi Angelscry is it possible to run different versions of pcsx2 for different games as some run better on different revisions. For example for the script to read from a settings ini/XML if game name is xg3 run pcsx2***exe.


- Angelscry - 2012-01-24

ali2k1 Wrote:Hi Angelscry is it possible to run different versions of pcsx2 for different games as some run better on different revisions. For example for the script to read from a settings ini/XML if game name is xg3 run pcsx2***exe.
Directly from Advanced Launcher, no, it's not possible. But there is always alternative ways to proceed:
  • For example instead of using pcs2 (as executable) and .iso files (as items), you can use Advaced launcher with .lnk shortcut files. Idea is simple : each .lnk files will corresponds to 1 iso file and will contain the command line of the pcs2.exe executable you want :
    Code:
    "C:\Program Files (x86)\[b]Pcsx2-r4496[/b]\pcsx2.exe" --nogui --fullscreen "D:\roms\[b]game1.iso[/b]"
    Code:
    "C:\Program Files (x86)\[b]Pcsx2-r4498[/b]\pcsx2.exe" --nogui --fullscreen "D:\roms\[b]game2.iso[/b]"
    Here is how to use .lnk file with Advanced Launcher : http://www.gwenael.org/xbmc/index.php?title=File_shortcuts
  • Instead of using .lnk file you can create a .bat or an autoit script that will be started by Advanced Launcher, and depending of the passed file as command line will start different version of pcsx2 : If game1 then start Pcsx2-r4496. If game2 then start Pcsx2-r4498, etc...



- ali2k1 - 2012-01-24

Thanks Bruv I've tried that but I don't know how to exit the emu as it comes back to pcsx2 GUI on pressing esc , I've tried mapping alt +f4 but that closes xbmc as pcsx2 GUI is on top but xbmc has focus than pcsx2. In my head it makes sense!


- Angelscry - 2012-01-24

ali2k1 Wrote:Thanks Bruv I've tried that but I don't know how to exit the emu as it comes back to pcsx2 GUI on pressing esc , I've tried mapping alt +f4 but that closes xbmc as pcsx2 GUI is on top but xbmc has focus than pcsx2. In my head it makes sense!
Yes I know this problem. You can solve it by creating an autoit script that will force PCXS2 to close, like described into the wiki page : http://www.gwenael.org/xbmc/index.php?title=PCSX2#Windows. You can change the "ESC" key to quit by any other key or keys combination.

If you plan to use different version of PCSX2, you will have to make different pcsx2-launcher.exe file (one for each version of PCSX2) and then make the .lnk files point to pcsx2-launcher.exe instead of pcsx2.exe.