Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add color range option to gbagfx for palette exporting #639

Open
huderlem opened this issue Mar 31, 2019 · 2 comments
Open

Add color range option to gbagfx for palette exporting #639

huderlem opened this issue Mar 31, 2019 · 2 comments

Comments

@huderlem
Copy link
Member

graphics/pokenav/region_map.png is a 256-color image, but its palette is currently not auto-exported by the build. This is because the game is clever, and only loads colors 112-143 into BG pal slots 7 and 8. If gbagfx could be configured to export only a certain color range when converting .png -> gbapal`, this could be an automatic process.

@huderlem
Copy link
Member Author

Another, probably better, option is to only INCBIN the desired 32-color range from the 256-color palette.

@GriffinRichards
Copy link
Member

For posterity (so they can also be generated when this is resolved), similar deal with the 8bpp .png/.pal pairs here https://github.com/pret/pokefirered/tree/master/graphics/oak_speech

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants