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 - 2011-01-15

ingeon Wrote:I like the advanced launcher cause it simply works.
What is a bit of trouble is that title/image scraping takes to much effort,
so either I`m doing it wrong or the automation isn`t as I would like it.
So let me go through it: This might seem like a long post but imagine adding many many apps
and having to click things many many times
:o
If you have a lot of PC games, you do not do it the right way. If will be better for you the create a generic launcher to start all your PC games. The method is described here. Using this method you will be able to automatically scrap all you games data and images using the scan option.
ingeon Wrote:It would be nice if there was an option under Add-on settings for selecting a folder with all these in and their
images in each according to platform and use that as default) since it gets rather tedious selecting it manually every time
Selection of default thumbs and fanarts folders into the Advanced Launcher settings is already planned in my TODO list, but I have not found the time yet to implement it. Sorry. Wink
ingeon Wrote:Now I already selected IBM PC compatible and it still brings up 3 other platforms? Perhaps if one struggles to find a title then go there since some titles are difficult to find since they were made for many platforms and that becomes a massive list.
You are into the edit option menu and so I want the users to be able to do what they want using this option menu. You can select/edit the exact information for your games or select /edit something not related at all. I prefer to have options with wide possibilities instead of too restricted.
ingeon Wrote:Now every-time one edits a new launcher and you want to move to the next line it throws you all the way back to root
instead of allowing to complete all the lines in "edit Launcher"
That's a restriction of XBMC. Also I do not want to force users to go through all the edit options if they only want to change only one data value.
ingeon Wrote:Also get 'Error Script failed : addon.py' many times and then scrapes nothing.
Could you please send me the XBMC log file when you encounter this error. It will help me to fix it more quickly.
ingeon Wrote:I know it might have been asked before but any chance for scraping from http://thevideogamedb.com & http://thegamesdb.net in future?
In their actual states, I did not found any interest to add them, so no... No


- Angelscry - 2011-01-15

Robert de Clair Wrote:Polish r252 http://www.mediafire.com/?2mas4d1hdc66xus
As usual thank you for your translation (string.xml file may again change on the next version...) Wink


- Angelscry - 2011-01-15

Sebastatu Wrote:Nice work. is it possible for you to name the skins you are using on the images from this post from left to right, please. I can't recognize them all. Also. How do you get game info to display on them. Mine do not show any info other than the name. Sad.. Thanks man.
Skins supporting the display of data and images for programs are listed at the bottom of the first post of this thread. Wink


- Angelscry - 2011-01-15

tco42 Wrote:i tried to manually add the blabla action199 lines as well as using the new dont minimize XBMC option. Unfortunatelly both did not work for me. If i choose dont minimize XBMC changes from fake fullscreen (window) to a smaller window but then goes into tray. Without minimizing XBMC instantly goes into tray. Starting DVBviewer or other programs works perfekt, XBMC also comes back to fake fullscreen after closing the programs.
I think I have wrong named this new option. Using Action(199) API with XBMC will switch between 2 desktop resolution instead, not minimize or not XBMC. Sorry for the error...Sad
Code:
#define ACTION_TOGGLE_FULLSCREEN 199 // switch 2 desktop resolution

tco42 Wrote:Is there any chance to stop XBMC from going into tray when using the Launcher?

EDIT: found someone with the same problem using external players in his playercorefactory.xml. The solution for this problem was to simply edit <hidexbmc>true</hidexbmc> to false. Do you know the python command that hides XBMC?
The actual command use by the Advanced Launcher to start application are these ones
Code:
xbmc.executebuiltin("System.Exec(\\\"%s\\\" %s)" % (launcher["application"], arguments))
or
xbmc.executebuiltin("System.ExecWait(\\\"%s\\\" %s)" % (launcher["application"], arguments))
This is an XBMC implanted command and this is actually the only method that correctly start an application under Windows. This command force XBMC to minimize. So if we want to avoid XBMC to minimize we will have to use another command... but this new command may not works as good as this one to start applications. Sad


- tco42 - 2011-01-15

hm... okay, thanks anyway...

maybe i can find out how XBMC starts external players. Using playercorefactory.xml to integrate an external player works just the way i want it... I could probably use a special file extention or somethink like that to make it work, but i think some other people would be happy about starting games without seeing their desktops...


- ECEC - 2011-01-15

ECEC Wrote:How are people handling 7zip files right now? I set up Nestopia yesterday, and every time it attempted to open a game it prompted for which game in the archive to open. This would be fine if I could get the remote/gamepad to interace with Nestopia, but I couldn't get that working.

