Open wyphan opened 2 years ago
hi @wyphan thank you for the feature request.
q4wine already allows you to supply extra environment variables. You can do this using prefix execution template string:
See description at q4wine home page: https://q4wine.brezblock.org.ua/documentation/en_us/10-prefix-settings.html#advanced
Let me know if is what you are looking for.
Thanks
@brezerk Yes, that's what I'm looking for! It would be nice though if there is some mechanism in q4wine to modify %ENV_ARGS%
, instead of manually editing the execution template string.
It would be nice if q4wine allows setting extra environment variables to be passed on to the
wine
command. For my use case, I need it to passMESA_GL_VERSION_OVERRIDE=4.5
to fix the GLXBadFBConfig error that I get with some games.I've tried using
export MESA_GL_VERSION_OVERRIDE=4.5
as the pre run script, but it didn't work.For now, the only way for me to launch the game is right-clicking on the icon in q4wine, selecting "Console" > "Open console in application directory", then manually type
export MESA_GL_VERSION_OVERRIDE=4.5
and thenwine game.exe
to launch the game.