MiSTer Software AddOn Files and Folder Structure

For topics which do not fit in other specific forums.
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

MiSTer Software AddOn Files and Folder Structure

Unread post by venice »

Hi@all,
I am thinking about an general folder Structure for MiSTer Software Add-On's and like know what you think about.

My Software Add-On tty2oled uses actually files in /etc/init.d/, /usr/bin/, /media/fat/tty2oledpics and a script in /media/fat/scripts/.
Some of these files needs to be re-copied after each Linux Update.
So I like to move all my AddOn Files together to an area which is a bit more persistent ;)

Here is my Idea:
-----------------------------------------------------
General Base Folder for Add-Ons:
/media/fat/addon/

Scripts which needs Auto-Start via INIT or /media/fat/linux/user-startup.sh (Examples):
/media/fat/addon/init.d/tty2oled
/media/fat/addon/init.d/tty2oled.init
/media/fat/addon/init.d/S60tty2oled

AddOn-Folder:
/media/fat/addon/[Add-On-Name]/

Scripts or Binaries in Add-On-Base Folder:
/media/fat/addon/[Add-On-Name]/tty2oled.sh

Resources in Sub-Folder:
/media/fat/addon/[Add-On-Name]/Pics/

Maybe we find something useful for other AddOn-Builders.

Cheers

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

Post Reply