Scripting news
-
- Atari Super Hero
- Posts: 579
- Joined: Wed Feb 07, 2018 6:13 pm
Re: Scripting news
Scripting news:
===========================
Updater_script_MiSTer: 2020-01-06
- mister_updater.sh - Version 3.6 - 2020-01-06 - Added MAME_ARCADE_ROMS option; when "true" the updater downloads/updates MRA files (MAME Arcade ROMs) for Arcade cores; when using MAME_ARCADE_ROMS="true", please do not add "/cores" to CORE_CATEGORY_PATHS["arcade-cores"]; added MAME_ALT_ROMS option; when "true" the updater downloads/updates alternative MRA files (alternative MAME Arcade ROMs) for Arcade cores.
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer
Regards.
Locutus73
===========================
Updater_script_MiSTer: 2020-01-06
- mister_updater.sh - Version 3.6 - 2020-01-06 - Added MAME_ARCADE_ROMS option; when "true" the updater downloads/updates MRA files (MAME Arcade ROMs) for Arcade cores; when using MAME_ARCADE_ROMS="true", please do not add "/cores" to CORE_CATEGORY_PATHS["arcade-cores"]; added MAME_ALT_ROMS option; when "true" the updater downloads/updates alternative MRA files (alternative MAME Arcade ROMs) for Arcade cores.
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer
Regards.
Locutus73
-
- Obsessive compulsive Atari behavior
- Posts: 102
- Joined: Sat Oct 27, 2018 12:59 pm
Re: Scripting news
i am totally confused by the new arcade folder mess....
When using your script then
.rbf files goes to -> _Arcade
.mra files goes to -> _Arcade/mra_backup
That did not work for me because no mra file can be used and i can only load the .rbf file on OSD.
Shouldn't the folder structure be like this?
_Arcade (.mra)
_Arcade/core (.rbf)
My .ini setting:
DOWNLOAD_NEW_CORES="true"
UPDATE_LINUX="false"
REPOSITORIES_FILTER="arcade-cores"
REMOVE_ARCADE_PREFIX="false"
PARALLEL_UPDATE="true"
MAME_ARCADE_ROMS="true"
MAME_ALT_ROMS="true"

