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-08-11

clock2113 Wrote:http://pastebin.com/zbNmBMgB <- launchers.xml
http://pastebin.com/yUwGcnuQ <- xbmc.log

Ubuntu 10.04, XBMC 10.1 Dharma

Code:
IOError: (13, 'Permission denied', '/home/xbmc/ROMS/thumbs/Super Mario Kart.jpg')
Seems that you did not have read/write access rights on your /home/xbmc/ROMS/thumbs/ directory. That's generate the error.


- paendorz - 2011-08-11

paendorz Wrote:Yeah, but that's just the execution part, the batch files. And you have to add each one manually. Maybe I wasn't clear on my approach.

I'm talking about potentially adding adding my app features to the launcher. Which are basically to recognize which games are in your local steam setup and adding them to a specific launcher.

What my .NET app basically does is open up a local config file in your steam folder, apply some regular expressions in order to convert Valve's KeyValues to JSON and then parse it to extract the games.

I think it can be done on python, if anyone is willing to code it.

One thing I forgot in case anyone is up for it: the file in question is localconfig.vdf and is located in "C:\Program Files (x86)\Steam\userdata\xxxxxxxx\config\".

The flags I'm using to check whether or not a Steam app is installed are "HasAllLocalContent": "1" and "UpdateKBtoDL": "0".


- Angelscry - 2011-08-11

dsimages Wrote:Lets use COD:Black Ops for example. It is a 360/pc game. These are the types of games I am referring to. PC games that are also xbox games. I understand that I will have to use the pc version since there is no working xbox emulator. I couldn't get CXBX working earlier this evening anyway.

I have no idea what im doing when it comes to pc games. I am asking for a general direction from start to finish. Where to get the games, what format do they need to be in (iso or exe), virtual mounting software, ect..
I'm not sure I'm allowed to post on this board where and how to pirate and crack commercial PC games. Simply use Google with Download+PC+GAME_NAME will give you some clues. Generally recent games are into ISO format. You can use Damon Tools Light as the virtual mounting software with the ISO file to proceed to the game installation. Then use the executable file to start the game.


- dsimages - 2011-08-11

Angelscry Wrote:I'm not sure I'm allowed to post on this board where and how to pirate and crack commercial PC games. Simply use Google with Download+PC+GAME_NAME will give you some clues. Generally recent games are into ISO format. You can use Damon Tools Light as the virtual mounting software with the ISO file to proceed to the game installation. Then use the executable file to start the game.

bingo, thats all i needed to know.


- JustinAiken - 2011-08-11

Angelscry Wrote:
Code:
IOError: (13, 'Permission denied', '/home/xbmc/ROMS/thumbs/Super Mario Kart.jpg')
Seems that you did not have read/write access rights on your /home/xbmc/ROMS/thumbs/ directory. That's generate the error.

Hmm... don't know how that folder ended up being root instead of xbmc owned... Fixed now! Thanks!


- Fitho - 2011-08-11

The new feature in 1.5.0 "add loading message feedback after starting an item" seems to produce a beep when it displays and when it closes. I browsed around some code and it seems that happens because "XBMC.Notification" is used in this addon. It uses the activate and deactivate sounds (infodialog) from the sounds.xml in the skins folder. The second beep sounds when I am already in the game or application. Well, 3sec I guess, cause that's the time u set for the notifications.

Would it be possible to use the "working ... " message instead (confluence skin)? Displays in the bottom right corner when it starts working, when you start a movie for example. I don't know if that's confluence specific or xbmc (not skin specific). But I like it not to make sounds.

If this is not possible, maybe a switch in the addon settings for not displaying the notification? I would be happy to work on this if u want me to.

Not sure where to start looking for the "working ... " message in either xbmc or confluence source. Maybe somebody has a clue. At least it's not in the xbmc built in functions https://github.com/xbmc/xbmc/blob/master/xbmc/interfaces/Builtins.cpp .

Let me know which direction u want to take this, if any.

PS: Starting to populate the launcher with linux games, loving it more every day.


- Angelscry - 2011-08-11

Fitho Wrote:The new feature in 1.5.0 "add loading message feedback after starting an item" seems to produce a beep when it displays and when it closes. I browsed around some code and it seems that happens because "XBMC.Notification" is used in this addon. It uses the activate and deactivate sounds (infodialog) from the sounds.xml in the skins folder. The second beep sounds when I am already in the game or application. Well, 3sec I guess, cause that's the time u set for the notifications.

