sm64ex-coop/tools/n64graphics_ci_dir
Prince Frizzy 43ae67c337 Update to Refresh 13 (#19)
* Refresh 13

Co-authored-by: n64 <n64>
2022-03-13 00:17:10 -08:00
..
exoquant Update to Refresh 13 (#19) 2022-03-13 00:17:10 -08:00
LICENSE init2 2019-08-25 00:46:40 -04:00
README.md init2 2019-08-25 00:46:40 -04:00
n64graphics_ci.c add option to load textures from external files 2020-05-25 04:22:03 +03:00
n64graphics_ci.h Update to Refresh 13 (#19) 2022-03-13 00:17:10 -08:00
utils.c init2 2019-08-25 00:46:40 -04:00
utils.h init2 2019-08-25 00:46:40 -04:00

README.md

n64graphics_ci

Allows you to convert PNG image files to/from N64 CI format. This is temporary until queueRAM adds CI support into his official n64graphics tool. This tool does not process RGBA, IA, or I textures, use n64graphics for those.

CI4 textures will always assume a 16 color palette is used, and CI8 textures a 256 palette is used. The palette will be generated as a seperate file. The palette file will be named after the CI filename, but postpended with .pal.

Libraries Used (All MIT licensed)

PNG -> CI4 + Palette

./n64graphics_ci -i image.ci4 -g image.png -f ci4

CI4 + Palette -> 32x32 PNG

./n64graphics_ci -e image.ci4 -g image.ci4.png -f ci4 -w 32 -h 32

PNG -> CI8 + Palette

./n64graphics_ci -i image.ci8 -g image.png -f ci8

CI8 + Palette -> 32x32 PNG

./n64graphics_ci -e image.ci8 -g image.ci8.png -f ci8 -w 32 -h 32

Comparision

alt text