Skip to content

Can't decompress data that QuickBMS is able to decompress #336

Open

Description

@smiRaphi

I'm trying to decompress this data from the Sina Mora EX which QuickBMS is able decompress fine, this is how I call it:
lz4.block.decompress(data,uncompressed_size=590)
But I'm getting:
_block.LZ4BlockError: Decompression failed: corrupt input or insufficient space in destination buffer. Error code: 416
The decompressed size is from a header field in the game's file format, it's the same QuickBMS uses.

001.lz4.renamed2.zip

Activity

  1. smiRaphi commented on Apr 13, 2026

    @smiRaphi
    Author

    For the above sample adding +3 to the uncompressed size worked but I'm not getting anywhere with this one:

    _block.LZ4BlockError: Decompression failed: corrupt input or insufficient space in destination buffer. Error code: 904
    002.lz4.renamed2.zip (uncompressed_size=1445)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions