goatcorp/XIVLauncher.Core

Unable to download 6.5 patch

spectria-limina opened this issue · 17 comments

Attempting to log in using XIVLauncher.Core during the 6.5 maintenance window just produces an error "Maintenance is in progress." followed by another error "Object reference is not set to an instance of an object." before kicking back to the login window.

I'm running XIVLauncher.Core 1.0.4.0 (f9a40ed) running on Debian Testing.

This is probably already known, given the issues patching on Windows with XIVLauncher, but I want to file an issue because the announcement in Discord doesn't cover Launcher.Core and the workaround of running the official patcher doesn't work on Linux (there is no button to run the official launcher).

At the very least, it would be helpful to have instructions on what files we can copy from a patched Windows install to Linux in order to manually apply the patch. Is it just the entirety of the sqpack directory?

The patching issue is known, but we don't currently have a fix for it. It also affects the Windows/WPF version of the launcher too as patching is shared code between both launchers, but the official launcher will work.

You cannot just copy the sqpack directory. There's a launcher (ffxivboot) patch and there's a ffxivgame patch, which modified more than just sqpack. (The game exe files will always be updated too. Every time).

Is there a way to run the official launcher on Linux to patch?

If you have the steam version off FFXIV, it is possible to run the official launcher and install the patch. I have done so (on Linux).

I do not have the Steam version, unfortunately.

We've made a preliminary patch for the WPF launcher, which will make its way over to xlcore when it gets its next release (we'll try to get one out for 6.5 even if it's just for this). It's not a complete fix yet, as repair functions are currently broken and under investigation.

Blooym commented

Resolved in #80

Hi, I built XIVLauncher.Core locally but it doesn't seem to work:
The SSL connection could not be established, see inner exception.
No idea where to look at.

Blooym commented

Hi, I built XIVLauncher.Core locally but it doesn't seem to work: The SSL connection could not be established, see inner exception. No idea where to look at.

This is due to an openssl issue, some have a fix provided in their release versions (e.g. The RPM build) but as it's not automatically applied for development builds you'll see that error.

When i try to patch to 6.5 it crashes and tells me to use the official launcher. The same happens when I try to reinstall the game.
launcher.log

System.IO.IOException: Invalid argument : '/home/thegeka/.xlcore/ffxiv/game/sqpack/ffxiv/040000.win32.dat0'
   at System.IO.Strategies.FileStreamHelpers.ThrowInvalidArgument(SafeFileHandle handle)
   at System.IO.Strategies.OSFileStreamStrategy.Seek(Int64 offset, SeekOrigin origin)
   at System.IO.Strategies.BufferedFileStreamStrategy.Seek(Int64 offset, SeekOrigin origin)
   at XIVLauncher.Common.Patching.ZiPatch.Util.SqexFileStream.WriteFromOffset(Byte[] data, Int32 offset) in C:/goatsoft/xl/XIVLauncher.Common/Patching/ZiPatch/Util/SqexFileStream.cs:line 37
   at XIVLauncher.Common.Patching.ZiPatch.Chunk.SqpkCommand.SqpkAddData.ApplyChunk(ZiPatchConfig config) in C:/goatsoft/xl/XIVLauncher.Common/Patching/ZiPatch/Chunk/SqpkCommand/SqpkAddData.cs:line 43
   at XIVLauncher.Common.Patching.RemotePatchInstaller.InstallPatch(String patchPath, String gamePath) in C:/goatsoft/xl/XIVLauncher.Common/Patching/RemotePatchInstaller.cs:line 186
   at XIVLauncher.Common.Patching.RemotePatchInstaller.RunInstallQueue() in C:/goatsoft/xl/XIVLauncher.Common/Patching/RemotePatchInstaller.cs:line 174

edit: I'm blind sry :)

The fix in #80 hasn't been made into a release yet, so we are waiting for that.

The fix is now out but I am seeing the error from #78 (comment) using the official release as well.

I was able to get it working by replacing the files from a previous flatpak install with the ones from 1.0.5

Apparently what I previously asked is not a good idea. Removing content to prevent support issues down the line.

If you're using the flatpak, please wait for it to make it onto flathub.

Copying a slightly adjusted post from our support discord.

I want to be super clear as a project administrator about something.

please for love of all that is good do not go around trying to patchwork files into the flatpak. Seriously.

I've seen that mentioned in the discord server chat and on github and I'm absolutely horrified.

For the experimental or the impatient, use a community build or manually build the project. But please under no circumstances mess with system or package-manager installed files like that. You can and will break things and when it later fails to update, we won't be able to help you. Do not make a mess that cannot be cleaned up.

Did we have an ETA on the flatpak push? I really appreciate the efforts.

Agree, thank you for quick responses/work to help us Linux users. Will await Flathub update.

Blooym commented

Please wait until a build from your package manager is available, including the official Flathub release.

Flathub builds will be available as soon as possible. If you wish to compile the launcher yourself, please go for it if you already know how to do it. If you do not know, please just wait and hold off from asking questions on how to do so in our support channels as it makes it harder for us to deal with other issues that arise.

Thank you for your patience, locking this issue so this comment is visible.