Disable cores

For topics which do not fit in other specific forums.
Mr^O^BIG
Posts: 35
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 1 time
Been thanked: 9 times

Disable cores

Unread post by Mr^O^BIG »

Hi fellaz :), is it possible to hide or just show a directory, like soon we'll have a jamma interface so I was wondering to have only the arcade directory directly, thanks and have a wonderful weekend

Mr BIG
User avatar
Newsdee
Top Contributor
Posts: 830
Joined: Mon May 25, 2020 1:07 am
Has thanked: 98 times
Been thanked: 209 times

Re: Disable cores

Unread post by Newsdee »

You can just delete what you don't want.

Or copy the contents if the Arcade folder in root,
and place everything else under a subfolder.
Mr^O^BIG
Posts: 35
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 1 time
Been thanked: 9 times

Re: Disable cores

Unread post by Mr^O^BIG »

Oki thanks, but the update will put it back no???

Mr BIG
grizzly
Posts: 376
Joined: Tue Jun 16, 2020 12:22 pm
Has thanked: 55 times
Been thanked: 76 times

Re: Disable cores

Unread post by grizzly »

Yes run update and it will download everything that update downloads again for those systems, so the delete/move must be done every time you run update.
As in delete/move is not a solution at all.
Some off us have asked for a solution to this.

For example if we could make a do not update ini file or script file that is checked after the update script is checked and simply does not run update on whats in that file.
Doing it this way would be way easier then trying too implement something in the update script.
But have not seen anything new about this.
Bas
Top Contributor
Posts: 558
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 73 times
Been thanked: 261 times

Re: Disable cores

Unread post by Bas »

You could write a script that does the deleting/moving and a small one that wraps the update and deletion together. The updater won't touch either of them and you still have a one-step process to get your stuff as you want it.
justaguy
Posts: 45
Joined: Thu Jun 18, 2020 5:23 pm
Has thanked: 3 times
Been thanked: 20 times

Re: Disable cores

Unread post by justaguy »

grizzly wrote: Thu Apr 08, 2021 3:45 pm For example if we could make a do not update ini file or script file that is checked after the update script is checked and simply does not run update on whats in that file.
Doing it this way would be way easier then trying too implement something in the update script.
But have not seen anything new about this.
Unless I'm misunderstanding, this has been possible for a while. You can create an update.ini file in the Scripts directory alongside update.sh and add REPOSITORIES_FILTER="arcade-cores" to only update arcade cores, or just list the individual cores you're interested in. Alternatively, set DOWNLOAD_NEW_CORES="false" and it will only update the cores already present on your SD card, though this has the disadvantage of not picking up new arcade cores when they get released.

From the source code:

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=""
Mr^O^BIG
Posts: 35
Joined: Sun May 24, 2020 7:02 pm
Has thanked: 1 time
Been thanked: 9 times

Re: Disable cores

Unread post by Mr^O^BIG »

Hi guyz, thanks a lot for all the details :), enjoy your day

Mr BIG
Post Reply