Reply To: Script Programming Question

#117202
Profile photo of herbfargus
herbfargus
Moderator

These are the two main scripts that define those for the modules:

https://github.com/RetroPie/RetroPie-Setup/blob/7545b4c359a03f34e2547f6771c211138a5a79ff/scriptmodules/packages.sh

https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/helpers.sh

Those are very good questions. I do think scripting is somewhat lacking in the documentation though there is some documentation here:

https://github.com/retropie/RetroPie-Setup/wiki/Shell-Style-Guide

I may be able to come up with more detailed explanations when I have more time, but a good way to figure out the scripts is to do what you’ve been doing, see how the current scripts work and then adapt them to your needs.

Skip to toolbar