How to configure env.vars?
Create a new file run_with_openal_log.cmd in the same directory where TheDarkModx64.exe is located, paste the following into it:
Then execute this .cmd-file instead of running .exe directly.
What does cannotlaunch.txt look like for you? For me the device in question has unintelligible letters.
It depends on encoding.
In your case the name is encoded in UTF-8, so you should open it in UTF-8.
If your editor (e.g. notepad.exe) opens the console log in win1251, then you won't see anything good.
I think the best idea would be to copy/paste the name of the device from console log into darkmod.cfg, then adapt it with this "seta s_device" and put quotes properly.
The game does not know anything about the encoding, I guess it only looks if the bytes are the same.
Could this prevent the game from reading what hardware I'm on?
I also have russian Windows and the names of OpenAL devices are also partly in Russian.
To be honest, I'm not sure exactly what nbohr1more tries to achieve.
The game enumerates all the enabled devices (their names do not matter at all), then chooses one of them as it sees fit.
Now if you want to specify the particular device using "s_device", then you have to specify its name (that's how the game will know which one you want).
However, the last time when I checked, all devices which are disabled in Windows are invisible to OpenAL.
So specifying one particular device with s_device should be equivalent to simply disabling all other devices in Windows (which is much easier).
You can even check this by looking at the game console when you disable all the other devices: if it contains only one "OpenAL: found device" message, then you can be absolutely sure that the game chooses this device.