Skip to content

v0.4.1

Compare
Choose a tag to compare
@ExpHP ExpHP released this 05 May 03:51
· 332 commits to main since this release

Added

  • Support for TH18: 東方虹龍洞 ~ Unconnected Marketeers has been added.
  • truanm can now import image files (PNG, BMP, GIF). Simply supply a directory instead of an ANM file to --image-source or #pragma image_source.
  • truanm can generate dummy image data to be hotswapped by thcrap; try has_data: "generate".
  • truanm now has named constants for color formats: FORMAT_ARGB_8888, FORMAT_ARGB_4444, FORMAT_RGB_565, FORMAT_GRAY_8.
  • truanm now provides sane defaults for the majority of fields on an entry.

Changed

  • Renamed some ANM entry fields to place greater focus on the things you should probably care more about:
    • width, height, and format have been renamed to rt_width, rt_height, rt_format to indicate that these are values for the runtime buffer. Generally speaking, you should almost never need to worry about these.
    • thtx_width, thtx_height, thtx_format have been renamed to img_width, img_height, img_format to make them less "scary." These describe the actual dimensions and format of an embedded image.
    • The old names still work, but will generate a deprecation warning.