Heroic-Games-Launcher / known-fixes

6 stars 5 forks source link

Add support for environment variables #6

Open Alerymin opened 8 months ago

Alerymin commented 8 months ago

I'm trying to add "Return to Castle Wolfenstein" for GOG, but I need to add 2 environment variables in order to make it work, but I can't find a way to do so in the json files.

I need also to change the game folder name as by default it ends with a space which breaks winetricks.

arielj commented 8 months ago

What are the 2 env variables?

Feature requests are probably better added in the main heroic repo since that repo has to implement the feature first to put content in this repo (this is more like a database, the actual feature doesn't live in this repo)

Alerymin commented 8 months ago
MESA_EXTENSION_MAX_YEAR: '2005'
 __GL_ExtensionStringVersion: '17700'

I saw them in this Lutris script, and unless you patch the game, it won't start without these: https://lutris.net/games/install/14707/view

arielj commented 8 months ago

I'd recommend adding this as a feature request in heroic's issues.

I want to add something like this at some point (I know Celeste also needs one env variable to work for example).

Alerymin commented 8 months ago

just did it

imLinguin commented 7 months ago

I think we should leave current workarounds to the point of setup only, and not go into altering runtime setup. ULWGL will cover this as one centralized effort.