Skip to content

v1.5.0

Choose a tag to compare

@Hancapo Hancapo released this 31 Mar 07:58
· 6 commits to master since this release

Added

  • ITD.convert(game) to convert texture dictionaries between game formats (GTA IV, GTA V, GEN9, RDR2) with automatic recompression.
  • ITD.merge(other) to combine two texture dictionaries, with optional overwrite for duplicates.
  • Texture.resize(w, h) to resize and recompress a texture.
  • Texture.to_format(fmt) to change compression format inline.
  • Texture.__eq__ and __hash__ to compare textures by content (dimensions, format, data).
  • Logging routed through logging.getLogger("texfury") for debug and info messages.
  • PEP 561 type checker support with py.typed marker.

Changed

  • Default compression format changed from BC7 to BC1.
  • Extracted generic binary helpers (joaat, align, r_u8, r_u16, r_u32, r_u64) to texfury/binary.py.
  • Improved ITD.__repr__ formatting to include game, count, and truncated names.