To Reproduce
(My steps were with Kingdom Hearts 1.5+2.5, but I imagine any game should work, this is just the one that happens to use spaces in the file name and has a legitimate reason for replacing the EXE)
Go to HGL -> KINGDOM HEARTS HD 1.5+2.5 REMIX -> Settings -> Other
Click "Select EXE" and choose "Heroic/KH_1.5_2.5/KINGDOM HEARTS II FINAL MIX.exe" in the file picker
Run HBL's setup.sh
Try to run the produced ./KINGDOMHEARTSHD1525ReMIX_Heroic.sh
Expected behavior
The game launces directly into KH2, skipping the initial game select launcher.
Actual behavior
Fails to launch with error:
ValueError: Executable path is invalid: /home/deck/Games/Heroic/KH_1.5_2.5/KINGDOM
Details
Platform: Steam Deck
OS: Steam OS
Heroic Version: v2.3.7
Bash Launcher Version: v2.7.1 Base
Additional context
The generated launchflatpakgame.sh reveals the cause (I've attached it):
--override-exe /home/deck/Games/Heroic/KH_1.5_2.5/KINGDOM HEARTS II FINAL MIX.exe
Because this parameter is not quoted, bash splits the parameter after KINGDOM. The filename should be quoted so that the whole thing is passed in as a parameter.
launchflatpakgame.txt
Describe the bug
To Reproduce (My steps were with Kingdom Hearts 1.5+2.5, but I imagine any game should work, this is just the one that happens to use spaces in the file name and has a legitimate reason for replacing the EXE)
Expected behavior The game launces directly into KH2, skipping the initial game select launcher.
Actual behavior Fails to launch with error:
ValueError: Executable path is invalid: /home/deck/Games/Heroic/KH_1.5_2.5/KINGDOM
Details
Additional context The generated launchflatpakgame.sh reveals the cause (I've attached it):
--override-exe /home/deck/Games/Heroic/KH_1.5_2.5/KINGDOM HEARTS II FINAL MIX.exe
Because this parameter is not quoted, bash splits the parameter after KINGDOM. The filename should be quoted so that the whole thing is passed in as a parameter. launchflatpakgame.txt