Environment variables propagation from launcher to executable

Questions about Wine on Linux
Locked
bio3c
Newbie
Newbie
Posts: 1
Joined: Tue Apr 18, 2023 4:07 pm

Environment variables propagation from launcher to executable

Post by bio3c »

Hi there, newbie here, so we have this "discussion" open on DXVK issue tracker https://github.com/doitsujin/dxvk/issues/3356

and i was thinking if its possible to pass a certain environment variable to a game launcher, in this case DXVK_FILTER_DEVICE_NAME=llvmpipe or LIBGL_ALWAYS_SOFTWARE=1 to prevent the game launcher from using VRAM, but in a way that doesn't propagate to the game executable, is this possible with wine currently out of the box?

i will appreciate any answers :)
Locked