Well, how? There is that "SET LAUNCH OPTIONS" button, but I believe that is only fit to command line switches.
Asked
Active
Viewed 1.9k times
1 Answers
33
It is possible to prefix the command with your environment variable in the set launch options like so:
YOUR_VARIABLE=1 %command%
Aldrik
- 906
- 9
- 5
-
Does this still work? The linked docs don't mention it. – Jeroen Oct 19 '16 at 18:49
-
It really works according to `/proc/
/environ`. – and Aug 06 '17 at 10:22 -
1Is there a way to do this with multiple options? Would separating them with semicolons work? – Robert Wm Ruedisueli Aug 25 '17 at 21:33
-
1You just leave a space, so my current one is `mesa_glthread=true R600_DEBUG=sbcl,hyperz,llvm,sisched,forcedma vblank_mode=0 %command%`. – pbhj Mar 11 '18 at 17:05
-
Jan 2023 - it does indeed still seem to work – demaniak Jan 28 '23 at 20:51
-
Does this not work anymore? Starting the game errors out saying it cannot find `OPENSSL_ia32cap=~0x200000200000000` my Launch Option: `OPENSSL_ia32cap=~0x200000200000000 %command%` – Jonathon May 03 '23 at 01:39