How to update only selected cores?

https://github.com/MiSTer-devel/Main_MiSTer/wiki
Locked
Kraken
Atariator
Atariator
Posts: 22
Joined: Mon Jan 20, 2020 1:08 am

How to update only selected cores?

Post by Kraken »

Is there any way (other than manual copy) to update only the cores you have (and menu/main) using a script?

The update script that I have creates many folders and installs all cores but I’m not interested in many of these and just need my favourite systems updated.
ElDoctor
Atari nerd
Atari nerd
Posts: 46
Joined: Thu Mar 05, 2020 7:10 pm

Re: How to update only selected cores?

Post by ElDoctor »

Kraken wrote:Is there any way (other than manual copy) to update only the cores you have (and menu/main) using a script?

The update script that I have creates many folders and installs all cores but I’m not interested in many of these and just need my favourite systems updated.
Already answered 10 times in other threads... And explained on the Wiki as well...
Kraken
Atariator
Atariator
Posts: 22
Joined: Mon Jan 20, 2020 1:08 am

Re: How to update only selected cores?

Post by Kraken »

ElDoctor wrote:
Kraken wrote:Is there any way (other than manual copy) to update only the cores you have (and menu/main) using a script?

The update script that I have creates many folders and installs all cores but I’m not interested in many of these and just need my favourite systems updated.
Already answered 10 times in other threads... And explained on the Wiki as well...
Thanks for taking time and complaining about the question so eagerly.
maybe take things a little easier and work on your nerves a little?
Sigismond0
Atari nerd
Atari nerd
Posts: 45
Joined: Thu Mar 12, 2020 2:13 am

Re: How to update only selected cores?

Post by Sigismond0 »

You can use the Core Manager script to individually pull updates. Alternatively, edit your update.ini file and edit the repositories filter or negative filter sections in include or exclude only specific cores from the updater.

Code: Select all

#A space separated list of filters for the online repositories;
#each filter can be part of the repository name or a whole core category,
#i.e. “C64 Minimig NES SNES arcade-cores” if you want the script to check only
#for C64, Minimig, NES, SNES, and all arcade cores repositories making the whole
#update process quicker;
#if you use this option probably you want DOWNLOAD_NEW_CORES="true" so that you
#can use this filter in order to setup a brand new empty SD with only the cores
#you need, otherwise cores in the filter, but not on the SD won't be downloaded.
REPOSITORIES_FILTER=""

#Like REPOSITORIES_FILTER but repository names or core categories must not match the filter;
#REPOSITORIES_NEGATIVE_FILTER is processed after REPOSITORIES_FILTER.
REPOSITORIES_NEGATIVE_FILTER=""
If you don't want it to make folders, edit the directory section to look like this (or if you want only some folders like Arcade, leave those alone):

Code: Select all

#Directories where all core categories will be downloaded.
declare -A CORE_CATEGORY_PATHS
CORE_CATEGORY_PATHS["computer-cores"]="$BASE_PATH"
CORE_CATEGORY_PATHS["console-cores"]="$BASE_PATH"
CORE_CATEGORY_PATHS["arcade-cores"]="$BASE_PATH"
CORE_CATEGORY_PATHS["other-cores"]="$BASE_PATH"
CORE_CATEGORY_PATHS["service-cores"]="$BASE_PATH"
Locutus73
Atari Super Hero
Atari Super Hero
Posts: 579
Joined: Wed Feb 07, 2018 6:13 pm

Re: How to update only selected cores?

Post by Locutus73 »

Kraken wrote:Is there any way (other than manual copy) to update only the cores you have (and menu/main) using a script?

The update script that I have creates many folders and installs all cores but I’m not interested in many of these and just need my favourite systems updated.
Basically there are 3 ways to cherry pick cores and make a selective update (it's better to start with a fresh SD):
1) You can use REPOSITORIES_FILTER and/or REPOSITORIES_NEGATIVE_FILTER in your ini to configure the cores and/or categories you want or not want.
2) You can set DOWNLOAD_NEW_CORES="_New Cores" and all new cores will be downloaded into "_New Cores/_Computer", "_New Cores/_Consoles" and so on; if you do that on a fresh SD all cores will be downloaded into "_New Cores", then you can manually move the cores you're interested into the regular _Computer, _Console, etc. dir. Each new update run will update existing cores where they are and download new cores into "_New Cores"
3) You can set DOWNLOAD_NEW_CORES="false"; the updater won't download any new core, just update the ones which are on the SD and you can use core_manager.sh to install or delete cores.

