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

More about PAL #2

Closed
DDeokk opened this issue Sep 20, 2017 · 2 comments
Closed

More about PAL #2

DDeokk opened this issue Sep 20, 2017 · 2 comments
Assignees

Comments

@DDeokk
Copy link

DDeokk commented Sep 20, 2017

About header

byte PaletteMagicWord[10] ="DLPalette";
byte unknown[14];
byte numberOfColorsForAnimation;
byte unknown2[7];
byte ColorAnimationOffset[2 * numberOfColorsForAnimation];

@DizzyThermal
Copy link
Owner

DizzyThermal commented Sep 20, 2017

Ahhh, so the "DLPalette" header that was being considered as "32 bytes" actually contains information about how the tiles animate.

That's true, Nexus tiles do glow/animate.

I presume that a PAL would define the "number" of additional palette files to cycle through (numberOfColorsForAnimation) and have a list of the PAL indicies to use/cycle through (ColorAnimationOffset).

Thanks again @DDeokk for providing this, much appreciated!

@DizzyThermal
Copy link
Owner

Commits: 03c9f2 and d9db82d implement this additional header information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants