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


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - lordzerg - 2013-08-14

Thank you i added the repo on my windows xbmc and all work perfect , but on my linux machine when i open repo its empty. is it only for windows? or its becouse im using xbmc 13 alpha 5 (or something)


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-14

(2013-08-14, 08:11)lordzerg Wrote: Thank you i added the repo on my windows xbmc and all work perfect , but on my linux machine when i open repo its empty. is it only for windows? or its becouse im using xbmc 13 alpha 5 (or something)
The repo is working under linux. It could be effectively linked to the fact that you are using XBMC 13.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Haohmaru - 2013-08-17

I am also using XBMC 13 on Linux and I have an other Problem.
The launcher starts gens only properly if I first manually change to Window mode. Another Problem is that I have no sound. I guess the solution would be a script to kill xbmc just before the emulator starts.

I have made a gens.sh script containing the following:

#!/bin/bash
killall - 9 xbmc.bin
/usr/games/gens - - fs - - quickexit $1
xbmc

then made it executable and lastly modified the launcher to start the script instead of the emulator directly.

The problem is that this way the emulator will not start only thing that happens is xbmc rebooting after a few seconds.

Can you please help me?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-17

(2013-08-17, 16:00)Haohmaru Wrote: I am also using XBMC 13 on Linux and I have an other Problem.
Using an unstable and devellopment version of XBMC and having problems seems logical, no? Wink

(2013-08-17, 16:00)Haohmaru Wrote: The launcher starts gens only properly if I first manually change to Window mode. Another Problem is that I have no sound. I guess the solution would be a script to kill xbmc just before the emulator starts.
A better solution would to setup correctly your system audio config. If you are using pulse audio you can check this post. If you are not using only ALSA, you can check this post instead.

(2013-08-17, 16:00)Haohmaru Wrote: I have made a gens.sh script containing the following:

#!/bin/bash
killall - 9 xbmc.bin
/usr/games/gens - - fs - - quickexit $1
xbmc

then made it executable and lastly modified the launcher to start the script instead of the emulator directly.

The problem is that this way the emulator will not start only thing that happens is xbmc rebooting after a few seconds.

Can you please help me?
I could be wrong but it seems that you are using XBMC into stand-alone mode. Into this mode, once your close XBMC, it automatically restart. But it still a supposition once you did not indicate us on which operating system/linux distribution you are running XBMC.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Haohmaru - 2013-08-17

I am on Ubuntu and using file mode. So you mean the script should work it's just not working because of the unstable xbmc version? That's sad because I won't downgrade.
Any other solutions are welcome though :-)


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-17

(2013-08-17, 20:35)Haohmaru Wrote: I am on Ubuntu and using file mode. So you mean the script should work it's just not working because of the unstable xbmc version? That's sad because I won't downgrade.
Any other solutions are welcome though :-)
No that's have nothing to do with the version of XBMC you are using. I was just suggesting you to try to fix your audio settings instead or trying to kill/restart XBMC. But it seems that you are not intretested into fixing things. So... in this case, your script is wrong. Gens do not start, and you only see XBMC be killed and restarted. Try this :

Code:
#!/bin/bash
killall - 9 xbmc.bin
/usr/games/gens --fs --quickexit "$1"
xbmc

There is no space after "-" into Gens command line. Also if your rom paths contain white spaces I strongly suggest you to put the $1 parameter between double quotes.
If it still not working, post also your launcher.xml file to see if you correctly start your .sh script.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-17

(2013-08-17, 20:35)Haohmaru Wrote: I am on Ubuntu and using file mode. So you mean the script should work it's just not working because of the unstable xbmc version? That's sad because I won't downgrade.
Any other solutions are welcome though :-)
I have just tested Advanced launcher with version 13.0-ALPHA7 Git:20130816-d35d893 of XBMC, and I do not have any audio problem for application started from Advanced Launcher. So your audio problem is not linked to the version of XBMC, but to your Ubuntu audio system configuration.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Haohmaru - 2013-08-17

(2013-08-17, 20:52)Angelscry Wrote:
(2013-08-17, 20:35)Haohmaru Wrote: I am on Ubuntu and using file mode. So you mean the script should work it's just not working because of the unstable xbmc version? That's sad because I won't downgrade.
Any other solutions are welcome though :-)
No that's have nothing to do with the version of XBMC you are using. I was just suggesting you to try to fix your audio settings instead or trying to kill/restart XBMC. But it seems that you are not intretested into fixing things. So... in this case, your script is wrong. Gens do not start, and you only see XBMC be killed and restarted. Try this :

Code:
#!/bin/bash
killall - 9 xbmc.bin
/usr/games/gens --fs --quickexit "$1"
xbmc

There is no space after "-" into Gens command line. Also if your rom paths contain white spaces I strongly suggest you to put the $1 parameter between double quotes.
If it still not working, post also your launcher.xml file to see if you correctly start your .sh script.

My script didn't contained any space after "-" I've just mistyped here sorry. (Did post that from my phone )
Anyway I've pasted yours just to be sure but sadly it didn't work.

Here is my launcher.xml

Code:
<categories>
    <category>
        <id>default</id>
        <name>Default</name>
        <thumb></thumb>
        <fanart></fanart>
        <genre></genre>
        <description></description>
    </category>
</categories>
<launchers>
    <launcher>
        <id>ad6e9e91363ce9be9edfefab8dc4573d</id>
        <name>gens-gs</name>
        <category>default</category>
        <application>/home/xbmc/.xbmc/.script/gens.sh</application>
        <args>"%rom%"</args>
        <rompath>/home/xbmc/.xbmc/temp/Roms/</rompath>
        <thumbpath>/home/xbmc/.xbmc/temp/Roms/</thumbpath>
        <fanartpath>/home/xbmc/.xbmc/temp/Roms/</fanartpath>
        <trailerpath></trailerpath>
        <custompath></custompath>
        <romext>zip|bin</romext>
        <platform>Sega Genesis</platform>
        <thumb></thumb>
        <fanart></fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <finished>false</finished>
        <minimize>false</minimize>
        <lnk></lnk>
        <roms>
            <rom>
                <id>268689f8a36d10acd0ba37e4f8530d28</id>
                <name>Altered Beast</name>
                <filename>/home/xbmc/.xbmc/temp/Roms/Altered Beast (UE) (REV02) [!].zip</filename>
                <thumb></thumb>
                <fanart></fanart>
                <trailer></trailer>
                <custom></custom>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
                <finished>false</finished>
                <altapp></altapp>
                <altarg></altarg>
            </rom>
            <rom>
                <id>6905d1b703880c652ecae34d0c8e7eb6</id>
                <name>Disney's Aladdin</name>
                <filename>/home/xbmc/.xbmc/temp/Roms/Disney's Aladdin (E) [!].zip</filename>
                <thumb></thumb>
                <fanart></fanart>
                <trailer></trailer>
                <custom></custom>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
                <finished>false</finished>
                <altapp></altapp>
                <altarg></altarg>
            </rom>
            <rom>
                <id>baefe3425a1ca66b03be6d1cb093ed5d</id>
                <name>ECCO The Dolphin</name>
                <filename>/home/xbmc/.xbmc/temp/Roms/ECCO The Dolphin (UE) [!].zip</filename>
                <thumb></thumb>
                <fanart></fanart>
                <trailer></trailer>
                <custom></custom>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
                <finished>false</finished>
                <altapp></altapp>
                <altarg></altarg>
            </rom>
            <rom>
                <id>12605fdef50f8ff09a2e73a29ada9cc9</id>
                <name>Earthworm Jim</name>
                <filename>/home/xbmc/.xbmc/temp/Roms/Earthworm Jim (E) [!].zip</filename>
                <thumb></thumb>
                <fanart></fanart>
                <trailer></trailer>
                <custom></custom>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
                <finished>false</finished>
                <altapp></altapp>
                <altarg></altarg>
            </rom>
            <rom>
                <id>297c5383f215c8cb800c931fc58e0530</id>
                <name>Earthworm Jim 2</name>
                <filename>/home/xbmc/.xbmc/temp/Roms/Earthworm Jim 2 (E) [!].zip</filename>
                <thumb></thumb>
                <fanart></fanart>
                <trailer></trailer>
                <custom></custom>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
                <finished>false</finished>
                <altapp></altapp>
                <altarg></altarg>
            </rom>
            <rom>
                <id>b3bd421668b62beb9427b26374bff342</id>
                <name>Golden Axe</name>
                <filename>/home/xbmc/.xbmc/temp/Roms/Golden Axe (W) (REV01) [!].zip</filename>
                <thumb></thumb>
                <fanart></fanart>
                <trailer></trailer>
                <custom></custom>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
                <finished>false</finished>
                <altapp></altapp>
                <altarg></altarg>
            </rom>
            <rom>
                <id>55017663f92515412c16b81e5cff9f3f</id>
                <name>Golden Axe II</name>
                <filename>/home/xbmc/.xbmc/temp/Roms/Golden Axe II (W) [!].zip</filename>
                <thumb></thumb>
                <fanart></fanart>
                <trailer></trailer>
                <custom></custom>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
                <finished>false</finished>
                <altapp></altapp>
                <altarg></altarg>
            </rom>
            <rom>
                <id>867706dc42c94fd64e920227c982a6e3</id>
                <name>Revenge of Shinobi, The</name>
                <filename>/home/xbmc/.xbmc/temp/Roms/Revenge of Shinobi, The (W) (REV03) [!].zip</filename>
                <thumb></thumb>
                <fanart></fanart>
                <trailer></trailer>
                <custom></custom>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
                <finished>false</finished>
                <altapp></altapp>
                <altarg></altarg>
            </rom>
            <rom>
                <id>54f175e978c31a6edee27450fabad1ca</id>
                <name>Shadowrun</name>
                <filename>/home/xbmc/.xbmc/temp/Roms/Shadowrun (U) [!].zip</filename>
                <thumb></thumb>
                <fanart></fanart>
                <trailer></trailer>
                <custom></custom>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
                <finished>false</finished>
                <altapp></altapp>
                <altarg></altarg>
            </rom>
            <rom>
                <id>2854a7982c345f414770218ad3ce3149</id>
                <name>Sonic Spinball</name>
                <filename>/home/xbmc/.xbmc/temp/Roms/Sonic Spinball (E) [!].zip</filename>
                <thumb></thumb>
                <fanart></fanart>
                <trailer></trailer>
                <custom></custom>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
                <finished>false</finished>
                <altapp></altapp>
                <altarg></altarg>
            </rom>
            <rom>
                <id>102daf1c96f691e8b50a78ba2c3dfae3</id>
                <name>Sonic The Hedgehog</name>
                <filename>/home/xbmc/.xbmc/temp/Roms/Sonic The Hedgehog (W) (REV01) [!].zip</filename>
                <thumb></thumb>
                <fanart></fanart>
                <trailer></trailer>
                <custom></custom>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
                <finished>false</finished>
                <altapp></altapp>
                <altarg></altarg>
            </rom>
            <rom>
                <id>613abf3998e4b71424ca7d41e0bd8886</id>
                <name>Sonic The Hedgehog 2</name>
                <filename>/home/xbmc/.xbmc/temp/Roms/Sonic The Hedgehog 2 (W) (REV01) [!].zip</filename>
                <thumb></thumb>
                <fanart></fanart>
                <trailer></trailer>
                <custom></custom>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
                <finished>false</finished>
                <altapp></altapp>
                <altarg></altarg>
            </rom>
            <rom>
                <id>44b79e0165b06246b217f9c8c64bdc5a</id>
                <name>Sonic The Hedgehog 3</name>
                <filename>/home/xbmc/.xbmc/temp/Roms/Sonic The Hedgehog 3 (U) [!].zip</filename>
                <thumb></thumb>
                <fanart></fanart>
                <trailer></trailer>
                <custom></custom>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
                <finished>false</finished>
                <altapp></altapp>
                <altarg></altarg>
            </rom>
            <rom>
                <id>89495a082380b47f1b9651115c74cd1e</id>
                <name>Sonic and Knuckles</name>
                <filename>/home/xbmc/.xbmc/temp/Roms/Sonic and Knuckles (W) [!].zip</filename>
                <thumb></thumb>
                <fanart></fanart>
                <trailer></trailer>
                <custom></custom>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
                <finished>false</finished>
                <altapp></altapp>
                <altarg></altarg>
            </rom>
        </roms>
    </launcher>
