Closed KillerFry closed 2 years ago
Did you change the wine prefix parameter to something like this : --wine-prefix "/path/to/prefix/Death's Door"
in the launch script?
Using double quotes should help.
If I'm not wrong, Heroic excludes some characters like an apostrophe by default. Don't know why it's been included in your case.
Yes, I did it in launchflatpakgame.sh and it worked fine. But when I run another game it rewrites the script to that 2nd game; after attempting to run Death's Door again it goes back to single quotes.
On Tue, May 31, 2022, 21:12 Rishabh Moharir @.***> wrote:
Did you change the wine prefix parameter to something like this : --wine-prefix "/path/to/prefix/Death's Door" in the launch script? Using double quotes should help. If I'm not wrong, Heroic excludes some characters like an apostrophe.
— Reply to this email directly, view it on GitHub https://github.com/redromnon/HeroicBashLauncher/issues/76#issuecomment-1143071275, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAU5BT74SZFWREHE6VKPF3DVM3IKBANCNFSM5XO6V2PA . You are receiving this because you authored the thread.Message ID: @.***>
It would probably just be easier to rename the prefix and game folders to not include the apostrophe. You can tell Heroic where the game is located by clicking on the album art, Settings, "Change install path" for the game folder. Then in settings, wine, you can fix the prefix folder path.
I agree with @outphase Implementing double-quotes is not a problem, but I'll do that if some other users also face this issue.
I'm going to close this issue for now.
Describe the bug Attempting to run Death's Door which was added to the Steam Deck's game mode using the flatpak version of HeroicBashLauncher the game fails to run. After taking a look at the generated launchflatpakgame.sh the apostrophe (') in the game's name causes a string to terminate earlier.
After replacing the string's apostrophe's with double quotes the game runs fine. I tracked down the generation of this particular line of script to func/checkparameters.py line 264 ( wineprefix = "--wine-prefix '" + winePrefix + "' ")
Don't know if changing that to something like wineprefix = "--wine-prefix \"" + winePrefix + "\" " would solve the issue.
To Reproduce Steps to reproduce the behavior:
Expected behavior For the game to run.
Details