manual-git icon indicating copy to clipboard operation
manual-git copied to clipboard

Issues creating images with newer libnds

Open tediousinsomnia opened this issue 8 years ago • 1 comments

Images created with the newest version of libnds yields distorted and incorrect images

chapter_6-sprites chapter_7-game chapter_8-input chapter_5-backgrounds

tediousinsomnia avatar Mar 17 '17 12:03 tediousinsomnia

What's your development platform?

I was not able to reproduce the issue with the following platform.

  • Host OS: macOS 10.12.4
  • devkitARM r46
  • libnds 1.6.2
  • desmume 0.9.11

Patater avatar Apr 17 '17 05:04 Patater

I had the same issue with the top screen displaying the wrong colors. The problem was that grit was generating 512 bytes palettes for the sprites, so the moon palette was overwriting the backdrop color of the 2D sub engine's BG palette RAM, that's why the background of the image is white.

I fixed the problem by adding the parameter -pn16 to the grit files of the sprites to tell grit to create a 16 color palette.

SnakeDoctors avatar Jun 05 '24 16:06 SnakeDoctors

I fixed the problem by adding the parameter -pn16 to the grit files of the sprites to tell grit to create a 16 color palette.

Thanks for a solution. I've fixed this now and verified with the latest grit, libnds, and devkitARM.

Patater avatar Jul 07 '24 15:07 Patater