Updater script for MiSTer
The script updates all MiSTer cores, including menu.rbf and the main MiSTer Linux executable; it updates scaler filters, GameBoy palettes and scripts; it can (experimental and risky) optionally update the whole Linux system.
Simply put update.sh in your SD and launch it through MiSTer main menu OSD (press F12 and then Scripts). Please right click on the links in this README or on the RAW button in GitHub script pages in order to actually download the raw Bash script, otherwise you could download an HTML page which isn’t a script and won’t be executed by MiSTer (you will see no output, but just an OK button in MiSTer Script menu interface).
update.sh will always download and execute the latest mister_updater.sh (where the real update code is) from GitHub, so you will never have to deal with "updater updates". You can make an update.ini (same name as the script and placed in the same directory) file with custom user options: see mister_updater.sh USER OPTIONS section (please click the link) for all user options and their detailed explanations. If you feel uncomfortable, for security reasons, with a script which downloads and executes another script from the Internet, you can directly download and use mister_updater.sh and it will work the same, all ini file considerations will still be valid, but you will have to update the script manually.
You can have many differently named copies of update.sh (or mister_updater.sh if you prefer) and its ini file, for different updating behaviours i.e.:
- you can make an update_arcade.sh with its update_arcade.ini using these settings (simply copy this code in an empty text file named update_arcade.ini and put it in the same directory as update_arcade.sh):
- you can make an update_commodore.sh with its update_commodore.ini using these settings:
REPOSITORIES_FILTER="PET2001 VIC20 C64 C16 Minimig" ADDITIONAL_REPOSITORIES=""
- you can make an update_additional_repositories.sh with its update_additional_repositories.ini using these settings:
I take no responsibility for any data loss or anything, if your DE10-Nano catches fire it’s up to you: use the script at your own risk.