goatcorp/XIVLauncher.Core

Error when trying to launch game from an NTFS partition

arieshi255 opened this issue · 2 comments

Currently, it's not possible to launch the game with XIVLauncher if the game path in the settings is set to somewhere on an NTFS partition.
This is the error thrown:

2024-03-28 13:09:17.951 +01:00 [ERR] Error during patching
System.IO.DriveNotFoundException: Could not find the drive '/media/hdd2/ffxiv'. The drive might not be ready or might not be mapped.
   at System.IO.DriveInfo.CheckStatfsResultAndThrowIfNecessary(Int32 result)
   at System.IO.DriveInfo.get_AvailableFreeSpace()
   at XIVLauncher.Common.Util.PlatformHelpers.GetDiskFreeSpace(DirectoryInfo info) in C:/goatsoft/xl/XIVLauncher.Common/Util/PlatformHelpers.cs:line 165
   at XIVLauncher.Common.Game.Patch.PatchManager.PatchAsync(FileInfo aria2LogFile, Boolean external) in C:/goatsoft/xl/XIVLauncher.Common/Game/Patch/PatchManager.cs:line 125
   at XIVLauncher.Core.Components.MainPage.MainPage.TryHandlePatchAsync(Repository repository, PatchListEntry[] pendingPatches, String sid) in C:/goatsoft/xl/XIVLauncher.Core/Components/MainPage/MainPage.cs:line 1042

If you're using the Flatpak, make sure you've given XIVLauncher permission to read/write to that drive. Easiest way to do that is Flatseal.

Ah, can't believe I forgot to try that first. That seems to have fixed it!