DCurrent / openbor

OpenBOR is the ultimate 2D side scrolling engine for beat em' ups, shooters, and more!
http://www.chronocrash.com
BSD 3-Clause "New" or "Revised" License
927 stars 124 forks source link

Allow alternate palettes for levels to be provided by images #168

Closed Plombo closed 5 years ago

Plombo commented 5 years ago

Since .act is a Photoshop-specific format, it can be inconvenient for people without access to Photoshop. Supporting palette images as an alternative can hopefully make alternate level palettes more accessible.

msmalik681 commented 5 years ago

Nice work

DCurrent commented 5 years ago

Honestly not a fan of this. Any image software worth its salt can work with and output .act. But if it really helps folks, so be it. 😊

Plombo commented 5 years ago

Any image software worth its salt can work with and output .act.

This is absolutely not true, unless it's a weird way of saying that Photoshop is the only good image editing software. .act isn't a standard or widely known format at all. As far as I'm aware, there's no image editing software that reads and writes it besides Photoshop (and specialized programs designed for use with Mugen or OpenBOR).

dbaldan commented 5 years ago

@DCurrent I agree with @Plombo , but with a little comment: There are few programs which can open and save .act files, like Gimp or old stuff like Fireworks. But .ACT IS widely know and, in many cases, is the default color table format. There is .PAL too, but its order is reversed compared with .ACT.

Anyway, I don't think it will hurt to let people use images as palettes, specially when they can preview the palettes on their file manager if it's on an image format.

DCurrent commented 5 years ago

@Plombo no, it's not me trying to be a smarta** pushing Photoshop. I know .act is an Adobe thing, but yes, most of the more prolific imaging software out there works with it. It's the .pdf of color tables. Doesn't matter anyway, I approved your change before even commenting to begin with.

Plombo commented 5 years ago

There are few programs which can open and save .act files, like Gimp or old stuff like Fireworks. But .ACT IS widely know and, in many cases, is the default color table format. There is .PAL too, but its order is reversed compared with .ACT.

As far as I can tell, Gimp can't read/write .act, just its own palette format (.gpl). But aside from that, @dbaldan, I see your point that .act is probably the most widely known type of color table file. My line of thinking was more that specialized "color table files" are so niche to begin with that none of the types are really "well known", and that's why few programs support .act.

(Editing since I realized that Gimp actually can import .act, just not export it.)