Skip to content

Instantly share code, notes, and snippets.

View zen129318's full-sized avatar

Chris Forrest zen129318

View GitHub Profile
# 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