mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-16 13:00:36 +00:00
Compare commits
No commits in common. "e4d5d3a2e45be2d430cd740290da87ef971ce510" and "173f9d45d507360a90bb7e63ab1d111d8ab6ddff" have entirely different histories.
e4d5d3a2e4
...
173f9d45d5
@ -220,7 +220,7 @@ lug_wiki="https://starcitizen-lug.github.io"
|
||||
# Github repo and script version info
|
||||
repo="starcitizen-lug/lug-helper"
|
||||
releases_url="https://github.com/$repo/releases"
|
||||
current_version="v2.6.1"
|
||||
current_version="v2.6"
|
||||
|
||||
############################################################################
|
||||
############################################################################
|
||||
|
@ -17,7 +17,7 @@
|
||||
"notes": "Performance may be choppy for the first couple minutes after visiting a new place or performing a new activity while shaders compile. Subsequent arrival should not be choppy.\r\n\r\nIf you receive a Runtime Error you can continue using Star Citizen by dragging the dialog box to the side, but in-game VoIP and FoIP will cease to function until Star Citizen is restarted. Drop in to the LUG group's chat and forums; we have custom runners to work around this problem.\r\n\r\nPlease make sure you have all Wine dependencies properly installed or your game may crash during start-up. See our wiki linked above for more information and instructions.\r\n\r\nTo prevent crashes in areas with lots of geometry, the game needs a Linux resource limit named \"vm.max_map_count\" increased. If you are following our Quick Start Guide and using our LUG Helper, the Preflight Check will do this for you. To set it manually, execute:\r\n\r\nsudo sysctl -w vm.max_map_count=16777216\r\n\r\nConsult your distro's documentation on how to set this permanently or ask a LUG member.\r\n\r\nSee you in the 'verse!",
|
||||
"credits": "",
|
||||
"created_at": "2023-03-24T06:40:19.908354Z",
|
||||
"updated_at": "2023-04-03T17:36:21.338493Z",
|
||||
"updated_at": "2023-03-24T06:49:58.019124Z",
|
||||
"draft": false,
|
||||
"published": true,
|
||||
"published_by": null,
|
||||
@ -33,6 +33,9 @@
|
||||
"files": [
|
||||
{
|
||||
"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"
|
||||
}
|
||||
],
|
||||
"game": {
|
||||
@ -74,6 +77,15 @@
|
||||
"command": "mkdir -p \"$GAMEDIR/drive_c/Program Files/Roberts Space Industries/StarCitizen/\"{LIVE,PTU}",
|
||||
"description": "Creating game path"
|
||||
}
|
||||
},
|
||||
{
|
||||
"chmodx": "prelaunch"
|
||||
},
|
||||
{
|
||||
"copy": {
|
||||
"dst": "$GAMEDIR",
|
||||
"src": "prelaunch"
|
||||
}
|
||||
}
|
||||
],
|
||||
"system": {
|
||||
@ -83,7 +95,7 @@
|
||||
"__GL_SHADER_DISK_CACHE_SIZE": 1073741824,
|
||||
"__GL_THREADED_OPTIMIZATIONS": 1,
|
||||
"SteamGameId:": "starcitizen",
|
||||
"prelaunch_command": "/usr/bin/sh -c 'if [ -d \"$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat\" ]; then rm -rf \"$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat\"; fi'"
|
||||
"prelaunch_command": "$GAMEDIR/lutris-sc-prelaunch.sh"
|
||||
},
|
||||
"prefer_system_libs": false
|
||||
},
|
||||
|
11
lutris-sc-prelaunch.sh
Executable file
11
lutris-sc-prelaunch.sh
Executable 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
|
Loading…
x
Reference in New Issue
Block a user