VitaSmith / gust_tools

A set of utilities for dealing with Gust (Koei Tecmo) PC games files
Other
215 stars 24 forks source link

gust_elixir fails to extract cf01_09020.elixir.gz #37

Closed rty70 closed 3 years ago

rty70 commented 3 years ago

I'm currently using gust_elixir v1.32 to extract some elixir archives from the file PACK00_02.PAK of Atelier Ryza 2 (which I previously unpacked with gust_pak v1.32). This works well with all the archives I tried but the one I mention in the title, which instead fails to extract and gives the error ERROR: Can't decompress stream at position 00000000. I briefly debugged the code and I see it fails inside tinfl_decompress_mem_to_mem, because tinfl_decompress ultimately returns TINFL_STATUS_HAS_MORE_OUTPUT.

VitaSmith commented 3 years ago

Not sure if I will be able to do much about it, as this could be a miniz project issue, and I am just reusing miniz in gust_tools for the decompression.

At any rate, could you please attach cf01_09020.elixir.gz so that I can look into it?

rty70 commented 3 years ago

cf01_09020.elixir.gz

VitaSmith commented 3 years ago

This should be fixed in the version that was just released.