Scripting news

https://github.com/MiSTer-devel/Main_MiSTer/wiki

Moderators: Mug UK, Zorro 2, Greenious, spiny, Sorgelig, Moderator Team

Locutus73
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Wed Feb 07, 2018 6:13 pm

Re: Scripting news

Postby Locutus73 » Sat Oct 26, 2019 11:05 am

Scripting news:
===========================
Scripts_MiSTer: 2019-10-26
- bluetooth_pair.sh - First commit. Script for choosing which Bluetooth device to pair when more than one are visible and/or in pairing mode.
===========================
https://github.com/MiSTer-devel/Scripts_MiSTer

Regards.

Locutus73

Locutus73
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Wed Feb 07, 2018 6:13 pm

Re: Scripting news

Postby Locutus73 » Sun Nov 10, 2019 7:57 pm

Scripting news:
===========================
Updater_script_MiSTer: 2019-11-10
- mister_updater.sh - Version 3.3.5 - 2019-11-10 - Added GAMES_SUBDIR option, specifies the Games/Programs subdirectory where core specific directories will be placed; GAMES_SUBDIR="" for letting the script choose between /media/fat and /media/fat/games when it exists, otherwise the subdir you prefer (i.e. GAMES_SUBDIR="/Programs").
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer

Regards.

Locutus73

Locutus73
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Wed Feb 07, 2018 6:13 pm

Re: Scripting news

Postby Locutus73 » Sat Nov 30, 2019 7:18 pm

Scripting news:
===========================
Updater_script_MiSTer: 2019-11-30
- mister_updater.sh - Version 3.4 - 2019-11-30 - Added support for the new filters and gamma tables repository structure; FILTERS_URL="" for disabling filters updating; if you use a custom ADDITIONAL_REPOSITORIES, please remove any Filters entry.
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer

Regards.

Locutus73

yoshi41
Atari User
Atari User
Posts: 43
Joined: Sat Sep 07, 2019 11:28 am

Re: Scripting news

Postby yoshi41 » Mon Dec 02, 2019 11:41 am

First of all, thanks for all the scripts. Very useful, especially the update script.

I install new cores manually and use the update script to keep everything updated.

Code: Select all

GAMES_SUBDIR="/media/fat"
CREATE_CORES_DIRECTORIES="false"
DOWNLOAD_NEW_CORES="false"
REPOSITORIES_FILTER="Gameboy GBA Genesis NeoGeo NES SMS SNES TurboGrafx16 1942 1943 Arkanoid BurgerTime DonkeyKong Frogger Galaga Galaxian GnG NinjaKun Pacman PacmanClub PacmanPlus RallyX Scramble Xevious"

If I remove REPOSITORIES_FILTER, update checks every core in the repository, even though I use DOWNLOAD_NEW_CORES. This takes a lot of time. To avoid that, I use REPOSITORIES_FILTER with a list of installed cores.

Would it be possible to check only installed cores, if DOWNLOAD_NEW_CORES="false" is used?

This would speed up the update without maintaining REPOSITORIES_FILTER.

Locutus73
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Wed Feb 07, 2018 6:13 pm

Re: Scripting news

Postby Locutus73 » Tue Dec 03, 2019 8:06 am

yoshi41 wrote:First of all, thanks for all the scripts. Very useful, especially the update script.

I install new cores manually and use the update script to keep everything updated.

Code: Select all

GAMES_SUBDIR="/media/fat"
CREATE_CORES_DIRECTORIES="false"
DOWNLOAD_NEW_CORES="false"
REPOSITORIES_FILTER="Gameboy GBA Genesis NeoGeo NES SMS SNES TurboGrafx16 1942 1943 Arkanoid BurgerTime DonkeyKong Frogger Galaga Galaxian GnG NinjaKun Pacman PacmanClub PacmanPlus RallyX Scramble Xevious"

If I remove REPOSITORIES_FILTER, update checks every core in the repository, even though I use DOWNLOAD_NEW_CORES. This takes a lot of time. To avoid that, I use REPOSITORIES_FILTER with a list of installed cores.

Would it be possible to check only installed cores, if DOWNLOAD_NEW_CORES="false" is used?

This would speed up the update without maintaining REPOSITORIES_FILTER.


What you say is correct. Your proposal would require the updater building internally a filter on the first execution since it doesn’t know the repository names... then it should update that filter when you add a new core. It’s feasible but I don’t know if it’s worth the effort since what you did (manually) provides the same result.
By the way, did you try PARALLEL_UPDATE="true" to speed up the update?

Regards.

Locutus73

yoshi41
Atari User
Atari User
Posts: 43
Joined: Sat Sep 07, 2019 11:28 am

Re: Scripting news

Postby yoshi41 » Tue Dec 03, 2019 11:10 am

