dxvk
dxvk copied to clipboard
[feature] able to define configuration properties through an environment variable
It would be useful if we were able to define the configuration properties through an environment variable (e.g: DXVK_CONFIG=dxgi.syncInterval=1,d3d11.samplerAnisotropy=16).
It would be easier and faster for testing and customizing than creating a dxvk.conf file for every game. Also for integrating with GUIs (Steam, Lutris, etc...)
alias dxvk='echo -e ${DXVK_CONFIG//,/\\n} > /tmp/dxvk.conf; $@'
export DXVK_CONFIG=dxgi.syncInterval=1,d3d11.samplerAnisotropy=16
export DXVK_CONFIG_FILE=/tmp/dxvk.conf
dxvk less ${DXVK_CONFIG_FILE}
:man_shrugging:
EDIT: maybe not with alias like this, but you got it
This was actually planned and I just kind of forgot about it.