Support for upcoming console cases
-
@michaelkirsch You will need to look at existing modules, and https://retropie.org.uk/api/
-
@meleu thank you very much for your reply i will read myself into it
-
@meleu but there is one question left to me: how is the module (once its done ) implemented into retropie and where is it uploaded ?
-
@michaelkirsch said in Support for upcoming console cases:
@meleu but there is one question left to me: how is the module (once its done ) implemented into retropie and where is it uploaded ?
Locally it should be placed at
$HOME/RetroPie-Setup/scriptmodules/supplementary/SCRIPT_MODULE_NAME.sh
. But if you want to make it part of RetroPie-Setup you have to submit a Pull Request to https://github.com/RetroPie/RetroPie-Setup repository. -
@meleu thank you very much. I will work towards a pull request for the RetroPie-Setup
-
@meleu I have written a scriptmodule now. Can i share it here before i make a pull request so we can maybe find some mistakes already. Its working fine here on multiple raspberrys.
-
@michaelkirsch sharing here can be a good idea, but you can do as you wish. By the way, just FYI, the man who approves (or not) if your script module will be part of RetroPie-Setup is @BuZz .
-
@meleu @BuZz here is my working scriptmodule. If there are any mistakes please point them out and i will fix them immediately. Link: https://github.com/MichaelKirsch/kintaro_scriptmodule
-
@michaelkirsch some things I noticed at a first glance:
-
some lines are indented with a tab followed by spaces (lines 45, 50 and 58). This should be fixed to spaces only.
-
if your driver is for rpi only, you can make the scriptmodule be shown only on rpi installs using some flags. Example:
rp_module_flags="noinstclean !mali !x86"
-
I think the function
remove_kintaropcb
should also do those steps to disable the driver (systemctl disable
andstop
). -
I also think you should say what exactly that
pcb_1.0.0_armhf.deb
installs.
-
-
@meleu Thank you for your quick reply. I will do this today
-
@meleu two questions. Where should i write what the .deb is doing ? And what program do you use to see if something is only indented or tab ? I use gedit on linux and that doesnt show that
-
@michaelkirsch said in Support for upcoming console cases:
Where should i write what the .deb is doing ?
Maybe in
rp_module_help
. You can break lines using\n
. Example:rp_module_help="Kintaro Pcb Driver\n\nThis module installs:\n- file1\n- file2\n- file3..."
And what program do you use to see if something is only indented or tab ?
Mozilla Firefox (look lines 45, 49 and 60):
I use gedit on linux and that doesnt show that
I also opened your file with vim editor and noticed those tabs, maybe your gedit is configured to display tabs as 4 spaces.
-
@meleu said in Support for upcoming console cases:
rp_module_help="Kintaro Pcb Driver\n\nThis module installs:\n- file1\n- file2\n- file3..."
okay thanks i will do that :)
-
@meleu yeah seems like gedit is not doing a great job with it i now fixed it within github
-
@MichaelKirsch some points
-
pcb.py into /opt/kintaro
could be just the full path:/opt/kintaro/pcb.py
. Same thing forkintaro.service
. -
I can't see why your driver needs
doxygen
. Is it really necessary? -
I'm not sure if it will be part of RetroPie-Setup. Even if not, I think that a scriptmodule is the way to provide an user-friendly way to your customers install/enable your driver. ;-)
-
-
@meleu okay i will change the pathes. Yes i just saw that too no i dont need doxygen :)
-
I don't think I want to include this is RetroPie but as meleu said you can provide it for your users.
-
@BuZz Is there something you suggest I should do different? I would love to get some feedback from you as you're experienced with user friendly services.
-
@michaelkirsch Any update on your product? Release date?
-
@wombat Hey man. Thank you for your interest into our new product. We are working on it to get a very nice and useful product out. We are challening ourself with new routes and we hope to get it out to the community soon :) As it is with companies i cant tell you a release date yet im very sorry. If you have ideas or you want to contribute software later let us know , its more than welcome :)
Greeting from Amsterdam,
Michael
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.