Compare commits

..

No commits in common. "5f3819bd6a3e15ce3c8943dd5c6c6466e1a97ef3" and "40e5722ed486a319e1b06a5fd170b9da1a3c5652" have entirely different histories.

4 changed files with 13 additions and 17 deletions

View File

@ -155,10 +155,10 @@ fi
# Use Lutris install script installed by a packaged version of this script if available # Use Lutris install script installed by a packaged version of this script if available
# Otherwise, default to the json in the same directory # Otherwise, default to the json in the same directory
if [ -f "/usr/share/lug-helper/lutris-sc-install.json" ]; then if [ -f "/usr/share/lug-helper/lug-lutris-install.json" ]; then
install_script="/usr/share/lug-helper/lutris-sc-install.json" install_script="/usr/share/lug-helper/lug-lutris-install.json"
else else
install_script="$helper_dir/lutris-sc-install.json" install_script="$helper_dir/lug-lutris-install.json"
fi fi
######## Runners ########################################################### ######## Runners ###########################################################

View File

@ -35,7 +35,7 @@
"client": "https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.6.5.exe" "client": "https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.6.5.exe"
}, },
{ {
"prelaunch": "https://raw.githubusercontent.com/starcitizen-lug/lug-helper/43d2653fc6b750e83353cfd5c3f68859410b39d6/lutris-sc-prelaunch.sh" "prelaunch": "https://raw.githubusercontent.com/starcitizen-lug/lug-helper/master/sc-prelaunch.sh"
} }
], ],
"game": { "game": {
@ -95,7 +95,7 @@
"__GL_SHADER_DISK_CACHE_SIZE": 1073741824, "__GL_SHADER_DISK_CACHE_SIZE": 1073741824,
"__GL_THREADED_OPTIMIZATIONS": 1, "__GL_THREADED_OPTIMIZATIONS": 1,
"SteamGameId:": "starcitizen", "SteamGameId:": "starcitizen",
"prelaunch_command": "$GAMEDIR/lutris-sc-prelaunch.sh" "prelaunch_command": "$GAMEDIR/sc-prelaunch.sh"
}, },
"prefer_system_libs": false "prefer_system_libs": false
}, },
@ -114,4 +114,4 @@
} }
} }
] ]
} }

View File

@ -1,11 +0,0 @@
#!/bin/sh
############################################
## Lutris pre-launch script for Star Citizen
############################################
## EAC Workaround: Remove EAC cache
EACDIR="$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat"
if [ -d "$EACDIR" ]; then
rm -rf "$EACDIR"
fi

7
sc-prelaunch.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
EACDIR="$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat"
if [ -d "$EACDIR" ]; then
rm -rf "$EACDIR"
fi