Skip to content

Switch between "DXVK" and "D3DMetal" (CrossOver) in Heroic #4101

Answered by MacThings
MacThings asked this question in Q&A
Discussion options

You must be logged in to vote

I found a solution by myself:

Create 2 Bash-Scripts:

crossover_d3dmetal.sh

#!/bin/bash
#
#

bottle="Steam"
config="/Users/$USER/Library/Application Support/CrossOver/Bottles/$bottle/cxbottle.conf"

sed -i '' '/^"WINEDXVK"/d' "$config"
sed -i '' '/^"WINED3DMETAL"/d' "$config"

echo '"WINEDXVK" = "0"' >> "$config"
echo '"WINED3DMETAL" = "1"' >> "$config"

crossover_dxvk.sh

#!/bin/bash
#
#

bottle="Steam"
config="/Users/$USER/Library/Application Support/CrossOver/Bottles/$bottle/cxbottle.conf"

sed -i '' '/^"WINEDXVK"/d' "$config"
sed -i '' '/^"WINED3DMETAL"/d' "$config"

echo '"WINEDXVK" = "1"' >> "$config"
echo '"WINED3DMETAL" = "0"' >> "$config"

Than set both executable

chmod +x crossove…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MacThings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant