from struct import * from pprint import * import sys sprite_types = [ "vp parallel upright", "facing upright", "vp parallel", "oriented", "vp parallel oriented", ] def read_frame(frame, sprite, pref=""): x,y,w,h = unpack("4i", sprite[:4*4]) sprite = sprite[4*4:] print(f"{pref}[{x},{y},{w},{h}]"); return sprite[w*h:] def read_group(frame, sprite): numFrames = unpack("