Kodi Community Forum

Full Version: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 Wrote:Yes all my launchers are standalone. Is there a difference on the XML between both? I haven't found one, even on standalone launchers it adds empty <rom> tags
For stand alone launchers you do not need to pass the path of the roms as arguments. So it is normally more simple.

I was able to reproduce your error with firefox. You can use this "bug" to pass parameters to firefox or vlc. For example if you put "http://www.xbmc.org" as argument for firefox it will open the XBMC.org at start.

What is it strange is that I have never touch the way the stand alone launchers were started since the old version of the launcher. I will make some tests and try to use the same method I actually use to with roms .
Ok, let me know if I can be helpful.

Also seems no matter what I do BOXEE can't be launched from your launcher, It just crashes lol but it's totally unrelated
fr500 Wrote:Ok, let me know if I can be helpful.

Also seems no matter what I do BOXEE can't be launched from your launcher, It just crashes lol but it's totally unrelated
I have just make some tests, using different method to start Firefox, using subprocess.call() or System.Exec() function, by removing the arguments support, etc... Firefox always start with the firefox.exe content. Really strange... Oo
Angelscry Wrote:I think there is a problem of configuration with your Nestopia launcher. Could you post here the content of your launchers.xml file? (using pastebin service for example).

Oups... missed copy/paste. Here is the ZSNES wiki page link : http://www.gwenael.org/xbmc/index.php?ti...ES#Windows


Ya for sure!

Where is it located?
Angelscry Wrote:I have just make some tests, using different method to start Firefox, using subprocess.call() or System.Exec() function, by removing the arguments support, etc... Firefox always start with the firefox.exe content. Really strange... Oo

Can you try VLC? vlc is enqueing the contents of it's startup dir...pretty weird.

Can I contribute to your wiki? I have a batch file and a method for launching steam games and then closing steam without any user interaction
Angelscry Wrote:It's strange, for me it is the opposite. ESC is doing nothing and Echap is working. I'm using the same Windows version as you. Seems that if is related to the language version of Nestopia. Echap if the french translation of ESC. I will fix the wiki page. Thank you for your feedback.

Your French right? Probably has nothing to do with Nestopia. More likely its the regional setting for windows. For English Escape is ESC. For you it would be ECHAP. Both are right, it just depends on where you live.
Is this Advanced Launcher available for Plugin Download directly from xbmc 10 ?
I see Launcher, but not Advanced Launcher !
osirisjem Wrote:Is this Advanced Launcher available for Plugin Download directly from xbmc 10 ?
I see Launcher, but not Advanced Launcher !

Go to the first page of this thread. Download the XBMC-Repository file. Unpack it into your Addons folder.

After that it will pop up when you search the list of addons in the programs section.
Angelscry Wrote:It's strange, for me it is the opposite. ESC is doing nothing and Echap is working. I'm using the same Windows version as you. Seems that if is related to the language version of Nestopia. Echap if the french translation of ESC. I will fix the wiki page. Thank you for your feedback.

Into Option/Preferences menu you need to unchek the "Confirm Exit" box. The corresponding line to the nestopia.xml file is :
Code:
<confirm-exit>no</confirm-exit>
I will complete the wiki page with this new configuration need.

This one is a problem with XBMC settings. You need to go to the XBMC "Settings" menu, then "System menu" and here activate the "Use a Fullscreen Window Ratherthan true fullscreen" option. I will also complete the wiki page.

Again ,thank you for your feedback. It will help me to complete the wiki page and will help the other users (and you also). Wink

Thanks, worked like a charm.Laugh
Here is a little tutorial for those who have steam and launch and depend on it for your gaming needs.

Step 1: Create a shortcut to the game on the desktop (on steam right click and create desktop shortcut) the launcher will have a .url extension since steam registers itself as a protocol and launchers are steam://rungame:appid

Step 2: Move the shortcut to the place where you have your launchers or artwork or whatever

Step 3: Create a batch file like this:

Code:
@echo off
"C:\PATH_TO_LAUNCHER\launcher.url"
timeout 60

