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
The-Boxhead Wrote: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.

I couldn't solve that problem either, so I just stayed at 1.5. Guess we'll have to wait until 2.0 is in the official repo.
The-Boxhead Wrote: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.

Yeah, I had the exact same problem you've outlined there when trying to install the official binary. I was able to get it fixed very easily, by installing a custom packaged binary.

It was posted on a thread on Ubuntu Forums: http://ubuntuforums.org/showthread.php?t...p=10200853

Direct download link: http://dl.dropbox.com/u/5771418/mupen64pluslucid.deb

This package installed perfectly for me on Lucid. The only problem I encountered was that I had to run mupen64plus as root ("sudo mupen64plus --fullscreen [ROMNAME]"). I got a segmentation fault otherwise, and the rom refused to start. But I was able to solve that by changing ownership of the mupen64 folder:
Code:
sudo chown xxxxx ~/.local/share/mupen64plus

Where xxxxx is my xbmc username.

I now have v.1.99 running fine on my system. Just note that this version is command line only, there is no GUI included, so you may need to edit the config file to get your controller working. I had to for mine (Logitech Precision 3 Wireless), but it was as simple as adding a "[Name of controller]" line to the file.
TheHazel3yes Wrote: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.


I'll check it out. thanks
BORIStheBLADE Wrote:Ya for sure!

Where is it located?
XBMC\userdata\addon_data\plugin.program.advanced.launcher\
fr500 Wrote: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
Yes, of course, you can contribute... I have not try VLC yet.
osirisjem Wrote:Is this Advanced Launcher available for Plugin Download directly from xbmc 10 ?
I see Launcher, but not Advanced Launcher !
Advanced Launcher is not of the official XMC repository. You have to install first my propers add-on repository : http://xbmc-advanced-launcher.googlecode....1.2.0.zip to have access to the Advanced Launcher and automatic updates.
osirisjem Wrote:Is there a short story why this Launcher isn't listed in the Programs Plugins from the XBMC interface ?
XBMC administrators were not interested to host 2 similar launchers on their repository.
The-Boxhead Wrote: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
Name of the MAME application depends with which linux distribution you are using. It may be mame under Ubuntu, xmame under debian, sdlmame under archlinux, etc... I think Linux user can make the difference between eahc version. Also /etc/mame is not really the right place to put .ini configuration files. Better place will be ~/.mame/. But here again it depend the linux distribution you are using.

The-Boxhead Wrote:Also you should add for rom extensions n64, on the wiki it's just z64 and zip so it would be
n64|z64|zip
Ok, I will update it. Thank you.

The-Boxhead Wrote: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.
All those installation problems are linked to the linux distribution used. I will not update the wiki with any emulators installation problems.
fr500 Wrote: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

great guide ty!! finally got streetfighter iv working with ala Wink
..but.. the step 5 doesnt work for me, cmd window is still there, any suggestions?
Angelscry Wrote:XBMC\userdata\addon_data\plugin.program.advanced.launcher\


In my windows install when I go into the userdata folder in XBMC I only have three xml's and they are LCD, ModeLines_template and RSSfeeds.:confused2:

Image

***Edit**

I went to my other windows 7 pc which is 64 bit and it opens the NES games fine. My laptop I have been trying this on has the same XBMC version, but its 32 bit. I dont get it.
Angelscry Wrote:XBMC administrators were not interested to host 2 similar launchers on their repository.
Why not ? Sad
This is the most popular one !
BORIStheBLADE Wrote:In my windows install when I go into the userdata folder in XBMC I only have three xml's and they are LCD, ModeLines_template and RSSfeeds.:confused2:

Image

***Edit**

I went to my other windows 7 pc which is 64 bit and it opens the NES games fine. My laptop I have been trying this on has the same XBMC version, but its 32 bit. I dont get it.
The complete path : /Users/angelscry/AppData/Roaming/XBMC/userdata/addon_data/plugin.program.advanced.launcher
osirisjem Wrote:Why not ? Sad
This is the most popular one !
Be hosted on Official XBMC repository is not the ultimate goal. Most of my favorite add-ons and skins (like Alaska.Revisited for example) are not on it.
Angelscry Wrote:Ok... I am not actually familiar with BeyondTV. So, you mean that when you start Beyond TV from the launcher it goes directly into background and the launcher go back to XBMC? Do you want BeyondTV to always stay in front or do you want it to stay in background for a while and call it back in front, when you want, using the launcher?

BeyondTV is a PVR application that I use for watching TV. IF BTV is not running when I use launcher to launch BTV, BTV starts and remains in the foreground until I exit the application then it return to XBMC with XBMC in the foreground.

If BTV is already running, when I attempt to launch it from XBMC, the screen flashes the BTV applcation briefly then returns to XBMC. If this case, I would think the behavior should be to bring BTV to the foreground.

Take Care
Angelscry Wrote:The complete path : /Users/angelscry/AppData/Roaming/XBMC/userdata/addon_data/plugin.program.advanced.launcher


I really don't know what to tell you , but in both my Win 7 pc's my XBMC folder doesn't have a USER folder.

This is what they look like. Sorry about all this...

Image

Uploaded with ImageShack.us
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