This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # godot compressed file unpacker/repacker | |
| # i think this should Just Work(tm) for deflate and gzip assets | |
| # sucks for anyone who needs to mess with fastLZ/zstd assets (hopefully not me later) | |
| # works with like, python3.2 standard library (or thereabouts, i'm using 3.10) | |
| import math | |
| import os | |
| import struct | |
| import sys | |
| import zlib |