rem set the next variable to the game imagename
rem (found on task manager while the game is runnimg
set process_1="gamename.exe"

set ignore_result=INFO:

: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

rem uncomment the next line if you want to kill steam after closing game
timeout 10
rem if %var% == notrunning taskkill /F /IM steam.exe

exit

Step 4: Create your XBMC launcher pointing to the batch file you created

Step 5: If you want to get rid of the ugly DOS window you need to be redundant and create a shortcut to your batch file and point ALA to that instead of the .bat. This has to be done editing launchers.xml since ALA does not allow you to select .lnk files as executables

Hope it's helpful this should work for any app that spawns another process under a different imagename or to track any process that is causing ALA not to come back
BORIStheBLADE Wrote:Go to the first page of this thread. Download the XBMC-Repository file. Unpack it into your Addons folder.

After that it will pop up when you search the list of addons in the programs section.

Thanks.
Is there a short story why this Launcher isn't listed in the Programs Plugins from the XBMC interface ?
AHHH THANK YOU Angelscry, that was my fault LOL for having that unchecked it looked like it was checked in the lolskin I was using.. >< Anyway, new issue, it stops scraping midway through and just decides to scrape nothing. WHat file do you need me to show you to aid this issue? THank you soooo much for all the tech support =)
BORIStheBLADE Wrote:I was thinking about it, but
1- don't know how hard it will be to use a xbox 360 controller
2- not sure if I van play NES and SNES.
3 - don't know how hard it us to setup the emulator.

My HTPC in my living room is XBMC LIVE, but my Linux experience is minimal.

1. It's working out of the box, but with xboxdrv installed it's even better
2. Sure, just use mednafen (NES, GB) and zsnes
3. It's very easy

Just follow this thread http://forum.xbmc.org/showpost.php?p=533217&postcount=1 and you're set.
Thanks for the links guys for mupen64plus and mame.

But there are a few problems with the wiki.

On linux sdlmame and mame is the now same in the repos.
Code:
sudo apt-get install sdlmame
or
Code:
sudo apt-get install mame
will give you the same.

And the directory /usr/bin/sdlmame is no longer valid.
It's now just /usr/games/mame for the executable
and the ini file is found here: /etc/mame

And with mupen64plus:
If you just do
Code:
sudo apt-get install mupen64plus
you get the 1.5 version which works just fine.

Also you should add for rom extensions n64, on the wiki it's just z64 and zip so it would be
n64|z64|zip

If you choose to use 1.99 which is not in the repos so you cant do apt-get install. You need to download the package from the official site
and unpack it some temp place. Go into the mupen64 directory you unpacked and Then install with the install script:
Code:
sudo sh install.sh
This gives you mupen64plus v1.99

But i bellive there is problems due to what i found here on the web:
Code:
Describe the problem:

With default installation location Mupen64plus fails to start with the
following error messages -
dlopen('libmupen64plus.so.2') error: libmupen64plus.so.2: cannot open
shared object file: No such file or directory
dlopen('./libmupen64plus.so.2') error: ./libmupen64plus.so.2: cannot open
shared object file: No such file or directory
AttachCoreLib() Error: failed to find Mupen64Plus Core library

Please provide any additional information below.

Workaround is to create link in /usr/local/lib
    libmupen64plus.so.2 -> libmupen64plus.so.2.0.0
and add environment variable
    LD_LIBRARY_PATH=/usr/local/lib
I do bellive this is the problem for me but im no linux guru and dont now how to actually perofrm the workaround in terminal.
Any linux peaople who can spoonfeed the commands ?
Would be nice to see if this fixes my problem and we could update the wiki.
Okay got vice c64 to function also Smile
So i post info here if someone else want to try.

First of all:
Code:
sudo apt-get install vice

Add the vice emulator to advanced launcher, navigate to
the following location /usr/bin/x64

then add the following startup arguments:
-fullscreen -autostart "%rom%"

Then add some roms on desired location, you should add a few since
i discovered that som of my roms didnt load.

You need also to add the needed bios files. Download the source package
from this link
http://www.zimmers.net/anonftp/pub/cbm/c...2.2.tar.gz

Unpack the tar.gz file and find the directory data\c64
you need to copy the following files:
kernal
basic
chargen

Copy these 3 files into /usr/lib/vice/C64

x64 should now launch.

use a mouse and right click the emuscreen and choose
"save Settings" from that menu. You must do this to get a config file
in the following location: \home\username\.vice
if default live install it would be \home\xbmc\.vice

Now tweak this config file to get better display
Code:
sudo nano /home/xbmc/.vice/vicerc

I editet the following:
SaveResourcesOnExit=0
ConfirmOnExit=0
WindowWidth=1280
WindowHeight=720
UseFullscreen=1
VICIIDoubleScan=1
VICIIDoubleSize=1
VICIIFullscreen=1
VICIIXRANDRFullscreenMode=1
VICIIVidmodeFullscreenMode=1


Three problems is still unsolved:
Getting my gamepad working
a way to use gamepad to quit vice
no sound
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