rofl0r / agsutils

contains utils for AGS: game extractor, repacker, disassembler and assembler
44 stars 14 forks source link

Problem extract sprites (Unsupported compression method 3) #35

Closed AngelDevIndie closed 11 months ago

AngelDevIndie commented 11 months ago

I have a problem when I extract sprites. Prompt shows this message "Unsupported compression method 3"

The AGS is version 3.6.1.8 and the utils is the last commit.

Attacth spr file

rofl0r commented 11 months ago

AGS commit 028dbe1bb3d74e78affd982488f1b9a0bac3068d added a new compression method, deflate, which is the same algorithm used by the aged zip format, so i highly doubt it's more effective than the existing lzw or rle algorithms - especially given that deflate isn't tuned at all for media. either way, this new format was added 1.5 months ago so it's hardly a surprise we don't support it yet. anyway, thanks for bringing this to our attention.

rofl0r commented 11 months ago

your testcase (thanks for it) is now properly unpacked by agsprite using git master.