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.
DXVK_CONFIGx1 2022-09DXVK_CONFIG=dxgi.syncInterval=1,d3d11.samplerAnisotropy=16x1 2022-09DXVK_CONFIG_FILEx1 2022-09DXVK_CONFIG_FILE=/tmp/dxvk.confx1 2022-09DXVK_CONFIG=dxgi.syncInterval=1,d3d11.samplerAnisotropy=16`).x1 2022-09
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.conffile for every game. Also for integrating with GUIs (Steam, Lutris, etc...)