FModel icon indicating copy to clipboard operation
FModel copied to clipboard

Sea of Thieves - cannot open any mesh file.

Open xllifi opened this issue 2 years ago • 4 comments

Game

Sea of Thieves

Error

Console:
[ERR] One or more errors occurred. (Failed to decompress LZ4 data (Expected: 65536, Result: -1))
      at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

Log:
2022-06-16 22:40:28 [FModel] [INF] User DOUBLE-CLICKED to extract 'Athena/Content/Models/Characters/NPCs/npc_hunters_call/npc_hunters_call_merrick.uasset'
2022-06-16 22:40:28 [FModel] [ERR] System.AggregateException: One or more errors occurred. (Failed to decompress LZ4 data (Expected: 65536, Result: -1))
 ---> System.IO.FileLoadException: Failed to decompress LZ4 data (Expected: 65536, Result: -1)
   at CUE4Parse.Compression.Compression.Decompress(Byte[] compressed, Int32 compressedOffset, Int32 compressedSize, Byte[] uncompressed, Int32 uncompressedOffset, Int32 uncompressedSize, CompressionMethod method, FArchive reader)
   at CUE4Parse.UE4.Pak.PakFileReader.Extract(VfsEntry entry)
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at CUE4Parse.FileProvider.GameFile.CreateReaderAsync()
   at CUE4Parse.FileProvider.AbstractFileProvider.LoadPackageAsync(GameFile file)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at FModel.ViewModels.CUE4ParseViewModel.Extract(String fullPath, Boolean addNewTab, Boolean bulkSave)
   at FModel.ViewModels.CUE4ParseViewModel.ExtractSelected(CancellationToken cancellationToken, IEnumerable`1 assetItems)
   at FModel.MainWindow.<>c__DisplayClass18_0.<OnAssetsListMouseDoubleClick>b__0(CancellationToken cancellationToken)
   at FModel.ViewModels.ThreadWorkerViewModel.<>c__DisplayClass20_0.<ProcessQueues>b__0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at FModel.ViewModels.ThreadWorkerViewModel.ProcessQueues()

Reproduction steps

  1. Open Sea of Thieves paks
  2. Use 0x9CE69870E6FA70E820AB073E991889ECB244B34AAF6A2321C47FF2597A2EF90E AES key
  3. Open any asset with mesh (I used npc_hunters_call_merrick.uasset)

xllifi avatar Jun 16 '22 12:06 xllifi

closing issue because no one cares about any game that is not fortnite

xllifi avatar Jun 17 '22 13:06 xllifi

that is not true

there are multiple reasons why no contributor responds, here is a few of them

  • it's only been opened yesterday, on a business day (probably a bit longer on discord)
  • I personally don't have that game
  • fully belongs to CUE4Parse
  • sounds like it's only related to meshes but is probably not

Furthermore, if you guys only want mesh-related assets on a game that is not fortnite, we always recommend using UEViewer instead as it's faster and support more games


I'd also add that, although I love fixing issues, I do not enjoy fixing mesh-related issues on any game as it's pretty boring to me because it's often customized by the studio for whatever reason we don't know and the data inside doesn't interest me

4sval avatar Jun 17 '22 13:06 4sval

As said above, this software is made for anything on unreal engine due to how the decryption works on UE. If you want one for sea of thieves get a dev team to do it for you.

If someone could close this it would be highly appreciated as it is no longer relevant.

mrdiploben avatar Jun 21 '22 16:06 mrdiploben

Sea of Thieves is on Unreal Engine. The issue is due to improper LZ4 decompression

GMatrixGames avatar Jun 21 '22 16:06 GMatrixGames