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 - 2010-12-09

Pinhead Wrote:Would it be possible for ALA to mix data from two language files? If the problem is that ALA crashes because there are missing strings of text in the alternative language files (not English), then maybe the best course of action would be for ALA to use the English translation file as a fallback language. Let's say the AddOn only partially supported Norwegian, because the translation file was outdated. ALA would use Norwegian whenever Norwegian strings were available in the Norwegian language file, and use English words and phrases from the English language file whenever Norwegian translations were missing or returning errors. This would probably give you the best of two worlds. As understandable as possible for non-english speakers, but at the same time stable.

If this is at all doable is another question. Rolleyes
Normally into XBMC when a string is not found in a certain language the default english string is used. But there is an exception. Into python you also have the possibility to insert strings into other strings like this :
Quote:string1 = "%s rom founds"
string2 = "Zelda"
print string1 % (string2)
>> Zelda rom founds
It those kind of strings (using %s characters) that generate error. Under python the string2 is considered as an argument of the string1. So if the string1 is not properly formatted or not exist you will have obtain this :
Code:
TypeError: not all arguments converted during string formatting



- Angelscry - 2010-12-09

davidw Wrote:Yes it's german. When I set XBMC to english then the scraper works but not the ROM-Scanner. The idea with fallback to english when the other language file is not complete sounds good. And if you need help with translation just ask the community... I would help you.
Do you have an error message when you start the rom scanner or nothing happen. If error could you post here the XBMC crash log and launchers.xml file. If you have no error message only send me your launchers.xml file. For the translation, yes. The german version is actually out of date. It someone would like to update the german version, he will be welcome.

Last english version:
http://code.google.com/p/xbmc-advanced-launcher/source/browse/trunk/plugin.program.advanced.launcher/resources/language/English/strings.xml

Old german version:
http://code.google.com/p/xbmc-advanced-launcher/source/browse/trunk/plugin.program.advanced.launcher/resources/language/German/strings.xml


- Angelscry - 2010-12-09

@Eldorado
Could you make a short test for me? If you replace the white spaces into your rom paths by %20 (into your launchers.xml file) does it solve the problem? For example :
Code:
smb://tower/Game/Emulator/SNES/ROMS/Chrono%20Trigger%20(U).zip
instead of :
Code:
smb://tower/Game/Emulator/SNES/ROMS/Chrono Trigger (U).zip



- Robert de Clair - 2010-12-09

@Angelscry could you inform in version changelog about new strings for language files when english strings are updated? this should help maintain order in other language updates Wink
as i see scalpel update polish version to current, so we could take care about our lang versions of ALA
repo are not updated i still have 7.4 as latest version in your repo

manually downloaded 0.7.6.zip from site exactly is 0.7.5 Smile


- mandark - 2010-12-09

Angelscry Wrote:The german version is actually out of date. It someone would like to update the german version, he will be welcome.
i've created an updated german language-file:
http://www.share.cx/files/446426843100/advanced.launcher.0.7.6_german-strings.xml.html



- Eldorado - 2010-12-09

Angelscry Wrote:The second problem will be to found the right python command line to start the windows emulators with samba paths having white spaces.

Can we not convert the samba paths? A simple rule could be to remove "SMB:" and swap all "/" to "\".. though I do always hate having to code in specific checks and conversions like this

Unless you are thinking there could be a python function to handle this for you? Or would be nice for something in the XBMC api

But again, if you ever feel like giving this time, I'll test! Smile


- Eldorado - 2010-12-10

Angelscry Wrote:@Eldorado
Could you make a short test for me? If you replace the white spaces into your rom paths by %20 (into your launchers.xml file) does it solve the problem? For example :
Code:
smb://tower/Game/Emulator/SNES/ROMS/Chrono%20Trigger%20(U).zip
instead of :
Code:
smb://tower/Game/Emulator/SNES/ROMS/Chrono Trigger (U).zip

I will test within the next 45min!


- Angelscry - 2010-12-10

