redromnon/HeroicBashLauncher

Steam Deck Game Controls Disabled for Games with Apostrophes

zcorb opened this issue · 7 comments

zcorb commented

Hello. The workaround in 2.6.1 for games with special characters, in this can an apostrophe, disables the game controls menu on the Steam Deck. It is now an entirely blank page.

This also happened when adding the LC_all workaround from the 2.5.0 ascii character ticket, and now has the same issue in the 2.6.1 release.

It does not happen for games without an apostrophe that I have added via Bash Launcher.

Do you know any reason as to why this happens? I don't own a Deck so I won't be able to reproduce this.

Qowy commented

I tested "my" offending game (Trüberbrook) and all seems fine there. (Thanks for the fix by the way)

Which menu do you mean? Steam -> right cursor?

Can you link to the offending game, maybe it uses some interesting Apostroph (i know utf-8 has about 50 different ones ;) )

zcorb commented

The game is Shadowrun: Dragonfall Director's Cut.
The specific character is apparently u\2019 "right single quotation mark".

By menu, I mean the entire game controls menu. So if I go to the game page in my library and click on the Controller icon or I go to game controls from the Steam button menu when the game is running, I'm met with a blank screen.

Qowy commented

I would guess, that before this change is was mapped to u0027, and now it stays as u2019 (which seems to be correct according to the unicode standard)

The question is this a steam bug? But then again "ü" works (but this might be more thoroughly tested by valve since it is common in german.

Have you tried renaming the game from Steam (to a "normal" ' )
If this works a replace could probably be added to tool?
But you should still report it to valve then.

zcorb commented

It's not a Value issue. It only happens when a Heroic Launcher game with u\2019 in its name has the execute LC_all line in it's Heroic Bash Launcher .sh script. Without this line, the game controller menu works as usual, but then the game doesn't run.

Heroic Launcher games without u\2019 run fine and with access to the game controls menu regardless of whether the LC_all line is in the .sh script.

Qowy commented

Could it be a path issue? Like steam is trying to find the controller config for a game with u2019 but the file is saved with u0027 in the file system? (and lc_all prevents 2019 being mapped to 0027)

@zcorb Are you still facing this issue? Does the latest v2.7.3 do any help?