Beta Advanced Emulator Launcher - Multi-emulator frontend for Kodi - 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: Beta Advanced Emulator Launcher - Multi-emulator frontend for Kodi (/showthread.php?tid=287826) 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
|
RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Wintermute0110 - 2020-07-06 @AndyHandy I'm sorry, the feature is already present in AEL in the development version in Github. You can install the development version (instructions on Github) or wait until I make the next release. In AEL settings go to Advanced tab, activate "Suspend/resume Kodi screensaver". This will disable the screensaver before launching (if it was on) and reenable when the launched app finishes. There is a small annoyance in with the current implementation: reenabling the screensaver does not reset the screensaver timer so the screensaver activates just after reenabling it. RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - AndyHandy - 2020-07-07 (2020-07-06, 11:01)Wintermute0110 Wrote: @AndyHandy I'm sorry, the feature is already present in AEL in the development version in Github. You can install the development version (instructions on Github) or wait until I make the next release. In AEL settings go to Advanced tab, activate "Suspend/resume Kodi screensaver". This will disable the screensaver before launching (if it was on) and reenable when the launched app finishes. There is a small annoyance in with the current implementation: reenabling the screensaver does not reset the screensaver timer so the screensaver activates just after reenabling it. Many thanks, I will have a look Andy RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - AndyHandy - 2020-07-07 (2020-07-07, 23:26)AndyHandy Wrote:I have just had a look at the Github and installed AEL version 0.9.9 but I cant see the option you mention and I cant see another development version, have I missed something?(2020-07-06, 11:01)Wintermute0110 Wrote: @AndyHandy I'm sorry, the feature is already present in AEL in the development version in Github. You can install the development version (instructions on Github) or wait until I make the next release. In AEL settings go to Advanced tab, activate "Suspend/resume Kodi screensaver". This will disable the screensaver before launching (if it was on) and reenable when the launched app finishes. There is a small annoyance in with the current implementation: reenabling the screensaver does not reset the screensaver timer so the screensaver activates just after reenabling it. Thanks again Andy RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Wintermute0110 - 2020-07-08 (2020-07-07, 23:57)AndyHandy Wrote:(2020-07-07, 23:26)AndyHandy Wrote:I have just had a look at the Github and installed AEL version 0.9.9 but I cant see the option you mention and I cant see another development version, have I missed something?(2020-07-06, 11:01)Wintermute0110 Wrote: @AndyHandy I'm sorry, the feature is already present in AEL in the development version in Github. You can install the development version (instructions on Github) or wait until I make the next release. In AEL settings go to Advanced tab, activate "Suspend/resume Kodi screensaver". This will disable the screensaver before launching (if it was on) and reenable when the launched app finishes. There is a small annoyance in with the current implementation: reenabling the screensaver does not reset the screensaver timer so the screensaver activates just after reenabling it. If you installed the development version the version string must be "0.9.10-alpha", you can check it in Kodi addon manager. Do you have that version installed? RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - AndyHandy - 2020-07-08 (2020-07-08, 09:45)Wintermute0110 Wrote:(2020-07-07, 23:57)AndyHandy Wrote:(2020-07-07, 23:26)AndyHandy Wrote: Many thanks, I will have a lookI have just had a look at the Github and installed AEL version 0.9.9 but I cant see the option you mention and I cant see another development version, have I missed something? Hi No I couldn't find that version on your GitHub do you have a link to it? Sorry to be a nuisance Regards Andy RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Wintermute0110 - 2020-07-08 (2020-07-08, 09:49)AndyHandy Wrote: Hi No problem, we all were starters once. They have changed the Gihub interface a bit, I must update the instructions. Follow this link, click on the green button on the top of the page to the right that says "Code", then click on "Download ZIP". Once you have the zip scroll down the page and follow the instruction of the section "Installing the latest development version" for installation of the dev version. Instead of plugin.program.advanced.emulator.launcher-master the current dev version name is plugin.program.AEL-release-0.9.8 , rest of instructions are OK and current.
RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - redshepard - 2020-07-12 (2017-09-02, 05:02)berlinchair Wrote:(2017-09-01, 12:43)Wintermute0110 Wrote: Do not desperate. In Linux there is always a solution, no matter how easy (or difficult). I have been doing some research. LibreELEC runs Kodi in standalone mode using a systemd service named kodi. Also, LibreELEC applies a C++ patch to Kodi core to prevent setting Kodi into a window. This makes sense: Kodi is running in standalone mode without a window manager so turning it into a window will be detrimental. Hi, i know im late here but im trying to get this working with my retropie setup. The command im using to start my retroarch/rom is retropie's runcommand.sh, that command needs a path to rom as an input. What i was hopeing to figure out is weather or not AEL has a way to pass that onto runcommand like you passed the path to libretro into your script. Thanks for any help. RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - redshepard - 2020-07-12 (2017-09-01, 12:43)Wintermute0110 Wrote:(2017-08-31, 23:08)berlinchair Wrote:(2017-08-31, 16:32)Wintermute0110 Wrote: It looks LibreELEC is running Kodi in standalone mode without a Window manager. Please do an experiment for me: Go to Kodi settings, System Settings, Display. Can you change the Display Mode from Full Screen to Windowed? If so, when Kodi is a window, can you see a window border and the minimize, maximize and close buttons? If so you are running Kodi within a Window Manager and AEL should work OK. If you don't see the window border and buttons then you are running Kodi in standalone mode and AEL won't work well. Hi, i know im late here but im trying to get this working with my retropie setup. The command im using to start my retroarch/rom is retropie's runcommand.sh, that command needs a path to rom as an input. What i was hopeing to figure out is weather or not AEL has a way to pass that onto runcommand like you passed the path to libretro into your script. Thanks for any help. RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Wintermute0110 - 2020-07-12 (2020-07-12, 06:22)redshepard Wrote: Hi, i know im late here but im trying to get this working with my retropie setup. The command im using to start my retroarch/rom is retropie's runcommand.sh, that command needs a path to rom as an input. Better late than never AEL has a lot of variables you can use in your arguments to call the application. You can have a look at the list here. I will reproduce it here for your convenience:
If you need a variable not in there tell me with an example what you need, I will create it. RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - redshepard - 2020-07-13 (2020-07-12, 17:34)Wintermute0110 Wrote:(2020-07-12, 06:22)redshepard Wrote: Hi, i know im late here but im trying to get this working with my retropie setup. The command im using to start my retroarch/rom is retropie's runcommand.sh, that command needs a path to rom as an input. you are awesome man, thankyou for your quick reply. i still cant figure this out and im sure im messing up on something simple here. in the cli i can run this to open gba files: /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ gba /home/pi/RetroPie/roms/gba/ROM so i have tried making a .sh to launch roms and this is what i have so far: #!/bin/sh sudo kodi-send --action="Quit" /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ $1 $2 kodi and in AEL under arguments i have: gba "$rom$" im not sure what im doing wrong, i thought the $1 and $2 would pas in the gba and /path/to/rom to the runcommand.sh. thanks again for all your time. Can You create A Sub Category? - Wild_Tom - 2020-07-13 Hi, I am a new user of this addon and I cant create a subcategory, is it even possible to do this? Thanks, Wild Tom RE: Can You create A Sub Category? - Wintermute0110 - 2020-07-13 (2020-07-13, 04:43)Wild_Tom Wrote: Hi, I am a new user of this addon and I cant create a subcategory, is it even possible to do this? Go to "AEL addon settings", "Display" tab, make sure the setting "Categories display mode" is set to "Standard". Then, open the context menu in the addon main window on Favourites, for example, and select "Create New Category". Long explanation: by default AEL shows the categories in flat mode which means that all your launcher are displayed in the main window like "Category name - Launcher name". However, there is a bug and is that if you create an empty category it will have no launchers and hence it will not be displayed unless the "Categories display mode" is set to "Standard". I have to fix this bug, in the mean time use the workaround I told you. RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Wintermute0110 - 2020-07-13 (2020-07-13, 01:00)redshepard Wrote: you are awesome man, thankyou for your quick reply. The code you posted should do the job, just put quotes on the ROM name and the system name (just in case there is spaces): Code:
Also, open the Launcher context menu, select "Edit Launcher", select "Advanced Modifications", make sure the setting "Non-blocking launcher" is ON. Otherwise, sudo kodi-send --action="Quit" will not work. Also, when you type sudo in the CLI are you asked for a password? If so the script won't work.Finally, what is exactly the problem you have? Kodi not exiting? Retroarch not launching? Please describe it better. Also, if you can provide a debug log following the instructions of the first post that will be great. RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - redshepard - 2020-07-14 (2020-07-13, 12:52)Wintermute0110 Wrote:(2020-07-13, 01:00)redshepard Wrote: you are awesome man, thankyou for your quick reply. you are an absolute champion. That was exactly what i needed. I'm not sure what the non blocking launcher setting does but it solved all my problems. I wasn't able to see the error logs in my runcommand log file because it wasn't getting called, kodi was crashing on the kodi-send event, I had assumed the event went through and quit kodi when it was actually just crashing. The only other thing i had to do was quote out the $rom$ in the arugments menu as the "$2" wasn't enough. everything is working amazingly now, thanks for all your help. I will be shareing this with the other raspberry pi lovers and hopefully try to steer some to this awesome addon. RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Wintermute0110 - 2020-07-14 (2020-07-14, 00:09)redshepard Wrote: you are an absolute champion. Thanks for your kind words. If you like the technicalities, when AEL launches and app the launcher is blocking. This means that AEL waits until the launched app is closed and returns. Note that Kodi is multithreaded, this means there are several pieces executing at the same time. When an AEL thread is waiting for the launched app to finish you can use Kodi, use AEL, even launch another app with AEL. In this case, AEL will detect there is another AEL thread executing and will prevent another execution. This is to prevent the database corruption issues that plagued old good Advanced Launcher. However, like in your case, some users need the launcher to be non-blocking. In this case, AEL launches the application and it does not wait for the app to finish. This may lead to database corruption BUT because you are closing Kodi and then run the app in your script it is OK. So, to summarize: blocking launchers are the default to prevent database corruption and it is what most users want. Kodi needs to run with a Window Manager and keeps in the background and the launched app in the foreground. Non-blocking launchers are for people that need to close Kodi when launching apps, especially in low-end devices like the Pi. |