import struct, os, collections res = r"F:\steam\steamapps\common\The I of the Dragon\Data\Textures.res" data = open(res, "rb").read() count = struct.unpack_from("