cknave/kevedit

Support for both Font Mania COM and UPAL PLD files, as well as Plain CHR and PAL files

Closed this issue · 6 comments

Support for these are needed for completeness with upcoming Zeta support, as well as backwards compatibiliry for FM and UPAL:

  • Font Mania COM files, which are basically a CHR file wrapped in a TSR .COM file (Terminate and Stay Resident)
  • CHR with size 8xNN (NN meaning size number Zeta can handle with Max being 16 and Min being 8)
  • PAL with all 16 VGA colors
  • UPAL PLD palettes are basically VGA palettes with 64 colors, and out of that, 16 are ever used**.
    -(optional?) Possible Future Palette and Character Editor

And load/save to them as well,

**PLD is Formatted after the full EGA palette, where color indices 00h-06h is dark black thru purple, 14h is brown, 07h is dark white, and all the lighter colors from 0x38-0x3F

I was considering making a separate library to parse all these formats, as Zeta, libzoo and KevEdit could all benefit from it. Perhaps even MegaZeux

.CHR and .PAL support has become the community standard since zedit2 supports it. Having to switch to DosBox in order to make these features available to Kevedit really reduces velocity when making modern games. Please consider revising.

cknave commented

In progress.

main branch now supports loading .chr and font mania .com character sets in SDL and DOS.
Screenshot_20230308_224802
Screenshot_20230308_224819

cknave commented

And main now supports loading .pal files in SDL and DOS as well. I don't have any .pld files to try in my ZZT directory, so I'm leaning towards omitting that for now. It should be easy to add if it's needed.

Screenshot_20230309_212100

Fonts are doing good, Now Palette files are in progress as of this time, Thanks Kev!!!

This is now closed, unless otherwise someone has any other questions, Go ahead and Reopen!

Thanks to everyone in the ZZT community for this gift, March 8th was my Birthday, I got giddy on the mailbox when I saw progress acutally being made, again, thanks!