When using your script then
.rbf files goes to -> _Arcade
.mra files goes to -> _Arcade/mra_backup
That did not work for me because no mra file can be used and i can only load the .rbf file on OSD.
Shouldn't the folder structure be like this?
_Arcade (.mra)
_Arcade/core (.rbf)
My .ini setting:
DOWNLOAD_NEW_CORES="true"
UPDATE_LINUX="false"
REPOSITORIES_FILTER="arcade-cores"
REMOVE_ARCADE_PREFIX="false"
PARALLEL_UPDATE="true"
MAME_ARCADE_ROMS="true"
MAME_ALT_ROMS="true"
-
- Atari Super Hero
- Posts: 579
- Joined: Wed Feb 07, 2018 6:13 pm
Re: Scripting news
mra files go into mra_backup only when MAME_ARCADE_ROMS is not true, otherwise they go into _Arcade (and rbf into cores).SegaMan wrote:i am totally confused by the new arcade folder mess....![]()
When using your script then
.rbf files goes to -> _Arcade
.mra files goes to -> _Arcade/mra_backup
That did not work for me because no mra file can be used and i can only load the .rbf file on OSD.
Shouldn't the folder structure be like this?
_Arcade (.mra)
_Arcade/core (.rbf)
My .ini setting:
DOWNLOAD_NEW_CORES="true"
UPDATE_LINUX="false"
REPOSITORIES_FILTER="arcade-cores"
REMOVE_ARCADE_PREFIX="false"
PARALLEL_UPDATE="true"
MAME_ARCADE_ROMS="true"
MAME_ALT_ROMS="true"
Please double check your ini contents or name.
Regards.
Locutus73
-
- Captain Atari
- Posts: 381
- Joined: Sun Sep 20, 2009 6:54 am
- Location: FRANCE
Re: Scripting news
Hi
With latest script i have the same isue
Rbf are in …arcade not in …arcade/cores
With latest script i have the same isue
Rbf are in …arcade not in …arcade/cores
CPC-Power Staff
-
- Atari User
- Posts: 37
- Joined: Thu Dec 27, 2018 10:29 pm
Re: Scripting news
be sure to set CORE_CATEGORY_PATHS["arcade-cores"]="$BASE_PATH/_Arcade" in .ini
for me updater script works "half": it updated mra-files in _Arcade and also some rbf-files in _Arcade/cores (Pacman_20200106.rbf DigDug_20200106.rbf)
but some rbfs are redownloaded to _Arcade (1943_20190509.rbf DevilFish_20191020.rbf MsPacman_20191221.rbf PacmanClub_20191229.rbf PacmanPlus_20191221.rbf)
for me updater script works "half": it updated mra-files in _Arcade and also some rbf-files in _Arcade/cores (Pacman_20200106.rbf DigDug_20200106.rbf)
but some rbfs are redownloaded to _Arcade (1943_20190509.rbf DevilFish_20191020.rbf MsPacman_20191221.rbf PacmanClub_20191229.rbf PacmanPlus_20191221.rbf)
-
- Obsessive compulsive Atari behavior
- Posts: 102
- Joined: Sat Oct 27, 2018 12:59 pm
Re: Scripting news
Can confirm this.high5 wrote:be sure to set CORE_CATEGORY_PATHS["arcade-cores"]="$BASE_PATH/_Arcade" in .ini
for me updater script works "half": it updated mra-files in _Arcade and also some rbf-files in _Arcade/cores (Pacman_20200106.rbf DigDug_20200106.rbf)
but some rbfs are redownloaded to _Arcade (1943_20190509.rbf DevilFish_20191020.rbf MsPacman_20191221.rbf PacmanClub_20191229.rbf PacmanPlus_20191221.rbf)
-
- Obsessive compulsive Atari behavior
- Posts: 134
- Joined: Mon Apr 09, 2018 10:58 pm
Re: Scripting news
hi
1942,1943,devilfish doesn't have mra... that why they stay in _arcade (for now)
MsPacman_20191221.rbf PacmanClub_20191229.rbf PacmanPlus_20191221.rbf arent used anymore... if you use mra (mra for this games use new pacman.rbf)
"be sure to set CORE_CATEGORY_PATHS["arcade-cores"]="$BASE_PATH/_Arcade" in .ini" <= you can remove this line from ini
while the mra arent by default on in script in need one or two lines in update.ini
MAME_ARCADE_ROMS="true" <= used to download mra and place everything with the new structure
MAME_ALT_ROMS="true" <= used to download alternative versions/hacks. many people doesnt like this so this is also an option.
1942,1943,devilfish doesn't have mra... that why they stay in _arcade (for now)
MsPacman_20191221.rbf PacmanClub_20191229.rbf PacmanPlus_20191221.rbf arent used anymore... if you use mra (mra for this games use new pacman.rbf)
"be sure to set CORE_CATEGORY_PATHS["arcade-cores"]="$BASE_PATH/_Arcade" in .ini" <= you can remove this line from ini
while the mra arent by default on in script in need one or two lines in update.ini
MAME_ARCADE_ROMS="true" <= used to download mra and place everything with the new structure
MAME_ALT_ROMS="true" <= used to download alternative versions/hacks. many people doesnt like this so this is also an option.
-
- Ultimate Atarian
- Posts: 6348
- Joined: Mon Dec 14, 2015 10:51 am
- Location: Russia/Taiwan
Re: Scripting news
also CrashRoller, Birdiy, Gorkans, MrTNT rbfs aren't used.brunosilva wrote:MsPacman_20191221.rbf PacmanClub_20191229.rbf PacmanPlus_20191221.rbf
-
- Obsessive compulsive Atari behavior
- Posts: 134
- Joined: Mon Apr 09, 2018 10:58 pm
Re: Scripting news
how about changing the folder of the cores (also 1942,1943 and gng) from release to Release (so we maintain the structure of the repos - maybe while they aren't archived) but the updated doesn't pick them up (updater was changed to get only release folder to speed up things)Sorgelig wrote:also CrashRoller, Birdiy, Gorkans, MrTNT rbfs aren't used.brunosilva wrote:MsPacman_20191221.rbf PacmanClub_20191229.rbf PacmanPlus_20191221.rbf
Thanks
-
- Obsessive compulsive Atari behavior
- Posts: 122
- Joined: Tue Oct 16, 2018 7:55 am
Re: Scripting news
What a mess, loads of mne have stopped working now and it seems to have removed much of my content but I also now have duplicates of many of the cores, some copies work and others don't. If there's a new ini available which changes where it puts files why does it not first check for that ini and ask us if we want to use the new or old locations before downloading the new ini? It seems strange that it doesn't download updates to the update files but will start moving things around before informing you.
Even it does move things around without asking you everything should still work after it's moved them to different folders.
Honestly, for over a year I've been updating everything manually then I finally decide to try the updater and it really has caused notjing but trouble. If it was causing for just me then I'd suspect that maybe I was doing it wrong but it seems to have messed things up for loads of people away from this forum. Maybe it's just a short term issue and I'll retutn to it again at some point but my short time with it really hasn't sold the idea of using scripts to me.
Even it does move things around without asking you everything should still work after it's moved them to different folders.
Honestly, for over a year I've been updating everything manually then I finally decide to try the updater and it really has caused notjing but trouble. If it was causing for just me then I'd suspect that maybe I was doing it wrong but it seems to have messed things up for loads of people away from this forum. Maybe it's just a short term issue and I'll retutn to it again at some point but my short time with it really hasn't sold the idea of using scripts to me.
-
- Atari Super Hero
- Posts: 579
- Joined: Wed Feb 07, 2018 6:13 pm
Re: Scripting news
Can you describe better your issues? The updater doesn’t download any new ini, it has additional default values (set to false) used to enable the new mra structure. It doesn’t remove any content too, it moves/backups stuff.BitsNStuff wrote:What a mess, loads of mne have stopped working now and it seems to have removed much of my content but I also now have duplicates of many of the cores, some copies work and others don't. If there's a new ini available which changes where it puts files why does it not first check for that ini and ask us if we want to use the new or old locations before downloading the new ini? It seems strange that it doesn't download updates to the update files but will start moving things around before informing you.
Even it does move things around without asking you everything should still work after it's moved them to different folders.
Honestly, for over a year I've been updating everything manually then I finally decide to try the updater and it really has caused notjing but trouble. If it was causing for just me then I'd suspect that maybe I was doing it wrong but it seems to have messed things up for loads of people away from this forum. Maybe it's just a short term issue and I'll retutn to it again at some point but my short time with it really hasn't sold the idea of using scripts to me.
Can you try with an empty _Arcade dir (rename your current one to _Arcade_backup or something) and then copy your ROMs from the backup?
Thank you in advance.
Regards.
Locutus73
Last edited by Locutus73 on Tue Jan 07, 2020 7:34 am, edited 1 time in total.
-
- Atari Super Hero
- Posts: 579
- Joined: Wed Feb 07, 2018 6:13 pm
Re: Scripting news
With the current implementation rbf cores go into _Arcade/cores only whenhigh5 wrote:be sure to set CORE_CATEGORY_PATHS["arcade-cores"]="$BASE_PATH/_Arcade" in .ini
for me updater script works "half": it updated mra-files in _Arcade and also some rbf-files in _Arcade/cores (Pacman_20200106.rbf DigDug_20200106.rbf)
but some rbfs are redownloaded to _Arcade (1943_20190509.rbf DevilFish_20191020.rbf MsPacman_20191221.rbf PacmanClub_20191229.rbf PacmanPlus_20191221.rbf)
a) the core repository contains a mra file
b) some other core previously downloaded a mra for that core (i.e. Pacman repo contains many mra files, such as Birdy.mra and Ms. Pacman.mra)
When b) it may happen that on a first update Birdy repo is processed before Pacman one, so Birdy.mra is not there when the repo is processed. Just run again the updater and Birdy.rbf will go under _Arcade/cores.
Some cores (i.e. 1942, 1943 and DevilFish) don’t have a mra for now and they remain in _Arcade in order to be used with their old style rom file.
Regards.
Locutus73
-
- Atari Super Hero
- Posts: 579
- Joined: Wed Feb 07, 2018 6:13 pm
Re: Scripting news
So the ini issue is resolved right?SegaMan wrote:Can confirm this.
If you have just some rbf files in _Arcade, please read my previous post.
Regards.
Locutus73
-
- Atari User
- Posts: 37
- Joined: Thu Dec 27, 2018 10:29 pm
Re: Scripting news
Thanks for clarification.Locutus73 wrote:When b) it may happen that on a first update Birdy repo is processed before Pacman one, so Birdy.mra is not there when the repo is processed. Just run again the updater and Birdy.rbf will go under _Arcade/cores.
What would happen to the .rbf in _Arcade when running script for the second time? Would it get deleted or would we end up with two .rbfs (one in _Arcade and one in _Arcade/cores)?
-
- Atari Super Hero
- Posts: 579
- Joined: Wed Feb 07, 2018 6:13 pm
Re: Scripting news
It will be first moved into _Arcade/cores and then updated (if there’s an update) there. You will have just an updated rbf in _Arcade/cores.high5 wrote:Locutus73 wrote:Thanks for clarification.
What would happen to the .rbf in _Arcade when running script for the second time? Would it get deleted or would we end up with two .rbfs (one in _Arcade and one in _Arcade/cores)?
Regards.
Locutus73
-
- Atari Super Hero
- Posts: 579
- Joined: Wed Feb 07, 2018 6:13 pm
Re: Scripting news
Additional info:
- when MAME_ARCADE_ROMS="false" the updater moves MRA files from _Arcade to _Arcade/mra_backup and RBF files from _Arcade/cores to _Arcade before updating.
- when MAME_ARCADE_ROMS="true" the updater moves MRA files from _Arcade/mra_backup to _Arcade before updating.
So, if you have old style ROMs in _Arcade and MAME ROMs in _Arcade/mame and _Arcade/hbmame you can switch back and forth between MAME_ARCADE_ROMS="true" and "false" and you should have a corresponding working directory and file structure.
Regards.
Locutus73
- when MAME_ARCADE_ROMS="false" the updater moves MRA files from _Arcade to _Arcade/mra_backup and RBF files from _Arcade/cores to _Arcade before updating.
- when MAME_ARCADE_ROMS="true" the updater moves MRA files from _Arcade/mra_backup to _Arcade before updating.
So, if you have old style ROMs in _Arcade and MAME ROMs in _Arcade/mame and _Arcade/hbmame you can switch back and forth between MAME_ARCADE_ROMS="true" and "false" and you should have a corresponding working directory and file structure.
Regards.
Locutus73
-
- Atari Super Hero
- Posts: 579
- Joined: Wed Feb 07, 2018 6:13 pm
Re: Scripting news
Scripting news:
===========================
Updater_script_MiSTer: 2020-01-07
- mister_updater.sh - Version 3.6.1 - 2020-01-07 - Fixed a bug which corrupted the download of MRA files with a single quote char ' in the name.
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer
Regards.
Locutus73
===========================
Updater_script_MiSTer: 2020-01-07
- mister_updater.sh - Version 3.6.1 - 2020-01-07 - Fixed a bug which corrupted the download of MRA files with a single quote char ' in the name.
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer
Regards.
Locutus73
-
- Atari Super Hero
- Posts: 579
- Joined: Wed Feb 07, 2018 6:13 pm
Re: Scripting news
Scripting news:
===========================
Scripts_MiSTer: 2020-01-07
- core_manager.sh - Version 0.9.7 - 2020-01-07 - Support for MRA files (MAME Arcade ROMs).
===========================
https://github.com/MiSTer-devel/Scripts_MiSTer
Regards.
Locutus73
===========================
Scripts_MiSTer: 2020-01-07
- core_manager.sh - Version 0.9.7 - 2020-01-07 - Support for MRA files (MAME Arcade ROMs).
===========================
https://github.com/MiSTer-devel/Scripts_MiSTer
Regards.
Locutus73
-
- Atari Super Hero
- Posts: 579
- Joined: Wed Feb 07, 2018 6:13 pm
Re: Scripting news
Scripting news:
===========================
Updater_script_MiSTer: 2020-01-07
- mister_updater.sh - Version 3.6.2 - 2020-01-07 - Changed MAME_ARCADE_ROMS and MAME_ALT_ROMS default value to ""; "true" for using the new MRA directory/file structure; "false" for restoring the old directory/file structure; "" for doing nothing.
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer
Regards.
Locutus73
===========================
Updater_script_MiSTer: 2020-01-07
- mister_updater.sh - Version 3.6.2 - 2020-01-07 - Changed MAME_ARCADE_ROMS and MAME_ALT_ROMS default value to ""; "true" for using the new MRA directory/file structure; "false" for restoring the old directory/file structure; "" for doing nothing.
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer
Regards.
Locutus73
-
- Obsessive compulsive Atari behavior
- Posts: 134
- Joined: Mon Apr 09, 2018 10:58 pm
Re: Scripting news
about the duplicates...
I release a full pack ("originals" and alternatives) a while ago (before the updater).
This pack has some different file names from the ones that are in the repos.
My advice:
- backup mra from /_Arcade and /_arcade/_alternatives to another folder (just in case).
Run the updater again.
tell me the results. thanks
I release a full pack ("originals" and alternatives) a while ago (before the updater).
This pack has some different file names from the ones that are in the repos.
My advice:
- backup mra from /_Arcade and /_arcade/_alternatives to another folder (just in case).
Run the updater again.
tell me the results. thanks
-
- Retro freak
- Posts: 16
- Joined: Fri Mar 16, 2018 10:00 am
Re: Scripting news
@Locutus73:
I just tried the PC updater script.
Your updater-pc.zip is missing cp and basename from the coreutils of cygwin
I just tried the PC updater script.
Your updater-pc.zip is missing cp and basename from the coreutils of cygwin

