Skip to content

Commit 0cb79d0

Browse files
authored
Update default proton.conf
1 parent bf5edae commit 0cb79d0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

proton

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ check_1_0 "D3D11" "$D3D11"
6262
mkdir -p "$COMPDIR" &> /dev/null
6363

6464
# 1 $CONF variable
65-
# 1 exe-folder/proton.conf
66-
# 2 exe-folder/.proton.conf
67-
# 3 ~/proton.conf
68-
# 4 ~/.proton.conf
69-
# 5 ~/.config/proton.conf (default) ($DEFAULTCONF)
70-
# 6 ~/.config/.proton.conf
65+
# 2 exe-folder/proton.conf
66+
# 3 exe-folder/.proton.conf
67+
# 4 ~/proton.conf
68+
# 5 ~/.proton.conf
69+
# 6 ~/.config/proton.conf (default) ($DEFAULTCONF)
70+
# 7 ~/.config/.proton.conf
7171

7272
if [ -z "$CONF" ]; then
7373
if [ -e "$FOLDER/proton.conf" ]; then
@@ -102,7 +102,7 @@ if [ -z "$CONF" ]; then
102102
else
103103
echo
104104
echo "Creating new proton config"
105-
printf "DXVK=1\n\nMANGOHUD=1\n\nGAMEMODE=1\n\nESYNC=1\n\nFSYNC=1\n\nVERSION=$DEFAULTVERSION\n\nCOMPATDIR=Default" > "$DEFAULTCONF"
105+
printf "VERSION=$DEFAULTVERSION\n\nCOMPATDIR=Default\n\n\n#0 disabled, 1 enabled, 2 opengl\nMANGOHUD=0\n\nGAMEMODE=0\n\n\nDXVK=1\n\nESYNC=1\n\nFSYNC=1\n\nD3D11=1\n\nD3D10=1" > "$DEFAULTCONF"
106106
echo "Using default $DEFAULTCONF"
107107
CONF="$DEFAULTCONF"
108108
fi
@@ -115,7 +115,7 @@ else
115115
if [ ! -e "$CONF" ]; then
116116
echo
117117
echo "Creating new proton config"
118-
printf "DXVK=1\n\nMANGOHUD=1\n\nGAMEMODE=1\n\nESYNC=1\n\nFSYNC=1\n\nVERSION=$DEFAULTVERSION\n\nCOMPATDIR=Default" > "$CONF"
118+
printf "VERSION=$DEFAULTVERSION\n\nCOMPATDIR=Default\n\n\n#0 disabled, 1 enabled, 2 opengl\nMANGOHUD=0\n\nGAMEMODE=0\n\n\nDXVK=1\n\nESYNC=1\n\nFSYNC=1\n\nD3D11=1\n\nD3D10=1" > "$CONF"
119119
echo "Using $CONF"
120120
else
121121
echo

0 commit comments

Comments
 (0)