Please take a look at https://github.com/MiSTer-devel/Updater_script_MiSTer for further instructions

Regards.

Locutus73
digitron
Atari maniac
Atari maniac
Posts: 92
Joined: Sat Apr 20, 2019 7:27 pm

Re: How to update only selected cores?

Post by digitron »

On this topic, is there a way to modify the update script to copy mame roms which have available cores over so that I don't have to go one by one and search for each mame zip?
Peredonov
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 120
Joined: Sat Jan 04, 2020 8:06 pm

Re: How to update only selected cores?

Post by Peredonov »

digitron wrote:On this topic, is there a way to modify the update script to copy mame roms which have available cores over so that I don't have to go one by one and search for each mame zip?
https://github.com/RetroDriven/MiSTerMAME
digitron
Atari maniac
Atari maniac
Posts: 92
Joined: Sat Apr 20, 2019 7:27 pm

Re: How to update only selected cores?

Post by digitron »

Peredonov wrote:
digitron wrote:On this topic, is there a way to modify the update script to copy mame roms which have available cores over so that I don't have to go one by one and search for each mame zip?
https://github.com/RetroDriven/MiSTerMAME
Thanks buddy!
digitron
Atari maniac
Atari maniac
Posts: 92
Joined: Sat Apr 20, 2019 7:27 pm

Re: How to update only selected cores?

Post by digitron »

Does the script update the CPS1 stuff? I have the core but they don't seem to work.
Sigismond0
Atari nerd
Atari nerd
Posts: 45
Joined: Thu Mar 12, 2020 2:13 am

Re: How to update only selected cores?

Post by Sigismond0 »

It gives you the MAME files, but not the RBFs. You have to be a Jotego patreon to get those, I believe. But if you drop them in, they should work with what RetroDriven downloads.
digitron
Atari maniac
Atari maniac
Posts: 92
Joined: Sat Apr 20, 2019 7:27 pm

Re: How to update only selected cores?

Post by digitron »

Sigismond0 wrote:It gives you the MAME files, but not the RBFs. You have to be a Jotego patreon to get those, I believe. But if you drop them in, they should work with what RetroDriven downloads.
Gotcha, thanks!
Locutus73
Atari Super Hero
Atari Super Hero
Posts: 579
Joined: Wed Feb 07, 2018 6:13 pm

Re: How to update only selected cores?

Post by Locutus73 »

digitron wrote:On this topic, is there a way to modify the update script to copy mame roms which have available cores over so that I don't have to go one by one and search for each mame zip?
The updater here https://github.com/MiSTer-devel/Updater_script_MiSTer will never download copyrighted stuff and, generally speaking, it won’t download stuff outside of MiSTer-devel (there are few specific harmless exceptions like cheats).

Regards.

Locutus73
macle
Atariator
Atariator
Posts: 22
Joined: Tue Mar 31, 2020 5:39 pm

How to filter out some cores?

Post by macle »

Hello,

How to prevent update'ing some cores (state for today)?

I have following entry in

Code: Select all

/media/fat/Scripts/update.sh

Code: Select all

REPOSITORIES_FILTER="ORAO BK0011M Vector-06C"
but it seems it doesn't work (cores are still downloaded during update proces).

Greetings,
M
User avatar
mambrino
Atari freak
Atari freak
Posts: 61
Joined: Mon May 09, 2016 4:59 pm

Re: How to filter out some cores?

Post by mambrino »

you have to put them in REPOSITORIES_NEGATIVE_FILTER category. Afterwards, all cores will be updated except these.
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: How to filter out some cores?

Post by Sorgelig »

Why need to create new topic?? Why i need to do additional work??
macle
Atariator
Atariator
Posts: 22
Joined: Tue Mar 31, 2020 5:39 pm

Re: How to filter out some cores?

Post by macle »

mambrino wrote:Afterwards, all cores will be updated except these.
Thats for I wanted to archive (download all cores except specified). But using REPOSITORIES_FILTER doesn't work in this case.
When I delete specified cores updater downloads them after next run.

Any ideas how to diagnose this situation?

Regards,
M
Locked

Return to “MiSTer”