Cyberpunk 2077 fails to launch
I'm pretty new to Heroic, and to gaming on Linux in general. I'm quite happy how easily many things run on Steam, but Heroic runs into more problems. Most notably: Cyberpunk 2077, from GOG. When I click "play now", the button turns yellow and says "Playing (stop)" for two seconds and then turns back to "Play Now". I see some processes pop up in the Task Manager, and they quickly disappear again. I'm using EndeavorOS and installed Heroic through the standard package manager (pacman, I think).
I hope I've managed to attach the log file. Any idea what the issue is here?
12 Replies
Have you followed #:pushpin: Read Me First | Frequently Asked Questions's section on Wine Dependencies?
equal-aquaOP•2y ago
Yes. I don't understand much about it, though. I didn't configure anything about this, just tried to run as-is. My log refers to Wine-GE-Proton8-9. Is that wrong?
I also see that Heroic offers the option "Add to Steam". What does that do? On Windows I preferred to run games outside Steam whenever possible so I can still play when my kids play my games through family sharing.
Wine-GE-Proton8-9 starts with Wine, not Proton, so my guess is that this isn't the problem.
Right, there's the issue then. You'll have to install those dependencies
Follow https://github.com/lutris/docs/blob/master/WineDependencies.md#archendeavourosmanjaroother-arch-derivatives, let me know if you have any questions about any of the steps
Adding a game to Steam simply allows you to run the game through Steam (internally, Steam will launch Heroic, which'll then launch the game). It won't be considered a part of your regular Steam library (instead being a "Non-Steam Game"), meaning anyone else with access to your library can still use it while you're playing a game through Heroic
equal-aquaOP•2y ago
Would that fix my issue? So far everything from Steam seems to start fine, except Elite: Dangerous.
Steam launches games in a runtime that ships (most of) the libraries you're installing now. Heroic doesn't use this runtime, so you'll have to install those libraries yourself
equal-aquaOP•2y ago
I installed those dependencies, and it still doesn't work. Does this require a reboot?
I get a popup saying I do. I'll reboot and try again.
A reboot isn't required, as far as I know. You might have to delete your Wineprefix (
/home/mcv/Games/Heroic/Prefixes/default/Cyberpunk 2077
) thoughequal-aquaOP•2y ago
Rebooting didn't help. How do I delete that Wineprefix?
Should I delete the entire directory?
Sorry, I sometimes assume people just know what I'm referring to here
A Wineprefix is simply a folder representing a Windows environment, meaning deleting it is as easy as deleting the folder
equal-aquaOP•2y ago
This works! Thank you! I will remember this fix if I ever encounter something like this.
Though I guess with the dependencies installed, the only fix left is to delete that directory.
New Wineprefixes won't have this problem
Not sure why this happens, but creating a Wineprefix (which happens when running the respective game from Heroic for the first time) with those dependencies missing will leave it in a corrupted state, so even after installing the dependencies, the prefix won't work. Since you now have those dependencies, any new prefixes you create won't be corrupted in the first place
A word of warning on Wineprefixes: They store a full Windows environment, meaning configuration data & save files for your games are in there as well. Deleting your prefix will in turn delete this data as well
equal-aquaOP•2y ago
I'll keep that in mind. Thanks for your help.
(Sorry I didn't reply earlier; I was finally playing CP2077.)