Can't change sideloaded game's wine prefix directory name
Describe the bug
If I sideload a game with a really long name, it insists on creating the wineprefix using the entire game's name. So you can potentially get some absurdly long directory names, such as /home/user/Games/Heroic/Prefixes/Really Absurdly Long Game Name With Spaces In It. In the past I have always been able to go in and edit the wineprefix to something a bit less insanely long, and to eliminate any spaces and/or special characters which can sometimes be problematic (e.g. change my above hypothetical example to something like /home/user/Games/Heroic/Prefixes/LongGame). But this does not seem to work any more in the latest version of Heroic; it insists on resetting the wineprefix back to the complete game name immediately after I click or tab out of the field.
Add logs
https://dpaste.com/3Q76ZUJYJSteps to reproduce
- Click Add Game
- Add a game with a crazy long name
- Attempt to edit the wineprefix to something less insanely long
Expected behavior
Like I said, in the past I have always been able to edit the wineprefix, however this no longer works as of v2.22.3.
Screenshots
No response
Heroic Version
Latest Stable
System Information
- OS [e. g. "Ubuntu"]: Bazzite
44.20260916, kernel7.2.4-ogc3.1.fc44.x86_64.
Additional information
Workaround - for those finding this through search engines or browsing the issues, I've found a workaround. When adding the game, don't use the game's full name but use the short name that you want for your wineprefix. Heroic will complain that it couldn't find a match, click the "X" to dismiss this warning, and continue setting up the game as usual. When done, click on the game's thumbnail (it should be a generic Heroic icon) and in the "..." menu click "Edit App/Game" and change it to the game's real name. It should now find the game's cover art but it won't change the wineprefix.
Source: Heroic-Games-Launcher/HeroicGamesLauncher