HGL
sensitive-blue

Variable names can't contain the "=" sign

Just updated to the latest Heroic version, and when I try to set an environment variable WINEDLLOVERRIDE to opengl32.dll=n,b Heroic complains Variable names can't contain the "=" sign. This also occurs when I try to edit a working (!) variable of an existing game entry.
5 Replies
xenial-black
xenial-black2mo ago
I just saw it's a bug in heroic, you'll need to set that manually editing the config file until a new release to do that: - at the bottom of the settings dialog of each game you'll see a line that goes AppName: <some name or number> - go to heroic's config folder ~/config/heroic/GamesConfig - look for a file named with the appName (if the message was AppName: 1234, look for 1234.json) - edit the file with a text editor:
...
"enviromentOptions": [
{
"key": "WINEDLLOVERRIDE",
"value": "opengl32.dll=n,b"
}
],
...
...
"enviromentOptions": [
{
"key": "WINEDLLOVERRIDE",
"value": "opengl32.dll=n,b"
}
],
...
sensitive-blue
sensitive-blueOP2mo ago
In my case it's ~/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/ (bazzite)
xenial-black
xenial-black2mo ago
oh right, that's for flatpak, yes
sensitive-blue
sensitive-blueOP2mo ago
Found it. Thank you very much for the quick reply!
xenial-black
xenial-black2mo ago
GitHub
[FIX] Using = in env var value by arielj · Pull Request #4787 · H...
After the PR that enabled the virtual keyboard on all inputs, the env variables and wrapper tables were broken After that I made a PR refactoring the code of that React component, but there was a t...

Did you find this page helpful?