Robert de Clair Wrote:@Angelscry could you inform in version changelog about new strings for language files when english strings are updated? this should help maintain order in other language updates Wink
as i see scalpel update polish version to current, so we could take care about our lang versions of ALA
repo are not updated i still have 7.4 as latest version in your repo manually dofnloaded 0.7.6.zip from site exactly is 0.7.5 Smile
Ok, I will try to let you informed. To make it more easy for you, you could follow the revisions and changes on the english strings.xml file here : http://code.google.com/p/xbmc-advanced-launcher/source/list?path=/trunk/plugin.program.advanced.launcher/resources/language/English/strings.xml. Just click on a revision link (for example r77) then click on the diff link after ...English/strings.xml and you will see all the modification. Thank you for your help.


- Angelscry - 2010-12-10

mandark Wrote:i've created an updated german language-file:
http://www.share.cx/files/446426843100/advanced.launcher.0.7.6_german-strings.xml.html
Thank you very much for the translation !!!!!Wink


- ali2k1 - 2010-12-10

can someone help me please, im having trouble importing psx games with ext cdz and game gear ext gg. it say py script error.

here is copy of log

http://pastebin.com/VMFyt1Bx

thank you


- jpreville - 2010-12-10

@Angelscry

the external script works fine..

Now to figure out why its not working properly within XBMC?

does it work prorperly on your linux machine? In the Addon?

John


- Eldorado - 2010-12-10

Angelscry Wrote:@Eldorado
Could you make a short test for me? If you replace the white spaces into your rom paths by %20 (into your launchers.xml file) does it solve the problem? For example :
Code:
smb://tower/Game/Emulator/SNES/ROMS/Chrono%20Trigger%20(U).zip
instead of :
Code:
smb://tower/Game/Emulator/SNES/ROMS/Chrono Trigger (U).zip

No luck

Oddly I figured this would work - I edited my launchers.xml file to change all my samba paths to windows network paths, they run fine from a command line but I get the usual file not found type errors from the launcher

I think I'm stuck with having to map drives

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<launchers>
    <launcher>
        <name>Project64</name>
        <application>C:\Games\Emulator\N64\Project64_1.7.0.49/Project64.exe</application>
        <args></args>
        <rompath>\\tower\Game\Emulator\N64\ROMS\</rompath>
        <thumbpath>\\tower\Game\Emulator\N64\</thumbpath>
        <fanartpath>\\tower\Game\Emulator\N64\ROMS\</fanartpath>
        <romext>z64|v64</romext>
        <platform>Nintendo 64</platform>
        <thumb>\\tower\Game\Emulator\N64/Mario Kart 64.jpg</thumb>
        <fanart>\\tower\Game\Emulator\N64\ROMS\</fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <wait>true</wait>
        <roms>
            <rom>
                <name>Mario Kart 64</name>
                <filename>\\tower\Game\Emulator\N64\ROMS\Mario Kart 64 (U) [!].z64</filename>
                <platform>Nintendo 64</platform>
                <thumb></thumb>
                <fanart></fanart>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
            </rom>
        </roms>
    </launcher>
    <launcher>
        <name>zsnes</name>
        <application>C:\Games\Emulator\SNES\ZSNES\zsnesw.exe</application>
        <args>-m -s -v 22</args>
        <rompath>\\tower\Game\Emulator\SNES\ROMS\</rompath>
        <thumbpath>\\tower\Game\Emulator\SNES</thumbpath>
        <fanartpath>\\tower\Game\Emulator\SNES\ROMS\</fanartpath>
        <romext>ZIP</romext>
        <platform>Super Nintendo Entertainment System</platform>
        <thumb></thumb>
        <fanart></fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <wait>true</wait>
        <roms>
            <rom>
                <name>Super Mario All-Stars</name>
                <filename>\\tower\Game\Emulator\SNES\ROMS\Super Mario All-Stars (U).zip</filename>
                <platform>Super Nintendo Entertainment System</platform>
                <thumb>\\tower\Game\Emulator\SNES\Super Mario All-Stars (U).jpg</thumb>
                <fanart>\\tower\Game\Emulator\SNES\ROMS\Super Mario All-Stars (U).zip</fanart>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
            </rom>
        </roms>
    </launcher>
    <launcher>
        <name>nestopia</name>
        <application>C:\Games\Emulator\NES\Nestopia\nestopia.exe</application>
        <args></args>
        <rompath>\\tower\Game\Emulator\NES\ROMS\</rompath>
        <thumbpath>\\tower\Game\Emulator\NES\ROMS\</thumbpath>
        <fanartpath>\\tower\Game\Emulator\NES\ROMS\</fanartpath>
        <romext>NES</romext>
        <platform>Nintendo Entertainment System</platform>
        <thumb>\\tower\Game\Emulator\NES\ROMS\</thumb>
        <fanart>\\tower\Game\Emulator\NES\ROMS\</fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <wait>true</wait>
        <roms>
            <rom>
                <name>Final Fantasy</name>
                <filename>\\tower\Game\Emulator\NES\ROMS\Final Fantasy (U).nes</filename>
                <platform>Nintendo Entertainment System</platform>
                <thumb>\\tower\Game\Emulator\NES\ROMS\Final Fantasy (U)_thumb.jpg</thumb>
                <fanart>\\tower\Game\Emulator\NES\ROMS\Final Fantasy (U)_fanart.jpg</fanart>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
            </rom>
        </roms>
    </launcher>
    <launcher>
        <name>snes9x</name>
        <application>C:\Games\Emulator\SNES\SNES9X\snes9x.exe</application>
        <args></args>
        <rompath>\\tower\Game\Emulator\SNES\ROMS\</rompath>
        <thumbpath>\\tower\Game\Emulator\SNES\ROMS\</thumbpath>
        <fanartpath>\\tower\Game\Emulator\SNES\ROMS\</fanartpath>
        <romext>zip</romext>
        <platform>Super Nintendo Entertainment System</platform>
        <thumb></thumb>
        <fanart></fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <wait>true</wait>
        <roms>
            <rom>
                <name>Chrono Trigger</name>
                <filename>\\tower\Game\Emulator\SNES\ROMS\Chrono Trigger (U).zip</filename>
                <platform>Super Nintendo Entertainment System</platform>
                <thumb></thumb>
                <fanart></fanart>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
            </rom>
        </roms>
    </launcher>
</launchers>



- Angelscry - 2010-12-10

ali2k1 Wrote:can someone help me please, im having trouble importing psx games with ext cdz and game gear ext gg. it say py script error.

here is copy of log

http://pastebin.com/VMFyt1Bx

thank you
Seems there is something wrong with your paths.Could you please send me also your launchers.xml file ?


- Angelscry - 2010-12-10

jpreville Wrote:@Angelscry

the external script works fine..

Now to figure out why its not working properly within XBMC?

does it work prorperly on your linux machine? In the Addon?

John
I have not test this new one, wait() and communicate() function under the XBMC yet. If you tell me that the script is working, I will try to add it for the next version... and we will see what happen. Nod


- Angelscry - 2010-12-10

Eldorado Wrote:No luck

Oddly I figured this would work - I edited my launchers.xml file to change all my samba paths to windows network paths, they run fine from a command line but I get the usual file not found type errors from the launcher

I think I'm stuck with having to map drives

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<launchers>
    <launcher>
        <name>Project64</name>
        <application>C:\Games\Emulator\N64\Project64_1.7.0.49/Project64.exe</application>
        <args></args>
        <rompath>\\tower\Game\Emulator\N64\ROMS\</rompath>
        <thumbpath>\\tower\Game\Emulator\N64\</thumbpath>
        <fanartpath>\\tower\Game\Emulator\N64\ROMS\</fanartpath>
        <romext>z64|v64</romext>
        <platform>Nintendo 64</platform>
        <thumb>\\tower\Game\Emulator\N64/Mario Kart 64.jpg</thumb>
        <fanart>\\tower\Game\Emulator\N64\ROMS\</fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <wait>true</wait>
        <roms>
            <rom>
                <name>Mario Kart 64</name>
                <filename>\\tower\Game\Emulator\N64\ROMS\Mario Kart 64 (U) [!].z64</filename>
                <platform>Nintendo 64</platform>
                <thumb></thumb>
                <fanart></fanart>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
            </rom>
        </roms>
    </launcher>
    <launcher>
        <name>zsnes</name>
        <application>C:\Games\Emulator\SNES\ZSNES\zsnesw.exe</application>
        <args>-m -s -v 22</args>
        <rompath>\\tower\Game\Emulator\SNES\ROMS\</rompath>
        <thumbpath>\\tower\Game\Emulator\SNES</thumbpath>
        <fanartpath>\\tower\Game\Emulator\SNES\ROMS\</fanartpath>
        <romext>ZIP</romext>
        <platform>Super Nintendo Entertainment System</platform>
        <thumb></thumb>
        <fanart></fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <wait>true</wait>
        <roms>
            <rom>
                <name>Super Mario All-Stars</name>
                <filename>\\tower\Game\Emulator\SNES\ROMS\Super Mario All-Stars (U).zip</filename>
                <platform>Super Nintendo Entertainment System</platform>
                <thumb>\\tower\Game\Emulator\SNES\Super Mario All-Stars (U).jpg</thumb>
                <fanart>\\tower\Game\Emulator\SNES\ROMS\Super Mario All-Stars (U).zip</fanart>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
            </rom>
        </roms>
    </launcher>
    <launcher>
        <name>nestopia</name>
        <application>C:\Games\Emulator\NES\Nestopia\nestopia.exe</application>
        <args></args>
        <rompath>\\tower\Game\Emulator\NES\ROMS\</rompath>
        <thumbpath>\\tower\Game\Emulator\NES\ROMS\</thumbpath>
        <fanartpath>\\tower\Game\Emulator\NES\ROMS\</fanartpath>
        <romext>NES</romext>
        <platform>Nintendo Entertainment System</platform>
        <thumb>\\tower\Game\Emulator\NES\ROMS\</thumb>
        <fanart>\\tower\Game\Emulator\NES\ROMS\</fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <wait>true</wait>
        <roms>
            <rom>
                <name>Final Fantasy</name>
                <filename>\\tower\Game\Emulator\NES\ROMS\Final Fantasy (U).nes</filename>
                <platform>Nintendo Entertainment System</platform>
                <thumb>\\tower\Game\Emulator\NES\ROMS\Final Fantasy (U)_thumb.jpg</thumb>
                <fanart>\\tower\Game\Emulator\NES\ROMS\Final Fantasy (U)_fanart.jpg</fanart>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
            </rom>
        </roms>
    </launcher>
    <launcher>
        <name>snes9x</name>
        <application>C:\Games\Emulator\SNES\SNES9X\snes9x.exe</application>
        <args></args>
        <rompath>\\tower\Game\Emulator\SNES\ROMS\</rompath>
        <thumbpath>\\tower\Game\Emulator\SNES\ROMS\</thumbpath>
        <fanartpath>\\tower\Game\Emulator\SNES\ROMS\</fanartpath>
        <romext>zip</romext>
        <platform>Super Nintendo Entertainment System</platform>
        <thumb></thumb>
        <fanart></fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <wait>true</wait>
        <roms>
            <rom>
                <name>Chrono Trigger</name>
                <filename>\\tower\Game\Emulator\SNES\ROMS\Chrono Trigger (U).zip</filename>
                <platform>Super Nintendo Entertainment System</platform>
                <thumb></thumb>
                <fanart></fanart>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
            </rom>
        </roms>
    </launcher>
</launchers>
Until I found from where could come the problem (python, XBMC or smb) I think it is the good thing to do. Sorry... Confused