-
- Atari Super Hero
- Posts: 579
- Joined: Wed Feb 07, 2018 6:13 pm
Re: Scripting news
Thank you so much for the report.Storm82 wrote:@Locutus73:
I just tried the PC updater script.
Your updater-pc.zip is missing cp and basename from the coreutils of cygwin
The updated updater-pc.zip is online in the repo.
Thank you again.
Regards.
Locutus73
-
- Atari Super Hero
- Posts: 579
- Joined: Wed Feb 07, 2018 6:13 pm
Re: Scripting news
Scripting news:
===========================
Updater_script_MiSTer: 2020-01-09
- mister_updater.sh - Version 3.6.3 - 2020-01-09 - Speed optimisations.
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer
Regards.
Locutus73
===========================
Updater_script_MiSTer: 2020-01-09
- mister_updater.sh - Version 3.6.3 - 2020-01-09 - Speed optimisations.
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer
Regards.
Locutus73
-
- Atariator
- Posts: 26
- Joined: Fri Mar 15, 2019 12:07 am
Re: Scripting news
Can anyone offer an idea of how to integrate MrX-8B's repo into this updater? I tried adding a line into update.ini under additional_cores but think I got the formatting wrong.
Specifically, I'm talking about the core (and MRA files) located at this path: https://github.com/MrX-8B/MiSTer-Arcade-SEGASYS1
Specifically, I'm talking about the core (and MRA files) located at this path: https://github.com/MrX-8B/MiSTer-Arcade-SEGASYS1
-
- Ultimate Atarian
- Posts: 6348
- Joined: Mon Dec 14, 2015 10:51 am
- Location: Russia/Taiwan
Re: Scripting news
It's in beta stage. When this core will be stable, it will be moved to MiSTer-devel for general use.Shaneus wrote:Can anyone offer an idea of how to integrate MrX-8B's repo into this updater? I tried adding a line into update.ini under additional_cores but think I got the formatting wrong.
Specifically, I'm talking about the core (and MRA files) located at this path: https://github.com/MrX-8B/MiSTer-Arcade-SEGASYS1
There is no point to tweak update for this repository.
If you like to use unfinished cores, then update them by hands. They may not follow the general schema for automatic updates.