-
Notifications
You must be signed in to change notification settings - Fork 15
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
Data not retrieved for some games with special characters #19
Comments
As far as I can see in the code, the game name received from Steam is also normalized at line 48 in file LibraryApp.tsx. I have met this issue previously too - but not only when game name contained " ™ " or some special characters but also with pretty normal names, e.g. "WORLD END ECONOMiCA episode.01". |
Removing the trademark symbol seems like an obvious addition worth including, but I think ideally there would be an interface to select which game to match from the IGDB search results, like there is in PlayNite, for example. |
It looks like the problem was in I somewhat fixed it in morwy#7. Please note that there are still some games that do not show HLTB stats. It happens because they have a little bit different names in HLTB and Steam (e.g. "Hyperdimension Neptunia Re;Birth1" in Steam vs "Hyperdimension Neptunia Re;Birth 1" in HLTB). |
Ah I see, thanks for the fix, works well on some games. I saw the issue you mentioned for "Legacy of Kain™ Soul Reaver 1&2 Remastered". "TM" and "&" are removed, but the issue is that the chars are replaced by an empty string. No big deal for the "TM" since it's followed by a space, but the "1&2" becomes "12" in the HLTB search, which gives no results unsurprisingly. For these cases, do you see any possible regression if you replace special chars by a space instead of an empty string in the search? Added spaces don't seem to matter in the HLTB search, even in place of a special char, but missing spaces can break the search. |
Some games like "Nier Automata" or "Legacy of Kain remastered" are not retrieved properly from HLTB.
In theses specific cases, they contain " ™ " in the Steam name. From what I briefly saw in the code, a filter is applied on the game name received from HLBT (normalize() method) but not on the game name coming from Steam that is used for the HLBT query.
There might be two points of failure here:
The text was updated successfully, but these errors were encountered: