From 546574eb7875a1968bccd96239fb444cca1fd91e Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Fri, 1 Nov 2024 12:07:59 -0400 Subject: [PATCH] Add default shader variables --- lib/lutris-starcitizen.json | 6 +++++- lib/sc-launch.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/lutris-starcitizen.json b/lib/lutris-starcitizen.json index 50d2669..92f1d4c 100644 --- a/lib/lutris-starcitizen.json +++ b/lib/lutris-starcitizen.json @@ -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\nTo prevent crashes in areas with lots of geometry, the game needs a resource limit named \"vm.max_map_count\" increased. See our wiki's Quick Start Guide for more information and instructions.\r\n\r\nSee you in the 'verse!", "credits": "", "created_at": "2023-03-24T06:40:19.908354Z", - "updated_at": "2024-10-23T00:59:56.388496Z", + "updated_at": "2024-11-01T16:06:43.926790Z", "draft": false, "published": true, "published_by": null, @@ -74,6 +74,10 @@ "DXVK_HUD": 0, "__GL_SHADER_DISK_CACHE": 1, "__GL_SHADER_DISK_CACHE_SIZE": 1073741824, + "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR", + "__GL_SHADER_DISK_CACHE_SKIP_CLEANUP": true, + "MESA_SHADER_CACHE_DIR": "$GAMEDIR", + "MESA_SHADER_CACHE_MAX_SIZE": "10G", "EOS_USE_ANTICHEATCLIENTNULL": 1, "GAMEID": "umu-starcitizen", "STORE": "none", diff --git a/lib/sc-launch.sh b/lib/sc-launch.sh index aee829d..cab6883 100755 --- a/lib/sc-launch.sh +++ b/lib/sc-launch.sh @@ -35,7 +35,7 @@ export __GL_SHADER_DISK_CACHE_PATH="$WINEPREFIX" export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=true # Mesa (AMD/Intel) Shader Cache Options export MESA_SHADER_CACHE_DIR="$WINEPREFIX" -export MESA_SHADER_CACHE_MAX_SIZE=10G +export MESA_SHADER_CACHE_MAX_SIZE="10G" #export DXVK_HUD=fps,compiler #export MANGOHUD=1