Open Europia79 opened 5 years ago
Can you please try the master to see if this issue is still reproducible?
@orbea I didn't build it. I just downloaded it from https://www.retroarch.com/?page=platforms
Would it be a sufficient test to re-download & re-install ?
Or do you have a continuous integration server ?
Yes, downloading the latest nightly would suffice.
Are &
replaced with _
?
Bug still exists with git version 9750719074
build date Feb 3 2019
If you have a more up-to-date download, please link.
@RobLoach This is Named_Boxarts
...meaning you can name it anything you want as long it's valid system characters for file names. So, for example, if you want to add a ROM Hack, then you can also add corresponding .png
to /thumbnails/{playlist}/Named_Boxarts/
with the same name... except, for whatever reason, it's not working if the files have the ampersand &
symbol in the file names.
What I mean is... Does this work?
/thumbnails/{playlist}/Named_Boxarts/Batman - The Adventures of Batman _ Robin.png
@RobLoach Yes, that works. But why doesn't it just match the file name like every other ROM ? Why the convoluted work-around ?
Ampersands have been problematic on some platforms. Here's some docs on which characters are replaced... https://github.com/libretro-thumbnails/libretro-thumbnails#usage
@Europia79 Can this be closed? Is there a better place where we could document the characters that are replaced for thumbnails?
@RobLoach Oh, I thought you were going to fix this. If you're not, then at least give me or someone else a chance to look thru the code first. I mean, I don't understand the behavior ? Why not just fetch the thumbnail by file name, as one would assume RetroArch is doing ? I don't think we need special cases. Just do the comparison and have the Operating System enforce valid and invalid characters ? For example, on Windows, these characters aren't valid for file names: \ / : * ? " < > |
But the ampersand &
character is completely valid.
For example, me (or someone else) could release and Operating System tomorrow and say that (just as an example) the exclamation point !
is not a valid character for file names. So... then... will RetroArch really handle this special case ? In my mind, it doesn't need to. It just has to fetch the thumbnail... no special handling is required. Let the OS do its job.
So... Imma look thru the code. Unless you already know where the code in question lives ? If so, it should be an easy fix. Unless there's something that I missing ?
based on reading through this (and knowing jack & shit regarding code) do the last 2 comments indicate a pending fix?
I only ask because id rather live with it not displaying temporarily, then go through and change all my &'s to _'s unnecessarily if that makes sense.
@Europia79 Suggestion seems reasonable to me, but it will need someone to spend the time to actually implement and test it which may or may not be soon?
soon or otherwise is much less relevant to me than knowing its coming :) you guys continue to impress and i know your to-do list has to be mind blowing. Patient as patient can be, just hoped to know one way or the other.
By all means there could be someone more informed than me that could explain why the suggestion wouldn't work out, I'm just saying I think its worth considering and fixing if possible. :)
Definitely is stilll a problem. +1
Description
RetroArch does NOT display
Named_Boxarts
when it contains the ampersand&
character.Expected behavior
RetroArch seems to retrieve the picture based on matching file names: i.e. matching the name of the ROM file with the name of a corresponding
.png
image located in the/thumbnails/
directory.Actual behavior
RetroArch does NOT display
Named_Boxarts
when it contains the ampersand&
character.Steps to reproduce the bug
&
character to the name of any rom file..png
with same name underthumbnails/{playlist}/Named_Boxarts/
Settings -> User Interface -> Appearance
setThumbnails
and/orLeft Thumbnails
toBoxarts
setting.Example file names (with
.bin
&.png
extensions):Batman - The Adventures of Batman & Robin
Battletoads & Double Dragon
D&D - Warriors of the Eternal Sun
Mickey & Minnie - The Great Circus Mystery
Mickey Mouse & Donald Duck - World of Illusion
Might & Magic I - Gates to Another World
Might & Magic III - Isels of Terra
Puzzle & Action - Ichidanto-R (Japan)
Puzzle & Action - Tanto-R (Japan)
Sonic & Crackers (Proto)
Sonic & Knuckles + Sonic 1
Sonic & Knuckles + Sonic 2
Sonic & Knuckles + Sonic 3
SonicHack - Sonic & Tails - Double Trouble
SonicHack - The S-Factor - Sonia & Silver
Spider-Man & Venom - Maximum Carnage
Spider-Man & Venom - Separation Anxiety
Spider-Man & X-Men - Arcade's Revenge
Streets of Rage II - BattleToads & Double Dragon (Hack)
ToeJam & Earl I
ToeJam & Earl II - Panic on Funkotron
Several of these literally have the ampersand
&
symbol in the name as clearly shown on the boxart.Version/Commit
826c77d523
Oct 2 2018
MinGW (7.3.0) 64-bit
Environment information
Windows 7 x64 Build 7601 Service Pack 1 (v6.1) Professional