Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Lz4HC Decompression Failed for Whiteout Survival #1357

Closed
TemporalAgent7 opened this issue May 22, 2024 · 4 comments
Closed

[Bug]: Lz4HC Decompression Failed for Whiteout Survival #1357

TemporalAgent7 opened this issue May 22, 2024 · 4 comments
Labels
encrypted_assets The assets are encrypted and therefore not supported

Comments

@TemporalAgent7
Copy link

Are you on the latest version of AssetRipper?

Yes, I'm on the latest release of AssetRipper.

Which release are you using?

Windows x64

Which game did this occur on?

Whiteout Survival

Which Unity version did this occur on?

5.x.x 2018.4.36f1

Is the game Mono or IL2Cpp?

IL2Cpp

Describe the issue.

Failed to load any file from this game due to DecompressionFailedException

Relevant log output

Import : Attempting to read files from D:\work\whiteout\apk\assets\data\scene_city_furniture_city_inter_fur_pickup_counter_02_da7d976d734cf547976dbae522f2511.unity3d
Import : Game file 'scene_city_furniture_city_inter_fur_pickup_counter_02_da7d976d734cf547976dbae522f2511.unity3d' has been found
Import : Mixed game structure has been found at D:\work\whiteout\apk\assets\data\scene_city_furniture_city_inter_fur_pickup_counter_02_da7d976d734cf547976dbae522f2511.unity3d
Import : Files use the 'Unknown' scripting backend.
[Error] : AssetRipper.IO.Files.Exceptions.DecompressionFailedException: Could not write any bytes for 'cab-a58fee86d96a2504b30d54186fa1249f' while decompressing Lz4HC. File: cab-a58fee86d96a2504b30d54186fa1249f
at AssetRipper.IO.Files.Exceptions.DecompressionFailedException.ThrowNoBytesWritten(String, CompressionType) + 0x1b1
at AssetRipper.IO.Files.BundleFiles.FileStream.BundleFileBlockReader.ReadEntry(FileStreamNode) + 0x15b
at AssetRipper.IO.Files.BundleFiles.FileStream.FileStreamBundleFile.ReadFileStreamData(Stream, Int64, Int64) + 0xbd
at AssetRipper.IO.Files.Scheme1.Read(SmartStream, String, String) + 0x65 at AssetRipper.IO.Files.Scheme1.AssetRipper.IO.Files.IScheme.Read(SmartStream, String, String) + 0x9
at AssetRipper.IO.Files.SchemeReader.ReadFile(SmartStream, String, String) + 0xc1
at AssetRipper.Assets.Bundles.GameBundle.LoadFilesAndDependencies(IEnumerable1, IDependencyProvider) + 0x9b at AssetRipper.Assets.Bundles.GameBundle.InitializeFromPaths(IEnumerable1, AssetFactoryBase, IGameInitializer) + 0x59
at AssetRipper.Assets.Bundles.GameBundle.FromPaths(IEnumerable1, AssetFactoryBase, IGameInitializer) + 0x51 at AssetRipper.Import.Structure.GameStructure.InitializeGameCollection(UnityVersion, UnityVersion) + 0x122 at AssetRipper.Import.Structure.GameStructure..ctor(List1, CoreConfiguration) + 0x10a
at AssetRipper.Import.Structure.GameStructure.Load(IEnumerable1, CoreConfiguration) + 0x35 at AssetRipper.Export.UnityProjects.ExportHandler.Load(IReadOnlyList1) + 0x1a3
at AssetRipper.GUI.Web.GameFileLoader.LoadAndProcess(IReadOnlyList1) + 0x41 at AssetRipper.GUI.Web.Pages.Commands.LoadFile.<AssetRipper-GUI-Web-Pages-ICommand-Execute>d__0.MoveNext() + 0x132 --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at AssetRipper.GUI.Web.Pages.Commands.<HandleCommand>d__61.MoveNext() + 0xaf
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b
at AssetRipper.GUI.Web.ErrorHandlingMiddleware.d__0.MoveNext() + 0x9f

@TemporalAgent7 TemporalAgent7 added the bug Something isn't working label May 22, 2024
Copy link

Thank you for submitting your first issue here. Please be sure you have uploaded your AssetRipper.log file. It is in the same folder as the exe file. :)

@ds5678 ds5678 changed the title [Bug]: DecompressionFailedException Whiteout Survival [Bug]: Lz4HC Decompression Failed for Whiteout Survival May 22, 2024
@ds5678
Copy link
Collaborator

ds5678 commented May 22, 2024

I suspect this is an upstream issue with the library I use.

@TemporalAgent7
Copy link
Author

You can grab the files out of the apk from a site like this: https://apkpure.com/whiteout-survival/com.gof.global Let me know if uploading one of the unity3d files helps debug.

FWIW, I'm getting similar errors for this game with other tools I've used in the past like AssetStudio and UABE.

@ds5678 ds5678 added encrypted_assets The assets are encrypted and therefore not supported and removed bug Something isn't working labels Jun 2, 2024
@ds5678
Copy link
Collaborator

ds5678 commented Jun 2, 2024

I suspect this is an upstream issue with the library I use.

Actually, your game is just encrypted.

@ds5678 ds5678 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
encrypted_assets The assets are encrypted and therefore not supported
Projects
None yet
Development

No branches or pull requests

2 participants