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


- fr500 - 2011-01-19

I have started adding my roms to emulators.

On windows bsnes wait state doesn't work. XBMC stays active regardless of the setting. Also there is a problem when filenames contain commas (,) and ampersand (&)

Won't load the roms that way.

Code:
        <name>bSnes</name>
        <application>D:\Games\Emulators\Super Nintendo\bsnes\bsnes.exe</application>
        <args>"%rom%"</args>
        <rompath>Z:\Games\Emulators\Roms\Super Nintendo\</rompath>
        <thumbpath>Y:\Backup\XBMC\Artwork\Launchers\E\Emulators\super_nintendo\</thumbpath>
        <fanartpath>Y:\Backup\XBMC\Artwork\Launchers\E\Emulators\super_nintendo\</fanartpath>
        <romext>sfc</romext>
        <platform>Super Nintendo Entertainment System</platform>
        <thumb></thumb>
        <fanart></fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <wait>true</wait>
        <minimize>true</minimize>
        <lnk>true</lnk>



- Angelscry - 2011-01-19

timdog82001 Wrote:I am using the most recent version of ALA on Windows 7, from the addons repository. It works well in most regards, but when trying to create a new entry for a file launcher (trying to add MAME, actually), it isn't seeing the drive where it is stored, drive D, it is only showing drive C. Other emulators (also located on drive D) which I already set up in a previous version of ALA work fine. The file manager in XBMC can see navigate to drive D perfectly well.

Any idea why this is happening? Would a debug log be helpful? I would have automatically uploaded one, but since the script isn't technically failing or sending me any script failed dialogs or anything of the sort, I wasn't sure the debug log would very helpful.
Before start ALA you need to manually add your drives as sources into XBMC. Then ALA will be able to detect and acces those sources/drives : http://forum.xbmc.org/showthread.php?tid=89915


- Angelscry - 2011-01-19

fr500 Wrote:I have started adding my roms to emulators.
On windows bsnes wait state doesn't work. XBMC stays active regardless of the setting. Also there is a problem when filenames contain commas (,) and ampersand (&)
Won't load the roms that way.
BTW, last windows versions of Bsnes do not have fullscreen support. So... no interest. Oo


- fr500 - 2011-01-19

There are 2 problems:

First problem:

Wait state not working for bsnes

bsnes was forked on the phoenix port and the QT port. The QT port binaries for the last revision are not available but the previous version is still the best Snes emulator out there hands down.

The phoenix branch does not have full screen QT does.
http://www.mediafire.com/?xyh9nc09h6krpwj