Would it be possible to use the "working ... " message instead (confluence skin)? Displays in the bottom right corner when it starts working, when you start a movie for example. I don't know if that's confluence specific or xbmc (not skin specific). But I like it not to make sounds.

If this is not possible, maybe a switch in the addon settings for not displaying the notification? I would be happy to work on this if u want me to.

Not sure where to start looking for the "working ... " message in either xbmc or confluence source. Maybe somebody has a clue. At least it's not in the xbmc built in functions https://github.com/xbmc/xbmc/blob/master/xbmc/interfaces/Builtins.cpp .

Let me know which direction u want to take this, if any.

PS: Starting to populate the launcher with linux games, loving it more every day.
I do not really have control on the notification display an sounds. This notification have been added to indicate to users that Advanced Launcher have started an application (to avoid user to start several time the application).

For sure the duration of the notification will not correspond exactly to the necessary time it will take to the application to start (depend of the application, system performance, disk access, etc...).

I will try to see what can i do...


- dsimages - 2011-08-12

Ok, when I am in Alauncher, and I try to launch a game (rom using Project64), xbmc minimizes, and I get a graphics error "Direct3D failed to initialize, Error code: 88760868D3DERR_DEVICELOST". I then click on "ok" and get another error "The default or selected video plugin is missing or invalid. Check that you have at least one compatible plugin file in your plugin folder." I then click "ok". Then the settings dialog opens for Project64 with a plugins tab and a options tab. Under the graphics plugin I have two options. first one is Jabo's Direct3D8.1.6 and second is Jabo'sDirect3D6.1.52.
I get these errors with both of these plugin's selected.
Any suggestion's ??


- Angelscry - 2011-08-12

dsimages Wrote:Ok, when I am in Alauncher, and I try to launch a game (rom using Project64), xbmc minimizes, and I get a graphics error "Direct3D failed to initialize, Error code: 88760868D3DERR_DEVICELOST". I then click on "ok" and get another error "The default or selected video plugin is missing or invalid. Check that you have at least one compatible plugin file in your plugin folder." I then click "ok". Then the settings dialog opens for Project64 with a plugins tab and a options tab. Under the graphics plugin I have two options. first one is Jabo's Direct3D8.1.6 and second is Jabo'sDirect3D6.1.52.
I get these errors with both of these plugin's selected.
Any suggestion's ??
http://forum.pj64-emu.com/


NOTICE: Launcher: eca6aaa08dc3ffc68d9f680ec22fd69a : found 0 roms - xbmc17 - 2011-08-12

Ubuntu 10.04.3, XBMC SVN. My rom path is correct but it doesn't find any, even though I have 60+ .zip roms.

Correct me if I'm wrong, but it looks my problems being here:

22:28:31 T:2991582064 NOTICE: Launcher: found 1 launchers
22:28:31 T:2991582064 NOTICE: Launcher: eca6aaa08dc3ffc68d9f680ec22fd69a : found 0 roms
22:28:31 T:2991582064 INFO: Scriptresult: Success
22:28:31 T:2991582064 INFO: Python script stopped
22:28:31 T:2991582064 DEBUG: Thread XBPyThread 2991582064 terminating
22:28:31 T:2974727024 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
22:28:31 T:3019291344 ERROR: GetDirectory - Error getting plugin://plugin.program.advanced.launcher/?eca6aaa08dc3ffc68d9f680ec22fd69a
22:28:31 T:3019291344 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/?eca6aaa08dc3ffc68d9f680ec22fd69a) failed
22:28:31 T:3019291344 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.program.advanced.launcher/)

I've searched and can't find the solution :/ Any ideas please and thanks?
http://pastebin.com/RFJYMTLw ------> xbmc.log
http://pastebin.com/3fVPqDKc ------> launchers.xml


- Angelscry - 2011-08-12

dsimages Wrote:Ok, when I am in Alauncher, and I try to launch a game (rom using Project64), xbmc minimizes, and I get a graphics error "Direct3D failed to initialize, Error code: 88760868D3DERR_DEVICELOST". I then click on "ok" and get another error "The default or selected video plugin is missing or invalid. Check that you have at least one compatible plugin file in your plugin folder." I then click "ok". Then the settings dialog opens for Project64 with a plugins tab and a options tab. Under the graphics plugin I have two options. first one is Jabo's Direct3D8.1.6 and second is Jabo'sDirect3D6.1.52.
I get these errors with both of these plugin's selected.
Any suggestion's ??
I have tested version 1.6 of Project 64 with video graphic plugin Jabo's Direct3D8.1.6 with default settings, all under windows 7. With this configuration (http://www.gwenael.org/xbmc/index.php?title=Project64#Windows) all was working correctly. Personnaly I prefer to use Mupen64 Plus to emulate N64 games : http://www.gwenael.org/xbmc/index.php?title=Mupen64_Plus


