bbbbbr / gimp-rom-bin

GIMP plug-in to read/write SNES / NES / GB / GBA / NGP / MD / etc ROM image, tile and sprite files
GNU General Public License v3.0
83 stars 4 forks source link

Usage is unclear #1

Closed engineeror closed 5 years ago

engineeror commented 5 years ago

I get 00 00 FF 00 81 00 FF 00 C3 00 FF 00 E7 00 E7 00 which is white bars in grey background but it should be black bars in white background. Check here http://www.huderlem.com/demos/gameboy2bpp.html GIMP 2.10.8 color mode 1bit, RGB, greyscale - makes no difference at all

engineeror commented 5 years ago

nevermind, figured it out. it's too hard to explain the process but you gotta create 4 color pallete starting with white ending with black or whatever 4 colorus you wish. then apply the pallete

bbbbbr commented 5 years ago

The image you see will depend on the palette used in Gimp to create the image, as well as the palette that the Gameboy is configured with.

So Yes, I think you are on the right track.

The actual sprite data itself will not change if you alter the palettes, since the indexed color entries are always encoded the same way. But the palette used can influence which color index you choose for a given pixel. So it is best to start out using the palette the Gameboy or emulator will be using, and create the images from there.

Hope this helps.