Alternatively, I'm open to just extracting the US release from each 7zip file and simply deleting the rest. I just don't want to do it manually for each file.

So no one is dealing with 7z roms at the moment?


- Eldorado - 2011-01-15

ECEC Wrote:So no one is dealing with 7z roms at the moment?

I just unpacked all my roms, the space savings you will get is minimal so no need to really.. especially with the cost of storage these days


- joelones - 2011-01-15

Angelscry Wrote:I think your problem is related to the manner you try to access your smb server from your system. If the paths you use to access your server are network paths like this :
Code:
smb://server/emulation/nes/roms/zelda.zip
or
//192.168.2.3/server/emulation/nes/roms/zelda.zip
it will create errors because most of the emulators do not recognize network paths into their command line. For the same reason the shutil.copy2 python function is not able to copy a file from the network path to a local path.

To solve this, you have to automatically assign to your server a local path. You can do this under Linux by mounting you server into the /mnt/ directory for example. In the same manner, if your are under Windows, you will have to assign a drive letter to your network server. So the paths to acces your server will be :
Code:
/mnt/netserver/emulation/nes/roms/zelda.zip
or
M:\\emulation\nes\roms\zelda.zip
With paths under these forms you will have no more problem. Wink

Thanks for you reply and great work with the Advanced Launcher. However I'm still perplexed as to how to assign a server share in a manner that you described - I thought that I was accomplishing that already. When mounted:

Code:
//server/xbmc/Thumbnails on /home/xbmc/.xbmc/userdata/Thumbnails type cifs (rw,mand)

/home/xbmc/.xbmc/userdata/Thumbnails is a local path, no?


- ECEC - 2011-01-15

Eldorado Wrote:I just unpacked all my roms, the space savings you will get is minimal so no need to really.. especially with the cost of storage these days

Is there a way to automatically extract just the US versions of the ROMS? I really don't want to manually do this for 800 some odd files. Sad


- BrotherMagneto - 2011-01-15

mandark Wrote:hi!

take a look at this.

Thanks! I ran into one little problem which I posted about in your thread. Any help would be appreciated!

DOSBox works like a charm on Windows 7. Angelscry, I updated your wiki with all the stuff I learned getting things set up, including a config update for making dos games look right on a widescreen display.


- poxitron - 2011-01-15

Angelscry

I translated your add-on to Spanish and added support for diferent languages descriptions in the addon.xml file.

How can I send you the files?


Thank you.


- JustinAiken - 2011-01-15

Is anyone using this with Transparency? I'd like to see a screenshot or two if you don't mind, to see if it's worth messing with before I start trying to set it up...


- Angelscry - 2011-01-15

tco42 Wrote:maybe i can find out how XBMC starts external players. Using playercorefactory.xml to integrate an external player works just the way i want it... I could probably use a special file extention or somethink like that to make it work, but i think some other people would be happy about starting games without seeing their desktops...
Yes... I think I will need to take a look into the XBMC code to see how XBMC launch the external players (which still applications) and try to use the same method into advanced launcher. The main problem is to still have the ability to start most of the application using the actual command line and improve the XBMC/applications transition without using internet XBMC commands.

I will be also happy to not see the desktop anymore under windows. Nod


- Angelscry - 2011-01-15

ECEC Wrote:So no one is dealing with 7z roms at the moment?
No... The only archives files I'm using are zip files. Why still using .7z when most of the emulators do not recognize those files. The only reason of the use of the .7z files is to gain time for internet transfers (download/upload) and gain space by regrouping several version of a same roms into the same archive. But seriously who play different version of a same game? Wink


- Angelscry - 2011-01-15

joelones Wrote:Thanks for you reply and great work with the Advanced Launcher. However I'm still perplexed as to how to assign a server share in a manner that you described - I thought that I was accomplishing that already. When mounted:

Code:
//server/xbmc/Thumbnails on /home/xbmc/.xbmc/userdata/Thumbnails type cifs (rw,mand)

/home/xbmc/.xbmc/userdata/Thumbnails is a local path, no?
Ho... no, no, no... I think I was not clear. You do not have to mount your server thumbnails directory into the XBMC thumbnails directory. You just have to mount your SMB server somewhere into your system to have access to it using local paths. Something like that :
Code:
mount -t smbfs //server/directory/emulation/ /home/angelscry/emulation/ -o rw,username=angelscry,password=mypassword
Then you will be able to access your SMB server using the /home/angelscry/emulation/ path.

How do you access to your smb server iform your system actually?