Skip to content

Commit

Permalink
update: dxvk version to 1.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
rankynbass committed Jan 5, 2023
1 parent 39547e7 commit ace2834
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/FFXIVQuickLauncher
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public SettingsTabDXVK()
{
Entries = new SettingsEntry[]
{
new SettingsEntry<Dxvk.DxvkVersion>("DXVK Version", "Choose which version of DXVK to use.", () => Program.Config.DxvkVersion, type => Program.Config.DxvkVersion = type),
new SettingsEntry<Dxvk.DxvkVersion>("DXVK Version", "Choose which version of DXVK to use.", () => Program.Config.DxvkVersion ?? Dxvk.DxvkVersion.v1_10_3, type => Program.Config.DxvkVersion = type),
new SettingsEntry<bool>("Enable DXVK ASYNC", "Enable DXVK ASYNC patch.", () => Program.Config.DxvkAsyncEnabled ?? true, b => Program.Config.DxvkAsyncEnabled = b),
dxvkHudSetting = new SettingsEntry<Dxvk.DxvkHudType>("DXVK Overlay", "DXVK Hud is included. MangoHud must be installed separately.\nFlatpak XIVLauncher needs flatpak MangoHud.", () => Program.Config.DxvkHudType, type => Program.Config.DxvkHudType = type)
{
Expand Down
2 changes: 1 addition & 1 deletion src/XIVLauncher.Core/Configuration/ILauncherConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public interface ILauncherConfig

public bool? WineD3DEnabled { get; set; }

public Dxvk.DxvkVersion DxvkVersion { get; set; }
public Dxvk.DxvkVersion? DxvkVersion { get; set; }

public bool? DxvkAsyncEnabled { get; set; }

Expand Down
3 changes: 2 additions & 1 deletion src/XIVLauncher.Core/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ private static void LoadConfig(Storage storage)

Config.GameModeEnabled ??= false;
Config.WineD3DEnabled ??= false;
Config.DxvkVersion ??= Dxvk.DxvkVersion.v1_10_3;
Config.DxvkAsyncEnabled ??= true;
Config.DxvkFrameRate ??= 0;
Config.ESyncEnabled ??= true;
Expand Down Expand Up @@ -279,7 +280,7 @@ public static void CreateCompatToolsInstance()
var winePrefix = storage.GetFolder("wineprefix");
var wineSettings = new WineSettings(Config.WineStartupType, Config.WineBinaryPath, Config.WineDebugVars, wineLogFile, winePrefix, Config.ESyncEnabled, Config.FSyncEnabled);
var toolsFolder = storage.GetFolder("compatibilitytool");
var dxvkSettings = new DxvkSettings(Config.DxvkHudType, storage.Root, Config.DxvkVersion, !Config.WineD3DEnabled ?? true, Config.DxvkHudCustom, new FileInfo(Config.DxvkMangoCustom), Config.DxvkAsyncEnabled ?? true, Config.DxvkFrameRate ?? 0);
var dxvkSettings = new DxvkSettings(Config.DxvkHudType, storage.Root, Config.DxvkVersion ?? Dxvk.DxvkVersion.v1_10_3, !Config.WineD3DEnabled ?? true, Config.DxvkHudCustom, new FileInfo(Config.DxvkMangoCustom), Config.DxvkAsyncEnabled ?? true, Config.DxvkFrameRate ?? 0);
CompatibilityTools = new CompatibilityTools(wineSettings, dxvkSettings, Config.GameModeEnabled, toolsFolder);
}

Expand Down

0 comments on commit ace2834

Please sign in to comment.