Locutus73 wrote:By the way, did you try PARALLEL_UPDATE="true" to speed up the update?

Tried it out. Helps a lot to speed it up. Thanks!

Regarding the change. It's more nice to have. Not necessary to change the logic just because of this. Maybe something to consider in the future.

Locutus73
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Wed Feb 07, 2018 6:13 pm

Re: Scripting news

Postby Locutus73 » Tue Dec 03, 2019 1:12 pm

Scripting news:
===========================
Updater_script_MiSTer: 2019-12-03
- mister_updater.sh - Version 3.4.1 - 2019-12-03 - Added a prompt for PARALLEL_UPDATE.
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer

Regards.

Locutus73

NML32
Atari Super Hero
Atari Super Hero
Posts: 667
Joined: Tue Mar 11, 2014 1:54 am
Location: USA/Florida

Re: Scripting news

Postby NML32 » Tue Dec 03, 2019 1:18 pm

Thank you. :D

User avatar
BitsNStuff
Atari maniac
Atari maniac
Posts: 88
Joined: Tue Oct 16, 2018 7:55 am
Contact:

Re: Scripting news

Postby BitsNStuff » Tue Dec 03, 2019 8:21 pm

Locutus73 wrote:Scripting news:
===========================
Updater_script_MiSTer: 2019-12-03
- mister_updater.sh - Version 3.4.1 - 2019-12-03 - Added a prompt for PARALLEL_UPDATE.
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer

Regards.

Locutus73

Are there any negatives to using the Parallel Update option? I use I'm obviously aware of the benefits but I'm wondering if there's a reason that it isn't just the standard option?

wwark
Retro freak
Retro freak
Posts: 10
Joined: Sun Oct 06, 2019 1:45 pm

Re: Scripting news

Postby wwark » Wed Dec 04, 2019 6:25 am

Hi,
Since the last update of the mister_update.sh, I have no cores updated (just mister, menu, filters and Co)
I have this update.ini
CORE_CATEGORY_PATHS["arcade-cores"]="$BASE_PATH/_Arcade_Official_AND_UNOFFICIAL"
REPOSITORIES_FILTER="cores console-cores service-cores"

Anybody else have this issue ?
Thank you.

BassKnight
Atarian
Atarian
Posts: 9
Joined: Wed Aug 21, 2019 10:20 am

Re: Scripting news

Postby BassKnight » Wed Dec 04, 2019 8:31 am

wwark wrote:Hi,
Since the last update of the mister_update.sh, I have no cores updated (just mister, menu, filters and Co)
I have this update.ini
CORE_CATEGORY_PATHS["arcade-cores"]="$BASE_PATH/_Arcade_Official_AND_UNOFFICIAL"
REPOSITORIES_FILTER="cores console-cores service-cores"

Anybody else have this issue ?
Thank you.


I noticed this too. I found the Wiki got changed and the updater and core manager scripts scrap info from the Wiki in order to perform its tasks.

I created a pull request for updater script: https://github.com/MiSTer-devel/Updater ... er/pull/23

Locutus73
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Wed Feb 07, 2018 6:13 pm

Re: Scripting news

Postby Locutus73 » Wed Dec 04, 2019 10:50 am

BassKnight wrote:I created a pull request for updater script: https://github.com/MiSTer-devel/Updater ... er/pull/23

Oh, it was you, thank you so much!!! :cheers:



Scripting news:
===========================
Updater_script_MiSTer: 2019-12-04
- mister_updater.sh - Version 3.5 - 2019-12-04 - Adapt to Wiki sideboard changes for core listings and separate arcade core listing by rarcos, thank you very much.
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer

===========================
Scripts_MiSTer: 2019-12-04
- core_manager.sh - VVersion 0.9.6 - 2019-12-04 - Update core manager to latest Wiki core structure by rarcos, thank you very much.
===========================
https://github.com/MiSTer-devel/Scripts_MiSTer


Regards.

Locutus73

Locutus73
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Wed Feb 07, 2018 6:13 pm

Re: Scripting news

Postby Locutus73 » Wed Dec 04, 2019 10:57 am

BitsNStuff wrote:Are there any negatives to using the Parallel Update option? I use I'm obviously aware of the benefits but I'm wondering if there's a reason that it isn't just the standard option?

The debug output of the parallel update is messy and quite unreadable, I should add a final recap, I know, I know... I'm quite lazy, but sometime I will do that.

Regards.

Locutus73

Locutus73
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Wed Feb 07, 2018 6:13 pm

Re: Scripting news

Postby Locutus73 » Wed Dec 04, 2019 11:51 am

Scripting news:
===========================
Scripts_MiSTer: 2019-12-04
- other_authors/build_mame_roms.sh - Version 1.6 - 2019-12-04 - Adapt to new wiki layout
===========================
https://github.com/MiSTer-devel/Scripts_MiSTer

