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-06-20

nelcruz Wrote:Hello I am having trouble setting up Dolphin and XBMC. I have Dolphin installed, all the games listed. I have installed the repo for Advanched Launcher, set it up according to the wiki, scrapped my Wii games. When I select a game, it opens Dolphin, but the game does not start? Also, I have a usb bluetooth dongle that I use for my wiimote. Does anyone know of a way that I can set up so that I don't have to keep pairing up the wiimote? Every time I start my computer, I have to go through the process of pairing up and refreshing my wiimotes in Dolphin.
I have not tested yet wii games with the Dolphin emulator (only made the test for gamecube games). And I'm not sure that the command line is exactly the same for the both game systems. For your dongle problem are you under Windows or Linux? BTW, you have to check if you have the possibility to pair and refresh you wiimote using simply command lines. If so, you can create a small launcher script (bash or autoit) that will automatically pair your controller before starting Dolphin.


- Layer0730 - 2011-06-20

The command-line for Dolphin is the same for both Wii & Gamecube games. (at least for windows)

dolphin rom /e /b

so for Advanced Launcher's arguments just use: "%Rom%" /e /b
The /b is running the emulator in BATCH mode so it will exit the emulator after the game is finished by pressing ESC.

If you find a way to do the pairing I would love to know myself.


- Angelscry - 2011-06-21

Layer0730 Wrote:The command-line for Dolphin is the same for both Wii & Gamecube games. (at least for windows)

dolphin rom /e /b

so for Advanced Launcher's arguments just use: "%Rom%" /e /b
The /b is running the emulator in BATCH mode so it will exit the emulator after the game is finished by pressing ESC.

If you find a way to do the pairing I would love to know myself.
Concerning the blue-tooth pairing, I have found this command line application for windows : http://bluetoothinstaller.com/bluetooth-command-line-tools/

I think it may be possible to pair the wiimote using the btpair command line before starting the the dolphin emulator.


- nelcruz - 2011-06-21

Angelscry Wrote:Concerning the blue-tooth pairing, I have found this command line application for windows : http://bluetoothinstaller.com/bluetooth-command-line-tools/

I think it may be possible to pair the wiimote using the btpair command line before starting the the dolphin emulator.

Thanks to everyone who kindly took the time to chime in to my queryBig Grin. I will test this tonight when I get home and report the results


- nelcruz - 2011-06-22

Hi, this is the arguments that I used to get the Wii to start and automatically shut down...

/e %rom% /b

there may or may not be quotes around the %rom%, I'm at work and don't quite rememberBlush

In regards to connecting the Wiimote automatically via Bluetooth, I found this...

http://www.wiimoteproject.com/bluetooth-and-connectivity-knowledge-center/wiimoteconnect-0-6-%28support-for-autoconnect%29/


- Verno - 2011-06-24

Angelscry, you mentioned you use ePSXe, I'm curious how you handle multi-disc games. I can't think of a solution here.

I'm using Advanced Launcher and ePSXe with the -nogui -loadiso and it works fine so far. Then I get to any multi-disc game and realize the conundrum, with nogui how am I supposed to change the disc? I don't think ePSXe has hotkeys to do it.

The only workaround I can think of is adding each disc individually as an item which is obviously not ideal because it clutters up the file/library views.

Anyways really love the plugin and appreciate any help you can give me in describing how you overcame this issue.


- Angelscry - 2011-06-24

Verno Wrote:Angelscry, you mentioned you use ePSXe, I'm curious how you handle multi-disc games. I can't think of a solution here.

I'm using Advanced Launcher and ePSXe with the -nogui -loadiso and it works fine so far. Then I get to any multi-disc game and realize the conundrum, with nogui how am I supposed to change the disc? I don't think ePSXe has hotkeys to do it.

The only workaround I can think of is adding each disc individually as an item which is obviously not ideal because it clutters up the file/library views.

Anyways really love the plugin and appreciate any help you can give me in describing how you overcame this issue.
I'm not using ePSXe because this emulator have not been updated since 2008 and is now abandoned. I recommend you to use PCSX-Reloaded instead : http://pcsxr.codeplex.com/

Now for the switching of disc image during play, maybe it will be better to ask directly to the emulator devellopers. It may surely possible to them to add the possibility to switch disc images using a specfic key.

You can also use daemon tools command line and write a script (autoit) that will run into background. When a key will be pressed, the script will umount the iso image and mount a new one.


- Verno - 2011-06-24

Angelscry Wrote:I'm not using ePSXe because this emulator have not been updated since 2008 and is now abandoned. I recommend you to use PCSX-Reloaded instead : http://pcsxr.codeplex.com/

Now for the switching of disc image during play, maybe it will be better to ask directly to the emulator devellopers. It may surely possible to them to add the possibility to switch disc images using a specfic key.

Right but I mean how did you personally get around it? Did you do the autoit script thing you mentioned below? I'm trying to find a workaround that will work within the confines of XBMC and Advanced Launcher.

Quote:You can also use daemon tools command line and write a script (autoit) that will run into background. When a key will be pressed, the script will umount the iso image and mount a new one.

Wouldn't you have to create a different script for every potential disc swap in the game library?

Thanks for indulging me on this, I realize its a bit out of scope for your plugin, I just wanted others experience and how they overcame the problem.


- Angelscry - 2011-06-24

Verno Wrote:Right but I mean how did you personally get around it? Did you do the autoit script thing you mentioned below? I'm trying to find a workaround that will work within the confines of XBMC and Advanced Launcher.

Wouldn't you have to create a different script for every potential disc swap in the game library?

Thanks for indulging me on this, I realize its a bit out of scope for your plugin, I just wanted others experience and how they overcame the problem.
I personnaly did not get around this... because I'm not really using advanced launcher to play PSX games and also games that need disk switch are a minority. So I have not done this kind of script, but if I found time could a look to create an autoit script.

This disk switch fonctionnality is not directly linked to XBMC or Advanced Launcher. Advanced launcher is starting appplication. If the application (like ePSXe) need to use different images disk and is not able to manage them simply and correctly that's not the goal to advanced launcher to correct this lake. Moreover when you know that other application (like WinUAE) are able to manage several disk image at the same time.

So, I think the first way is try to ask the the emulator devellopers to add this functionnalty into their emulator.

BTW, it may be possible to create an autoit script to do this. Not a script by game, but 1 auto script for each emulator using multi-disk. This script may work like this :
  • First, iso files could be identified like this : image_cd1.iso, image_cd2.iso, image_cd3.iso, etc... and located into the same directory.
  • Then we start the script using the first iso file name as one of the parameters (image_cd1.iso)
  • Then the script is incrementaly scanning the folder for files named like this image_cd#.iso (image_cd1.iso, image_cd2.iso, image_cd3.iso, etc...) and determine the number of images file. For example if the image_cd5.iso is not found, so the game have 4 disks.
  • We define a variable that will correspond to the active disk number and set to 1 for script start. Then we mount the correspoding iso image (image_cd1.iso) using Daemon Tools and start the emulator.
  • At the same time the script still running into background waiting for a key press action.
  • When a specific key is pressed (could be defined), the script unmount actual disk, increment disk number. If the disk number is higher than the number of disk, it will be set to 1. Then the script mount the new corresponding image.
I think a script like this may works. Now someone must take time to create it.


- Verno - 2011-06-24

Thanks for the in-depth reply and your patience Angel. I will look into AutoIT scripting and see if I can come up with something that works for when people like me pop in here to ask Smile

Thanks again for the great plugin.


- zugol - 2011-06-24

Hi,

Can somebody please tell me how I can enable or find a log or debug for launcher ? I'm using launcher to run several old games and everything is ok except for neogeo games.

When I chose a neogeo game nothing happen. No message from mame.

I have a valide neogeo.zip bios for sdlmame 0.142 and can run flawlessly fatal fury and other SNK games with other frontend like qmc2.

So maby my path is wrong or something like that... I'm using XBMC standalone over Ubuntu 10.10.

Thanks in advance for your help.

Edit : several SNK/NeoGeo game are running... (Metal Slug 1 & 3...)


ps: sorry for my English, I'm actually a French.


- zugol - 2011-06-24

I fxed it.
It was nothing to deal with de rom or path.
It was a name's problem. Those games was containing a "/".


- Angelscry - 2011-06-24

zugol Wrote:I fxed it.
It was nothing to deal with de rom or path.
It was a name's problem. Those games was containing a "/".
I will try to see what I can do, but generally the "/" character is used into path to indicate folders. The "/" is into the game title of into the game filename?


- zugol - 2011-06-25

Thanks for answering me ! Smile

The "/" is in the game's name. It's the name provided by mame. Not in the filesystem. I replaced every "/" by "-" and everything is now ok.
I think that "/" is a forbiden character in file name so, there is no problem for somebody who use import function. I have created my own launcher.xml using data provided by mame exe.


- Angelscry - 2011-06-25

zugol Wrote:Thanks for answering me ! Smile

The "/" is in the game's name. It's the name provided by mame. Not in the filesystem. I replaced every "/" by "-" and everything is now ok.
I think that "/" is a forbiden character in file name so, there is no problem for somebody who use import function. I have created my own launcher.xml using data provided by mame exe.
I will try to fix Advanced Launcher to automatically replace "/" by "-". Could you tell me witch mame game contain a "/" character? It will make me gain time. Thank you.