Compare commits

...

5 Commits

Author SHA1 Message Date
the-sane
5f3819bd6a Reference a static commit 2023-03-24 18:15:47 -04:00
the-sane
3329f199e5 Rename install and prelaunch scripts 2023-03-24 18:10:37 -04:00
the Sane
3712b116c7
Rename lug-lutris-install.json to lutris-sc-install.json 2023-03-24 18:05:25 -04:00
the Sane
43d2653fc6
Rename sc-prelaunch.sh to lutris-sc-prelaunch.sh 2023-03-24 18:04:58 -04:00
the-sane
d4570b1a9a Add comments 2023-03-24 17:53:22 -04:00
4 changed files with 17 additions and 13 deletions

View File

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

View File

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

11
lutris-sc-prelaunch.sh Executable file
View File

@ -0,0 +1,11 @@
#!/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

View File

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