FFXIVQuickLauncher icon indicating copy to clipboard operation
FFXIVQuickLauncher copied to clipboard

PatchIndexes fail to generate

Open reiichi001 opened this issue 7 months ago • 0 comments

When trying to build repair indexes using the new H2024 patch files, PatchInstaller will fail on ARR's patch files. Expansions all process fine. May need @Soreepeong to take a look and fix.

[11:42:49 INF] Reading patch index file D2023.09.14.0000.0001.patch...
[11:42:49 INF] Indexing patch file H2024.05.31.0000.0000a.patch...
[11:42:50 INF] Calculating CRC32 for files resulted from patch file H2024.05.31.0000.0000a.patch...
[11:42:59 INF] Indexing patch file H2024.05.31.0000.0000b.patch...
[11:43:00 INF] Calculating CRC32 for files resulted from patch file H2024.05.31.0000.0000b.patch...
[11:43:10 INF] Indexing patch file H2024.05.31.0000.0000c.patch...
[11:43:11 INF] Calculating CRC32 for files resulted from patch file H2024.05.31.0000.0000c.patch...
[11:43:21 INF] Indexing patch file H2024.05.31.0000.0000d.patch...
[11:43:22 INF] Calculating CRC32 for files resulted from patch file H2024.05.31.0000.0000d.patch...
[11:43:33 INF] Indexing patch file H2024.05.31.0000.0000e.patch...
[11:43:34 INF] Calculating CRC32 for files resulted from patch file H2024.05.31.0000.0000e.patch...
[11:43:45 INF] Indexing patch file H2024.05.31.0000.0000f.patch...
[11:43:46 INF] Calculating CRC32 for files resulted from patch file H2024.05.31.0000.0000f.patch...
[11:43:56 INF] Indexing patch file H2024.05.31.0000.0000g.patch...
[11:43:56 ERR] Failed to create patch index files.
System.AggregateException: One or more errors occurred. ---> System.ArgumentException: Value too big
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchPartLocator.CheckedCastToUint(Int64 v, Int64 maxValue) in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchPartLocator.cs:line 330
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchPartLocator.set_TargetOffset(Int64 value) in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchPartLocator.cs:line 35
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchTargetFile.BinarySearchByTargetOffset(Int64 targetOffset) in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchTargetFile.cs:line 66
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchTargetFile.SplitAt(Int64 offset, Int32 targetFileIndex) in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchTargetFile.cs:line 71
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchTargetFile.Update(IndexedZiPatchPartLocator part) in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchTargetFile.cs:line 169
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchIndex.<>c__DisplayClass33_0.<ApplyZiPatch>b__0() in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchIndex.cs:line 155
   at System.Threading.Tasks.Task.Execute()
--- 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 System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchIndex.<ApplyZiPatch>d__33.MoveNext() in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchIndex.cs:line 113
--- 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 System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchOperations.<CreateZiPatchIndices>d__0.MoveNext() in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchOperations.cs:line 49
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at XIVLauncher.PatchInstaller.Program.Main(String[] args) in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.PatchInstaller\Program.cs:line 50
---> (Inner Exception #0) System.ArgumentException: Value too big
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchPartLocator.CheckedCastToUint(Int64 v, Int64 maxValue) in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchPartLocator.cs:line 330
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchPartLocator.set_TargetOffset(Int64 value) in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchPartLocator.cs:line 35
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchTargetFile.BinarySearchByTargetOffset(Int64 targetOffset) in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchTargetFile.cs:line 66
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchTargetFile.SplitAt(Int64 offset, Int32 targetFileIndex) in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchTargetFile.cs:line 71
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchTargetFile.Update(IndexedZiPatchPartLocator part) in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchTargetFile.cs:line 169
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchIndex.<>c__DisplayClass33_0.<ApplyZiPatch>b__0() in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchIndex.cs:line 155
   at System.Threading.Tasks.Task.Execute()
--- 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 System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchIndex.<ApplyZiPatch>d__33.MoveNext() in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchIndex.cs:line 113
--- 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 System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at XIVLauncher.Common.Patching.IndexedZiPatch.IndexedZiPatchOperations.<CreateZiPatchIndices>d__0.MoveNext() in D:\Documents\FFXIV Repos\FFXIVQuickLauncher\src\XIVLauncher.Common\Patching\IndexedZiPatch\IndexedZiPatchOperations.cs:line 49<---

reiichi001 avatar Jun 26 '24 19:06 reiichi001