Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Create a color transform abstraction for color palettes #823

Open
gravestench opened this issue Oct 25, 2020 · 0 comments
Open

Create a color transform abstraction for color palettes #823

gravestench opened this issue Oct 25, 2020 · 0 comments
Labels
Bug Something isn't working Normal Priority For issues that are essential, but are not on the critical path or blocking development in any way

Comments

@gravestench
Copy link
Contributor

We directly retrieve and use color palette data from the .DAT files from the MPQ's.
We should not be doing this in most cases. We should be using the .PL2 files to do lookups into the DAT palettes.

The PL2 files contain the base palette, and all color transforms are given as arays of indeices into the base palette. Please refer to package d2common/d2fileformats/d2pl2/.

@gravestench gravestench added Bug Something isn't working Normal Priority For issues that are essential, but are not on the critical path or blocking development in any way labels Oct 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working Normal Priority For issues that are essential, but are not on the critical path or blocking development in any way
Projects
Development

No branches or pull requests

1 participant