budude2 / openfpga-GBC

235 stars 9 forks source link

Feature request: Support for custom palettes #7

Closed nortakales closed 3 months ago

nortakales commented 10 months ago

https://www.analogue.co/developer/docs/custom-palettes

nortakales commented 7 months ago

So, it looks like custom palettes were added at some point, which is freakin awesome! Thanks!

Is there any way for us to get custom palettes AND grid lines though?

When applying a custom palette and any of the display modes that have grid lines, the results do not mix well, as reported in https://github.com/budude2/openfpga-GBC/issues/47

The correct way to achieve custom palette + grid lines = "Backlit Color LCD" as the display mode and select your custom palette.

However, I'm noticing a few issues:

1. When selecting "Load Palette", the file selector is looking for GBP files rather than PAL files 2. Possibly related to 1, I renamed a few PAL files to GBP to test out, and the colors seem... wrong.

Okay, finally discovered that GBP files are for the Mister core, and contain just 4 colors, whereas PAL files are for the Pocket core and contain more colors. Seems one or the other is also byteswapped. I was trying now to find an online converter, but have come up short. I can easily do it by hand, but maybe I'll write a quick online converter for people to use.

sjkorvin commented 7 months ago

I noticed this issue today. I do not know the meaning of the term "byteswapped," but none of the palettes downloaded through pupdate looked correct after I changed their file extensions from .pal to .gbp. I renamed all of them using PowerRename from Microsoft PowerToys.

nortakales commented 7 months ago

I built an editor for .gbp files here: https://www.nortakales.com/page/gbpEditor

For whatever reason I could not find one anywhere on the internet 🤷‍♂️

ButterCCM commented 6 months ago

So the core isn't able to use any of the .pal files? I hope that gets changed I don't want to have to convert them all.

Xbudz commented 6 months ago

I built an editor for .gbp files here: https://www.nortakales.com/page/gbpEditor

For whatever reason I could not find one anywhere on the internet 🤷‍♂️

Thanks for this. Any chance at allowing batch conversion?

nortakales commented 6 months ago

I built an editor for .gbp files here: https://www.nortakales.com/page/gbpEditor

For whatever reason I could not find one anywhere on the internet 🤷‍♂️

Thanks for this. Any chance at allowing batch conversion?

Good idea. Give me a week or so, I should be able to find the time to do that.

Xbudz commented 6 months ago

I built an editor for .gbp files here: https://www.nortakales.com/page/gbpEditor

For whatever reason I could not find one anywhere on the internet 🤷‍♂️

Thanks for this. Any chance at allowing batch conversion?

Good idea. Give me a week or so, I should be able to find the time to do that.

You're awesome, thanks for your efforts.

nortakales commented 6 months ago

I built an editor for .gbp files here: https://www.nortakales.com/page/gbpEditor

For whatever reason I could not find one anywhere on the internet 🤷‍♂️

Thanks for this. Any chance at allowing batch conversion?

Good idea. Give me a week or so, I should be able to find the time to do that.

You're awesome, thanks for your efforts.

Batch conversion tool is complete, just scroll down and find the "Batch Conversion" section: https://www.nortakales.com/page/gbpEditor

Xbudz commented 6 months ago

I built an editor for .gbp files here: https://www.nortakales.com/page/gbpEditor

For whatever reason I could not find one anywhere on the internet 🤷‍♂️

Thanks for this. Any chance at allowing batch conversion?

Good idea. Give me a week or so, I should be able to find the time to do that.

You're awesome, thanks for your efforts.

Batch conversion tool is complete, just scroll down and find the "Batch Conversion" section: https://www.nortakales.com/page/gbpEditor

On behalf of everyone, thank you sooooo much. This will really bring a bunch of smiles to folks. We appreciate you so much.