[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 - 2012-01-13 tria Wrote:About Wii games having both mode, well, it is Dolphin (the emulator) and DirectX that support both modes (like any DirectX game on PC, can be in normal mode or with 3d-glasses). All you have to do is enable nVidia 3D Vision, then start the game and it will be in 3D (with glasses). Disable it and it will be normal game without glasses. However you need to configure Dolphin to work in 3D Vision mode as well. So, yes, all Wii games can be run in both modes using Dolphin. While it would work fine if I defined the same emulator twice, it would look stupid in the menu (presentation wise)Thank you for the information concerning the 3D mode for the Wii games. tria Wrote:The same goes for PCSX2, if I want a normal launcher, and another one that load last state (where you stopped last time) and save state on exit (so it start from ther next time). I am not here wanting them for compatibility issues, or wanting to use more than one emulator, it is just that having such option would also allow this as well, and other things. Oh, well, I guess I can surviveWould be possible to do this using a bash launcher or better an autoit script. You start the autoitscript (with advanced launcher) that will display and ask to start a game normally (key press "1") or using a savestate file (key press"2"). Then depending of the key press (could be mapped button) the autoit script will start PCSX2 with the rights parameters indicated by the launcher argument tags. Advantage of using bash or AutoIt script launchers is that you could configure them exactly for you system (controllers configuration, screen or resolution change, suspend or close XBMC, etc...). Its not possible to implement directly such kind of option into Advanced Launcher that will take into account all the possible emulators, application, controller and system configurations. tria Wrote:Oh, in some of the screenshots I saw one where you have multiple "advanced launcher" plugins (with different names), and I believe each plugin instance has its own launchers. Is that possible or am I just misinterpret it?You can duplicate Advanced launcher many time you want. You just have to take care to rename the launcher differently, and edit the related userdata directory into Advanced Launcher addons. So you will have the possibility to create an Advanced Launcher version dedicated to games, another dedicated to comics, another dedicated to websites, etc... For the channel, I use them with rmtp video stream and start them using VLC. If you use a SkyStar HD 2 satellite card and if the programs you use allows to start a specfic channel using command line, it will be possible for you to use SkyStar HD directly from Advanced Launcher. Main rule is that is you are able to do something using the command line... you will be able to the same using from Advanced Launcher. - tria - 2012-01-13 Thank you man. Yes, I know I can/have to do that using scripting (and it is impossible to do it in the addon), but having a choice between running two scripts from within XBMC with nice human-readable-names (Normal, 3D) is far better than key strokes "1", "2" (or even external interfaces) especially when you intend to use it in the living room (not so techy people will be using it ) it is about the experience. Thanks for info about the channels. Yeah I kinda know you have to run it through CLI, I was just wondering about the used programs for DVB with your satellite card. Any chance of my trying to play around with the addon, and trying to see what I can manage to add. I'm not good at python/xbmc-addon-api though, so I would appreciate if you point me in the right direction: - Where is the part in code where before you launch the item/file when you choose it (also the one that let you choose which CD if there are more than one). - Where in my skin should I try to extend the final look, as I couldn't find a file for your launcher in my skin folder, nor in your addon (maybe you relay on the skin basic viewing options?). So what I should do to customize your addon view specifically (like inherit default one, and extend it). If I do come up with anything I would be happy to share it. - Energy2k8 - 2012-01-13 Has anyone got the Lord of the Rings online working with advanced launcher? I have made a bat file that executes an exe file i made with autoit. pskill -t XBMC.exe cd "D:\Games\The Lord of the Rings Online" LaunchLotro.exe %1 cd "C:\Program Files (x86)\XBMC" start /max XBMC.exe The launchLotro.exe has the following commands in it: Run ( "D:\Games\The Lord of the Rings Online\TurbineLauncher.exe" ) ProcessWaitClose ( "TurbineLauncher.exe" ) ProcessWaitClose ( "Lotroclient.exe" ) When i try to launch the bat file with advanced launcher it closes XBMC, launches TurbineLauncher.exe and immediately starts XBMC again. I don't want to start XBMC immediately again, obviously i want it to launch after i close Lotro. Can anyone put me in the right direction to solve my problem?? - Angelscry - 2012-01-13 tria Wrote:- Where is the part in code where before you launch the item/file when you choose it (also the one that let you choose which CD if there are more than one).It is the _run_rom function starting form line 1140 (def _run_rom(self, launcherID, romName):) of the launcher_plugin.py file : http://code.google.com/p/xbmc-advanced-launcher/source/browse/trunk/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py tria Wrote:- Where in my skin should I try to extend the final look, as I couldn't find a file for your launcher in my skin folder, nor in your addon (maybe you relay on the skin basic viewing options?). So what I should do to customize your addon view specifically (like inherit default one, and extend it).Advanced Launcher is a program add-ons and it display is managed by skins. So, normally it is into the MyPrograms.xml file of the skin. - Angelscry - 2012-01-13 Energy2k8 Wrote:Has anyone got the Lord of the Rings online working with advanced launcher?It is not necessary to use 2 bash launchers (.bat and autoitscript) to do this. You can do this only with a single autoscript launcher (it will be more simple) : Code: ProcessClose ( "XBMC.exe" ) - Energy2k8 - 2012-01-13 Thx for the quick reply, will try it when i get home later this afternoon. I agree it is more simple your way, but will it also solve my immediately XBMC launching problem?? I also did a launchfile for Morrowind.exe and that one worked as intended. It closed XBMC, launched Morrowind and only after i closed Morrowind it launched XBMC again. Somehow the same procedure doesn't work on the TurbineLauncher.exe. The processes required to start Lotro are as followed: Clicking the default shortcut to lotro starts the Turbinelauncher.exe After typing my credentials it starts lotroclient.exe - Angelscry - 2012-01-13 Energy2k8 Wrote:Thx for the quick reply, will try it when i get home later this afternoon.Normaly, yes this script will works with your Lord of the Rings Online game. The ProcessWaitClose function pause the script until the designed process is closed. So XBMC will not be started before TurbineLauncher.exe and Lotroclient.exe will be closed (or not running). If the script not working, maybe the Lord of the Rings Online game use a third process to run. If so add another ProcessWaitClose function for this process. What could happen also is that the script run to fast and not have time to detect running process. In this case you could add more function controls like ProcessWait() that will pause the script until a designed process is running. Script could be : Code: ProcessClose ( "XBMC.exe" ) - tria - 2012-01-13 Thanks man for the directions. Wow, didn't know python was space-sensitive language. I used tabs in the beginning of each line and had problems, then realized that I should use spaces at the same indentation level. I understand the need for ugliness of python to make it useful/handy/crafty, but don't understand why they use such approach! I managed to quickly test adding a select dialog to choose which mode to run. But I need to ask you a few things. How/Where do you store the launchers data. How do you add launchers. Giving me a high view of it along with key variable/objects would be enough, and I will do the rest. - Angelscry - 2012-01-13 tria Wrote:I managed to quickly test adding a select dialog to choose which mode to run. But I need to ask you a few things. How/Where do you store the launchers data. How do you add launchers. Giving me a high view of it along with key variable/objects would be enough, and I will do the rest.Launcher data are stored into the launchers.xml file into XBMC userdata directory. The launchers are added with the _add_new_launcher() function (line 1908) of http://code.google.com/p/xbmc-advanced-launcher/source/browse/trunk/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py - Energy2k8 - 2012-01-13 Code: ProcessClose ( "XBMC.exe" ) Run ( "D:\Games\The Lord of the Rings Online\TurbineLauncher.exe" ) ProcessWait ( "TurbineLauncher.exe" ) ProcessWait ( "Lotroclient.exe" ) ProcessWaitClose ( "TurbineLauncher.exe" ) ProcessWaitClose ( "Lotroclient.exe" ) Run ( "C:\Program Files (x86)\XBMC\XBMC.exe", "", @SW_MAXIMIZE ) This piece of code worked like a charm, thx for the help. __________________ - dirtymurt - 2012-01-14 is it possible to make the thumbs NOT dimmed if they don't have focus in the wall view of MQ3, it looks dark and gloomy......? - Angelscry - 2012-01-14 dirtymurt Wrote:is it possible to make the thumbs NOT dimmed if they don't have focus in the wall view of MQ3, it looks dark and gloomy......?Advanced launcher do NOT control display. Display is managed by skin. So ask your request to AEON MQ3 skinner. - dirtymurt - 2012-01-14 cool thanks - amducious - 2012-01-15 Sorry if this has been asked before but is there anyway to group exe files what I would like to do is Launcher - SNES - SENS Games - NES - NES games - Windows(Im going to call it fo-box 360) - Windows games or at lease dose anyone know how i could do this for a custome home screen sub-menu something like a smart playlist for advanced launcher - Angelscry - 2012-01-15 amducious Wrote:Sorry if this has been asked before but is there anyway to group exe filesNormally, if you create different Files Launcher (one for SNES, one for NES, one for Windows, etc...) and that you add for each of them their related items (aka. roms), this is the structure that you will obtain by default into Advanced Launcher : Now, if you want to link Advanced Launcher content to the XBMC home menu, the most simple is to create a favourite of Advanced Launcher and add this favourite into the XBMC home menu (most of the skins allows to simply do that now). Instead of adding all the Advanced Launcher content into the XBMC menu, you also have the possibility to add a single launcher or a single item as favourite, and also add it to XBMC menu. |