-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore filenames when loading systems #761
base: master
Are you sure you want to change the base?
Ignore filenames when loading systems #761
Conversation
EmulationStation already ignores BIOS files - they're declared in the mamebioses.xml resource file. |
This has actually been very helpful for my Philips CD-i setup, but I imagine it could benefit others as well. The BIOS files ( I did notice similar requests to hide files during my cursory search for the same thing, so I figured I'd give it a try and keep the solution as isolated and optional as possible. |
The mame BIOS exclusion is applied on |
Thanks for taking a stab at this. I will side with @cmitu on the implementation though. I would not add it to es_systems.cfg either, as we don't want users to be editing that file. I understand that the original mechanism might not be as flexible as you'd like it to be, so if that'd not be ideal, perhaps adding such a tag to a gamelist would be wiser. See original PR: #432 |
Thanks for clarifying, @cmitu and @pjft. I didn't realize the Regardless, I still think there's value to giving users a way to exclude any files they want without being limited to a pre-defined list (i.e. agnostic implementation vs. system or platform-specific logic). Your suggestion of the gamelist files sounds pretty similar to what's happening here. Just want to confirm before I dive deeper -- the |
Gamelists are completely game for editing manually - scrapers use them, users use them. @cmitu any thoughts on using gamelists for this? Or would you want to elaborate on using the mamebioses.xml file and whether that'd be a better option from your perspective? If choosing that file, then it'd still be overwritten when updating ES, am I mistaken? Unless, once again, we wouldn't expect users to manually edit it. @PhilaPhan80 we already have a "" tag there which does not quite do what you're going for here, so we'd need to choose a separate tag. |
I'm not sure a mechanism like @pjft In your last post, you mentioned that a tag already exists, but it looks like the tag name got clipped. Can you edit or repost it? |
Oh, that's quaint. I expect it's because I used < > around it, and was parsed as something. It's "hidden". So, writing that word inside < > will be blank. |
I was thinking of a more generalised approach of |
Thanks, @cmitu. I'll give that a look and respond when I get a chance. |
@cmitu After a slight (😅) delay due to life priorities, I've returned to this topic. Taking your advice, I'm in the process of implementing a solution based on a user-editable resource file. I have one question before I proceed too far. I think I'm noticing while stepping through the code that the I stumbled upon this entry of yours from 2018 (coincidentally the same day as today!) where you say that's by design. Do you happen to know -- is this still true today? (https://retropie.org.uk/forum/post/156311) If so, I'll stop where I am and clean things up for a pull request. If no longer by design, can you point me to the pull request that implemented that change so I can take a closer look at it? cc: @pjft |
Yes, it's still true. Unless you delete the entry from EmulationStation, it's not removed from the |
Thanks for confirming. I won't add that logic as part of this effort, then, since it would be out of scope. I'm going to close this pull request and open another one from a separate branch, but I'd like to keep this open for now so I can continue to comment and then link the two together. |
This enhancement allows users to specify one or more files that should be ignored during the system loading process.
(Inspired by posts such as: https://www.reddit.com/r/RetroPie/comments/5rnips/neogeo_and_mame_how_to_hide_bios_files_in_game)
Any files explicitly added to an
<ignore>
node within thees_systems.cfg
file will be excluded from the game list that is displayed to the user. Each filename MUST be wrapped in double quotes (since some filenames contain spaces). Filenames are not case sensitive.Example: