Posted July 9, 2020 (edited) H2A-inflate is a quick python script I threw together to decompress halo 2 anniversary .pck files cli style interface (time to embrace my inner kava): h2a-inflate <file> <output> Quick and simple; source might be available if I can compress back in the future. This might also mean I can add h2a support into SuP at some point c: for batch files, I recommend copying the compressed files out of the directory, and creating a text document named "inflate.bat" copy this into it. Make sure h2a-inflate is in the same directory as the compressed file. mkdir inflated FOR %%i IN (*.pck) DO h2a-inflate "%%i" "inflated\%%~ni.pck" h2a-inflate.rar Edited July 9, 2020 by Zatarita Messed up the batch syntax Sawari Neko and Takka like this Specifications: S3dpak - format - Imeta/ipak - format - Fmeta - format Programs: H2a-inflate - SuP Share this post Link to post Share on other sites
Posted August 29, 2021 (edited) Thanks for the tool, @Zatarita! I get a memory error when trying to unpack sfxstream: > h2a-inflate.exe sfxstream.pck sfxstream-dump Decompressing... Traceback (most recent call last): File "h2a-inflate.py", line 45, in <module> File "h2a-inflate.py", line 17, in parse_chunk_data MemoryError [5316] Failed to execute script h2a-inflate Any advice? I'm on a 16GB machine FWIW. Edit: maybe my issue is compression? I tried running QuiCript but got an error: > python QuiCript.py h2a -d sfxstream.pck File failed integrity test Edited August 29, 2021 by spyfoxguy Share this post Link to post Share on other sites
Posted August 30, 2021 (edited) 20 hours ago, spyfoxguy said: Thanks for the tool, @Zatarita! I get a memory error when trying to unpack sfxstream: > h2a-inflate.exe sfxstream.pck sfxstream-dump Decompressing... Traceback (most recent call last): File "h2a-inflate.py", line 45, in <module> File "h2a-inflate.py", line 17, in parse_chunk_data MemoryError [5316] Failed to execute script h2a-inflate Any advice? I'm on a 16GB machine FWIW. Edit: maybe my issue is compression? I tried running QuiCript but got an error: > python QuiCript.py h2a -d sfxstream.pck File failed integrity test Hello! I am unaware of the pck file. Is this for Halo MCC? I have worked with some other saber-esque formats; however, it is worth noting that there are variations between versions. "Stream" makes me feel like it's an Xbox file. The issue is likely due to the stream expecting an offset/chunk but it isn't in the right location/reading the right data and the requested offsets are bigger than the file its self. I dunno if you're able to reach out to me on discord (zatarita#3266) I'd be happy to take a look at it. Though I don't think this tool directly will be able to assist you with what you're trying to do. edit: OH! Groundhog! That is unfortunately not a file compressed the same way. Sadly I don't have much knowledge on these files :c if you like you can reach out to me still on discord. I will try to take a look at the files in my free time. It seems the file is pretty straight forward. it seems like it contains wave files. Though they seem to be compressed Edited August 30, 2021 by Zatarita Specifications: S3dpak - format - Imeta/ipak - format - Fmeta - format Programs: H2a-inflate - SuP Share this post Link to post Share on other sites