goatcorp / FFXIVQuickLauncher

Custom launcher for FFXIV
https://goatcorp.github.io/
GNU General Public License v3.0
2.77k stars 327 forks source link

xivlauncher CTD and crash #1081

Closed Torbenbear closed 2 years ago

Torbenbear commented 2 years ago

Update disclaimer

What did you do?

Had to reset my laptop, now every time the game opens I get a C000005 error. Suspecting its an integrity issue, I used integrity checker in XIVlauncher, but then it seems to have stopped and crashed?

Platform

Windows

Wine/Proton runner version

No response

Relevant log output

An error in XIVLauncher occurred. Please consult the FAQ. If this issue persists, please report
it on GitHub by clicking the button below, describing the issue and copying the text in the box.

Error during early initialization. Please report this error.

System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Steam\steamapps\common\FINAL FANTASY XIV Online\game\gshade-shaders'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption)
   at XIVLauncher.Common.Game.IntegrityCheck.CheckDirectory(DirectoryInfo directory, SHA1Managed sha1, String rootDirectory, Dictionary`2& results, IProgress`1 progress, Boolean onlyIndex) in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 107
   at XIVLauncher.Common.Game.IntegrityCheck.CheckDirectory(DirectoryInfo directory, SHA1Managed sha1, String rootDirectory, Dictionary`2& results, IProgress`1 progress, Boolean onlyIndex) in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 142
   at XIVLauncher.Common.Game.IntegrityCheck.CheckDirectory(DirectoryInfo directory, SHA1Managed sha1, String rootDirectory, Dictionary`2& results, IProgress`1 progress, Boolean onlyIndex) in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 142
   at XIVLauncher.Common.Game.IntegrityCheck.<RunIntegrityCheckAsync>d__6.MoveNext() in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at XIVLauncher.Common.Game.IntegrityCheck.<CompareIntegrityAsync>d__4.MoveNext() in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 52
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at XIVLauncher.Windows.SettingsControl.<>c__DisplayClass18_0.<<RunIntegrityCheck_OnClick>b__1>d.MoveNext() in D:\a\FFXIVQuickLauncher\FFXIVQuickLauncher\src\XIVLauncher\Windows\SettingsControl.xaml.cs:line 268
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at XIVLauncher.Windows.SettingsControl.<>c__DisplayClass18_0.<RunIntegrityCheck_OnClick>b__2(Task`1 task) in D:\a\FFXIVQuickLauncher\FFXIVQuickLauncher\src\XIVLauncher\Windows\SettingsControl.xaml.cs:line 270
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Steam\steamapps\common\FINAL FANTASY XIV Online\game\gshade-shaders'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption)
   at XIVLauncher.Common.Game.IntegrityCheck.CheckDirectory(DirectoryInfo directory, SHA1Managed sha1, String rootDirectory, Dictionary`2& results, IProgress`1 progress, Boolean onlyIndex) in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 107
   at XIVLauncher.Common.Game.IntegrityCheck.CheckDirectory(DirectoryInfo directory, SHA1Managed sha1, String rootDirectory, Dictionary`2& results, IProgress`1 progress, Boolean onlyIndex) in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 142
   at XIVLauncher.Common.Game.IntegrityCheck.CheckDirectory(DirectoryInfo directory, SHA1Managed sha1, String rootDirectory, Dictionary`2& results, IProgress`1 progress, Boolean onlyIndex) in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 142
   at XIVLauncher.Common.Game.IntegrityCheck.<RunIntegrityCheckAsync>d__6.MoveNext() in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at XIVLauncher.Common.Game.IntegrityCheck.<CompareIntegrityAsync>d__4.MoveNext() in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 52
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at XIVLauncher.Windows.SettingsControl.<>c__DisplayClass18_0.<<RunIntegrityCheck_OnClick>b__1>d.MoveNext() in D:\a\FFXIVQuickLauncher\FFXIVQuickLauncher\src\XIVLauncher\Windows\SettingsControl.xaml.cs:line 268
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at XIVLauncher.Windows.SettingsControl.<>c__DisplayClass18_0.<RunIntegrityCheck_OnClick>b__2(Task`1 task) in D:\a\FFXIVQuickLauncher\FFXIVQuickLauncher\src\XIVLauncher\Windows\SettingsControl.xaml.cs:line 270
   at System.Threading.Tasks.Task.Execute()
---> (Inner Exception #0) System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Steam\steamapps\common\FINAL FANTASY XIV Online\game\gshade-shaders'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption)
   at XIVLauncher.Common.Game.IntegrityCheck.CheckDirectory(DirectoryInfo directory, SHA1Managed sha1, String rootDirectory, Dictionary`2& results, IProgress`1 progress, Boolean onlyIndex) in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 107
   at XIVLauncher.Common.Game.IntegrityCheck.CheckDirectory(DirectoryInfo directory, SHA1Managed sha1, String rootDirectory, Dictionary`2& results, IProgress`1 progress, Boolean onlyIndex) in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 142
   at XIVLauncher.Common.Game.IntegrityCheck.CheckDirectory(DirectoryInfo directory, SHA1Managed sha1, String rootDirectory, Dictionary`2& results, IProgress`1 progress, Boolean onlyIndex) in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 142
   at XIVLauncher.Common.Game.IntegrityCheck.<RunIntegrityCheckAsync>d__6.MoveNext() in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 94
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at XIVLauncher.Common.Game.IntegrityCheck.<CompareIntegrityAsync>d__4.MoveNext() in C:\goatsoft\xl\XIVLauncher.Common\Game\IntegrityCheck.cs:line 52
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at XIVLauncher.Windows.SettingsControl.<>c__DisplayClass18_0.<<RunIntegrityCheck_OnClick>b__1>d.MoveNext() in D:\a\FFXIVQuickLauncher\FFXIVQuickLauncher\src\XIVLauncher\Windows\SettingsControl.xaml.cs:line 268<---
<---
NotNite commented 2 years ago

You might have a broken GShade symlink left in your game install. Try reinstalling GShade or deleting that folder.

Torbenbear commented 2 years ago

done, then I opened the game and it asked me to allow it to change GShade install to work better, then this happened. image trying to retrieve the dump file it said was there but my Roaming folder only had Intel in it..

NotNite commented 2 years ago

Please try a repair by right clicking Login in XIVLauncher > Repair game.

Torbenbear commented 2 years ago

image finally verified everything, and Gshade seems to be a trouble, I wonder how to proceed from here?

NotNite commented 2 years ago

Repair automatically moves files that don't come with the game - you can get them back from that folder, or reinstall GShade again.

Torbenbear commented 2 years ago

so i've ran the Gshade uninstaller, then reinstalled, then trying to open the game image I clicked yes and we're back image

Torbenbear commented 2 years ago

it just occured to me I just never reinstalled textools after resetting, trying to do that first..

NotNite commented 2 years ago

Just checking - does this happen on the official launcher?

Torbenbear commented 2 years ago

Did that, then these screenshots happened: image launched as instructed, and tried logging in: image then after a while this showed: image

at this stage I'm betting the game itself is corrupted and i might do better if I reinstall the thing, but then again i've no idea

NotNite commented 2 years ago

You might want to try a reinstall, yeah. Given that this is happening on the official launcher, it's not an XIVLauncher bug, so I'll be closing this issue. Good luck with your issue - make sure to also update your GPU drivers.