RetroPie / RetroPie-Setup

Shell script to set up a Raspberry Pi/Odroid/PC with RetroArch emulator and various cores
Other
9.99k stars 1.38k forks source link

echo the applied command line options of Skyscraper; add two scrape modules #3908

Closed Gemba closed 2 months ago

Gemba commented 2 months ago

This goes back to the forum discussion a while ago: Within the scriptmodule there can be options persisted (cf. Skyscraper.cfg) which then get applied to the command line, which overrun settings in Skyscraper's config.ini.

To add more visibility about the applied options (and to avoid confusion about different behaviour of Skyscraper from scriptmodule vs. Skyscraper CLI usage) the user gets the actual command echoed before the scraping starts.

Tested it well on my side and did not notice a regression.

Also, for some reasons two already present scraping modules did not made it into the scriptmodule.

cmitu commented 2 months ago

Hi @Gemba, thank you for the PR.

I've taken a look and agree with the changes. I think though that the implementation of getting the list of parameters can be simplified a bit

thank you.

Gemba commented 2 months ago

Thanks for looking into it. I changed it to your suggestions. Works also well on my side.

However, I noticed something during testing that should not happen with an out-of-the-box installation of RP, but can happen when a user creates a platform/system folder with a space in its name. Then the passing of the system name (-p) to Skyscraper breaks.

Edit: With the latest push I adressed that cornercase.

cmitu commented 2 months ago

Yes, seems to work fine, thank you for the changes.