Thank you selfslaughter :cheers:



Regards.

Locutus73

wwark
Retro freak
Retro freak
Posts: 10
Joined: Sun Oct 06, 2019 1:45 pm

Re: Scripting news

Postby wwark » Wed Dec 04, 2019 6:44 pm

Thank you for all fixes

Shaneus
Atariator
Atariator
Posts: 21
Joined: Fri Mar 15, 2019 12:07 am

Re: Scripting news

Postby Shaneus » Sat Dec 07, 2019 11:18 pm

Is it possible to set the ini options such as parallel for the updater-pc script? Tried several different iterations of ini filenames, but none of them seemed to get picked up.

Edit: Never mind, if there's an update.ini in the same folder it seems to read variables from that :)

Locutus73
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Wed Feb 07, 2018 6:13 pm

Re: Scripting news

Postby Locutus73 » Sat Dec 21, 2019 1:03 pm

Scripting news:
===========================
Updater_script_MiSTer: 2019-12-21
- mister_updater.sh - Version 3.5.1 - 2019-12-21 - Code clean up by frederic-mahe (thank you very much).
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer

Regards.

Locutus73

djmartins
Captain Atari
Captain Atari
Posts: 229
Joined: Wed Nov 21, 2018 10:26 pm

Re: Scripting news

Postby djmartins » Sat Dec 21, 2019 7:09 pm

Why does the update script put MultiComp into the Utilities folder?

Shaneus
Atariator
Atariator
Posts: 21
Joined: Fri Mar 15, 2019 12:07 am

Re: Scripting news

Postby Shaneus » Sun Dec 22, 2019 11:51 am

How does this work with .mra files? Do they still get downloaded, and if so where do they go?

Shaneus
Atariator
Atariator
Posts: 21
Joined: Fri Mar 15, 2019 12:07 am

Re: Scripting news

Postby Shaneus » Sun Dec 22, 2019 11:52 am

.

Locutus73
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Wed Feb 07, 2018 6:13 pm

Re: Scripting news

Postby Locutus73 » Sun Dec 22, 2019 7:50 pm

djmartins wrote:Why does the update script put MultiComp into the Utilities folder?

I think it's something happened before the updater was reworked for the new wiki layout or something like that. I tried with the latest updater and Multicomp goes under _Computer. Just delete the rbf under _Utility and try to update now.

Shaneus wrote:How does this work with .mra files? Do they still get downloaded, and if so where do they go?

mra files will be downloaded/updated in the next days. mra and rbf will go where they belong (mra under _Arcade and rbf under Arcade). Just wait for the next updater.

Regards.

Locutus73

Locutus73
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Wed Feb 07, 2018 6:13 pm

Re: Scripting news

Postby Locutus73 » Sun Dec 22, 2019 7:51 pm

Scripting news:
===========================
Updater_script_MiSTer: 2019-12-22
- mister_updater.sh - Version 3.5.2 - 2019-12-22 - Speed optiomisations; optimisations for the new Wiky layout; when GAMES_SUBDIR="" now the updater checks if /media/fat/games subdir exists and actually contains any file.
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer

Regards.

Locutus73

Shaneus
Atariator
Atariator
Posts: 21
Joined: Fri Mar 15, 2019 12:07 am

Re: Scripting news

Postby Shaneus » Sun Dec 22, 2019 11:54 pm

Locutus73 wrote:
djmartins wrote:Why does the update script put MultiComp into the Utilities folder?

I think it's something happened before the updater was reworked for the new wiki layout or something like that. I tried with the latest updater and Multicomp goes under _Computer. Just delete the rbf under _Utility and try to update now.

Shaneus wrote:How does this work with .mra files? Do they still get downloaded, and if so where do they go?

mra files will be downloaded/updated in the next days. mra and rbf will go where they belong (mra under _Arcade and rbf under Arcade). Just wait for the next updater.

Regards.

Locutus73

Wonderful news, thanks so much for your efforts!

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 5794
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Scripting news

Postby Sorgelig » Mon Dec 23, 2019 12:43 am

There is a change in arcade rbf and roms location. It's not released yet, but committed in Main repository.

Locutus73
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Wed Feb 07, 2018 6:13 pm

Re: Scripting news

Postby Locutus73 » Sun Dec 29, 2019 10:41 pm

Scripting news:
===========================
Updater_script_MiSTer: 2019-12-29
- mister_updater.sh - Version 3.5.3 - 2019-12-29 - Optimisation in GAMES_SUBDIR detection.
===========================
https://github.com/MiSTer-devel/Updater_script_MiSTer

Regards.

Locutus73


Return to “MiSTer”

Who is online

Users browsing this forum: Milongero and 10 guests