bmp2nam

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
bmp2nam
by on (#179664)
This program takes an indexed color, 256x240 BMP file and spits out an out.chr and out.nam. The input should use a NES palette, in correct order, and the 16 indicies used will be printed to stdout, or an error message if it doesn't meet the NES limitations. Requires SDL2, because I'm lazy.

One day I'll make it more user (and programmer) friendly, but right now I could sleep for a week.