Skip to content

[Bug]: Stuck at applying patch, #824

@Leo-de-Z

Description

@Leo-de-Z

Affected Version

1.82.36

Bug Behavior

popped out this error message

System.IO.IOException: Data error (cyclic redundancy check). : 'C:\Users\Draco\3D Objects\Genshin Impact Game\GenshinImpact_Data\StreamingAssets\AssetBundles\blocks\00\14777345.blk'.
at System.IO.Strategies.OSFileStreamStrategy.Read(Span1 buffer) at System.IO.Strategies.BufferedFileStreamStrategy.ReadSpan(Span1 destination, ArraySegment1 arraySegment) at System.IO.FileStream.Read(Span1 buffer)
at Hi3Helper.Sophon.Helper.Extension.<>c__DisplayClass3_0.g__Impl|0()
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Hi3Helper.Sophon.SophonPatchAsset.IsFilePatched(String inputPath, CancellationToken token) at Hi3Helper.Sophon.SophonPatchAsset.IsFilePatched(String inputPath, CancellationToken token) at Hi3Helper.Sophon.SophonPatchAsset.ApplyPatchUpdateAsync(HttpClient client, String inputDir, String patchOutputDir, Boolean removeOldAssets, Action1 downloadReadDelegate, Action1 diskWriteDelegate, SophonDownloadSpeedLimiter downloadSpeedLimiter, CancellationToken token) at CollapseLauncher.InstallManager.Base.InstallManagerBase.<>c__DisplayClass214_0.<<StartAlterSophonPatch>g__ImplPatchUpdate|8>d.MoveNext() --- End of stack trace from previous location --- at System.Threading.Tasks.Parallel.<>c__531.<b__53_0>d.MoveNext()
--- End of stack trace from previous location ---
at CollapseLauncher.InstallManager.Base.InstallManagerBase.StartAlterSophonPatch(HttpClient httpClient, Boolean isPreloadMode, List1 patchAssets, List1 patchManifestInfoPairs, Boolean isAllowRemoveOldFile, SophonDownloadSpeedLimiter downloadLimiter, Int32 threadNum, CancellationToken token)
at CollapseLauncher.InstallManager.Base.InstallManagerBase.AlterStartPatchUpdateSophon(HttpClient httpClient, Boolean isPreloadMode, Int32 maxThread, Int32 maxChunksThread, Int32 maxHttpHandler)
at CollapseLauncher.InstallManager.Base.InstallManagerBase.StartPackageUpdateSophon(GameInstallStateEnum gameState, Boolean isPreloadMode)
at CollapseLauncher.InstallManager.Base.InstallManagerBase.StartPackageDownload(Boolean skipDialog)
at CollapseLauncher.Pages.HomePage.UpdateGameDialog(Object sender, RoutedEventArgs e)

Expected Behavior

update is applied and ready for execution

Steps to reproduce

press update
wait
error

Related Issues

No response

Screenshot(s)

Image

Additional Information

please help less than 2 hours remain

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs TriagingThis issue needs the developer's attention to sort & prioritize.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions