Randomize palette data for Legend of Zelda: A Link to the Past.
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install maseya-z3prREADME as published on PyPI with version 1.0.0rc1.
Link to the Past Palette Randomizer
Python Console application to randomize palettes in The Legend of Zelda: A Link to the Past.
Table of Contents
What is a palette randomizer?
A palette randomizer is, as the name suggests, something that randomizes a game's palettes (its color collections). This randomizer is designed to randomize colors according to their groupings. For example, all colors that represent grass will be randomized with the same logic, whereas water's colors will be randomized with different logic. This creates a consistent color scheme without any disconnects in colors (e.g. grass having two different colors).
A set of colors is randomized according to the following rules:
- Shift a color's hue by at least 2.5%. This ensures a color is actually changed.
- If increasing saturation, do so very gently and proportional to current value.
- Saturation is okay to be reduced all the way to zero.
- Increasing brightness is similar increasing saturation.
- If a lot of saturation was removed, allow increasing the brightness slightly more.
- If reducing brightness, do so by no more than half (this may be restricted further in the future).

Advantages over other palette randomizers
While Link to the Past Randomizer already has a built-in palette randomizer, it does not take the necessary care to ensure every palette can be randomized. Certain items like houses and rocks are never randomized. Further, the overworld palette randomizer does not have as much control as this app does, which allows for much richer variety of colors.
