Files
HackerOoT/tools
Tharo 3d61fb85ef Add n64texconv and bin2c tools to convert extracted .png and .bin to C arrays during build (#2477)
* n64texconv and bin2c

* mv tools/n64texconv tools/assets/

* fix

* more light fixes

* Silence -Wshadow for libimagequant

* Add reference counting gc for palette objects in python bindings

* Fix missing alignment in n64texconv_*_to_c functions

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Check palette size in n64texconv_image_from_png

* accept memoryview as well as bytes for binary data

* minimal doc on n64texconv_quantize_shared

* fix a buffer size passed to libimagequant

* assert pal count <= 256 on png write

* Disable palette size check for input pngs, ZAPD fails the check

* No OpenMP for clang

* When reading an indexed png into a CI format, requantize if there are too many colors for the target texel size

---------

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2025-02-17 17:09:42 -05:00
..
2025-01-22 13:42:19 -05:00
2020-03-17 16:33:41 -04:00
2024-02-02 16:34:20 -05:00
2024-12-27 10:34:45 -05:00
2025-02-09 16:42:39 -05:00
2022-01-23 18:09:02 -05:00
2024-12-25 12:07:08 -05:00
2020-03-17 00:31:30 -04:00
2024-12-25 12:07:08 -05:00
2020-03-17 00:31:30 -04:00
2022-10-15 01:40:00 -04:00
2020-07-16 21:37:53 -04:00
2020-03-17 00:31:30 -04:00
2022-01-23 18:09:02 -05:00