emukidid / swiss-gc

Swiss - The swiss army knife of GameCube homebrew
GNU General Public License v2.0
1.23k stars 93 forks source link

[Feature request]: Toggle to grab title from filename or metadata #875

Open ninomae-inanis opened 3 weeks ago

ninomae-inanis commented 3 weeks ago

Describe the feature

I like to remove parts of game titles from the filename that I find pointless ("Tom Clancy's Rainbow Six" becomes "Rainbow Six", "Disney/Pixar Ratatouille" becomes "Ratatouille", etc.) and the standard UI layout properly displays the filename as the game title the way I like.

006765

However both the full width and carousel layouts still sort alphabetically by filename, but they display the title from metadata effectively undoing my changes.

006766

006767

I'd very much like to use the full width layout while displaying the filename as the title rather than what's in the metadata, but looking through the various settings it doesn't seem as though there's any way to do that. I'd suggest adding a setting so users can choose whether to display the filenames as titles or to grab the title from metadata (and also to sort alphabetically based on their choice).

Add screenshots

No response

AskaLangly commented 3 weeks ago

I second this enhancement. Like, I want the Zelda titles as Z, but they go under L for Legend.

Extrems commented 3 weeks ago

Partially fixed in 99120cd (r1665).

ninomae-inanis commented 3 weeks ago

Following up after the new update, it looks like colons are interfering with the feature. As can be seen below two of my three original examples whose titles don't contain a colon (Disney/Pixar Ratatouille and Tom Clancy's Rainbow Six 3) are now showing the filenames but the one that does contain a colon (Tom Clancy's Rainbow Six: Lockdown) is unchanged.

006796

My assumption is that Swiss is expecting a colon in the filename in order to count as a subset of the title, however since that's an illegal character in FAT32 filenames it's impossible for it to be there and so it opts for the title in the metadata.