SteamGridDB / steam-rom-manager

An app for managing ROMs in Steam
GNU General Public License v3.0
1.79k stars 119 forks source link

Feature Request: Parse container type text files to ignore contents #495

Open Godsbane opened 1 year ago

Godsbane commented 1 year ago

Ability to hide files found in containers (idk how to word this, tbh)

but:

say i have m3u, cue, bin in my extensions.

Files: game.m3u | game.cue | game.bin

by checking this box, it would scan known text formats for files in them.

game.m3u: contents game.cue game.cue: contents game.bin

Then when you scan the folder you'd only get one entry; game.m3u as game.bin is in game.cue and game.cue is in game.m3u

reasoning:

it's legit to have (game1.cue, game1.bin) and (game2.bin) and (game3.m3u,game3(disc1).cue, game3(disc2).cue, game3(disc1).bin, game3(disc2).bin) and in each of these cases only want one entry for each game.

(copy pasted from discussion, so apologies on formatting)

If nobody else gets to this, i'll try to put the work in to get it created.

Upvote & Fund

Fund with Polar

cbartondock commented 1 year ago

Seems like the best way to add this would be as a field for glob and glob-regex that is comma separated container extensions

Assuming all of these containers have the same internal format?

Godsbane commented 1 year ago

No they are not the same formatting, unfortunately.

M3u would be the simplest since it's just a list of files.

Cue and gdi have other metadata in the files, but they are pretty easily read.

Them being relatively small though, it's easy enough to compare a file name against the contents for a match.