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 - 2012-01-27

shalamigri Wrote:Anyone running FCEU for NES with this add on? None of the arguments I use are working. I'm also having issues setting up Daphne too. I'm VERY new to Daphne, but the emulator is working under Maximus Arcade.

I was able to get MAME to work by using this argument:
%romfile%

I tried using the default argument %rom% with MAME at first, but it didn't work. I did fix it with the above argument I mentioned.

I tried using the %romfile% argument with FCEU, but I get weird errors when I use it.

I have about 6 emulators and they all work using Maximus Arcade. I looked into my Maximus Arcade settings to get help, but no special arguments are needed for games to run with it.

I've been running emulators for years and never had to use any special arguments for them to work.

If anyone knows what arguments I need to use with FCEU or Daphne, please help me out.

Thanks in advance.
Have you take a look at the WIKI pages (http://www.gwenael.org/xbmc/index.php?title=Main_Page)? They contain Advanced Launcher configuration information for most a the WORKING emulators. Arguments for MAME (http://www.gwenael.org/xbmc/index.php?title=MAME_-_Windows#Windows) is :
Code:
-inipath "C:\Program Files\mame" "%rom%"
Arguments for FCEUX (http://www.gwenael.org/xbmc/index.php?title=FCEUX#Windows) is :
Code:
"%rom%"

retro11 Wrote:This answer is a little vague but from what I remember when I set up Daphne was that within Daphne there is an option to show the command line used for launching games. I copied this line and created separate .bat files each game.

Sorry if that is not much help but im away from that pc at the moment so cant check in more detail.
That's what I remember about Daphne emulator. Each game need a specific command line and configuration file. So the solution give by retro11 is a the way to proceed.


- GSP-UFC - 2012-01-27

Angelscry Wrote:Ho.... this Fusion !!!! Laugh Hummmm... seems that XBMC and Fusion have a display conflict. What you can try :
  • Check that you have activated the "Use a fullscreen window rather than true fullscreen" option that is present into XBMC system settings.
  • If it's not working, try to desactivate (or activate) the "Toogle XBMC fullscreen" into the "Advanced Options" menu of the selected Launcher (context menu).
  • If it's not working, try to see if you cannot setup "Fusion" to use a different video rendering.
  • If it's not working, the last solution is to close XBMC before starting Fusion then restart XBMC after Fusion been closed using a .bat script. But when I have wrotten the WIKI tutorial, I have not needed to use this solution. You will found this kind of script here : http://www.gwenael.org/forum/viewtopic.php?id=6

Check that you have activated the "Use a fullscreen window rather than true fullscreen" option that is present into XBMC system settings.

Your first suggestion worked. Thank you!


- shalamigri - 2012-01-27

Thanks for the fast response. I'll try this out ASAP!!


- shalamigri - 2012-01-27

Ok. Everything seems to be working now. The batch file I made for Daphne works, but I can't seem to locate the file when trying to select it for the game I'm working on through Advanced Launcher in XBMC. Do I have to convert the batch to an exe file using Autoit or is there a way to locate the batch file in XBMC?


- Angelscry - 2012-01-27

shalamigri Wrote:Ok. Everything seems to be working now. The batch file I made for Daphne works, but I can't seem to locate the file when trying to select it for the game I'm working on through Advanced Launcher in XBMC. Do I have to convert the batch to an exe file using Autoit or is there a way to locate the batch file in XBMC?
Why you can't locate the .bat file when trying to select it? You cannot see it or you cannot acces the directory? For this game, are you using a "standalone launcher" or a "file launcher"?


- shalamigri - 2012-01-27

Ok. I switched to the Standalone launcher and I could see the batch file then. The batch file opens up the Daphne window behind XBMC and is not maximized though. When I run the batch file outside out XBMC, it runs fine.

I pretty much have everything setup now. I still have to do some tweaking for a few emulators. For example, when I load the Playstation emulator, it opens up behind the XBMC window and is not in fullscreen. Mame, Super Nintendo and Nintendo all work fine loading from the Advanced Launcher.

One issue that has me stomped is that for some reason, I'm losing my Mame controls on the up,down,left,right d pad. I'm using an XBOX controller and for some reason, the up,down,left,right controls are automatically going to the left analog stick. I've been running this emulator for a few years and this just started happening when I started using the Advanced Launcher(AL). I'll map the controls to the Dpad in MAMES settings and the games runs fine. I open MAME from the AL and the controls get automatically mapped the analog stick. All of the action, start and coin buttons remain intact. Strange!!!

I'm using LM Remote Keymap and just need to do some editing to close the emulators out as well.

Thanks for the help.


- Angelscry - 2012-01-27

shalamigri Wrote:Ok. I switched to the Standalone launcher and I could see the batch file then. The batch file opens up the Daphne window behind XBMC and is not maximized though. When I run the batch file outside out XBMC, it runs fine.
Check that you have activated the "Use a fullscreen window rather than true fullscreen" option that is present into XBMC system settings.

shalamigri Wrote:I pretty much have everything setup now. I still have to do some tweaking for a few emulators. For example, when I load the Playstation emulator, it opens up behind the XBMC window and is not in fullscreen. Mame, Super Nintendo and Nintendo all work fine loading from the Advanced Launcher.
Same as before. If your emulators do not start into directly into fullscreen : look if you have the possibility to force the fullscreen mode using the command line (argument into Advanced Launcher); edit the emulator configuration or .ini file to force fullscreen mode; some emulator (like Kega Fusion or Gens, I don not remeber exactly) start with their last windows state (windows or fullscreen). I this case start the emulator, switch to fullscreen mode, then kill the emulator (ALT+F4).

shalamigri Wrote:One issue that has me stomped is that for some reason, I'm losing my Mame controls on the up,down,left,right d pad. I'm using an XBOX controller and for some reason, the up,down,left,right controls are automatically going to the left analog stick. I've been running this emulator for a few years and this just started happening when I started using the Advanced Launcher(AL). I'll map the controls to the Dpad in MAMES settings and the games runs fine. I open MAME from the AL and the controls get automatically mapped the analog stick. All of the action, start and coin buttons remain intact. Strange!!!
Could be a controls and/or mapping conflict with XBMC. If your controller is mapped a certain way with XBMC and another way with your emulators, because both a running at the same time... and still active you could have effectivelly problems. What you can try is to suspend XBMC when the emulator is running using this small script : http://www.gwenael.org/forum/viewtopic.php?id=5. If it is not working, you can try is to close XBMC when the emulator is running using this small script : http://www.gwenael.org/forum/viewtopic.php?id=6. If it is not even working... so there is something wrong into you controler/emulator mapping configuration.


- shalamigri - 2012-01-27

Thanks. All is working now. This did the trick:
"Check that you have activated the "Use a fullscreen window rather than true fullscreen" option that is present into XBMC system settings."

I also had to create a new ini file for Kfusion for some reason. I wasn't getting any options to set the full screen dimensions for some reason. Once I was able to switch it to 800x600 after creating a new ini file, it worked fine.

Thanks a bunch!


- rickster1978 - 2012-01-28

Hi all

hoping someone can help me. i've got dolphin working outside of xbmc but no joy through advanced launcher at all.

ive set up the launcher and added the games. advanced launcher finds them but will not play them.

ive added a log, hoping ive done it right, first attempt

http://pastebin.com/DEUePrwe


- Angelscry - 2012-01-28

rickster1978 Wrote:Hi all

hoping someone can help me. i've got dolphin working outside of xbmc but no joy through advanced launcher at all.

ive set up the launcher and added the games. advanced launcher finds them but will not play them.

ive added a log, hoping ive done it right, first attempt

http://pastebin.com/DEUePrwe
Post the content of your launchers.xml files located into the Advanced Launcher folder into userdata folders of XBMC. The log file did not contain any error, so I think you have done something wrong with your Dolphin launcher configuration.


- rickster1978 - 2012-01-28

http://pastebin.com/AW6rgb6e

that should be the one.


- Angelscry - 2012-01-28

rickster1978 Wrote:http://pastebin.com/AW6rgb6e

that should be the one.
Arguments for Dolphin application are :
Code:
/b /e "%rom%"
Please read configuration guides and WIKI pages before posting here that it's not working : http://www.gwenael.org/xbmc/index.php?title=Dolphin#Windows


- NobodyHere - 2012-01-28

Would it be possible to add an option to launch multiple items, instead of just one in future releases?


- Angelscry - 2012-01-28

NobodyHere Wrote:Would it be possible to add an option to launch multiple items, instead of just one in future releases?
What do you mean by multiple items?
  • If you mean create a launcher that is able to start different files (like an emulator to start roms), this feature already exist and it the "Files Launcher" type : http://www.gwenael.org/forum/viewtopic.php?pid=4#p4
  • If you mean starting several applications with a same launcher (like start emulator + key mapping program or iso mounting application at the same time), no this option will never be implemented. You just have to create a .bat or.sh bash file or an autoit script launcher that will start this different application exactly as you want. Advanced Launcher is used to start 1 command line. Use this command line to do what you want.



- NobodyHere - 2012-01-28

It would be for something like say.... ZDoom, or any other number of source ports out there.

If I wanted to pass ≥2 items to the port, Would that be possible? As it stands, I can pass a single main game file to it, but not any of the numerous addons.