pal1000 / mesa-dist-win

Pre-built Mesa3D drivers for Windows
MIT License
859 stars 77 forks source link

[Question, Windows 11 22H2, Non-critical] Is it possible to set per application envrionment variables without a batch file? #150

Open GGoose opened 1 year ago

GGoose commented 1 year ago

I am asking this question mainly because I want to do testing on Minecraft and several emulators that do not have Vulkan as a graphics API option. Although for Minecraft I am unable to change the envrionment variables with a batch file and I have to do it through the system properties panel in the environment variables option. So, I am asking if it is possible to make managing these variables more organized and simpler. If this helps, I have been using Mojang's Minecraft launcher (for Windows 7/8) but I am moving to MultiMC.

pal1000 commented 1 year ago

I recall MultiMC supporting setting environment variables in its UI.

GGoose commented 1 year ago

I checked the custom command line where I can put environment variables but it seems that they are not working in either Pre-launch or Wrapper. I am unsure if I am putting them in right. I typed it the same as I would put for the batch file.