A Python script that produces a 3x upscaled version of Tagpro flairs as well as a JSON file that pairs each flair name with its position offset on the spritesheet.
Use the package manager pip to install the required libraries.
pip install -r requirements.txt
Enter the following line in your terminal to run the script.
python run.py
One result of running the script is an image called upscaled.png
. As of the last time the script was run, it will look like this:
The JSON file flairLocations.json
is formatted as such:
{
"a": [b, c],
}
where for each flair:
a
is the name of the flair such asboards.day
b
is the vertical offset in pixelsc
is the horizontal offset in pixels