Gemba / skyscraper

Powerful and versatile game data scraper written in Qt and C++.
https://gemba.github.io/skyscraper/
GNU General Public License v3.0
54 stars 14 forks source link

[Enhancement] Append `/<PLATFORM>` to `gameListFolder` if defined in `[<FRONTEND>]` #68

Open ASHGOLDOFFICIAL opened 5 months ago

ASHGOLDOFFICIAL commented 5 months ago

To Reproduce

Expected behavior It should behave the same as when defining gameListFolder in [main] section.

Gemba commented 5 months ago

Let me consider the implications, but right now I thinks it is a good enhancement.

Edit: @ASHGOLDOFFICIAL On a second thought: What is the use-case / ease-of-use benefit for having this setting with the appended plaform folder in the frontend sections?

ASHGOLDOFFICIAL commented 3 months ago

Use case: for example I use two different frontends (ES-DE on PC, and some other on my handheld emulator console). If that's the case, I need two different configs with different gameListFolder. It would be easy for me to have one config file that I can store on my GitHub. Something like that.

Gemba commented 3 months ago

Thanks for the input. Makes sense.

Gemba commented 3 months ago

As the change would only be valid for ESDE (and Emulationstation and Retrobat) frontend, does the environment variable ESDE_APPDATA_DIR fit your needs already? This environment variable is also evalutated by Skyscraper.

Gemba commented 3 weeks ago

@ASHGOLDOFFICIAL you may test it the main/HEAD version and provide some feedback. I added the option with #88.