diff --git a/lug-lutris-install.json b/lug-lutris-install.json index 57dce5d..e125b91 100644 --- a/lug-lutris-install.json +++ b/lug-lutris-install.json @@ -4,23 +4,23 @@ "previous": null, "results": [ { - "id": 10872, + "id": 37253, "game_id": 17622, "game_slug": "star-citizen", "name": "Star Citizen", "year": 2016, - "user": "ungarscool1", + "user": "GloriousEggroll", "runner": "wine", - "slug": "starcitizen-lutris-install", + "slug": "star-citizen-liveptu", "version": "LIVE/PTU", - "description": "Welcome to the Star Citizen installer maintained by the Star Citizen LUG!\r\nBefore continuing, please see our Quick Start Guide:\r\nhttps://starcitizen-lug.github.io\r\n\r\nFor help with the installer or to just hang out, we invite Linux Star Citizen players to join us: https://robertsspaceindustries.com/orgs/LUG/", + "description": "Welcome to the Star Citizen installer maintained by the Star Citizen LUG!\r\nBefore continuing, please see our Quick Start Guide:\r\nhttps://starcitizen-lug.github.io\r\n\r\nFor help with the installer or to just hang out, we invite Linux Star Citizen players to join us:\r\nhttps://robertsspaceindustries.com/orgs/LUG/", "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": "2018-11-15T17:43:07.367000Z", - "updated_at": "2023-03-10T23:04:25.857964Z", + "created_at": "2023-03-24T06:40:19.908354Z", + "updated_at": "2023-03-24T06:49:58.019124Z", "draft": false, "published": true, - "published_by": 64834, + "published_by": null, "rating": "", "is_playable": null, "steamid": null, @@ -33,11 +33,14 @@ "files": [ { "client": "https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.6.5.exe" + }, + { + "prelaunch": "https://gist.githubusercontent.com/GloriousEggroll/289ff1051743c6f89e4b1189f5da5ea8/raw/88ec1898f3d31df60d17125e609f9671db9cf749/sc-prelaunch.sh" } ], "game": { - "arch": "win64", - "exe": "drive_c/Program Files/Roberts Space Industries/RSI Launcher/RSI Launcher.exe", + "args": "--locale=$INPUT_LOCALE", + "exe": "$GAMEDIR/drive_c/Program Files/Roberts Space Industries/RSI Launcher/RSI Launcher.exe", "prefix": "$GAMEDIR" }, "install_complete_text": "Installation Complete!\r\n\r\nPlease see our Wiki for important news and configuration requirements:\r\n\r\nhttps://starcitizen-lug.github.io", @@ -71,32 +74,44 @@ }, { "execute": { - "description": "Creating game path", - "command": "mkdir -p \"$GAMEDIR/drive_c/Program Files/Roberts Space Industries/StarCitizen/\"{LIVE,PTU}" + "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": { - "prefer_system_libs": false, "env": { - "DXVK_HUD": "0", + "DXVK_HUD": 0, "__GL_SHADER_DISK_CACHE": 1, - "__GL_SHADER_DISK_CACHE_SIZE": "1073741824", - "__GL_THREADED_OPTIMIZATIONS": "1" - } + "__GL_SHADER_DISK_CACHE_SIZE": 1073741824, + "__GL_THREADED_OPTIMIZATIONS": 1, + "SteamGameId:": "starcitizen", + "prelaunch_command": "$GAMEDIR/sc-prelaunch.sh" + }, + "prefer_system_libs": false }, "wine": { "dxvk": true, "esync": true, + "fsync": true, + "overrides": { + "libglesv2": "builtin", + "nvapi,nvapi64": "disabled" + }, "system_winetricks": false, "dxvk_nvapi": false, - "overrides": { - "nvapi,nvapi64": "disabled", - "libglesv2": "builtin" - }, - "version": "lutris-GE-Proton7-35-x86_64" + "version": "lutris-GE-Proton7-41-x86_64" } } } ] -} +} \ No newline at end of file diff --git a/sc-prelaunch.sh b/sc-prelaunch.sh new file mode 100755 index 0000000..0a3b21a --- /dev/null +++ b/sc-prelaunch.sh @@ -0,0 +1,2 @@ +#!/bin/sh +if [ -d \"$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat\" ]; then rm -rf \"$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat\"; fi