📦 TEXARR#

Usage Example#
from scfile import formats

with formats.texarr.TextureArrayDecoder("path/to/blockMap.texarr") as ta:
  data = ta.decode()

with formats.zip.TextureArrayEncoder(data) as zip:
  zip.encode().save("output.zip")

Decoder#

class TextureArrayDecoder(file, options=None)[source]#

Bases: FileDecoder[TextureArrayContent]

format: FileFormat = 'texarr'#
order: ByteOrder = '>'#
to_zip()[source]#
parse()[source]#

Parse file content into self.data.