Skip to content

Commit

Permalink
Remove DXVK_CONFIG_FILE override. Better to have it at default location
Browse files Browse the repository at this point in the history
  • Loading branch information
rankynbass committed Oct 6, 2024
1 parent 04da286 commit 9e21f07
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/XIVLauncher.Common.Unix/Compatibility/DxvkSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@ public DxvkSettings(string folder, string url, string storageFolder, bool async,
DownloadUrl = url;
Enabled = enabled;

var dxvkConfigPath = new DirectoryInfo(Path.Combine(storageFolder, "compatibilitytool", "dxvk"));
Environment = new Dictionary<string, string>
{
{ "DXVK_LOG_PATH", Path.Combine(storageFolder, "logs") },
{ "DXVK_CONFIG_FILE", Path.Combine(dxvkConfigPath.FullName, "dxvk.conf") },
};

if (maxFrameRate != 0)
Expand All @@ -35,7 +33,7 @@ public DxvkSettings(string folder, string url, string storageFolder, bool async,
if (async)
Environment.Add("DXVK_ASYNC", "1");

var dxvkCachePath = new DirectoryInfo(Path.Combine(dxvkConfigPath.FullName, "cache"));
var dxvkCachePath = new DirectoryInfo(Path.Combine(storageFolder, "compatibilitytool", "dxvk", "cache"));
if (!dxvkCachePath.Exists) dxvkCachePath.Create();
Environment.Add("DXVK_STATE_CACHE_PATH", Path.Combine(dxvkCachePath.FullName, folder));

Expand Down

0 comments on commit 9e21f07

Please sign in to comment.