Skip to content

Newsdee/Updater_script_MiSTer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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):
REPOSITORIES_FILTER="arcade-cores"
ADDITIONAL_REPOSITORIES=( )
UPDATE_CHEATS="false"
UPDATE_LINUX="false"
REPOSITORIES_FILTER="PET2001 VIC20 C64 C16 Minimig"
ADDITIONAL_REPOSITORIES=( )
UPDATE_CHEATS="false"
UPDATE_LINUX="false"
REPOSITORIES_FILTER="ZZZZZZZZZ"
UPDATE_CHEATS="false"
UPDATE_LINUX="false"
  • you can make an update_fonts.sh with its update_fonts.ini using these settings:
REPOSITORIES_FILTER="ZZZZZZZZZ"
ADDITIONAL_REPOSITORIES=( "https://github.com/MiSTer-devel/Fonts_MiSTer|pf|$BASE_PATH/font" )
UPDATE_CHEATS="false"
UPDATE_LINUX="false"
  • you can make an update_linux.sh with its update_linux.ini using these settings:
REPOSITORIES_FILTER="ZZZZZZZZZ"
UPDATE_CHEATS="false"
UPDATE_LINUX="true"

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.

About

Bash script for updating MiSTer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%