- Angelscry - 2011-08-12

xbmc17 Wrote:Ubuntu 10.04.3, XBMC SVN. My rom path is correct but it doesn't find any, even though I have 60+ .zip roms.

Correct me if I'm wrong, but it looks my problems being here:

22:28:31 T:2991582064 NOTICE: Launcher: found 1 launchers
22:28:31 T:2991582064 NOTICE: Launcher: eca6aaa08dc3ffc68d9f680ec22fd69a : found 0 roms
22:28:31 T:2991582064 INFO: Scriptresult: Success
22:28:31 T:2991582064 INFO: Python script stopped
22:28:31 T:2991582064 DEBUG: Thread XBPyThread 2991582064 terminating
22:28:31 T:2974727024 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
22:28:31 T:3019291344 ERROR: GetDirectory - Error getting plugin://plugin.program.advanced.launcher/?eca6aaa08dc3ffc68d9f680ec22fd69a
22:28:31 T:3019291344 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/?eca6aaa08dc3ffc68d9f680ec22fd69a) failed
22:28:31 T:3019291344 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.program.advanced.launcher/)

I've searched and can't find the solution :/ Any ideas please and thanks?
http://pastebin.com/RFJYMTLw ------> xbmc.log
http://pastebin.com/3fVPqDKc ------> launchers.xml
Do you have added your roms after creating the launcher : Launcher context menu -> Add Items -> Scan for New Items ?


- xbmc17 - 2011-08-12

Angelscry Wrote:Do you have added your roms after creating the launcher : Launcher context menu -> Add Items -> Scan for New Items ?

Doh! That's it, thank you so much for the quick reply!


- xbmc17 - 2011-08-12

Angelscry Wrote:Do you have added your roms after creating the launcher : Launcher context menu -> Add Items -> Scan for New Items ?

Strange, it finds my roms but the scraper does not download any thumbs/fanart. It gets to "Importing info from Allgame, gets to 99%, then just says 0 added. I have my paths specified:

<rompath>/media/Elements/Games/roms/snes/</rompath>
<thumbpath>/media/Elements/Games/roms/snes/thumbs/</thumbpath>
<fanartpath>/media/Elements/Games/roms/snes/fanart/</fanartpath>

Nothing really relevant in xbmc.org:

23:35:30 T:3019406032 DEBUG: Previous line repeats 4 times.
23:35:30 T:3019406032 DEBUG: waiting for python thread 67 to stop
23:35:30 T:3019406032 DEBUG: python thread 67 destructed
23:35:30 T:3019406032 DEBUG: waiting for python thread 68 to stop
23:35:30 T:3019406032 DEBUG: python thread 68 destructed
23:35:30 T:3019406032 DEBUG: waiting for python thread 69 to stop
23:35:30 T:3019406032 DEBUG: python thread 69 destructed


- Angelscry - 2011-08-12

xbmc17 Wrote:Strange, it finds my roms but the scraper does not download any thumbs/fanart. It gets to "Importing info from Allgame, gets to 99%, then just says 0 added. I have my paths specified:

<rompath>/media/Elements/Games/roms/snes/</rompath>
<thumbpath>/media/Elements/Games/roms/snes/thumbs/</thumbpath>
<fanartpath>/media/Elements/Games/roms/snes/fanart/</fanartpath>

Nothing really relevant in xbmc.org:

23:35:30 T:3019406032 DEBUG: Previous line repeats 4 times.
23:35:30 T:3019406032 DEBUG: waiting for python thread 67 to stop
23:35:30 T:3019406032 DEBUG: python thread 67 destructed
23:35:30 T:3019406032 DEBUG: waiting for python thread 68 to stop
23:35:30 T:3019406032 DEBUG: python thread 68 destructed
23:35:30 T:3019406032 DEBUG: waiting for python thread 69 to stop
23:35:30 T:3019406032 DEBUG: python thread 69 destructed
Do you have selected, configured and activated the thumbs and fanarts scrapers into Advanced Launcher settings before starting a scan?