The reason of the wait state not working is the following is that you start bsnes from bsnes.exe. So your Plugin is tracking for bsnes.exe to finish. Bsnes.exe spawns another proceess (bsnes-performance.dll) and closes itself. Then XBMC sees as if bsnes has finished (which it hasn't) and comes back. This is NOT a bug in Advanced Launcher.

This is an issue not only with bsnes but with many apps that spawn other processes. Examples are:

- Resident Evil 5
- Street Fighter 4
- Trine
- Devil May Cry 4
- Red Faction Guerilla
- Any Steam app

There is an easy workaround I'll describe the process for bsnes:

1. Create a batch file on the same folder that bsnes.exe resides

Quote:@echo off
echo Launching ROM %1
bsnes.exe %1

timeout 2
REM set the following variable to the process that should be tracked
REM you can find this looking at the Windows Task Manager

set process_1="bsnes-performance.dll"
set ignore_result=INFO:

REM check if the process is still running each interval. If not return to XBMC
:1
set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_1%"`) do if not %%A==%ignore_result% set var=running
echo variable %var%

if %var% == running goto :1
timeout 3
exit

2. In the case of bsnes this seems REALLY important

Create a shortcut to bsnes.bat in the same folder. Check it's properties, it's important that the "Working Directory" is the directory where "bsnes.exe" is in. Also you can set it to start minimized to hide the ugly DOS windows from view.

3. Create the launcher pointing to the shortcut you created in #2. No arguments required if you configured bsnes-qt.cfg

This works 100% except for the Second problem:

It won't load roms with commas (,) or ampersands (&) in the name. Not even with bsnes.exe directly. This seems a bug with ALA as it's only receiving the Romname up to the "," or "&"

Instead of:
Legend of Zelda, The - A Link to the Past (U) [!].sfg

It receives"
Legend of Zelda

I'm using "%rom$" as argument dunno if there are other choices.

Easy solution: Rename your roms. Big Grin But I have a lot of roms Sad

Edit: tried the same with ZSnes, doesn't work either when commas in the name. it's likely a problem parsing the "," or "&" character


- Angelscry - 2011-01-19

fr500 Wrote:tried the same with ZSnes, doesn't work either when commas in the name. it's likely a problem parsing the "," or "&" character[/b]
This bug exists since the old Launcher version. It only exist on Windows... I will try to see what I can do... Confused


- fr500 - 2011-01-19

Danke Big Grin


- srsobieraj - 2011-01-19

Angelscry Wrote:[*]fix import text file function (double quotes)

Hey Angelscry,

This seems to be fixed for the text-file import but not for importing a plot from the web.

To see an example, choose GameFaqs as your scraper and scrape for
Code:
Mass Effect (PC)

I still see &quot; in the plot.

Cheers!


- fr500 - 2011-01-19

I just want to use this one post to say

Thanks a lot angelscry for your awesome work


- ECEC - 2011-01-20

Angelscry Wrote:Ho... ok... I will check this on my system when I will be at home. One thing you can try is to play with your Nestopia launcher advanced options : toggle XBMC fullscreen and Wait state. Also did you activated the Use a fullscreen window rather than true fullscreen option into the Settings / System menu of XBMC?

I changed the Toggle XBMC fullscreen option and it seemed to work! Thanks.

Just a note: I've been playing around with Dolphin for Gamecube emulation and it your arguments don't seem to match up with the latest version I downloaded. If you change it to

Code:
-e "%rom%"

it works fine, though. All you need to do is open the emu once and configure it to open fullscreen once a rom is loaded and it should work fine at that point.


Another surprise for ALA - butchabay - 2011-01-20

Coming soon ... preview for MOD Cirrus.Extended

http://www.youtube.com/watch?v=FM5bEb2e0VA


- htpc guy - 2011-01-20

butchabay Wrote:Coming soon ... preview for MOD Cirrus.Extended

http://www.youtube.com/watch?v=FM5bEb2e0VA

looks great. Can't wait for the update.Nod


- moviebuff - 2011-01-20

When you edit the roms info individually is there a way to have the whole rom list scraped?


- srsobieraj - 2011-01-20

moviebuff Wrote:When you edit the roms info individually is there a way to have the whole rom list scraped?

I'm not sure I understand. Do you want to edit individually or do you want to use a scraper?

Scraping can be done in 2 ways: Automatic and semi-automatic.

Automatic runs the scraper and assigns info to the ROM based on the best match.

Semi-Auto runs the scraper but asks the user to make the best match. There is presently no way to select "No match" in this mode.

If "Off" is selected, ALA will import the ROMs but not gather any info. You can then go and scrape each ROM individually.

If you're talking about the "Import plot from file" option, then you have to set each plot manually at the moment. ALA doesn't look to see if you have a plot file already (mostly because there is no pre-defined location for plot files). Perhaps this could be added in future versions, by specifying a Plot path the same way we set Thumbnail and Fanart paths.


- htpc guy - 2011-01-20

If anyone is interested I've created some system fanart which will look great in the 1.1 version of Cirrus Extended that will include Right List. It includes N64, NES, PlayStation, Sega Genesis and SNES

There is a Read-me file in the skin that tells you how to use the extra fanart/thumbs. I'm using the third controller image as the icon for the emulator selection.


- kmfdm515 - 2011-01-20

i guess i'm totally missing something here. i'm using the installation guide in the OP.

after i install the add-on and then select it, a box says "loading directory. retrieved 0 items" and just hangs forever. i can't even get to the initial launcher creation.

what am i doing wrong?