Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for environment variables #6

Open
Alerymin opened this issue Feb 10, 2024 · 5 comments
Open

Add support for environment variables #6

Alerymin opened this issue Feb 10, 2024 · 5 comments

Comments

@Alerymin
Copy link

Alerymin commented Feb 10, 2024

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
Copy link
Collaborator

arielj commented Feb 10, 2024

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
Copy link
Author

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
Copy link
Collaborator

arielj commented Feb 10, 2024

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
Copy link
Author

just did it

@imLinguin
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants