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

Support other popular palette file formats for rgbgfx -c #1065

Closed
3 of 5 tasks
Rangi42 opened this issue Sep 28, 2022 · 0 comments · Fixed by #1081
Closed
3 of 5 tasks

Support other popular palette file formats for rgbgfx -c #1065

Rangi42 opened this issue Sep 28, 2022 · 0 comments · Fixed by #1081
Labels
enhancement Typically new features; lesser priority than bugs rgbgfx This affects RGBGFX

Comments

@Rangi42
Copy link
Contributor

Rangi42 commented Sep 28, 2022

rgbgfx -c currently supports .ACT (Adobe color table), .ACO (Adobe color swatch), and .PSP (PaintShop Pro) palettes as input. .ACT and ACO are binary formats, PSP is human-readable text (it starts with "JASC-PAL").

Other formats that might be worth supporting:

  • .GPL (GIMP) [1] [2] (the default format of an editor frequently used for its palette view+edit support)
  • .JSON (superfamiconv) [1] (might be convenient for superfamiconv compatibility)
  • .HEX (lospec.com) [1] (a simple hex RGB text format)
  • .TXT (paint.net) [1] (a simple hex ARGB text format)
  • I was going to say "the same format that can be provided directly on the command line", but @palette.dat where palette.dat contains -c #aaa,#bbb,#ccc,#etc is good enough (although it doesn't allow line breaks for all that data). Supporting one of .HEX or .TXT would be nice since they use the same hex-style values, but one per line.

(See also, Tilemap Studio's implementations of those three and others)

@Rangi42 Rangi42 added enhancement Typically new features; lesser priority than bugs rgbasm This affects RGBASM rgbgfx This affects RGBGFX and removed rgbasm This affects RGBASM labels Sep 28, 2022
Rangi42 added a commit to Rangi42/rgbds that referenced this issue Oct 1, 2022
ISSOtm pushed a commit that referenced this issue Oct 1, 2022
Rangi42 added a commit to Rangi42/rgbds that referenced this issue Oct 1, 2022
Addresses one item of gbdev#1065
Rangi42 added a commit to Rangi42/rgbds that referenced this issue Oct 1, 2022
Addresses one item of gbdev#1065
Rangi42 added a commit that referenced this issue Oct 1, 2022
Addresses one item of #1065
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Typically new features; lesser priority than bugs rgbgfx This affects RGBGFX
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants