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-03-22

twotone8 Wrote:i'm using advanced launcher to launch 'gameex', an emulation frontend.

I point advanced launcher to a batch file containing this script

pssuspend XBMC.exe
cd "C:\GameEx\GameEx"
Gameex.exe %1
pssuspend -r XBMC.exe

it's been working just fine, except that xbmc is not in focus when it re initializes. is there any way to tell it to regain focus after coming back fron its suspended state?
Install nircmd application on your windows system and modify your script like this :

Code:
pssuspend XBMC.exe
cd "C:\GameEx\GameEx"
Gameex.exe %1
pssuspend -r XBMC.exe
[b]nircmd win max process XBMC.exe[/b]



- twotone8 - 2011-03-22

ABSOLUTELY what I was looking for. I have to say, i'm quite impressed with the speedy tech-support. Well done sir.


- Death-Axe - 2011-03-22

It's when I manually changed the thumb when it scraped the wrong one.


- User 89618 - 2011-03-23

Returned to tinkering with XBMC lately to check out the latest updates, then I discovered this little gem, must say a most impressive add-on you have here. Using it initially for Mame rom browsing on Ubuntu 10.04 and it's very nice indeed.

Would it be ok for me to tinker with the launcher python script here and see if I can (in mame's particular case) only show working roms and hide the inferior romsets if there's more than one. I understand it'd be a case where I'd need to tie in some mame catalog info in there but when faced with such large sets it's not always easy to make out which is best etc.. Would it be ok if I start hacking things up about the find_roms section on launcher.py?

Love the work your doing on this.


- Angelscry - 2011-03-23

TxRxFx Wrote:Would it be ok for me to tinker with the launcher python script here and see if I can (in mame's particular case) only show working roms and hide the inferior romsets if there's more than one. I understand it'd be a case where I'd need to tie in some mame catalog info in there but when faced with such large sets it's not always easy to make out which is best etc..Would it be ok if I start hacking things up about the find_roms section on launcher.py?
Yes, the source code of Advanced Launcher is open. You can do what you want with it: hack, fork, etc...

Concerning your functionality, I think you can do this by modifying the MAMEworld data scrapper and use the same kind of algorithm used to excluded MAME bios files. I know that MAMEworld can differentiate rom set type between parent, clone and bios. But I'm not sure if the difference between working and non-working rom set is well supported. MAMEworld reports emulation status concerning: driver, emulation, graphic, color, sound and savestate support. My question is : does those status need to all be at "good" or "supported" to have a working rom or for example the rom just need to have emulation status as "good"?

I'm not sure it will be easy to display/hide working, non-working, clone or parent roms using Advanced Launcher. Actually advanced launcher is just ignoring files that are not corresponding to scan criteria (for example bios files). But information concerning those file are not stored at all into the launchers.xml file. If you want to display BIOS files, we need to activate the options and do another scan. But, then, if you want to ignore BIOS file again, you will need to delete them manually from Advanced Launcher.


- Death-Axe - 2011-03-23

OK I really suck at batch files, can someone give me a hand?

pssuspend XBMC.exe
Fusion.exe "%rom%" -auto -fullscreen
pssuspend -r XBMC.exe
nircmd win max process XBMC.exe

Kega opens but doesn't load the rom. This nircmd app is really useful.


- Angelscry - 2011-03-23

Death-Axe Wrote:OK I really suck at batch files, can someone give me a hand?

pssuspend XBMC.exe
Fusion.exe "%rom%" -auto -fullscreen
pssuspend -r XBMC.exe
nircmd win max process XBMC.exe

Kega opens but doesn't load the rom. This nircmd app is really useful.
Arguments received by batch files are normally identified as %1 (for the 1st argument), %2 (for the 2nd argument), %3 (for the 3rd argument), etc.. So, if into Advanced Launcher your arguments are :
Code:
"%rom%" -auto -fullscreen

Your batch file must take into acount the 3 arguments and must look like this :
Code:
pssuspend XBMC.exe
Fusion.exe [b]%1 %2 %3[/b]
pssuspend -r XBMC.exe
nircmd win max process XBMC.exe

Personally, for simplicity, I prefer put most of the arguments into the batch file. So, into Advanced Launcher my arguments are only limited to the roms path :
Code:
%rom%

And then, my corresponding batch file will look like this :
Code:
pssuspend XBMC.exe
Fusion.exe "[b]%1[/b]" -auto -fullscreen
pssuspend -r XBMC.exe
nircmd win max process XBMC.exe



- Death-Axe - 2011-03-23

That is PERFECT. I love you man :-)


- Death-Axe - 2011-03-23

What is the batch setup for zsnes? tried the same as with kega and it doesn't load a rom.


- Angelscry - 2011-03-23

Death-Axe Wrote:What is the batch setup for zsnes? tried the same as with kega and it doesn't load a rom.
There is no ultimate batch file for each application. Content of each batch file depends first of your system (powerful, operating system version, graphic card), and what you want to do with the started application (minimize/maximize, hide/show, mount iso images, load savestate files, load specific controller or application config files, etc...).

Look at the wiki page for application command line configuration: http://www.gwenael.org/xbmc/index.php?title=Main_Page and more precisely to the page corresponding to ZSNES under windows : http://www.gwenael.org/xbmc/index.php?title=ZSNES#Windows

You resulting batch file maybe something like this (not sure):
Code:
pssuspend XBMC.exe
"C:\Program Files\zsnesw\zsnesw.exe" -m -s -v [b]41[/b] "%1"
pssuspend -r XBMC.exe
nircmd win max process XBMC.exe
The "41" value is corresponding the the custom video mode of ZSNES. You may have to define the right video mode (fullscreen/windows and screen resolution) into the ZSNES configuration file.


- Death-Axe - 2011-03-23

I know about the video modes etc, I just can't get a rom loaded heh.


- Angelscry - 2011-03-23

I cannot really help you if you did not give me more information : what exactly happen, any error message, content of the launchers.xml file... Oo Ho.. and also... make this on the Advanced Launcher dedicated Help & Support forum.


- User 89618 - 2011-03-24

Quote: My question is : does those status need to all be at "good" or "supported" to have a working rom or for example the rom just need to have emulation status as "good"?

Indeed, the mameworld download info files are most interesting it'd be silly of me not to look closer at them and what clrmame and mame itself all class as working and what's best if they do at all.

Quote:I'm not sure it will be easy to display/hide working, non-working, clone or parent roms using Advanced Launcher. Actually advanced launcher is just ignoring files that are not corresponding to scan criteria (for example bios files).

Appreciate your explanation, makes complete sense to do it that way, I may need to build a solid secondary status list for those that aren't ignored and then some form of 'non-dynamic' filtering setup to exclude the ones that meet set criterias in the mame's advanced launcher config (will need to add to that too I suspect.)


Quote: But information concerning those file are not stored at all into the launchers.xml file. If you want to display BIOS files, we need to activate the options and do another scan. But, then, if you want to ignore BIOS file again, you will need to delete them manually from Advanced Launcher.

I think understand what your saying, thank you v.much for the explanations. If and when I get some clear time I do think it'd be fun, certainly from a dipping a toe into XBMC plugins point of view, for me to learn and tinker with.

If anything I'll post on your own help & support forums if that'd be ok.

Cheers Big Grin

TxRx


- mentaluproar - 2011-03-24

I'm running XMBC on mac and the only game I can get this thing to recognize is megaman X 4. I cant get it to recognize anything else, and accessing the rest of the menus is impossible. What am I doing wrong?


Mame on 10.04 ubuntu does stutter a little - User 89618 - 2011-03-24

Running 0.134 sdl mame on a machine (xbmc 10.1 of launching using advanced launcher of course) with ubuntu 10.04. Only thing I'd say it's looking like is the threading is a little funky on my machine. Piping audio via nvidia hdmi graphic card and compiled alsa drivers.

I've not spent an extended time trying to trouble shoot this so don't worry too much, just wondered if this had surfaced and was easily solved before. Smile