[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 - SiOuz - 2012-07-18 Hi, my new script (auto it) for steam (he works), you have juste to name your *.url like the name of your titles games, and don't use the fullscreen option by the plugin advance launcher. Code: #Include <GUIConstantsEx.au3> RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-07-19 Thank you SiOuz for your Autoit script. It will surely be useful for other Steam users. (2012-07-17, 07:16)chris295 Wrote: Now the mouse pointer stays hidden when launching, but you can see some application zoom out from the top as if it is being minimized when I run Snes9x and closing XBMC does not restore the mouse pointer or the taskbar. Ok... maybe you will have more chance with this script : Code: Run("nomousy.exe /hide", "", @SW_HIDE) RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - chris295 - 2012-07-19 It's more or less the same deal with that script, I don't understand where the menu bar is coming from since it's not there if I just use this script: Code: Run("nomousy.exe /hide", "", @SW_HIDE) Seems like everything in the script has the SW_HIDE tag so that should not be happening. That script makes perfect sense but for whatever reason when I close XBMC, nomousy and taskbarhider do not run. Seems as though the If Not ProcessExists tag is not working at all. Is it possible to do with the ProcessWaitClose tag instead? I have gotten that to work in the past but again not sure how to structure it for multiple process (XBMC and AutoIt). One of the applications I was having trouble with the switch back to XBMC was ePSXe. When running ePSXe, especially with pre-rendered backgrounds and text and such, it is best to run in 640x480 display mode. When my script calls for ePSXe to close and XBMC to restart, XBMC is in 640x480 display mode. I have tried the dccmd utility, but unless something is wrong with my script it doesn't seem to work. Another problem I'm having is that the images don't seem to mount. The file will run but when I tab out of ePSXe and check my virtual drive, the cuesheet has not been loaded. When using HyperSpin's AHK module, I can tab from HyperSpin and see the cuesheet mounted in the virtual drive. I think I have done something wrong. Here is the code: Code: HotKeySet("{ESC}", "Terminate") Seems like dccmd is not being run at all, because my script does not proceed after the ProcessWait tag for dccmd. I have added this tag because XBMC needs to wait to launch until dccmd has changed the screen resolution back to 1920x1080. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-07-21 (2012-07-19, 08:06)chris295 Wrote: Seems like everything in the script has the SW_HIDE tag so that should not be happening. That script makes perfect sense but for whatever reason when I close XBMC, nomousy and taskbarhider do not run. Seems as though the If Not ProcessExists tag is not working at all. Is it possible to do with the ProcessWaitClose tag instead? I have gotten that to work in the past but again not sure how to structure it for multiple process (XBMC and AutoIt). Another possibility you can try is to close/start the windows's explorer.exe process instead of using the TaskBarHider.exe application. You cannot really use here the ProcessWaitClose() here because you must stay into an infinite loop where XMBC.exe and launcher.exe could be closed. The If Not ProcessExists() seems working here, because you are able to exit from the while loop. Have you really renamed all your launcher autoit script as launcher.exe? And have you change your Advanced Launcher applications parameters in concequences? Because is you are able to exit the while loop, that mean that XBMC.exe and launcher.exe are not runnig at the same time. Your problem could be related to your launcher.exe script : for example the XBMC process may not have have enough time to really start when the launcher.exe process is closed... Maybe adding a ProcessWait() at the and of the launcher.exe script will solve the problem : Code: ... (2012-07-19, 08:06)chris295 Wrote: One of the applications I was having trouble with the switch back to XBMC was ePSXe. When running ePSXe, especially with pre-rendered backgrounds and text and such, it is best to run in 640x480 display mode. When my script calls for ePSXe to close and XBMC to restart, XBMC is in 640x480 display mode. I have tried the dccmd utility, but unless something is wrong with my script it doesn't seem to work. Try to call il like this : Code: ... (2012-07-19, 08:06)chris295 Wrote: Another problem I'm having is that the images don't seem to mount. The file will run but when I tab out of ePSXe and check my virtual drive, the cuesheet has not been loaded. When using HyperSpin's AHK module, I can tab from HyperSpin and see the cuesheet mounted in the virtual drive. I think I have done something wrong. You don't need to mount the ISO file AND at the same time load it into epsxe. It's one or the other. Not both. You also do not have to use the RunWait() function to start the emulator. This function is to run an external program and to pause script execution until the program finishes. You also need to unmount the ISO when exiting the script, so... it must be located into the Terminate() function. Finally your ProcessWait ("dccmd.exe") line had no sens because you previously pause the scrip until dccmd.exe was closed. Try this script : Code: HotKeySet("{ESC}", "Terminate") Where <letter> is the drive letter where is mounted you ISO file with Deamon Tools. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - chris295 - 2012-07-21 (2012-07-21, 04:11)Angelscry Wrote: Another possibility you can try is to close/start the windows's explorer.exe process instead of using the TaskBarHider.exe application. You cannot really use here the ProcessWaitClose() here because you must stay into an infinite loop where XMBC.exe and launcher.exe could be closed. The If Not ProcessExists() seems working here, because you are able to exit from the while loop. Have you really renamed all your launcher autoit script as launcher.exe? And have you change your Advanced Launcher applications parameters in concequences? Because is you are able to exit the while loop, that mean that XBMC.exe and launcher.exe are not runnig at the same time. Your problem could be related to your launcher.exe script : for example the XBMC process may not have have enough time to really start when the launcher.exe process is closed... Maybe adding a ProcessWait() at the and of the launcher.exe script will solve the problem : Ok, I have found one of the problems. My custom launcher for XBMC was named XBMC.exe. My custom launchers for the emulators call for process XBMC.exe to close instead of suspending it, to avoid the title bar issue. This was not only closing the real XBMC.exe process but also closing the XBMC.exe custom launcher as well. I had renamed all my launchers except the most important one, xbmc's launcher! This was a really foolish mistake and I can't believe I didn't think of it before. Sorry about wasting your time on that. The idea to close explorer.exe is a really good one. I've tried it, but it restarts itself the second it is closed by the script. This does not happen if I manually close explorer.exe from the Task Manager. Advanced Launcher settings are correct and the launchers are all named launcher.exe. I think the reason explorer.exe restarts itself instantly is because the loop checks to see if XBMC is running and checks to see if launcher.exe is running, if both are not running at the same time, it calls for the terminate function, which runs nomousy.exe and runs explorer.exe again. The strange part is that while explorer.exe is restarted, my cursor remains hidden until I close XBMC, then it comes back as it should. It seems as though the nomousy part of the script is working properly, but for some reason explorer.exe is being run again as soon as it is closed. Not sure how to fix this, possibly you were right the first time when using the AND and OR structure? here's my new launcher: Code: Run("nomousy.exe /hide", "", @SW_HIDE) (2012-07-21, 04:11)Angelscry Wrote: You don't need to mount the ISO file AND at the same time load it into epsxe. It's one or the other. Not both. You also do not have to use the RunWait() function to start the emulator. This function is to run an external program and to pause script execution until the program finishes. You also need to unmount the ISO when exiting the script, so... it must be located into the Terminate() function. Finally your ProcessWait ("dccmd.exe") line had no sens because you previously pause the scrip until dccmd.exe was closed. Try this script : I get an error by ePSXe -cdrom parameter invalid. My drive letter is H, I think that command line may be obsolete with 1.6.0 and 1.7.0. Is there another code? I've tried <H> <H:> and <H:\>. I searched ePSXe command line utilities and found this post which claims that the -cdrom parameter is not usable. Thanks again. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-07-21 (2012-07-21, 09:35)chris295 Wrote: I get an error by ePSXe -cdrom parameter invalid. My drive letter is H, I think that command line may be obsolete with 1.6.0 and 1.7.0. Is there another code? I've tried <H> <H:> and <H:\>. I searched ePSXe command line utilities and found this post which claims that the -cdrom parameter is not usable.Ok... if the -cdrom argument is not any more supported, you may surely have the possibly to define drive letter into the ePSXe CR-ROM plugin direclty from ePSXe GUI. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - chris295 - 2012-07-22 Hey, sorry for the delay in response but I wanted to try a few things before I bothered you again. I have found the problem with the ePSXe script. I already had H defined in the application as the drive, but it still wouldn't work. After trying a few things, I found out that the @SWHIDE parameter was messing up the script. This is fine because the @SWHIDE tag is not needed for mounting anyway since nothing is displayed. This script works perfectly for me as far as mounting goes, but the resolution still won't switch back to 1920x1080 before running XBMC. I'm not sure why. Code: HotKeySet("{ESC}", "Terminate") As for the XBMC custom launcher, explorer.exe restarts itself as soon as the script closes it. I am not sure why nomousy works properly but explorer.exe restarts, it seems like if this is a problem with the script that my mouse pointer should come back when explorer.exe does, but it doesn't. However, If I use nomousy+taskbarhider.exe with this script, it works perfectly. So unless you know why explorer.exe is opening as soon as it is closing, I will just use taskbarhider.exe since it does the job. Code: Run("nomousy.exe /hide", "", @SW_HIDE) To keep it short, the only issue I'm having now is trying to get the resolution changed back to 1920x1080 after running ePSXe (or any application in a video mode other than 1920x1080) before running XBMC so that XBMC does not restart itself in 640x480 mode. Btw, maybe you can add these working methods / scripts to the Advanced Launcher wiki in case other people want to achieve a similar effect and to save time on questions like this being asked again by other users. Thanks again!! RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - reksveks - 2012-07-24 Hi, I just to ask this question here but how quick does it take your advance launchers installations to load directories, because mine takes an "excessively" long time some cases upto 45 seconds and it is rather random to how long it takes. I was therefore wondering if there was any insight that could be gained from the section of the log below, similar logs occur during the loading of any directory. :31:27 T:4516 NOTICE: Launcher: bae302cbf32a522a4e2dc2bdcd0dca22 : found 33 roms 01:31:27 T:4604 NOTICE: Thread Background Loader start, auto delete: false 01:31:44 T:4684 NOTICE: Previous line repeats 4 times. 01:31:44 T:4684 NOTICE: Thread XBPyThread start, auto delete: false 01:31:44 T:4684 NOTICE: -->Python Interpreter Initialized<-- 01:31:44 T:4684 ERROR: C:\Users\anon\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 01:31:44 T:4684 NOTICE: Launcher: found 7 launchers Thought I would ask here first but suspect it is a xbmc issue rather than an advanced launcher specific issue p.s. I do have the complete snes rom set in there if that could be slowing it down.. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-07-25 (2012-07-24, 02:53)reksveks Wrote: Hi, I just to ask this question here but how quick does it take your advance launchers installations to load directories, because mine takes an "excessively" long time some cases upto 45 seconds and it is rather random to how long it takes. I was therefore wondering if there was any insight that could be gained from the section of the log below, similar logs occur during the loading of any directory.Which version of Advanced Launcher and XBMC are you using? RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - redstorm - 2012-07-25 When i launch mame roms using the Advanced Launcher on Ubuntu 12.04 the game starts and uses hardware acceleration no problem. The issue is no sound, yet all sounds are working in XBMC menu, Live TV, movies and TV show etc I have a minimal install of Ubuntu so no GDM is installed. To test i copied and modified the script /usr/bin/runXBMC to runMAME and added and argument to take the rom name and changed 2 instances of: "/usr/bin/xbmc --standalone" -> "/usr/games/mame ${args[0]}" service stop xbmc-live ./runMAME romname This launches mame with the specified rom using hardware acceleration and with full sound. I would rather get sound working with mame via advanced launcher, but XBMC appears to not want to share the sound Sound is set to HDMI for audio and pass through, the HDMI goes to a receiver then to the TV I have trawled through the xbmc.log and cannot see any related errors. any help appreciated, can post logs if necessary.. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - fr500 - 2012-07-25 It's not an XBMC issue, most likely a sound server audio issue, what do you use, alsa, esd, pulseaudio? RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - redstorm - 2012-07-26 (2012-07-25, 23:59)fr500 Wrote: It's not an XBMC issue, most likely a sound server audio issue, what do you use, alsa, esd, pulseaudio? alsa /etc/asound.conf Code: pcm.!default { aplay -l Code: xbmc@xbmc:~$ aplay -l I just found a .asound.conf in my home directory that i created to try and fix a different issue that may be causing the problem it had the card set to 1 which does not exist. i have removed it and will report back when i get home to test. Hardware is a Zotoc ION 330 nVidia drivers version 295.59 Whats got me puzzled is that sound works if i remove XBMC from the equation. Will see what happens with that rouge asound.conf removed. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - reksveks - 2012-07-26 (2012-07-25, 07:22)Angelscry Wrote: Which version of Advanced Launcher and XBMC are you using? Its a nightly XBMC build and Advanced Launcher version 1.7.6. Its just all rather random time-wise. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - redstorm - 2012-07-26 Still no sound when launched via Advanced Launcher. xbmc.log Code: 17:54:50 T:3003447680 DEBUG: waiting for python thread 13 to stop RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-07-26 Sorry guys, but Advanced Launcher has nothing to do with sound settings or ouput. Advanced launcher do not touch, modify or change audio configuration at all. If with the nightly build versions of XBMC you do not have any sound at the same time on other running applications, its only a problem between your audio configuration and XBMC. And because you are actually using an unstable version of XBMC, I strongly suggest you to report and give feedback of your problem to XBMC devellopers. I do not make support for nightly build version of XBMC. These version are only for devellopers, not for end users. Finally, last version of Advanced Launcher is 1.8.10 not 1.7.6. |