</launchers>


I guess I'm using alsa because I've never installed pulse . Everything is default I've just set it to SPDIF output.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-17

All seems correct to me. Seems that there is something wrong with Gens. Does your .sh script is executable for the XBMC user? To diagnose exactly what is wrong: start xbmc into a terminal, then start your script form Advanced Launcher. If there is an error with Gens, it will be displayed into the terminal window.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Haohmaru - 2013-08-17

Yes it's executable. How do I start xbmc in the terminal? Sorry I don't know how to do that.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-17

(2013-08-17, 23:01)Haohmaru Wrote: Yes it's executable. How do I start xbmc in the terminal? Sorry I don't know how to do that.
OMG Shocked https://help.ubuntu.com/community/UsingTheTerminal


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Haohmaru - 2013-08-17

(2013-08-17, 23:11)Angelscry Wrote:
(2013-08-17, 23:01)Haohmaru Wrote: Yes it's executable. How do I start xbmc in the terminal? Sorry I don't know how to do that.
OMG Shocked https://help.ubuntu.com/community/UsingTheTerminal

Lol I know how to use terminal I just didn't get what do you mean with start xbmc into a terminal.

Can you show me what shall I exactly write in the terminal to examine the problem?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-17

(2013-08-17, 23:34)Haohmaru Wrote:
(2013-08-17, 23:11)Angelscry Wrote:
(2013-08-17, 23:01)Haohmaru Wrote: Yes it's executable. How do I start xbmc in the terminal? Sorry I don't know how to do that.
OMG Shocked https://help.ubuntu.com/community/UsingTheTerminal

Lol I know how to use terminal I just didn't get what do you mean with start xbmc into a terminal.

Can you show me what shall I exactly write in the terminal to examine the problem?
Just start XBMC like this :

Code:
xbmc



RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Haohmaru - 2013-08-18

OK I see now what you mean. The problem is that I'm using an Ubuntu minimal installation. It's booting straight to xbmc. If I hit exit in the menu it will go blank and then xbmc is restarting after a few seconds.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-18

(2013-08-18, 07:38)Haohmaru Wrote: OK I see now what you mean. The problem is that I'm using an Ubuntu minimal installation. It's booting straight to xbmc. If I hit exit in the menu it will go blank and then xbmc is restarting after a few seconds.
So, as maintionned before, you are using XBMC into stand-alone mode. If you want to close/start XBMC using your script, you must not using XBMC into stand-alone mode. Have you installed XBMCBuntu or Ubuntu-minimal on your system?

BTW, actuallly your system is not at all setup correctly to start other application than XBMC (XBMC cannot be close, no sound out of XBMC).